... | ... |
@@ -725,10 +725,12 @@ typedef struct RcOverride{ |
725 | 725 |
* Codec should fill in channel configuration and samplerate instead of container |
726 | 726 |
*/ |
727 | 727 |
#define CODEC_CAP_CHANNEL_CONF 0x0400 |
728 |
+ |
|
728 | 729 |
/** |
729 | 730 |
* Codec is able to deal with negative linesizes |
730 | 731 |
*/ |
731 | 732 |
#define CODEC_CAP_NEG_LINESIZES 0x0800 |
733 |
+ |
|
732 | 734 |
/** |
733 | 735 |
* Codec supports frame-level multithreading. |
734 | 736 |
*/ |
... | ... |
@@ -2983,7 +2985,9 @@ typedef struct AVCodec { |
2983 | 2983 |
const enum AVSampleFormat *sample_fmts; ///< array of supported sample formats, or NULL if unknown, array is terminated by -1 |
2984 | 2984 |
const int64_t *channel_layouts; ///< array of support channel layouts, or NULL if unknown. array is terminated by 0 |
2985 | 2985 |
uint8_t max_lowres; ///< maximum value for lowres supported by the decoder |
2986 |
+ |
|
2986 | 2987 |
AVClass *priv_class; ///< AVClass for the private context |
2988 |
+ |
|
2987 | 2989 |
const AVProfile *profiles; ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} |
2988 | 2990 |
|
2989 | 2991 |
/** |
... | ... |
@@ -298,7 +298,7 @@ static int sse16_c(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) |
298 | 298 |
|
299 | 299 |
/* draw the edges of width 'w' of an image of size width, height */ |
300 | 300 |
//FIXME check that this is ok for mpeg4 interlaced |
301 |
-static void draw_edges_c(uint8_t *buf, int wrap, int width, int height, int w) |
|
301 |
+static void draw_edges_c(uint8_t *buf, int wrap, int width, int height, int w, int sides) |
|
302 | 302 |
{ |
303 | 303 |
uint8_t *ptr, *last_line; |
304 | 304 |
int i; |
... | ... |
@@ -306,8 +306,8 @@ static void draw_edges_c(uint8_t *buf, int wrap, int width, int height, int w) |
306 | 306 |
last_line = buf + (height - 1) * wrap; |
307 | 307 |
for(i=0;i<w;i++) { |
308 | 308 |
/* top and bottom */ |
309 |
- memcpy(buf - (i + 1) * wrap, buf, width); |
|
310 |
- memcpy(last_line + (i + 1) * wrap, last_line, width); |
|
309 |
+ if (sides&EDGE_TOP) memcpy(buf - (i + 1) * wrap, buf, width); |
|
310 |
+ if (sides&EDGE_BOTTOM) memcpy(last_line + (i + 1) * wrap, last_line, width); |
|
311 | 311 |
} |
312 | 312 |
/* left and right */ |
313 | 313 |
ptr = buf; |
... | ... |
@@ -318,10 +318,15 @@ static void draw_edges_c(uint8_t *buf, int wrap, int width, int height, int w) |
318 | 318 |
} |
319 | 319 |
/* corners */ |
320 | 320 |
for(i=0;i<w;i++) { |
321 |
- memset(buf - (i + 1) * wrap - w, buf[0], w); /* top left */ |
|
322 |
- memset(buf - (i + 1) * wrap + width, buf[width-1], w); /* top right */ |
|
323 |
- memset(last_line + (i + 1) * wrap - w, last_line[0], w); /* top left */ |
|
324 |
- memset(last_line + (i + 1) * wrap + width, last_line[width-1], w); /* top right */ |
|
321 |
+ if (sides&EDGE_TOP) { |
|
322 |
+ memset(buf - (i + 1) * wrap - w, buf[0], w); /* top left */ |
|
323 |
+ memset(buf - (i + 1) * wrap + width, buf[width-1], w); /* top right */ |
|
324 |
+ } |
|
325 |
+ |
|
326 |
+ if (sides&EDGE_BOTTOM) { |
|
327 |
+ memset(last_line + (i + 1) * wrap - w, last_line[0], w); /* top left */ |
|
328 |
+ memset(last_line + (i + 1) * wrap + width, last_line[width-1], w); /* top right */ |
|
329 |
+ } |
|
325 | 330 |
} |
326 | 331 |
} |
327 | 332 |
|
... | ... |
@@ -492,8 +492,10 @@ typedef struct DSPContext { |
492 | 492 |
#define BASIS_SHIFT 16 |
493 | 493 |
#define RECON_SHIFT 6 |
494 | 494 |
|
495 |
- void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w); |
|
495 |
+ void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w, int sides); |
|
496 | 496 |
#define EDGE_WIDTH 16 |
497 |
+#define EDGE_TOP 1 |
|
498 |
+#define EDGE_BOTTOM 2 |
|
497 | 499 |
|
498 | 500 |
void (*prefetch)(void *mem, int stride, int h); |
499 | 501 |
|
... | ... |
@@ -35,6 +35,7 @@ |
35 | 35 |
#include "mpeg4video_parser.h" |
36 | 36 |
#include "msmpeg4.h" |
37 | 37 |
#include "vdpau_internal.h" |
38 |
+#include "thread.h" |
|
38 | 39 |
#include "flv.h" |
39 | 40 |
#include "mpeg4video.h" |
40 | 41 |
|
... | ... |
@@ -235,6 +236,7 @@ static int decode_slice(MpegEncContext *s){ |
235 | 235 |
if(++s->mb_x >= s->mb_width){ |
236 | 236 |
s->mb_x=0; |
237 | 237 |
ff_draw_horiz_band(s, s->mb_y*mb_size, mb_size); |
238 |
+ MPV_report_decode_progress(s); |
|
238 | 239 |
s->mb_y++; |
239 | 240 |
} |
240 | 241 |
return 0; |
... | ... |
@@ -255,6 +257,7 @@ static int decode_slice(MpegEncContext *s){ |
255 | 255 |
} |
256 | 256 |
|
257 | 257 |
ff_draw_horiz_band(s, s->mb_y*mb_size, mb_size); |
258 |
+ MPV_report_decode_progress(s); |
|
258 | 259 |
|
259 | 260 |
s->mb_x= 0; |
260 | 261 |
} |
... | ... |
@@ -639,6 +642,8 @@ retry: |
639 | 639 |
if(MPV_frame_start(s, avctx) < 0) |
640 | 640 |
return -1; |
641 | 641 |
|
642 |
+ if (!s->divx_packed) ff_thread_finish_setup(avctx); |
|
643 |
+ |
|
642 | 644 |
if (CONFIG_MPEG4_VDPAU_DECODER && (s->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)) { |
643 | 645 |
ff_vdpau_mpeg4_decode_picture(s, s->gb.buffer, s->gb.buffer_end - s->gb.buffer); |
644 | 646 |
goto frame_end; |
... | ... |
@@ -36,6 +36,7 @@ |
36 | 36 |
#include "golomb.h" |
37 | 37 |
#include "mathops.h" |
38 | 38 |
#include "rectangle.h" |
39 |
+#include "thread.h" |
|
39 | 40 |
#include "vdpau_internal.h" |
40 | 41 |
#include "libavutil/avassert.h" |
41 | 42 |
|
... | ... |
@@ -249,6 +250,141 @@ static int ff_h264_decode_rbsp_trailing(H264Context *h, const uint8_t *src){ |
249 | 249 |
return 0; |
250 | 250 |
} |
251 | 251 |
|
252 |
+static inline int get_lowest_part_list_y(H264Context *h, Picture *pic, int n, int height, |
|
253 |
+ int y_offset, int list){ |
|
254 |
+ int raw_my= h->mv_cache[list][ scan8[n] ][1]; |
|
255 |
+ int filter_height= (raw_my&3) ? 2 : 0; |
|
256 |
+ int full_my= (raw_my>>2) + y_offset; |
|
257 |
+ int top = full_my - filter_height, bottom = full_my + height + filter_height; |
|
258 |
+ |
|
259 |
+ return FFMAX(abs(top), bottom); |
|
260 |
+} |
|
261 |
+ |
|
262 |
+static inline void get_lowest_part_y(H264Context *h, int refs[2][48], int n, int height, |
|
263 |
+ int y_offset, int list0, int list1, int *nrefs){ |
|
264 |
+ MpegEncContext * const s = &h->s; |
|
265 |
+ int my; |
|
266 |
+ |
|
267 |
+ y_offset += 16*(s->mb_y >> MB_FIELD); |
|
268 |
+ |
|
269 |
+ if(list0){ |
|
270 |
+ int ref_n = h->ref_cache[0][ scan8[n] ]; |
|
271 |
+ Picture *ref= &h->ref_list[0][ref_n]; |
|
272 |
+ |
|
273 |
+ // Error resilience puts the current picture in the ref list. |
|
274 |
+ // Don't try to wait on these as it will cause a deadlock. |
|
275 |
+ // Fields can wait on each other, though. |
|
276 |
+ if(ref->thread_opaque != s->current_picture.thread_opaque || |
|
277 |
+ (ref->reference&3) != s->picture_structure) { |
|
278 |
+ my = get_lowest_part_list_y(h, ref, n, height, y_offset, 0); |
|
279 |
+ if (refs[0][ref_n] < 0) nrefs[0] += 1; |
|
280 |
+ refs[0][ref_n] = FFMAX(refs[0][ref_n], my); |
|
281 |
+ } |
|
282 |
+ } |
|
283 |
+ |
|
284 |
+ if(list1){ |
|
285 |
+ int ref_n = h->ref_cache[1][ scan8[n] ]; |
|
286 |
+ Picture *ref= &h->ref_list[1][ref_n]; |
|
287 |
+ |
|
288 |
+ if(ref->thread_opaque != s->current_picture.thread_opaque || |
|
289 |
+ (ref->reference&3) != s->picture_structure) { |
|
290 |
+ my = get_lowest_part_list_y(h, ref, n, height, y_offset, 1); |
|
291 |
+ if (refs[1][ref_n] < 0) nrefs[1] += 1; |
|
292 |
+ refs[1][ref_n] = FFMAX(refs[1][ref_n], my); |
|
293 |
+ } |
|
294 |
+ } |
|
295 |
+} |
|
296 |
+ |
|
297 |
+/** |
|
298 |
+ * Wait until all reference frames are available for MC operations. |
|
299 |
+ * |
|
300 |
+ * @param h the H264 context |
|
301 |
+ */ |
|
302 |
+static void await_references(H264Context *h){ |
|
303 |
+ MpegEncContext * const s = &h->s; |
|
304 |
+ const int mb_xy= h->mb_xy; |
|
305 |
+ const int mb_type= s->current_picture.mb_type[mb_xy]; |
|
306 |
+ int refs[2][48]; |
|
307 |
+ int nrefs[2] = {0}; |
|
308 |
+ int ref, list; |
|
309 |
+ |
|
310 |
+ memset(refs, -1, sizeof(refs)); |
|
311 |
+ |
|
312 |
+ if(IS_16X16(mb_type)){ |
|
313 |
+ get_lowest_part_y(h, refs, 0, 16, 0, |
|
314 |
+ IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); |
|
315 |
+ }else if(IS_16X8(mb_type)){ |
|
316 |
+ get_lowest_part_y(h, refs, 0, 8, 0, |
|
317 |
+ IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); |
|
318 |
+ get_lowest_part_y(h, refs, 8, 8, 8, |
|
319 |
+ IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1), nrefs); |
|
320 |
+ }else if(IS_8X16(mb_type)){ |
|
321 |
+ get_lowest_part_y(h, refs, 0, 16, 0, |
|
322 |
+ IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); |
|
323 |
+ get_lowest_part_y(h, refs, 4, 16, 0, |
|
324 |
+ IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1), nrefs); |
|
325 |
+ }else{ |
|
326 |
+ int i; |
|
327 |
+ |
|
328 |
+ assert(IS_8X8(mb_type)); |
|
329 |
+ |
|
330 |
+ for(i=0; i<4; i++){ |
|
331 |
+ const int sub_mb_type= h->sub_mb_type[i]; |
|
332 |
+ const int n= 4*i; |
|
333 |
+ int y_offset= (i&2)<<2; |
|
334 |
+ |
|
335 |
+ if(IS_SUB_8X8(sub_mb_type)){ |
|
336 |
+ get_lowest_part_y(h, refs, n , 8, y_offset, |
|
337 |
+ IS_DIR(sub_mb_type, 0, 0), IS_DIR(sub_mb_type, 0, 1), nrefs); |
|
338 |
+ }else if(IS_SUB_8X4(sub_mb_type)){ |
|
339 |
+ get_lowest_part_y(h, refs, n , 4, y_offset, |
|
340 |
+ IS_DIR(sub_mb_type, 0, 0), IS_DIR(sub_mb_type, 0, 1), nrefs); |
|
341 |
+ get_lowest_part_y(h, refs, n+2, 4, y_offset+4, |
|
342 |
+ IS_DIR(sub_mb_type, 0, 0), IS_DIR(sub_mb_type, 0, 1), nrefs); |
|
343 |
+ }else if(IS_SUB_4X8(sub_mb_type)){ |
|
344 |
+ get_lowest_part_y(h, refs, n , 8, y_offset, |
|
345 |
+ IS_DIR(sub_mb_type, 0, 0), IS_DIR(sub_mb_type, 0, 1), nrefs); |
|
346 |
+ get_lowest_part_y(h, refs, n+1, 8, y_offset, |
|
347 |
+ IS_DIR(sub_mb_type, 0, 0), IS_DIR(sub_mb_type, 0, 1), nrefs); |
|
348 |
+ }else{ |
|
349 |
+ int j; |
|
350 |
+ assert(IS_SUB_4X4(sub_mb_type)); |
|
351 |
+ for(j=0; j<4; j++){ |
|
352 |
+ int sub_y_offset= y_offset + 2*(j&2); |
|
353 |
+ get_lowest_part_y(h, refs, n+j, 4, sub_y_offset, |
|
354 |
+ IS_DIR(sub_mb_type, 0, 0), IS_DIR(sub_mb_type, 0, 1), nrefs); |
|
355 |
+ } |
|
356 |
+ } |
|
357 |
+ } |
|
358 |
+ } |
|
359 |
+ |
|
360 |
+ for(list=h->list_count-1; list>=0; list--){ |
|
361 |
+ for(ref=0; ref<48 && nrefs[list]; ref++){ |
|
362 |
+ int row = refs[list][ref]; |
|
363 |
+ if(row >= 0){ |
|
364 |
+ Picture *ref_pic = &h->ref_list[list][ref]; |
|
365 |
+ int ref_field = ref_pic->reference - 1; |
|
366 |
+ int ref_field_picture = ref_pic->field_picture; |
|
367 |
+ int pic_height = 16*s->mb_height >> ref_field_picture; |
|
368 |
+ |
|
369 |
+ row <<= MB_MBAFF; |
|
370 |
+ nrefs[list]--; |
|
371 |
+ |
|
372 |
+ if(!FIELD_PICTURE && ref_field_picture){ // frame referencing two fields |
|
373 |
+ ff_thread_await_progress((AVFrame*)ref_pic, FFMIN((row >> 1) - !(row&1), pic_height-1), 1); |
|
374 |
+ ff_thread_await_progress((AVFrame*)ref_pic, FFMIN((row >> 1) , pic_height-1), 0); |
|
375 |
+ }else if(FIELD_PICTURE && !ref_field_picture){ // field referencing one field of a frame |
|
376 |
+ ff_thread_await_progress((AVFrame*)ref_pic, FFMIN(row*2 + ref_field , pic_height-1), 0); |
|
377 |
+ }else if(FIELD_PICTURE){ |
|
378 |
+ ff_thread_await_progress((AVFrame*)ref_pic, FFMIN(row, pic_height-1), ref_field); |
|
379 |
+ }else{ |
|
380 |
+ ff_thread_await_progress((AVFrame*)ref_pic, FFMIN(row, pic_height-1), 0); |
|
381 |
+ } |
|
382 |
+ } |
|
383 |
+ } |
|
384 |
+ } |
|
385 |
+} |
|
386 |
+ |
|
252 | 387 |
#if 0 |
253 | 388 |
/** |
254 | 389 |
* DCT transforms the 16 dc values. |
... | ... |
@@ -539,6 +675,8 @@ static void hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t |
539 | 539 |
|
540 | 540 |
assert(IS_INTER(mb_type)); |
541 | 541 |
|
542 |
+ if(HAVE_PTHREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) |
|
543 |
+ await_references(h); |
|
542 | 544 |
prefetch_motion(h, 0); |
543 | 545 |
|
544 | 546 |
if(IS_16X16(mb_type)){ |
... | ... |
@@ -887,7 +1025,7 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx){ |
887 | 887 |
ff_h264_decode_init_vlc(); |
888 | 888 |
|
889 | 889 |
h->thread_context[0] = h; |
890 |
- h->outputed_poc = INT_MIN; |
|
890 |
+ h->outputed_poc = h->next_outputed_poc = INT_MIN; |
|
891 | 891 |
h->prev_poc_msb= 1<<16; |
892 | 892 |
h->x264_build = -1; |
893 | 893 |
ff_h264_reset_sei(h); |
... | ... |
@@ -910,6 +1048,125 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx){ |
910 | 910 |
return 0; |
911 | 911 |
} |
912 | 912 |
|
913 |
+static void copy_picture_range(Picture **to, Picture **from, int count, MpegEncContext *new_base, MpegEncContext *old_base) |
|
914 |
+{ |
|
915 |
+ int i; |
|
916 |
+ |
|
917 |
+ for (i=0; i<count; i++){ |
|
918 |
+ to[i] = REBASE_PICTURE(from[i], new_base, old_base); |
|
919 |
+ } |
|
920 |
+} |
|
921 |
+ |
|
922 |
+static void copy_parameter_set(void **to, void **from, int count, int size) |
|
923 |
+{ |
|
924 |
+ int i; |
|
925 |
+ |
|
926 |
+ for (i=0; i<count; i++){ |
|
927 |
+ if (to[i] && !from[i]) av_freep(&to[i]); |
|
928 |
+ else if (from[i] && !to[i]) to[i] = av_malloc(size); |
|
929 |
+ |
|
930 |
+ if (from[i]) memcpy(to[i], from[i], size); |
|
931 |
+ } |
|
932 |
+} |
|
933 |
+ |
|
934 |
+static int decode_init_thread_copy(AVCodecContext *avctx){ |
|
935 |
+ H264Context *h= avctx->priv_data; |
|
936 |
+ |
|
937 |
+ if (!avctx->is_copy) return 0; |
|
938 |
+ memset(h->sps_buffers, 0, sizeof(h->sps_buffers)); |
|
939 |
+ memset(h->pps_buffers, 0, sizeof(h->pps_buffers)); |
|
940 |
+ |
|
941 |
+ return 0; |
|
942 |
+} |
|
943 |
+ |
|
944 |
+#define copy_fields(to, from, start_field, end_field) memcpy(&to->start_field, &from->start_field, (char*)&to->end_field - (char*)&to->start_field) |
|
945 |
+static int decode_update_thread_context(AVCodecContext *dst, const AVCodecContext *src){ |
|
946 |
+ H264Context *h= dst->priv_data, *h1= src->priv_data; |
|
947 |
+ MpegEncContext * const s = &h->s, * const s1 = &h1->s; |
|
948 |
+ int inited = s->context_initialized, err; |
|
949 |
+ int i; |
|
950 |
+ |
|
951 |
+ if(dst == src || !s1->context_initialized) return 0; |
|
952 |
+ |
|
953 |
+ err = ff_mpeg_update_thread_context(dst, src); |
|
954 |
+ if(err) return err; |
|
955 |
+ |
|
956 |
+ //FIXME handle width/height changing |
|
957 |
+ if(!inited){ |
|
958 |
+ for(i = 0; i < MAX_SPS_COUNT; i++) |
|
959 |
+ av_freep(h->sps_buffers + i); |
|
960 |
+ |
|
961 |
+ for(i = 0; i < MAX_PPS_COUNT; i++) |
|
962 |
+ av_freep(h->pps_buffers + i); |
|
963 |
+ |
|
964 |
+ memcpy(&h->s + 1, &h1->s + 1, sizeof(H264Context) - sizeof(MpegEncContext)); //copy all fields after MpegEnc |
|
965 |
+ memset(h->sps_buffers, 0, sizeof(h->sps_buffers)); |
|
966 |
+ memset(h->pps_buffers, 0, sizeof(h->pps_buffers)); |
|
967 |
+ ff_h264_alloc_tables(h); |
|
968 |
+ context_init(h); |
|
969 |
+ |
|
970 |
+ for(i=0; i<2; i++){ |
|
971 |
+ h->rbsp_buffer[i] = NULL; |
|
972 |
+ h->rbsp_buffer_size[i] = 0; |
|
973 |
+ } |
|
974 |
+ |
|
975 |
+ h->thread_context[0] = h; |
|
976 |
+ |
|
977 |
+ // frame_start may not be called for the next thread (if it's decoding a bottom field) |
|
978 |
+ // so this has to be allocated here |
|
979 |
+ h->s.obmc_scratchpad = av_malloc(16*2*s->linesize + 8*2*s->uvlinesize); |
|
980 |
+ |
|
981 |
+ s->dsp.clear_blocks(h->mb); |
|
982 |
+ } |
|
983 |
+ |
|
984 |
+ //extradata/NAL handling |
|
985 |
+ h->is_avc = h1->is_avc; |
|
986 |
+ |
|
987 |
+ //SPS/PPS |
|
988 |
+ copy_parameter_set((void**)h->sps_buffers, (void**)h1->sps_buffers, MAX_SPS_COUNT, sizeof(SPS)); |
|
989 |
+ h->sps = h1->sps; |
|
990 |
+ copy_parameter_set((void**)h->pps_buffers, (void**)h1->pps_buffers, MAX_PPS_COUNT, sizeof(PPS)); |
|
991 |
+ h->pps = h1->pps; |
|
992 |
+ |
|
993 |
+ //Dequantization matrices |
|
994 |
+ //FIXME these are big - can they be only copied when PPS changes? |
|
995 |
+ copy_fields(h, h1, dequant4_buffer, dequant4_coeff); |
|
996 |
+ |
|
997 |
+ for(i=0; i<6; i++) |
|
998 |
+ h->dequant4_coeff[i] = h->dequant4_buffer[0] + (h1->dequant4_coeff[i] - h1->dequant4_buffer[0]); |
|
999 |
+ |
|
1000 |
+ for(i=0; i<2; i++) |
|
1001 |
+ h->dequant8_coeff[i] = h->dequant8_buffer[0] + (h1->dequant8_coeff[i] - h1->dequant8_buffer[0]); |
|
1002 |
+ |
|
1003 |
+ h->dequant_coeff_pps = h1->dequant_coeff_pps; |
|
1004 |
+ |
|
1005 |
+ //POC timing |
|
1006 |
+ copy_fields(h, h1, poc_lsb, redundant_pic_count); |
|
1007 |
+ |
|
1008 |
+ //reference lists |
|
1009 |
+ copy_fields(h, h1, ref_count, intra_gb); |
|
1010 |
+ copy_fields(h, h1, short_ref, cabac_init_idc); |
|
1011 |
+ |
|
1012 |
+ copy_picture_range(h->short_ref, h1->short_ref, 32, s, s1); |
|
1013 |
+ copy_picture_range(h->long_ref, h1->long_ref, 32, s, s1); |
|
1014 |
+ copy_picture_range(h->delayed_pic, h1->delayed_pic, MAX_DELAYED_PIC_COUNT+2, s, s1); |
|
1015 |
+ |
|
1016 |
+ h->last_slice_type = h1->last_slice_type; |
|
1017 |
+ |
|
1018 |
+ if(!s->current_picture_ptr) return 0; |
|
1019 |
+ |
|
1020 |
+ if(!s->dropable) { |
|
1021 |
+ ff_h264_execute_ref_pic_marking(h, h->mmco, h->mmco_index); |
|
1022 |
+ h->prev_poc_msb = h->poc_msb; |
|
1023 |
+ h->prev_poc_lsb = h->poc_lsb; |
|
1024 |
+ } |
|
1025 |
+ h->prev_frame_num_offset= h->frame_num_offset; |
|
1026 |
+ h->prev_frame_num = h->frame_num; |
|
1027 |
+ h->outputed_poc = h->next_outputed_poc; |
|
1028 |
+ |
|
1029 |
+ return 0; |
|
1030 |
+} |
|
1031 |
+ |
|
913 | 1032 |
int ff_h264_frame_start(H264Context *h){ |
914 | 1033 |
MpegEncContext * const s = &h->s; |
915 | 1034 |
int i; |
... | ... |
@@ -961,11 +1218,167 @@ int ff_h264_frame_start(H264Context *h){ |
961 | 961 |
|
962 | 962 |
s->current_picture_ptr->field_poc[0]= |
963 | 963 |
s->current_picture_ptr->field_poc[1]= INT_MAX; |
964 |
+ |
|
965 |
+ h->next_output_pic = NULL; |
|
966 |
+ |
|
964 | 967 |
assert(s->current_picture_ptr->long_ref==0); |
965 | 968 |
|
966 | 969 |
return 0; |
967 | 970 |
} |
968 | 971 |
|
972 |
+/** |
|
973 |
+ * Run setup operations that must be run after slice header decoding. |
|
974 |
+ * This includes finding the next displayed frame. |
|
975 |
+ * |
|
976 |
+ * @param h h264 master context |
|
977 |
+ */ |
|
978 |
+static void decode_postinit(H264Context *h){ |
|
979 |
+ MpegEncContext * const s = &h->s; |
|
980 |
+ Picture *out = s->current_picture_ptr; |
|
981 |
+ Picture *cur = s->current_picture_ptr; |
|
982 |
+ int i, pics, out_of_order, out_idx; |
|
983 |
+ |
|
984 |
+ s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264; |
|
985 |
+ s->current_picture_ptr->pict_type= s->pict_type; |
|
986 |
+ |
|
987 |
+ if (h->next_output_pic) return; |
|
988 |
+ |
|
989 |
+ if (cur->field_poc[0]==INT_MAX || cur->field_poc[1]==INT_MAX) { |
|
990 |
+ //FIXME this allows the next thread to start once we encounter the first field of a PAFF packet |
|
991 |
+ //This works if the next packet contains the second field. It does not work if both fields are |
|
992 |
+ //in the same packet. |
|
993 |
+ //ff_thread_finish_setup(s->avctx); |
|
994 |
+ return; |
|
995 |
+ } |
|
996 |
+ |
|
997 |
+ cur->interlaced_frame = 0; |
|
998 |
+ cur->repeat_pict = 0; |
|
999 |
+ |
|
1000 |
+ /* Signal interlacing information externally. */ |
|
1001 |
+ /* Prioritize picture timing SEI information over used decoding process if it exists. */ |
|
1002 |
+ |
|
1003 |
+ if(h->sps.pic_struct_present_flag){ |
|
1004 |
+ switch (h->sei_pic_struct) |
|
1005 |
+ { |
|
1006 |
+ case SEI_PIC_STRUCT_FRAME: |
|
1007 |
+ break; |
|
1008 |
+ case SEI_PIC_STRUCT_TOP_FIELD: |
|
1009 |
+ case SEI_PIC_STRUCT_BOTTOM_FIELD: |
|
1010 |
+ cur->interlaced_frame = 1; |
|
1011 |
+ break; |
|
1012 |
+ case SEI_PIC_STRUCT_TOP_BOTTOM: |
|
1013 |
+ case SEI_PIC_STRUCT_BOTTOM_TOP: |
|
1014 |
+ if (FIELD_OR_MBAFF_PICTURE) |
|
1015 |
+ cur->interlaced_frame = 1; |
|
1016 |
+ else |
|
1017 |
+ // try to flag soft telecine progressive |
|
1018 |
+ cur->interlaced_frame = h->prev_interlaced_frame; |
|
1019 |
+ break; |
|
1020 |
+ case SEI_PIC_STRUCT_TOP_BOTTOM_TOP: |
|
1021 |
+ case SEI_PIC_STRUCT_BOTTOM_TOP_BOTTOM: |
|
1022 |
+ // Signal the possibility of telecined film externally (pic_struct 5,6) |
|
1023 |
+ // From these hints, let the applications decide if they apply deinterlacing. |
|
1024 |
+ cur->repeat_pict = 1; |
|
1025 |
+ break; |
|
1026 |
+ case SEI_PIC_STRUCT_FRAME_DOUBLING: |
|
1027 |
+ // Force progressive here, as doubling interlaced frame is a bad idea. |
|
1028 |
+ cur->repeat_pict = 2; |
|
1029 |
+ break; |
|
1030 |
+ case SEI_PIC_STRUCT_FRAME_TRIPLING: |
|
1031 |
+ cur->repeat_pict = 4; |
|
1032 |
+ break; |
|
1033 |
+ } |
|
1034 |
+ |
|
1035 |
+ if ((h->sei_ct_type & 3) && h->sei_pic_struct <= SEI_PIC_STRUCT_BOTTOM_TOP) |
|
1036 |
+ cur->interlaced_frame = (h->sei_ct_type & (1<<1)) != 0; |
|
1037 |
+ }else{ |
|
1038 |
+ /* Derive interlacing flag from used decoding process. */ |
|
1039 |
+ cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE; |
|
1040 |
+ } |
|
1041 |
+ h->prev_interlaced_frame = cur->interlaced_frame; |
|
1042 |
+ |
|
1043 |
+ if (cur->field_poc[0] != cur->field_poc[1]){ |
|
1044 |
+ /* Derive top_field_first from field pocs. */ |
|
1045 |
+ cur->top_field_first = cur->field_poc[0] < cur->field_poc[1]; |
|
1046 |
+ }else{ |
|
1047 |
+ if(cur->interlaced_frame || h->sps.pic_struct_present_flag){ |
|
1048 |
+ /* Use picture timing SEI information. Even if it is a information of a past frame, better than nothing. */ |
|
1049 |
+ if(h->sei_pic_struct == SEI_PIC_STRUCT_TOP_BOTTOM |
|
1050 |
+ || h->sei_pic_struct == SEI_PIC_STRUCT_TOP_BOTTOM_TOP) |
|
1051 |
+ cur->top_field_first = 1; |
|
1052 |
+ else |
|
1053 |
+ cur->top_field_first = 0; |
|
1054 |
+ }else{ |
|
1055 |
+ /* Most likely progressive */ |
|
1056 |
+ cur->top_field_first = 0; |
|
1057 |
+ } |
|
1058 |
+ } |
|
1059 |
+ |
|
1060 |
+ //FIXME do something with unavailable reference frames |
|
1061 |
+ |
|
1062 |
+ /* Sort B-frames into display order */ |
|
1063 |
+ |
|
1064 |
+ if(h->sps.bitstream_restriction_flag |
|
1065 |
+ && s->avctx->has_b_frames < h->sps.num_reorder_frames){ |
|
1066 |
+ s->avctx->has_b_frames = h->sps.num_reorder_frames; |
|
1067 |
+ s->low_delay = 0; |
|
1068 |
+ } |
|
1069 |
+ |
|
1070 |
+ if( s->avctx->strict_std_compliance >= FF_COMPLIANCE_STRICT |
|
1071 |
+ && !h->sps.bitstream_restriction_flag){ |
|
1072 |
+ s->avctx->has_b_frames= MAX_DELAYED_PIC_COUNT; |
|
1073 |
+ s->low_delay= 0; |
|
1074 |
+ } |
|
1075 |
+ |
|
1076 |
+ pics = 0; |
|
1077 |
+ while(h->delayed_pic[pics]) pics++; |
|
1078 |
+ |
|
1079 |
+ assert(pics <= MAX_DELAYED_PIC_COUNT); |
|
1080 |
+ |
|
1081 |
+ h->delayed_pic[pics++] = cur; |
|
1082 |
+ if(cur->reference == 0) |
|
1083 |
+ cur->reference = DELAYED_PIC_REF; |
|
1084 |
+ |
|
1085 |
+ out = h->delayed_pic[0]; |
|
1086 |
+ out_idx = 0; |
|
1087 |
+ for(i=1; h->delayed_pic[i] && !h->delayed_pic[i]->key_frame && !h->delayed_pic[i]->mmco_reset; i++) |
|
1088 |
+ if(h->delayed_pic[i]->poc < out->poc){ |
|
1089 |
+ out = h->delayed_pic[i]; |
|
1090 |
+ out_idx = i; |
|
1091 |
+ } |
|
1092 |
+ if(s->avctx->has_b_frames == 0 && (h->delayed_pic[0]->key_frame || h->delayed_pic[0]->mmco_reset)) |
|
1093 |
+ h->next_outputed_poc= INT_MIN; |
|
1094 |
+ out_of_order = out->poc < h->next_outputed_poc; |
|
1095 |
+ |
|
1096 |
+ if(h->sps.bitstream_restriction_flag && s->avctx->has_b_frames >= h->sps.num_reorder_frames) |
|
1097 |
+ { } |
|
1098 |
+ else if((out_of_order && pics-1 == s->avctx->has_b_frames && s->avctx->has_b_frames < MAX_DELAYED_PIC_COUNT) |
|
1099 |
+ || (s->low_delay && |
|
1100 |
+ ((h->next_outputed_poc != INT_MIN && out->poc > h->next_outputed_poc + 2) |
|
1101 |
+ || cur->pict_type == FF_B_TYPE))) |
|
1102 |
+ { |
|
1103 |
+ s->low_delay = 0; |
|
1104 |
+ s->avctx->has_b_frames++; |
|
1105 |
+ } |
|
1106 |
+ |
|
1107 |
+ if(out_of_order || pics > s->avctx->has_b_frames){ |
|
1108 |
+ out->reference &= ~DELAYED_PIC_REF; |
|
1109 |
+ for(i=out_idx; h->delayed_pic[i]; i++) |
|
1110 |
+ h->delayed_pic[i] = h->delayed_pic[i+1]; |
|
1111 |
+ } |
|
1112 |
+ if(!out_of_order && pics > s->avctx->has_b_frames){ |
|
1113 |
+ h->next_output_pic = out; |
|
1114 |
+ if(out_idx==0 && h->delayed_pic[0] && (h->delayed_pic[0]->key_frame || h->delayed_pic[0]->mmco_reset)) { |
|
1115 |
+ h->next_outputed_poc = INT_MIN; |
|
1116 |
+ } else |
|
1117 |
+ h->next_outputed_poc = out->poc; |
|
1118 |
+ }else{ |
|
1119 |
+ av_log(s->avctx, AV_LOG_DEBUG, "no picture\n"); |
|
1120 |
+ } |
|
1121 |
+ |
|
1122 |
+ ff_thread_finish_setup(s->avctx); |
|
1123 |
+} |
|
1124 |
+ |
|
969 | 1125 |
static inline void backup_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int simple){ |
970 | 1126 |
MpegEncContext * const s = &h->s; |
971 | 1127 |
uint8_t *top_border; |
... | ... |
@@ -1479,7 +1892,7 @@ static void flush_dpb(AVCodecContext *avctx){ |
1479 | 1479 |
h->delayed_pic[i]->reference= 0; |
1480 | 1480 |
h->delayed_pic[i]= NULL; |
1481 | 1481 |
} |
1482 |
- h->outputed_poc= INT_MIN; |
|
1482 |
+ h->outputed_poc=h->next_outputed_poc= INT_MIN; |
|
1483 | 1483 |
h->prev_interlaced_frame = 1; |
1484 | 1484 |
idr(h); |
1485 | 1485 |
if(h->s.current_picture_ptr) |
... | ... |
@@ -1603,24 +2016,28 @@ static void init_scan_tables(H264Context *h){ |
1603 | 1603 |
} |
1604 | 1604 |
} |
1605 | 1605 |
|
1606 |
-static void field_end(H264Context *h){ |
|
1606 |
+static void field_end(H264Context *h, int in_setup){ |
|
1607 | 1607 |
MpegEncContext * const s = &h->s; |
1608 | 1608 |
AVCodecContext * const avctx= s->avctx; |
1609 | 1609 |
s->mb_y= 0; |
1610 | 1610 |
|
1611 |
- s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264; |
|
1612 |
- s->current_picture_ptr->pict_type= s->pict_type; |
|
1611 |
+ if (!in_setup && !s->dropable) |
|
1612 |
+ ff_thread_report_progress((AVFrame*)s->current_picture_ptr, (16*s->mb_height >> FIELD_PICTURE) - 1, |
|
1613 |
+ s->picture_structure==PICT_BOTTOM_FIELD); |
|
1613 | 1614 |
|
1614 | 1615 |
if (CONFIG_H264_VDPAU_DECODER && s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) |
1615 | 1616 |
ff_vdpau_h264_set_reference_frames(s); |
1616 | 1617 |
|
1617 |
- if(!s->dropable) { |
|
1618 |
- ff_h264_execute_ref_pic_marking(h, h->mmco, h->mmco_index); |
|
1619 |
- h->prev_poc_msb= h->poc_msb; |
|
1620 |
- h->prev_poc_lsb= h->poc_lsb; |
|
1618 |
+ if(in_setup || !(avctx->active_thread_type&FF_THREAD_FRAME)){ |
|
1619 |
+ if(!s->dropable) { |
|
1620 |
+ ff_h264_execute_ref_pic_marking(h, h->mmco, h->mmco_index); |
|
1621 |
+ h->prev_poc_msb= h->poc_msb; |
|
1622 |
+ h->prev_poc_lsb= h->poc_lsb; |
|
1623 |
+ } |
|
1624 |
+ h->prev_frame_num_offset= h->frame_num_offset; |
|
1625 |
+ h->prev_frame_num= h->frame_num; |
|
1626 |
+ h->outputed_poc = h->next_outputed_poc; |
|
1621 | 1627 |
} |
1622 |
- h->prev_frame_num_offset= h->frame_num_offset; |
|
1623 |
- h->prev_frame_num= h->frame_num; |
|
1624 | 1628 |
|
1625 | 1629 |
if (avctx->hwaccel) { |
1626 | 1630 |
if (avctx->hwaccel->end_frame(avctx) < 0) |
... | ... |
@@ -1737,7 +2154,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
1737 | 1737 |
|
1738 | 1738 |
if(first_mb_in_slice == 0){ //FIXME better field boundary detection |
1739 | 1739 |
if(h0->current_slice && FIELD_PICTURE){ |
1740 |
- field_end(h); |
|
1740 |
+ field_end(h, 1); |
|
1741 | 1741 |
} |
1742 | 1742 |
|
1743 | 1743 |
h0->current_slice = 0; |
... | ... |
@@ -1806,8 +2223,10 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
1806 | 1806 |
if (s->context_initialized |
1807 | 1807 |
&& ( s->width != s->avctx->width || s->height != s->avctx->height |
1808 | 1808 |
|| av_cmp_q(h->sps.sar, s->avctx->sample_aspect_ratio))) { |
1809 |
- if(h != h0) |
|
1809 |
+ if(h != h0) { |
|
1810 |
+ av_log_missing_feature(s->avctx, "Width/height changing with threads is", 0); |
|
1810 | 1811 |
return -1; // width / height changed during parallelized decoding |
1812 |
+ } |
|
1811 | 1813 |
free_tables(h, 0); |
1812 | 1814 |
flush_dpb(s->avctx); |
1813 | 1815 |
MPV_common_end(s); |
... | ... |
@@ -1852,21 +2271,26 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
1852 | 1852 |
init_scan_tables(h); |
1853 | 1853 |
ff_h264_alloc_tables(h); |
1854 | 1854 |
|
1855 |
- for(i = 1; i < s->avctx->thread_count; i++) { |
|
1856 |
- H264Context *c; |
|
1857 |
- c = h->thread_context[i] = av_malloc(sizeof(H264Context)); |
|
1858 |
- memcpy(c, h->s.thread_context[i], sizeof(MpegEncContext)); |
|
1859 |
- memset(&c->s + 1, 0, sizeof(H264Context) - sizeof(MpegEncContext)); |
|
1860 |
- c->h264dsp = h->h264dsp; |
|
1861 |
- c->sps = h->sps; |
|
1862 |
- c->pps = h->pps; |
|
1863 |
- init_scan_tables(c); |
|
1864 |
- clone_tables(c, h, i); |
|
1865 |
- } |
|
1866 |
- |
|
1867 |
- for(i = 0; i < s->avctx->thread_count; i++) |
|
1868 |
- if(context_init(h->thread_context[i]) < 0) |
|
1855 |
+ if (!HAVE_THREADS || !(s->avctx->active_thread_type&FF_THREAD_SLICE)) { |
|
1856 |
+ if (context_init(h) < 0) |
|
1869 | 1857 |
return -1; |
1858 |
+ } else { |
|
1859 |
+ for(i = 1; i < s->avctx->thread_count; i++) { |
|
1860 |
+ H264Context *c; |
|
1861 |
+ c = h->thread_context[i] = av_malloc(sizeof(H264Context)); |
|
1862 |
+ memcpy(c, h->s.thread_context[i], sizeof(MpegEncContext)); |
|
1863 |
+ memset(&c->s + 1, 0, sizeof(H264Context) - sizeof(MpegEncContext)); |
|
1864 |
+ c->h264dsp = h->h264dsp; |
|
1865 |
+ c->sps = h->sps; |
|
1866 |
+ c->pps = h->pps; |
|
1867 |
+ init_scan_tables(c); |
|
1868 |
+ clone_tables(c, h, i); |
|
1869 |
+ } |
|
1870 |
+ |
|
1871 |
+ for(i = 0; i < s->avctx->thread_count; i++) |
|
1872 |
+ if(context_init(h->thread_context[i]) < 0) |
|
1873 |
+ return -1; |
|
1874 |
+ } |
|
1870 | 1875 |
} |
1871 | 1876 |
|
1872 | 1877 |
h->frame_num= get_bits(&s->gb, h->sps.log2_max_frame_num); |
... | ... |
@@ -1887,6 +2311,10 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
1887 | 1887 |
h->mb_field_decoding_flag= s->picture_structure != PICT_FRAME; |
1888 | 1888 |
|
1889 | 1889 |
if(h0->current_slice == 0){ |
1890 |
+ if(h->frame_num != h->prev_frame_num && |
|
1891 |
+ (h->prev_frame_num+1)%(1<<h->sps.log2_max_frame_num) < (h->frame_num - h->sps.ref_frame_count)) |
|
1892 |
+ h->prev_frame_num = h->frame_num - h->sps.ref_frame_count - 1; |
|
1893 |
+ |
|
1890 | 1894 |
while(h->frame_num != h->prev_frame_num && |
1891 | 1895 |
h->frame_num != (h->prev_frame_num+1)%(1<<h->sps.log2_max_frame_num)){ |
1892 | 1896 |
Picture *prev = h->short_ref_count ? h->short_ref[0] : NULL; |
... | ... |
@@ -1896,6 +2324,8 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
1896 | 1896 |
h->prev_frame_num++; |
1897 | 1897 |
h->prev_frame_num %= 1<<h->sps.log2_max_frame_num; |
1898 | 1898 |
s->current_picture_ptr->frame_num= h->prev_frame_num; |
1899 |
+ ff_thread_report_progress((AVFrame*)s->current_picture_ptr, INT_MAX, 0); |
|
1900 |
+ ff_thread_report_progress((AVFrame*)s->current_picture_ptr, INT_MAX, 1); |
|
1899 | 1901 |
ff_generate_sliding_window_mmcos(h); |
1900 | 1902 |
ff_h264_execute_ref_pic_marking(h, h->mmco, h->mmco_index); |
1901 | 1903 |
/* Error concealment: if a ref is missing, copy the previous ref in its place. |
... | ... |
@@ -2045,6 +2475,9 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
2045 | 2045 |
if(h->slice_type_nos!=FF_I_TYPE && ff_h264_decode_ref_pic_list_reordering(h) < 0) |
2046 | 2046 |
return -1; |
2047 | 2047 |
|
2048 |
+ //FIXME mt gives valgrind warnings and crashes if this is uncommented |
|
2049 |
+ /* |
|
2050 |
+ |
|
2048 | 2051 |
if(h->slice_type_nos!=FF_I_TYPE){ |
2049 | 2052 |
s->last_picture_ptr= &h->ref_list[0][0]; |
2050 | 2053 |
ff_copy_picture(&s->last_picture, s->last_picture_ptr); |
... | ... |
@@ -2054,6 +2487,8 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
2054 | 2054 |
ff_copy_picture(&s->next_picture, s->next_picture_ptr); |
2055 | 2055 |
} |
2056 | 2056 |
|
2057 |
+ */ |
|
2058 |
+ |
|
2057 | 2059 |
if( (h->pps.weighted_pred && h->slice_type_nos == FF_P_TYPE ) |
2058 | 2060 |
|| (h->pps.weighted_bipred_idc==1 && h->slice_type_nos== FF_B_TYPE ) ) |
2059 | 2061 |
pred_weight_table(h); |
... | ... |
@@ -2200,7 +2635,8 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ |
2200 | 2200 |
+(h->ref_list[j][i].reference&3); |
2201 | 2201 |
} |
2202 | 2202 |
|
2203 |
- h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE) ? 0 : 16; |
|
2203 |
+ //FIXME: fix draw_edges+PAFF+frame threads |
|
2204 |
+ h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE || (!h->sps.frame_mbs_only_flag && s->avctx->active_thread_type&FF_THREAD_FRAME)) ? 0 : 16; |
|
2204 | 2205 |
h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width; |
2205 | 2206 |
|
2206 | 2207 |
if(s->avctx->debug&FF_DEBUG_PICT_INFO){ |
... | ... |
@@ -2521,6 +2957,40 @@ static void predict_field_decoding_flag(H264Context *h){ |
2521 | 2521 |
h->mb_mbaff = h->mb_field_decoding_flag = IS_INTERLACED(mb_type) ? 1 : 0; |
2522 | 2522 |
} |
2523 | 2523 |
|
2524 |
+/** |
|
2525 |
+ * Draw edges and report progress for the last MB row. |
|
2526 |
+ */ |
|
2527 |
+static void decode_finish_row(H264Context *h){ |
|
2528 |
+ MpegEncContext * const s = &h->s; |
|
2529 |
+ int top = 16*(s->mb_y >> FIELD_PICTURE); |
|
2530 |
+ int height = 16 << FRAME_MBAFF; |
|
2531 |
+ int deblock_border = (16 + 4) << FRAME_MBAFF; |
|
2532 |
+ int pic_height = 16*s->mb_height >> FIELD_PICTURE; |
|
2533 |
+ |
|
2534 |
+ if (h->deblocking_filter) { |
|
2535 |
+ if((top + height) >= pic_height) |
|
2536 |
+ height += deblock_border; |
|
2537 |
+ |
|
2538 |
+ top -= deblock_border; |
|
2539 |
+ } |
|
2540 |
+ |
|
2541 |
+ if (top >= pic_height || (top + height) < h->emu_edge_height) |
|
2542 |
+ return; |
|
2543 |
+ |
|
2544 |
+ height = FFMIN(height, pic_height - top); |
|
2545 |
+ if (top < h->emu_edge_height) { |
|
2546 |
+ height = top+height; |
|
2547 |
+ top = 0; |
|
2548 |
+ } |
|
2549 |
+ |
|
2550 |
+ ff_draw_horiz_band(s, top, height); |
|
2551 |
+ |
|
2552 |
+ if (s->dropable) return; |
|
2553 |
+ |
|
2554 |
+ ff_thread_report_progress((AVFrame*)s->current_picture_ptr, top + height - 1, |
|
2555 |
+ s->picture_structure==PICT_BOTTOM_FIELD); |
|
2556 |
+} |
|
2557 |
+ |
|
2524 | 2558 |
static int decode_slice(struct AVCodecContext *avctx, void *arg){ |
2525 | 2559 |
H264Context *h = *(void**)arg; |
2526 | 2560 |
MpegEncContext * const s = &h->s; |
... | ... |
@@ -2574,7 +3044,7 @@ static int decode_slice(struct AVCodecContext *avctx, void *arg){ |
2574 | 2574 |
if( ++s->mb_x >= s->mb_width ) { |
2575 | 2575 |
s->mb_x = 0; |
2576 | 2576 |
loop_filter(h); |
2577 |
- ff_draw_horiz_band(s, 16*s->mb_y, 16); |
|
2577 |
+ decode_finish_row(h); |
|
2578 | 2578 |
++s->mb_y; |
2579 | 2579 |
if(FIELD_OR_MBAFF_PICTURE) { |
2580 | 2580 |
++s->mb_y; |
... | ... |
@@ -2614,7 +3084,7 @@ static int decode_slice(struct AVCodecContext *avctx, void *arg){ |
2614 | 2614 |
if(++s->mb_x >= s->mb_width){ |
2615 | 2615 |
s->mb_x=0; |
2616 | 2616 |
loop_filter(h); |
2617 |
- ff_draw_horiz_band(s, 16*s->mb_y, 16); |
|
2617 |
+ decode_finish_row(h); |
|
2618 | 2618 |
++s->mb_y; |
2619 | 2619 |
if(FIELD_OR_MBAFF_PICTURE) { |
2620 | 2620 |
++s->mb_y; |
... | ... |
@@ -2747,7 +3217,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ |
2747 | 2747 |
int context_count = 0; |
2748 | 2748 |
int next_avc= h->is_avc ? 0 : buf_size; |
2749 | 2749 |
|
2750 |
- h->max_contexts = avctx->thread_count; |
|
2750 |
+ h->max_contexts = (HAVE_THREADS && (s->avctx->active_thread_type&FF_THREAD_SLICE)) ? avctx->thread_count : 1; |
|
2751 | 2751 |
#if 0 |
2752 | 2752 |
int i; |
2753 | 2753 |
for(i=0; i<50; i++){ |
... | ... |
@@ -2842,16 +3312,21 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ |
2842 | 2842 |
if((err = decode_slice_header(hx, h))) |
2843 | 2843 |
break; |
2844 | 2844 |
|
2845 |
+ s->current_picture_ptr->key_frame |= |
|
2846 |
+ (hx->nal_unit_type == NAL_IDR_SLICE) || |
|
2847 |
+ (h->sei_recovery_frame_cnt >= 0); |
|
2848 |
+ |
|
2845 | 2849 |
if (h->current_slice == 1) { |
2850 |
+ if(!(s->flags2 & CODEC_FLAG2_CHUNKS)) { |
|
2851 |
+ decode_postinit(h); |
|
2852 |
+ } |
|
2853 |
+ |
|
2846 | 2854 |
if (s->avctx->hwaccel && s->avctx->hwaccel->start_frame(s->avctx, NULL, 0) < 0) |
2847 | 2855 |
return -1; |
2848 | 2856 |
if(CONFIG_H264_VDPAU_DECODER && s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) |
2849 | 2857 |
ff_vdpau_h264_picture_start(s); |
2850 | 2858 |
} |
2851 | 2859 |
|
2852 |
- s->current_picture_ptr->key_frame |= |
|
2853 |
- (hx->nal_unit_type == NAL_IDR_SLICE) || |
|
2854 |
- (h->sei_recovery_frame_cnt >= 0); |
|
2855 | 2860 |
if(hx->redundant_pic_count==0 && hx->s.hurry_up < 5 |
2856 | 2861 |
&& (avctx->skip_frame < AVDISCARD_NONREF || hx->nal_ref_idc) |
2857 | 2862 |
&& (avctx->skip_frame < AVDISCARD_BIDIR || hx->slice_type_nos!=FF_B_TYPE) |
... | ... |
@@ -2981,6 +3456,8 @@ static int decode_frame(AVCodecContext *avctx, |
2981 | 2981 |
Picture *out; |
2982 | 2982 |
int i, out_idx; |
2983 | 2983 |
|
2984 |
+ s->current_picture_ptr = NULL; |
|
2985 |
+ |
|
2984 | 2986 |
//FIXME factorize this with the output code below |
2985 | 2987 |
out = h->delayed_pic[0]; |
2986 | 2988 |
out_idx = 0; |
... | ... |
@@ -3017,143 +3494,18 @@ static int decode_frame(AVCodecContext *avctx, |
3017 | 3017 |
} |
3018 | 3018 |
|
3019 | 3019 |
if(!(s->flags2 & CODEC_FLAG2_CHUNKS) || (s->mb_y >= s->mb_height && s->mb_height)){ |
3020 |
- Picture *out = s->current_picture_ptr; |
|
3021 |
- Picture *cur = s->current_picture_ptr; |
|
3022 |
- int i, pics, out_of_order, out_idx; |
|
3023 | 3020 |
|
3024 |
- field_end(h); |
|
3021 |
+ if(s->flags2 & CODEC_FLAG2_CHUNKS) decode_postinit(h); |
|
3025 | 3022 |
|
3026 |
- if (cur->field_poc[0]==INT_MAX || cur->field_poc[1]==INT_MAX) { |
|
3023 |
+ field_end(h, 0); |
|
3024 |
+ |
|
3025 |
+ if (!h->next_output_pic) { |
|
3027 | 3026 |
/* Wait for second field. */ |
3028 | 3027 |
*data_size = 0; |
3029 | 3028 |
|
3030 | 3029 |
} else { |
3031 |
- cur->interlaced_frame = 0; |
|
3032 |
- cur->repeat_pict = 0; |
|
3033 |
- |
|
3034 |
- /* Signal interlacing information externally. */ |
|
3035 |
- /* Prioritize picture timing SEI information over used decoding process if it exists. */ |
|
3036 |
- |
|
3037 |
- if(h->sps.pic_struct_present_flag){ |
|
3038 |
- switch (h->sei_pic_struct) |
|
3039 |
- { |
|
3040 |
- case SEI_PIC_STRUCT_FRAME: |
|
3041 |
- break; |
|
3042 |
- case SEI_PIC_STRUCT_TOP_FIELD: |
|
3043 |
- case SEI_PIC_STRUCT_BOTTOM_FIELD: |
|
3044 |
- cur->interlaced_frame = 1; |
|
3045 |
- break; |
|
3046 |
- case SEI_PIC_STRUCT_TOP_BOTTOM: |
|
3047 |
- case SEI_PIC_STRUCT_BOTTOM_TOP: |
|
3048 |
- if (FIELD_OR_MBAFF_PICTURE) |
|
3049 |
- cur->interlaced_frame = 1; |
|
3050 |
- else |
|
3051 |
- // try to flag soft telecine progressive |
|
3052 |
- cur->interlaced_frame = h->prev_interlaced_frame; |
|
3053 |
- break; |
|
3054 |
- case SEI_PIC_STRUCT_TOP_BOTTOM_TOP: |
|
3055 |
- case SEI_PIC_STRUCT_BOTTOM_TOP_BOTTOM: |
|
3056 |
- // Signal the possibility of telecined film externally (pic_struct 5,6) |
|
3057 |
- // From these hints, let the applications decide if they apply deinterlacing. |
|
3058 |
- cur->repeat_pict = 1; |
|
3059 |
- break; |
|
3060 |
- case SEI_PIC_STRUCT_FRAME_DOUBLING: |
|
3061 |
- // Force progressive here, as doubling interlaced frame is a bad idea. |
|
3062 |
- cur->repeat_pict = 2; |
|
3063 |
- break; |
|
3064 |
- case SEI_PIC_STRUCT_FRAME_TRIPLING: |
|
3065 |
- cur->repeat_pict = 4; |
|
3066 |
- break; |
|
3067 |
- } |
|
3068 |
- |
|
3069 |
- if ((h->sei_ct_type & 3) && h->sei_pic_struct <= SEI_PIC_STRUCT_BOTTOM_TOP) |
|
3070 |
- cur->interlaced_frame = (h->sei_ct_type & (1<<1)) != 0; |
|
3071 |
- }else{ |
|
3072 |
- /* Derive interlacing flag from used decoding process. */ |
|
3073 |
- cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE; |
|
3074 |
- } |
|
3075 |
- h->prev_interlaced_frame = cur->interlaced_frame; |
|
3076 |
- |
|
3077 |
- if (cur->field_poc[0] != cur->field_poc[1]){ |
|
3078 |
- /* Derive top_field_first from field pocs. */ |
|
3079 |
- cur->top_field_first = cur->field_poc[0] < cur->field_poc[1]; |
|
3080 |
- }else{ |
|
3081 |
- if(cur->interlaced_frame || h->sps.pic_struct_present_flag){ |
|
3082 |
- /* Use picture timing SEI information. Even if it is a information of a past frame, better than nothing. */ |
|
3083 |
- if(h->sei_pic_struct == SEI_PIC_STRUCT_TOP_BOTTOM |
|
3084 |
- || h->sei_pic_struct == SEI_PIC_STRUCT_TOP_BOTTOM_TOP) |
|
3085 |
- cur->top_field_first = 1; |
|
3086 |
- else |
|
3087 |
- cur->top_field_first = 0; |
|
3088 |
- }else{ |
|
3089 |
- /* Most likely progressive */ |
|
3090 |
- cur->top_field_first = 0; |
|
3091 |
- } |
|
3092 |
- } |
|
3093 |
- |
|
3094 |
- //FIXME do something with unavailable reference frames |
|
3095 |
- |
|
3096 |
- /* Sort B-frames into display order */ |
|
3097 |
- |
|
3098 |
- if(h->sps.bitstream_restriction_flag |
|
3099 |
- && s->avctx->has_b_frames < h->sps.num_reorder_frames){ |
|
3100 |
- s->avctx->has_b_frames = h->sps.num_reorder_frames; |
|
3101 |
- s->low_delay = 0; |
|
3102 |
- } |
|
3103 |
- |
|
3104 |
- if( s->avctx->strict_std_compliance >= FF_COMPLIANCE_STRICT |
|
3105 |
- && !h->sps.bitstream_restriction_flag){ |
|
3106 |
- s->avctx->has_b_frames= MAX_DELAYED_PIC_COUNT; |
|
3107 |
- s->low_delay= 0; |
|
3108 |
- } |
|
3109 |
- |
|
3110 |
- pics = 0; |
|
3111 |
- while(h->delayed_pic[pics]) pics++; |
|
3112 |
- |
|
3113 |
- assert(pics <= MAX_DELAYED_PIC_COUNT); |
|
3114 |
- |
|
3115 |
- h->delayed_pic[pics++] = cur; |
|
3116 |
- if(cur->reference == 0) |
|
3117 |
- cur->reference = DELAYED_PIC_REF; |
|
3118 |
- |
|
3119 |
- out = h->delayed_pic[0]; |
|
3120 |
- out_idx = 0; |
|
3121 |
- for(i=1; h->delayed_pic[i] && !h->delayed_pic[i]->key_frame && !h->delayed_pic[i]->mmco_reset; i++) |
|
3122 |
- if(h->delayed_pic[i]->poc < out->poc){ |
|
3123 |
- out = h->delayed_pic[i]; |
|
3124 |
- out_idx = i; |
|
3125 |
- } |
|
3126 |
- if(s->avctx->has_b_frames == 0 && (h->delayed_pic[0]->key_frame || h->delayed_pic[0]->mmco_reset)) |
|
3127 |
- h->outputed_poc= INT_MIN; |
|
3128 |
- out_of_order = out->poc < h->outputed_poc; |
|
3129 |
- |
|
3130 |
- if(h->sps.bitstream_restriction_flag && s->avctx->has_b_frames >= h->sps.num_reorder_frames) |
|
3131 |
- { } |
|
3132 |
- else if((out_of_order && pics-1 == s->avctx->has_b_frames && s->avctx->has_b_frames < MAX_DELAYED_PIC_COUNT) |
|
3133 |
- || (s->low_delay && |
|
3134 |
- ((h->outputed_poc != INT_MIN && out->poc > h->outputed_poc + 2) |
|
3135 |
- || cur->pict_type == FF_B_TYPE))) |
|
3136 |
- { |
|
3137 |
- s->low_delay = 0; |
|
3138 |
- s->avctx->has_b_frames++; |
|
3139 |
- } |
|
3140 |
- |
|
3141 |
- if(out_of_order || pics > s->avctx->has_b_frames){ |
|
3142 |
- out->reference &= ~DELAYED_PIC_REF; |
|
3143 |
- for(i=out_idx; h->delayed_pic[i]; i++) |
|
3144 |
- h->delayed_pic[i] = h->delayed_pic[i+1]; |
|
3145 |
- } |
|
3146 |
- if(!out_of_order && pics > s->avctx->has_b_frames){ |
|
3147 |
- *data_size = sizeof(AVFrame); |
|
3148 |
- |
|
3149 |
- if(out_idx==0 && h->delayed_pic[0] && (h->delayed_pic[0]->key_frame || h->delayed_pic[0]->mmco_reset)) { |
|
3150 |
- h->outputed_poc = INT_MIN; |
|
3151 |
- } else |
|
3152 |
- h->outputed_poc = out->poc; |
|
3153 |
- *pict= *(AVFrame*)out; |
|
3154 |
- }else{ |
|
3155 |
- av_log(avctx, AV_LOG_DEBUG, "no picture\n"); |
|
3156 |
- } |
|
3030 |
+ *data_size = sizeof(AVFrame); |
|
3031 |
+ *pict = *(AVFrame*)h->next_output_pic; |
|
3157 | 3032 |
} |
3158 | 3033 |
} |
3159 | 3034 |
|
... | ... |
@@ -3412,9 +3764,11 @@ AVCodec ff_h264_decoder = { |
3412 | 3412 |
NULL, |
3413 | 3413 |
ff_h264_decode_end, |
3414 | 3414 |
decode_frame, |
3415 |
- /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_DELAY, |
|
3415 |
+ /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_FRAME_THREADS, |
|
3416 | 3416 |
.flush= flush_dpb, |
3417 | 3417 |
.long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), |
3418 |
+ .init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy), |
|
3419 |
+ .update_thread_context = ONLY_IF_THREADS_ENABLED(decode_update_thread_context), |
|
3418 | 3420 |
.profiles = NULL_IF_CONFIG_SMALL(profiles), |
3419 | 3421 |
}; |
3420 | 3422 |
|
... | ... |
@@ -392,9 +392,9 @@ typedef struct H264Context{ |
392 | 392 |
/** |
393 | 393 |
* num_ref_idx_l0/1_active_minus1 + 1 |
394 | 394 |
*/ |
395 |
+ uint8_t *list_counts; ///< Array of list_count per MB specifying the slice type |
|
395 | 396 |
unsigned int ref_count[2]; ///< counts frames or fields, depending on current mb mode |
396 | 397 |
unsigned int list_count; |
397 |
- uint8_t *list_counts; ///< Array of list_count per MB specifying the slice type |
|
398 | 398 |
Picture ref_list[2][48]; /**< 0..15: frame refs, 16..47: mbaff field refs. |
399 | 399 |
Reordered version of default_ref_list |
400 | 400 |
according to picture reordering in slice header */ |
... | ... |
@@ -504,7 +504,9 @@ typedef struct H264Context{ |
504 | 504 |
Picture *long_ref[32]; |
505 | 505 |
Picture default_ref_list[2][32]; ///< base reference list for all slices of a coded picture |
506 | 506 |
Picture *delayed_pic[MAX_DELAYED_PIC_COUNT+2]; //FIXME size? |
507 |
+ Picture *next_output_pic; |
|
507 | 508 |
int outputed_poc; |
509 |
+ int next_outputed_poc; |
|
508 | 510 |
|
509 | 511 |
/** |
510 | 512 |
* memory management control operations buffer. |
... | ... |
@@ -31,6 +31,7 @@ |
31 | 31 |
#include "mpegvideo.h" |
32 | 32 |
#include "h264.h" |
33 | 33 |
#include "rectangle.h" |
34 |
+#include "thread.h" |
|
34 | 35 |
|
35 | 36 |
//#undef NDEBUG |
36 | 37 |
#include <assert.h> |
... | ... |
@@ -126,7 +127,7 @@ void ff_h264_direct_ref_list_init(H264Context * const h){ |
126 | 126 |
h->col_parity= (FFABS(col_poc[0] - cur_poc) >= FFABS(col_poc[1] - cur_poc)); |
127 | 127 |
ref1sidx=sidx= h->col_parity; |
128 | 128 |
}else if(!(s->picture_structure & h->ref_list[1][0].reference) && !h->ref_list[1][0].mbaff){ // FL -> FL & differ parity |
129 |
- h->col_fieldoff= s->mb_stride*(2*(h->ref_list[1][0].reference) - 3); |
|
129 |
+ h->col_fieldoff= 2*(h->ref_list[1][0].reference) - 3; |
|
130 | 130 |
} |
131 | 131 |
|
132 | 132 |
if(cur->pict_type != FF_B_TYPE || h->direct_spatial_mv_pred) |
... | ... |
@@ -140,11 +141,27 @@ void ff_h264_direct_ref_list_init(H264Context * const h){ |
140 | 140 |
} |
141 | 141 |
} |
142 | 142 |
|
143 |
+static void await_reference_mb_row(H264Context * const h, Picture *ref, int mb_y) |
|
144 |
+{ |
|
145 |
+ int ref_field = ref->reference - 1; |
|
146 |
+ int ref_field_picture = ref->field_picture; |
|
147 |
+ int ref_height = 16*h->s.mb_height >> ref_field_picture; |
|
148 |
+ |
|
149 |
+ if(!HAVE_PTHREADS || !(h->s.avctx->active_thread_type&FF_THREAD_FRAME)) |
|
150 |
+ return; |
|
151 |
+ |
|
152 |
+ //FIXME it can be safe to access mb stuff |
|
153 |
+ //even if pixels aren't deblocked yet |
|
154 |
+ |
|
155 |
+ ff_thread_await_progress((AVFrame*)ref, FFMIN(16*mb_y >> ref_field_picture, ref_height-1), |
|
156 |
+ ref_field_picture && ref_field); |
|
157 |
+} |
|
158 |
+ |
|
143 | 159 |
static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){ |
144 | 160 |
MpegEncContext * const s = &h->s; |
145 | 161 |
int b8_stride = 2; |
146 | 162 |
int b4_stride = h->b_stride; |
147 |
- int mb_xy = h->mb_xy; |
|
163 |
+ int mb_xy = h->mb_xy, mb_y = s->mb_y; |
|
148 | 164 |
int mb_type_col[2]; |
149 | 165 |
const int16_t (*l1mv0)[2], (*l1mv1)[2]; |
150 | 166 |
const int8_t *l1ref0, *l1ref1; |
... | ... |
@@ -157,6 +174,8 @@ static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){ |
157 | 157 |
|
158 | 158 |
assert(h->ref_list[1][0].reference&3); |
159 | 159 |
|
160 |
+ await_reference_mb_row(h, &h->ref_list[1][0], s->mb_y + !!IS_INTERLACED(*mb_type)); |
|
161 |
+ |
|
160 | 162 |
#define MB_TYPE_16x16_OR_INTRA (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM) |
161 | 163 |
|
162 | 164 |
|
... | ... |
@@ -217,14 +236,17 @@ static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){ |
217 | 217 |
|
218 | 218 |
if(IS_INTERLACED(h->ref_list[1][0].mb_type[mb_xy])){ // AFL/AFR/FR/FL -> AFL/FL |
219 | 219 |
if(!IS_INTERLACED(*mb_type)){ // AFR/FR -> AFL/FL |
220 |
+ mb_y = (s->mb_y&~1) + h->col_parity; |
|
220 | 221 |
mb_xy= s->mb_x + ((s->mb_y&~1) + h->col_parity)*s->mb_stride; |
221 | 222 |
b8_stride = 0; |
222 | 223 |
}else{ |
223 |
- mb_xy += h->col_fieldoff; // non zero for FL -> FL & differ parity |
|
224 |
+ mb_y += h->col_fieldoff; |
|
225 |
+ mb_xy += s->mb_stride*h->col_fieldoff; // non zero for FL -> FL & differ parity |
|
224 | 226 |
} |
225 | 227 |
goto single_col; |
226 | 228 |
}else{ // AFL/AFR/FR/FL -> AFR/FR |
227 | 229 |
if(IS_INTERLACED(*mb_type)){ // AFL /FL -> AFR/FR |
230 |
+ mb_y = s->mb_y&~1; |
|
228 | 231 |
mb_xy= s->mb_x + (s->mb_y&~1)*s->mb_stride; |
229 | 232 |
mb_type_col[0] = h->ref_list[1][0].mb_type[mb_xy]; |
230 | 233 |
mb_type_col[1] = h->ref_list[1][0].mb_type[mb_xy + s->mb_stride]; |
... | ... |
@@ -260,6 +282,8 @@ single_col: |
260 | 260 |
} |
261 | 261 |
} |
262 | 262 |
|
263 |
+ await_reference_mb_row(h, &h->ref_list[1][0], mb_y); |
|
264 |
+ |
|
263 | 265 |
l1mv0 = &h->ref_list[1][0].motion_val[0][h->mb2b_xy [mb_xy]]; |
264 | 266 |
l1mv1 = &h->ref_list[1][0].motion_val[1][h->mb2b_xy [mb_xy]]; |
265 | 267 |
l1ref0 = &h->ref_list[1][0].ref_index [0][4*mb_xy]; |
... | ... |
@@ -384,7 +408,7 @@ static void pred_temp_direct_motion(H264Context * const h, int *mb_type){ |
384 | 384 |
MpegEncContext * const s = &h->s; |
385 | 385 |
int b8_stride = 2; |
386 | 386 |
int b4_stride = h->b_stride; |
387 |
- int mb_xy = h->mb_xy; |
|
387 |
+ int mb_xy = h->mb_xy, mb_y = s->mb_y; |
|
388 | 388 |
int mb_type_col[2]; |
389 | 389 |
const int16_t (*l1mv0)[2], (*l1mv1)[2]; |
390 | 390 |
const int8_t *l1ref0, *l1ref1; |
... | ... |
@@ -394,16 +418,21 @@ static void pred_temp_direct_motion(H264Context * const h, int *mb_type){ |
394 | 394 |
|
395 | 395 |
assert(h->ref_list[1][0].reference&3); |
396 | 396 |
|
397 |
+ await_reference_mb_row(h, &h->ref_list[1][0], s->mb_y + !!IS_INTERLACED(*mb_type)); |
|
398 |
+ |
|
397 | 399 |
if(IS_INTERLACED(h->ref_list[1][0].mb_type[mb_xy])){ // AFL/AFR/FR/FL -> AFL/FL |
398 | 400 |
if(!IS_INTERLACED(*mb_type)){ // AFR/FR -> AFL/FL |
401 |
+ mb_y = (s->mb_y&~1) + h->col_parity; |
|
399 | 402 |
mb_xy= s->mb_x + ((s->mb_y&~1) + h->col_parity)*s->mb_stride; |
400 | 403 |
b8_stride = 0; |
401 | 404 |
}else{ |
402 |
- mb_xy += h->col_fieldoff; // non zero for FL -> FL & differ parity |
|
405 |
+ mb_y += h->col_fieldoff; |
|
406 |
+ mb_xy += s->mb_stride*h->col_fieldoff; // non zero for FL -> FL & differ parity |
|
403 | 407 |
} |
404 | 408 |
goto single_col; |
405 | 409 |
}else{ // AFL/AFR/FR/FL -> AFR/FR |
406 | 410 |
if(IS_INTERLACED(*mb_type)){ // AFL /FL -> AFR/FR |
411 |
+ mb_y = s->mb_y&~1; |
|
407 | 412 |
mb_xy= s->mb_x + (s->mb_y&~1)*s->mb_stride; |
408 | 413 |
mb_type_col[0] = h->ref_list[1][0].mb_type[mb_xy]; |
409 | 414 |
mb_type_col[1] = h->ref_list[1][0].mb_type[mb_xy + s->mb_stride]; |
... | ... |
@@ -440,6 +469,8 @@ single_col: |
440 | 440 |
} |
441 | 441 |
} |
442 | 442 |
|
443 |
+ await_reference_mb_row(h, &h->ref_list[1][0], mb_y); |
|
444 |
+ |
|
443 | 445 |
l1mv0 = &h->ref_list[1][0].motion_val[0][h->mb2b_xy [mb_xy]]; |
444 | 446 |
l1mv1 = &h->ref_list[1][0].motion_val[1][h->mb2b_xy [mb_xy]]; |
445 | 447 |
l1ref0 = &h->ref_list[1][0].ref_index [0][4*mb_xy]; |
... | ... |
@@ -31,6 +31,7 @@ |
31 | 31 |
#include "dsputil.h" |
32 | 32 |
#include "mpegvideo.h" |
33 | 33 |
#include "mpeg12.h" |
34 |
+#include "thread.h" |
|
34 | 35 |
|
35 | 36 |
typedef struct MDECContext{ |
36 | 37 |
AVCodecContext *avctx; |
... | ... |
@@ -162,10 +163,10 @@ static int decode_frame(AVCodecContext *avctx, |
162 | 162 |
int i; |
163 | 163 |
|
164 | 164 |
if(p->data[0]) |
165 |
- avctx->release_buffer(avctx, p); |
|
165 |
+ ff_thread_release_buffer(avctx, p); |
|
166 | 166 |
|
167 | 167 |
p->reference= 0; |
168 |
- if(avctx->get_buffer(avctx, p) < 0){ |
|
168 |
+ if(ff_thread_get_buffer(avctx, p) < 0){ |
|
169 | 169 |
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); |
170 | 170 |
return -1; |
171 | 171 |
} |
... | ... |
@@ -238,6 +239,18 @@ static av_cold int decode_init(AVCodecContext *avctx){ |
238 | 238 |
return 0; |
239 | 239 |
} |
240 | 240 |
|
241 |
+static av_cold int decode_init_thread_copy(AVCodecContext *avctx){ |
|
242 |
+ MDECContext * const a = avctx->priv_data; |
|
243 |
+ AVFrame *p = (AVFrame*)&a->picture; |
|
244 |
+ |
|
245 |
+ avctx->coded_frame= p; |
|
246 |
+ a->avctx= avctx; |
|
247 |
+ |
|
248 |
+ p->qscale_table= av_mallocz( p->qstride * a->mb_height); |
|
249 |
+ |
|
250 |
+ return 0; |
|
251 |
+} |
|
252 |
+ |
|
241 | 253 |
static av_cold int decode_end(AVCodecContext *avctx){ |
242 | 254 |
MDECContext * const a = avctx->priv_data; |
243 | 255 |
|
... | ... |
@@ -259,7 +272,8 @@ AVCodec ff_mdec_decoder = { |
259 | 259 |
NULL, |
260 | 260 |
decode_end, |
261 | 261 |
decode_frame, |
262 |
- CODEC_CAP_DR1, |
|
262 |
+ CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, |
|
263 | 263 |
.long_name= NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"), |
264 |
+ .init_thread_copy= ONLY_IF_THREADS_ENABLED(decode_init_thread_copy) |
|
264 | 265 |
}; |
265 | 266 |
|
... | ... |
@@ -27,6 +27,7 @@ |
27 | 27 |
#include "get_bits.h" |
28 | 28 |
#include "bytestream.h" |
29 | 29 |
#include "dsputil.h" |
30 |
+#include "thread.h" |
|
30 | 31 |
|
31 | 32 |
#define MIMIC_HEADER_SIZE 20 |
32 | 33 |
|
... | ... |
@@ -51,6 +52,10 @@ typedef struct { |
51 | 51 |
ScanTable scantable; |
52 | 52 |
DSPContext dsp; |
53 | 53 |
VLC vlc; |
54 |
+ |
|
55 |
+ /* Kept in the context so multithreading can have a constant to read from */ |
|
56 |
+ int next_cur_index; |
|
57 |
+ int next_prev_index; |
|
54 | 58 |
} MimicContext; |
55 | 59 |
|
56 | 60 |
static const uint32_t huffcodes[] = { |
... | ... |
@@ -121,6 +126,23 @@ static av_cold int mimic_decode_init(AVCodecContext *avctx) |
121 | 121 |
return 0; |
122 | 122 |
} |
123 | 123 |
|
124 |
+static int mimic_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from) |
|
125 |
+{ |
|
126 |
+ MimicContext *dst = avctx->priv_data, *src = avctx_from->priv_data; |
|
127 |
+ |
|
128 |
+ if (avctx == avctx_from) return 0; |
|
129 |
+ |
|
130 |
+ dst->cur_index = src->next_cur_index; |
|
131 |
+ dst->prev_index = src->next_prev_index; |
|
132 |
+ |
|
133 |
+ memcpy(dst->buf_ptrs, src->buf_ptrs, sizeof(src->buf_ptrs)); |
|
134 |
+ memcpy(dst->flipped_ptrs, src->flipped_ptrs, sizeof(src->flipped_ptrs)); |
|
135 |
+ |
|
136 |
+ memset(&dst->buf_ptrs[dst->cur_index], 0, sizeof(AVFrame)); |
|
137 |
+ |
|
138 |
+ return 0; |
|
139 |
+} |
|
140 |
+ |
|
124 | 141 |
static const int8_t vlcdec_lookup[9][64] = { |
125 | 142 |
{ 0, }, |
126 | 143 |
{ -1, 1, }, |
... | ... |
@@ -205,7 +227,7 @@ static int vlc_decode_block(MimicContext *ctx, int num_coeffs, int qscale) |
205 | 205 |
static int decode(MimicContext *ctx, int quality, int num_coeffs, |
206 | 206 |
int is_iframe) |
207 | 207 |
{ |
208 |
- int y, x, plane; |
|
208 |
+ int y, x, plane, cur_row = 0; |
|
209 | 209 |
|
210 | 210 |
for(plane = 0; plane < 3; plane++) { |
211 | 211 |
const int is_chroma = !!plane; |
... | ... |
@@ -236,6 +258,7 @@ static int decode(MimicContext *ctx, int quality, int num_coeffs, |
236 | 236 |
int index = (ctx->cur_index+backref)&15; |
237 | 237 |
uint8_t *p = ctx->flipped_ptrs[index].data[0]; |
238 | 238 |
|
239 |
+ ff_thread_await_progress(&ctx->buf_ptrs[index], cur_row, 0); |
|
239 | 240 |
if(p) { |
240 | 241 |
p += src - |
241 | 242 |
ctx->flipped_ptrs[ctx->prev_index].data[plane]; |
... | ... |
@@ -246,6 +269,7 @@ static int decode(MimicContext *ctx, int quality, int num_coeffs, |
246 | 246 |
} |
247 | 247 |
} |
248 | 248 |
} else { |
249 |
+ ff_thread_await_progress(&ctx->buf_ptrs[ctx->prev_index], cur_row, 0); |
|
249 | 250 |
ctx->dsp.put_pixels_tab[1][0](dst, src, stride, 8); |
250 | 251 |
} |
251 | 252 |
src += 8; |
... | ... |
@@ -253,6 +277,8 @@ static int decode(MimicContext *ctx, int quality, int num_coeffs, |
253 | 253 |
} |
254 | 254 |
src += (stride - ctx->num_hblocks[plane])<<3; |
255 | 255 |
dst += (stride - ctx->num_hblocks[plane])<<3; |
256 |
+ |
|
257 |
+ ff_thread_report_progress(&ctx->buf_ptrs[ctx->cur_index], cur_row++, 0); |
|
256 | 258 |
} |
257 | 259 |
} |
258 | 260 |
|
... | ... |
@@ -326,14 +352,20 @@ static int mimic_decode_frame(AVCodecContext *avctx, void *data, |
326 | 326 |
} |
327 | 327 |
|
328 | 328 |
ctx->buf_ptrs[ctx->cur_index].reference = 1; |
329 |
- if(avctx->get_buffer(avctx, &ctx->buf_ptrs[ctx->cur_index])) { |
|
329 |
+ ctx->buf_ptrs[ctx->cur_index].pict_type = is_pframe ? FF_P_TYPE:FF_I_TYPE; |
|
330 |
+ if(ff_thread_get_buffer(avctx, &ctx->buf_ptrs[ctx->cur_index])) { |
|
330 | 331 |
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); |
331 | 332 |
return -1; |
332 | 333 |
} |
333 | 334 |
|
335 |
+ ctx->next_prev_index = ctx->cur_index; |
|
336 |
+ ctx->next_cur_index = (ctx->cur_index - 1) & 15; |
|
337 |
+ |
|
334 | 338 |
prepare_avpic(ctx, &ctx->flipped_ptrs[ctx->cur_index], |
335 | 339 |
(AVPicture*) &ctx->buf_ptrs[ctx->cur_index]); |
336 | 340 |
|
341 |
+ ff_thread_finish_setup(avctx); |
|
342 |
+ |
|
337 | 343 |
av_fast_malloc(&ctx->swap_buf, &ctx->swap_buf_size, |
338 | 344 |
swap_buf_size + FF_INPUT_BUFFER_PADDING_SIZE); |
339 | 345 |
if(!ctx->swap_buf) |
... | ... |
@@ -345,21 +377,23 @@ static int mimic_decode_frame(AVCodecContext *avctx, void *data, |
345 | 345 |
init_get_bits(&ctx->gb, ctx->swap_buf, swap_buf_size << 3); |
346 | 346 |
|
347 | 347 |
if(!decode(ctx, quality, num_coeffs, !is_pframe)) { |
348 |
- avctx->release_buffer(avctx, &ctx->buf_ptrs[ctx->cur_index]); |
|
349 |
- return -1; |
|
348 |
+ if (avctx->active_thread_type&FF_THREAD_FRAME) |
|
349 |
+ ff_thread_report_progress(&ctx->buf_ptrs[ctx->cur_index], INT_MAX, 0); |
|
350 |
+ else { |
|
351 |
+ ff_thread_release_buffer(avctx, &ctx->buf_ptrs[ctx->cur_index]); |
|
352 |
+ return -1; |
|
353 |
+ } |
|
350 | 354 |
} |
351 | 355 |
|
352 |
- ctx->buf_ptrs[ctx->cur_index].pict_type = is_pframe ? FF_P_TYPE:FF_I_TYPE; |
|
353 | 356 |
*(AVFrame*)data = ctx->buf_ptrs[ctx->cur_index]; |
354 | 357 |
*data_size = sizeof(AVFrame); |
355 | 358 |
|
356 |
- ctx->prev_index = ctx->cur_index; |
|
357 |
- ctx->cur_index--; |
|
358 |
- ctx->cur_index &= 15; |
|
359 |
+ ctx->prev_index = ctx->next_prev_index; |
|
360 |
+ ctx->cur_index = ctx->next_cur_index; |
|
359 | 361 |
|
360 | 362 |
/* Only release frames that aren't used for backreferences anymore */ |
361 | 363 |
if(ctx->buf_ptrs[ctx->cur_index].data[0]) |
362 |
- avctx->release_buffer(avctx, &ctx->buf_ptrs[ctx->cur_index]); |
|
364 |
+ ff_thread_release_buffer(avctx, &ctx->buf_ptrs[ctx->cur_index]); |
|
363 | 365 |
|
364 | 366 |
return buf_size; |
365 | 367 |
} |
... | ... |
@@ -370,9 +404,12 @@ static av_cold int mimic_decode_end(AVCodecContext *avctx) |
370 | 370 |
int i; |
371 | 371 |
|
372 | 372 |
av_free(ctx->swap_buf); |
373 |
+ |
|
374 |
+ if(avctx->is_copy) return 0; |
|
375 |
+ |
|
373 | 376 |
for(i = 0; i < 16; i++) |
374 | 377 |
if(ctx->buf_ptrs[i].data[0]) |
375 |
- avctx->release_buffer(avctx, &ctx->buf_ptrs[i]); |
|
378 |
+ ff_thread_release_buffer(avctx, &ctx->buf_ptrs[i]); |
|
376 | 379 |
free_vlc(&ctx->vlc); |
377 | 380 |
|
378 | 381 |
return 0; |
... | ... |
@@ -387,6 +424,7 @@ AVCodec ff_mimic_decoder = { |
387 | 387 |
NULL, |
388 | 388 |
mimic_decode_end, |
389 | 389 |
mimic_decode_frame, |
390 |
- CODEC_CAP_DR1, |
|
390 |
+ CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, |
|
391 | 391 |
.long_name = NULL_IF_CONFIG_SMALL("Mimic"), |
392 |
+ .update_thread_context = ONLY_IF_THREADS_ENABLED(mimic_decode_update_thread_context) |
|
392 | 393 |
}; |
... | ... |
@@ -37,6 +37,7 @@ |
37 | 37 |
#include "bytestream.h" |
38 | 38 |
#include "vdpau_internal.h" |
39 | 39 |
#include "xvmc_internal.h" |
40 |
+#include "thread.h" |
|
40 | 41 |
|
41 | 42 |
//#undef NDEBUG |
42 | 43 |
//#include <assert.h> |
... | ... |
@@ -1179,6 +1180,27 @@ static av_cold int mpeg_decode_init(AVCodecContext *avctx) |
1179 | 1179 |
return 0; |
1180 | 1180 |
} |
1181 | 1181 |
|
1182 |
+static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from) |
|
1183 |
+{ |
|
1184 |
+ Mpeg1Context *ctx = avctx->priv_data, *ctx_from = avctx_from->priv_data; |
|
1185 |
+ MpegEncContext *s = &ctx->mpeg_enc_ctx, *s1 = &ctx_from->mpeg_enc_ctx; |
|
1186 |
+ int err; |
|
1187 |
+ |
|
1188 |
+ if(avctx == avctx_from || !ctx_from->mpeg_enc_ctx_allocated || !s1->context_initialized) |
|
1189 |
+ return 0; |
|
1190 |
+ |
|
1191 |
+ err = ff_mpeg_update_thread_context(avctx, avctx_from); |
|
1192 |
+ if(err) return err; |
|
1193 |
+ |
|
1194 |
+ if(!ctx->mpeg_enc_ctx_allocated) |
|
1195 |
+ memcpy(s + 1, s1 + 1, sizeof(Mpeg1Context) - sizeof(MpegEncContext)); |
|
1196 |
+ |
|
1197 |
+ if(!(s->pict_type == FF_B_TYPE || s->low_delay)) |
|
1198 |
+ s->picture_number++; |
|
1199 |
+ |
|
1200 |
+ return 0; |
|
1201 |
+} |
|
1202 |
+ |
|
1182 | 1203 |
static void quant_matrix_rebuild(uint16_t *matrix, const uint8_t *old_perm, |
1183 | 1204 |
const uint8_t *new_perm){ |
1184 | 1205 |
uint16_t temp_matrix[64]; |
... | ... |
@@ -1595,6 +1617,9 @@ static int mpeg_field_start(MpegEncContext *s, const uint8_t *buf, int buf_size) |
1595 | 1595 |
} |
1596 | 1596 |
|
1597 | 1597 |
*s->current_picture_ptr->pan_scan= s1->pan_scan; |
1598 |
+ |
|
1599 |
+ if (HAVE_PTHREADS && avctx->active_thread_type&FF_THREAD_FRAME) |
|
1600 |
+ ff_thread_finish_setup(avctx); |
|
1598 | 1601 |
}else{ //second field |
1599 | 1602 |
int i; |
1600 | 1603 |
|
... | ... |
@@ -1769,6 +1794,7 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y, |
1769 | 1769 |
const int mb_size= 16>>s->avctx->lowres; |
1770 | 1770 |
|
1771 | 1771 |
ff_draw_horiz_band(s, mb_size*(s->mb_y>>field_pic), mb_size); |
1772 |
+ MPV_report_decode_progress(s); |
|
1772 | 1773 |
|
1773 | 1774 |
s->mb_x = 0; |
1774 | 1775 |
s->mb_y += 1<<field_pic; |
... | ... |
@@ -1924,7 +1950,8 @@ static int slice_end(AVCodecContext *avctx, AVFrame *pict) |
1924 | 1924 |
*pict= *(AVFrame*)s->current_picture_ptr; |
1925 | 1925 |
ff_print_debug_info(s, pict); |
1926 | 1926 |
} else { |
1927 |
- s->picture_number++; |
|
1927 |
+ if (avctx->active_thread_type&FF_THREAD_FRAME) |
|
1928 |
+ s->picture_number++; |
|
1928 | 1929 |
/* latency of 1 frame for I- and P-frames */ |
1929 | 1930 |
/* XXX: use another variable than picture_number */ |
1930 | 1931 |
if (s->last_picture_ptr != NULL) { |
... | ... |
@@ -2260,7 +2287,7 @@ static int decode_chunks(AVCodecContext *avctx, |
2260 | 2260 |
buf_ptr = ff_find_start_code(buf_ptr,buf_end, &start_code); |
2261 | 2261 |
if (start_code > 0x1ff){ |
2262 | 2262 |
if(s2->pict_type != FF_B_TYPE || avctx->skip_frame <= AVDISCARD_DEFAULT){ |
2263 |
- if(avctx->thread_count > 1){ |
|
2263 |
+ if(HAVE_THREADS && avctx->active_thread_type&FF_THREAD_SLICE){ |
|
2264 | 2264 |
int i; |
2265 | 2265 |
|
2266 | 2266 |
avctx->execute(avctx, slice_decode_thread, &s2->thread_context[0], NULL, s->slice_count, sizeof(void*)); |
... | ... |
@@ -2422,7 +2449,7 @@ static int decode_chunks(AVCodecContext *avctx, |
2422 | 2422 |
break; |
2423 | 2423 |
} |
2424 | 2424 |
|
2425 |
- if(avctx->thread_count > 1){ |
|
2425 |
+ if(HAVE_THREADS && avctx->active_thread_type&FF_THREAD_SLICE){ |
|
2426 | 2426 |
int threshold= (s2->mb_height*s->slice_count + avctx->thread_count/2) / avctx->thread_count; |
2427 | 2427 |
if(threshold <= mb_y){ |
2428 | 2428 |
MpegEncContext *thread_context= s2->thread_context[s->slice_count]; |
... | ... |
@@ -2496,6 +2523,7 @@ AVCodec ff_mpeg1video_decoder = { |
2496 | 2496 |
.flush= flush, |
2497 | 2497 |
.max_lowres= 3, |
2498 | 2498 |
.long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"), |
2499 |
+ .update_thread_context= ONLY_IF_THREADS_ENABLED(mpeg_decode_update_thread_context) |
|
2499 | 2500 |
}; |
2500 | 2501 |
|
2501 | 2502 |
AVCodec ff_mpeg2video_decoder = { |
... | ... |
@@ -2532,7 +2560,7 @@ AVCodec ff_mpegvideo_decoder = { |
2532 | 2532 |
|
2533 | 2533 |
#if CONFIG_MPEG_XVMC_DECODER |
2534 | 2534 |
static av_cold int mpeg_mc_decode_init(AVCodecContext *avctx){ |
2535 |
- if( avctx->thread_count > 1) |
|
2535 |
+ if( avctx->active_thread_type & FF_THREAD_SLICE ) |
|
2536 | 2536 |
return -1; |
2537 | 2537 |
if( !(avctx->slice_flags & SLICE_FLAG_CODED_ORDER) ) |
2538 | 2538 |
return -1; |
... | ... |
@@ -23,6 +23,7 @@ |
23 | 23 |
#include "mpegvideo.h" |
24 | 24 |
#include "mpeg4video.h" |
25 | 25 |
#include "h263.h" |
26 |
+#include "thread.h" |
|
26 | 27 |
|
27 | 28 |
// The defines below define the number of bits that are read at once for |
28 | 29 |
// reading vlc values. Changing these may improve speed and data cache needs |
... | ... |
@@ -373,7 +374,13 @@ int mpeg4_decode_video_packet_header(MpegEncContext *s) |
373 | 373 |
return -1; |
374 | 374 |
} |
375 | 375 |
if(s->pict_type == FF_B_TYPE){ |
376 |
- while(s->next_picture.mbskip_table[ s->mb_index2xy[ mb_num ] ]) mb_num++; |
|
376 |
+ int mb_x = 0, mb_y = 0; |
|
377 |
+ |
|
378 |
+ while(s->next_picture.mbskip_table[ s->mb_index2xy[ mb_num ] ]) { |
|
379 |
+ if (!mb_x) ff_thread_await_progress((AVFrame*)s->next_picture_ptr, mb_y++, 0); |
|
380 |
+ mb_num++; |
|
381 |
+ if (++mb_x == s->mb_width) mb_x = 0; |
|
382 |
+ } |
|
377 | 383 |
if(mb_num >= s->mb_num) return -1; // slice contains just skipped MBs which where already decoded |
378 | 384 |
} |
379 | 385 |
|
... | ... |
@@ -1303,6 +1310,8 @@ static int mpeg4_decode_mb(MpegEncContext *s, |
1303 | 1303 |
s->last_mv[i][1][0]= |
1304 | 1304 |
s->last_mv[i][1][1]= 0; |
1305 | 1305 |
} |
1306 |
+ |
|
1307 |
+ ff_thread_await_progress((AVFrame*)s->next_picture_ptr, s->mb_y, 0); |
|
1306 | 1308 |
} |
1307 | 1309 |
|
1308 | 1310 |
/* if we skipped it in the future P Frame than skip it now too */ |
... | ... |
@@ -1482,6 +1491,12 @@ end: |
1482 | 1482 |
if(s->codec_id==CODEC_ID_MPEG4){ |
1483 | 1483 |
if(mpeg4_is_resync(s)){ |
1484 | 1484 |
const int delta= s->mb_x + 1 == s->mb_width ? 2 : 1; |
1485 |
+ |
|
1486 |
+ if(s->pict_type==FF_B_TYPE){ |
|
1487 |
+ ff_thread_await_progress((AVFrame*)s->next_picture_ptr, |
|
1488 |
+ (s->mb_x + delta >= s->mb_width) ? FFMIN(s->mb_y+1, s->mb_height-1) : s->mb_y, 0); |
|
1489 |
+ } |
|
1490 |
+ |
|
1485 | 1491 |
if(s->pict_type==FF_B_TYPE && s->next_picture.mbskip_table[xy + delta]) |
1486 | 1492 |
return SLICE_OK; |
1487 | 1493 |
return SLICE_END; |
... | ... |
@@ -2239,11 +2254,12 @@ AVCodec ff_mpeg4_decoder = { |
2239 | 2239 |
NULL, |
2240 | 2240 |
ff_h263_decode_end, |
2241 | 2241 |
ff_h263_decode_frame, |
2242 |
- CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, |
|
2242 |
+ CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_FRAME_THREADS, |
|
2243 | 2243 |
.flush= ff_mpeg_flush, |
2244 | 2244 |
.max_lowres= 3, |
2245 | 2245 |
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), |
2246 | 2246 |
.pix_fmts= ff_hwaccel_pixfmt_list_420, |
2247 |
+ .update_thread_context= ONLY_IF_THREADS_ENABLED(ff_mpeg_update_thread_context) |
|
2247 | 2248 |
}; |
2248 | 2249 |
|
2249 | 2250 |
|
... | ... |
@@ -38,6 +38,7 @@ |
38 | 38 |
#include "msmpeg4.h" |
39 | 39 |
#include "faandct.h" |
40 | 40 |
#include "xvmc_internal.h" |
41 |
+#include "thread.h" |
|
41 | 42 |
#include <limits.h> |
42 | 43 |
|
43 | 44 |
//#undef NDEBUG |
... | ... |
@@ -205,7 +206,7 @@ void ff_copy_picture(Picture *dst, Picture *src){ |
205 | 205 |
*/ |
206 | 206 |
static void free_frame_buffer(MpegEncContext *s, Picture *pic) |
207 | 207 |
{ |
208 |
- s->avctx->release_buffer(s->avctx, (AVFrame*)pic); |
|
208 |
+ ff_thread_release_buffer(s->avctx, (AVFrame*)pic); |
|
209 | 209 |
av_freep(&pic->hwaccel_picture_private); |
210 | 210 |
} |
211 | 211 |
|
... | ... |
@@ -227,7 +228,7 @@ static int alloc_frame_buffer(MpegEncContext *s, Picture *pic) |
227 | 227 |
} |
228 | 228 |
} |
229 | 229 |
|
230 |
- r = s->avctx->get_buffer(s->avctx, (AVFrame*)pic); |
|
230 |
+ r = ff_thread_get_buffer(s->avctx, (AVFrame*)pic); |
|
231 | 231 |
|
232 | 232 |
if (r<0 || !pic->age || !pic->type || !pic->data[0]) { |
233 | 233 |
av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed (%d %d %d %p)\n", r, pic->age, pic->type, pic->data[0]); |
... | ... |
@@ -458,6 +459,81 @@ void ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src){ |
458 | 458 |
//STOP_TIMER("update_duplicate_context") //about 10k cycles / 0.01 sec for 1000frames on 1ghz with 2 threads |
459 | 459 |
} |
460 | 460 |
|
461 |
+int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src) |
|
462 |
+{ |
|
463 |
+ MpegEncContext *s = dst->priv_data, *s1 = src->priv_data; |
|
464 |
+ |
|
465 |
+ if(dst == src || !s1->context_initialized) return 0; |
|
466 |
+ |
|
467 |
+ //FIXME can parameters change on I-frames? in that case dst may need a reinit |
|
468 |
+ if(!s->context_initialized){ |
|
469 |
+ memcpy(s, s1, sizeof(MpegEncContext)); |
|
470 |
+ |
|
471 |
+ s->avctx = dst; |
|
472 |
+ s->picture_range_start += MAX_PICTURE_COUNT; |
|
473 |
+ s->picture_range_end += MAX_PICTURE_COUNT; |
|
474 |
+ s->bitstream_buffer = NULL; |
|
475 |
+ s->bitstream_buffer_size = s->allocated_bitstream_buffer_size = 0; |
|
476 |
+ |
|
477 |
+ MPV_common_init(s); |
|
478 |
+ } |
|
479 |
+ |
|
480 |
+ s->avctx->coded_height = s1->avctx->coded_height; |
|
481 |
+ s->avctx->coded_width = s1->avctx->coded_width; |
|
482 |
+ s->avctx->width = s1->avctx->width; |
|
483 |
+ s->avctx->height = s1->avctx->height; |
|
484 |
+ |
|
485 |
+ s->coded_picture_number = s1->coded_picture_number; |
|
486 |
+ s->picture_number = s1->picture_number; |
|
487 |
+ s->input_picture_number = s1->input_picture_number; |
|
488 |
+ |
|
489 |
+ memcpy(s->picture, s1->picture, s1->picture_count * sizeof(Picture)); |
|
490 |
+ memcpy(&s->last_picture, &s1->last_picture, (char*)&s1->last_picture_ptr - (char*)&s1->last_picture); |
|
491 |
+ |
|
492 |
+ s->last_picture_ptr = REBASE_PICTURE(s1->last_picture_ptr, s, s1); |
|
493 |
+ s->current_picture_ptr = REBASE_PICTURE(s1->current_picture_ptr, s, s1); |
|
494 |
+ s->next_picture_ptr = REBASE_PICTURE(s1->next_picture_ptr, s, s1); |
|
495 |
+ |
|
496 |
+ memcpy(s->prev_pict_types, s1->prev_pict_types, PREV_PICT_TYPES_BUFFER_SIZE); |
|
497 |
+ |
|
498 |
+ //Error/bug resilience |
|
499 |
+ s->next_p_frame_damaged = s1->next_p_frame_damaged; |
|
500 |
+ s->workaround_bugs = s1->workaround_bugs; |
|
501 |
+ |
|
502 |
+ //MPEG4 timing info |
|
503 |
+ memcpy(&s->time_increment_bits, &s1->time_increment_bits, (char*)&s1->shape - (char*)&s1->time_increment_bits); |
|
504 |
+ |
|
505 |
+ //B-frame info |
|
506 |
+ s->max_b_frames = s1->max_b_frames; |
|
507 |
+ s->low_delay = s1->low_delay; |
|
508 |
+ s->dropable = s1->dropable; |
|
509 |
+ |
|
510 |
+ //DivX handling (doesn't work) |
|
511 |
+ s->divx_packed = s1->divx_packed; |
|
512 |
+ |
|
513 |
+ if(s1->bitstream_buffer){ |
|
514 |
+ if (s1->bitstream_buffer_size + FF_INPUT_BUFFER_PADDING_SIZE > s->allocated_bitstream_buffer_size) |
|
515 |
+ av_fast_malloc(&s->bitstream_buffer, &s->allocated_bitstream_buffer_size, s1->allocated_bitstream_buffer_size); |
|
516 |
+ s->bitstream_buffer_size = s1->bitstream_buffer_size; |
|
517 |
+ memcpy(s->bitstream_buffer, s1->bitstream_buffer, s1->bitstream_buffer_size); |
|
518 |
+ memset(s->bitstream_buffer+s->bitstream_buffer_size, 0, FF_INPUT_BUFFER_PADDING_SIZE); |
|
519 |
+ } |
|
520 |
+ |
|
521 |
+ //MPEG2/interlacing info |
|
522 |
+ memcpy(&s->progressive_sequence, &s1->progressive_sequence, (char*)&s1->rtp_mode - (char*)&s1->progressive_sequence); |
|
523 |
+ |
|
524 |
+ if(!s1->first_field){ |
|
525 |
+ s->last_pict_type= s1->pict_type; |
|
526 |
+ if (s1->current_picture_ptr) s->last_lambda_for[s1->pict_type] = s1->current_picture_ptr->quality; |
|
527 |
+ |
|
528 |
+ if(s1->pict_type!=FF_B_TYPE){ |
|
529 |
+ s->last_non_b_pict_type= s1->pict_type; |
|
530 |
+ } |
|
531 |
+ } |
|
532 |
+ |
|
533 |
+ return 0; |
|
534 |
+} |
|
535 |
+ |
|
461 | 536 |
/** |
462 | 537 |
* sets the given MpegEncContext to common defaults (same for encoding and decoding). |
463 | 538 |
* the changed fields will not depend upon the prior state of the MpegEncContext. |
... | ... |
@@ -478,6 +554,9 @@ void MPV_common_defaults(MpegEncContext *s){ |
478 | 478 |
|
479 | 479 |
s->f_code = 1; |
480 | 480 |
s->b_code = 1; |
481 |
+ |
|
482 |
+ s->picture_range_start = 0; |
|
483 |
+ s->picture_range_end = MAX_PICTURE_COUNT; |
|
481 | 484 |
} |
482 | 485 |
|
483 | 486 |
/** |
... | ... |
@@ -506,7 +585,8 @@ av_cold int MPV_common_init(MpegEncContext *s) |
506 | 506 |
return -1; |
507 | 507 |
} |
508 | 508 |
|
509 |
- if(s->avctx->thread_count > MAX_THREADS || (s->avctx->thread_count > s->mb_height && s->mb_height)){ |
|
509 |
+ if(s->avctx->active_thread_type&FF_THREAD_SLICE && |
|
510 |
+ (s->avctx->thread_count > MAX_THREADS || (s->avctx->thread_count > s->mb_height && s->mb_height))){ |
|
510 | 511 |
av_log(s->avctx, AV_LOG_ERROR, "too many threads\n"); |
511 | 512 |
return -1; |
512 | 513 |
} |
... | ... |
@@ -599,8 +679,9 @@ av_cold int MPV_common_init(MpegEncContext *s) |
599 | 599 |
FF_ALLOCZ_OR_GOTO(s->avctx, s->dct_offset, 2 * 64 * sizeof(uint16_t), fail) |
600 | 600 |
} |
601 | 601 |
} |
602 |
- FF_ALLOCZ_OR_GOTO(s->avctx, s->picture, MAX_PICTURE_COUNT * sizeof(Picture), fail) |
|
603 |
- for(i = 0; i < MAX_PICTURE_COUNT; i++) { |
|
602 |
+ s->picture_count = MAX_PICTURE_COUNT * FFMAX(1, s->avctx->thread_count); |
|
603 |
+ FF_ALLOCZ_OR_GOTO(s->avctx, s->picture, s->picture_count * sizeof(Picture), fail) |
|
604 |
+ for(i = 0; i < s->picture_count; i++) { |
|
604 | 605 |
avcodec_get_frame_defaults((AVFrame *)&s->picture[i]); |
605 | 606 |
} |
606 | 607 |
|
... | ... |
@@ -660,20 +741,26 @@ av_cold int MPV_common_init(MpegEncContext *s) |
660 | 660 |
} |
661 | 661 |
|
662 | 662 |
s->context_initialized = 1; |
663 |
- |
|
664 | 663 |
s->thread_context[0]= s; |
665 |
- threads = s->avctx->thread_count; |
|
666 | 664 |
|
667 |
- for(i=1; i<threads; i++){ |
|
668 |
- s->thread_context[i]= av_malloc(sizeof(MpegEncContext)); |
|
669 |
- memcpy(s->thread_context[i], s, sizeof(MpegEncContext)); |
|
670 |
- } |
|
665 |
+ if (HAVE_THREADS && s->avctx->active_thread_type&FF_THREAD_SLICE) { |
|
666 |
+ threads = s->avctx->thread_count; |
|
671 | 667 |
|
672 |
- for(i=0; i<threads; i++){ |
|
673 |
- if(init_duplicate_context(s->thread_context[i], s) < 0) |
|
674 |
- goto fail; |
|
675 |
- s->thread_context[i]->start_mb_y= (s->mb_height*(i ) + s->avctx->thread_count/2) / s->avctx->thread_count; |
|
676 |
- s->thread_context[i]->end_mb_y = (s->mb_height*(i+1) + s->avctx->thread_count/2) / s->avctx->thread_count; |
|
668 |
+ for(i=1; i<threads; i++){ |
|
669 |
+ s->thread_context[i]= av_malloc(sizeof(MpegEncContext)); |
|
670 |
+ memcpy(s->thread_context[i], s, sizeof(MpegEncContext)); |
|
671 |
+ } |
|
672 |
+ |
|
673 |
+ for(i=0; i<threads; i++){ |
|
674 |
+ if(init_duplicate_context(s->thread_context[i], s) < 0) |
|
675 |
+ goto fail; |
|
676 |
+ s->thread_context[i]->start_mb_y= (s->mb_height*(i ) + s->avctx->thread_count/2) / s->avctx->thread_count; |
|
677 |
+ s->thread_context[i]->end_mb_y = (s->mb_height*(i+1) + s->avctx->thread_count/2) / s->avctx->thread_count; |
|
678 |
+ } |
|
679 |
+ } else { |
|
680 |
+ if(init_duplicate_context(s, s) < 0) goto fail; |
|
681 |
+ s->start_mb_y = 0; |
|
682 |
+ s->end_mb_y = s->mb_height; |
|
677 | 683 |
} |
678 | 684 |
|
679 | 685 |
return 0; |
... | ... |
@@ -687,12 +774,14 @@ void MPV_common_end(MpegEncContext *s) |
687 | 687 |
{ |
688 | 688 |
int i, j, k; |
689 | 689 |
|
690 |
- for(i=0; i<s->avctx->thread_count; i++){ |
|
691 |
- free_duplicate_context(s->thread_context[i]); |
|
692 |
- } |
|
693 |
- for(i=1; i<s->avctx->thread_count; i++){ |
|
694 |
- av_freep(&s->thread_context[i]); |
|
695 |
- } |
|
690 |
+ if (HAVE_THREADS && s->avctx->active_thread_type&FF_THREAD_SLICE) { |
|
691 |
+ for(i=0; i<s->avctx->thread_count; i++){ |
|
692 |
+ free_duplicate_context(s->thread_context[i]); |
|
693 |
+ } |
|
694 |
+ for(i=1; i<s->avctx->thread_count; i++){ |
|
695 |
+ av_freep(&s->thread_context[i]); |
|
696 |
+ } |
|
697 |
+ } else free_duplicate_context(s); |
|
696 | 698 |
|
697 | 699 |
av_freep(&s->parse_context.buffer); |
698 | 700 |
s->parse_context.buffer_size=0; |
... | ... |
@@ -747,8 +836,8 @@ void MPV_common_end(MpegEncContext *s) |
747 | 747 |
av_freep(&s->reordered_input_picture); |
748 | 748 |
av_freep(&s->dct_offset); |
749 | 749 |
|
750 |
- if(s->picture){ |
|
751 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
750 |
+ if(s->picture && !s->avctx->is_copy){ |
|
751 |
+ for(i=0; i<s->picture_count; i++){ |
|
752 | 752 |
free_picture(s, &s->picture[i]); |
753 | 753 |
} |
754 | 754 |
} |
... | ... |
@@ -762,7 +851,8 @@ void MPV_common_end(MpegEncContext *s) |
762 | 762 |
for(i=0; i<3; i++) |
763 | 763 |
av_freep(&s->visualization_buffer[i]); |
764 | 764 |
|
765 |
- avcodec_default_free_buffers(s->avctx); |
|
765 |
+ if(!(s->avctx->active_thread_type&FF_THREAD_FRAME)) |
|
766 |
+ avcodec_default_free_buffers(s->avctx); |
|
766 | 767 |
} |
767 | 768 |
|
768 | 769 |
void init_rl(RLTable *rl, uint8_t static_store[2][2*MAX_RUN + MAX_LEVEL + 3]) |
... | ... |
@@ -860,14 +950,14 @@ int ff_find_unused_picture(MpegEncContext *s, int shared){ |
860 | 860 |
int i; |
861 | 861 |
|
862 | 862 |
if(shared){ |
863 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
863 |
+ for(i=s->picture_range_start; i<s->picture_range_end; i++){ |
|
864 | 864 |
if(s->picture[i].data[0]==NULL && s->picture[i].type==0) return i; |
865 | 865 |
} |
866 | 866 |
}else{ |
867 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
867 |
+ for(i=s->picture_range_start; i<s->picture_range_end; i++){ |
|
868 | 868 |
if(s->picture[i].data[0]==NULL && s->picture[i].type!=0) return i; //FIXME |
869 | 869 |
} |
870 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
870 |
+ for(i=s->picture_range_start; i<s->picture_range_end; i++){ |
|
871 | 871 |
if(s->picture[i].data[0]==NULL) return i; |
872 | 872 |
} |
873 | 873 |
} |
... | ... |
@@ -924,7 +1014,7 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx) |
924 | 924 |
/* release forgotten pictures */ |
925 | 925 |
/* if(mpeg124/h263) */ |
926 | 926 |
if(!s->encoding){ |
927 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
927 |
+ for(i=0; i<s->picture_count; i++){ |
|
928 | 928 |
if(s->picture[i].data[0] && &s->picture[i] != s->next_picture_ptr && s->picture[i].reference){ |
929 | 929 |
av_log(avctx, AV_LOG_ERROR, "releasing zombie picture\n"); |
930 | 930 |
free_frame_buffer(s, &s->picture[i]); |
... | ... |
@@ -936,7 +1026,7 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx) |
936 | 936 |
|
937 | 937 |
if(!s->encoding){ |
938 | 938 |
/* release non reference frames */ |
939 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
939 |
+ for(i=0; i<s->picture_count; i++){ |
|
940 | 940 |
if(s->picture[i].data[0] && !s->picture[i].reference /*&& s->picture[i].type!=FF_BUFFER_TYPE_SHARED*/){ |
941 | 941 |
free_frame_buffer(s, &s->picture[i]); |
942 | 942 |
} |
... | ... |
@@ -970,6 +1060,7 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx) |
970 | 970 |
s->current_picture_ptr->top_field_first= (s->picture_structure == PICT_TOP_FIELD) == s->first_field; |
971 | 971 |
} |
972 | 972 |
s->current_picture_ptr->interlaced_frame= !s->progressive_frame && !s->progressive_sequence; |
973 |
+ s->current_picture_ptr->field_picture= s->picture_structure != PICT_FRAME; |
|
973 | 974 |
} |
974 | 975 |
|
975 | 976 |
s->current_picture_ptr->pict_type= s->pict_type; |
... | ... |
@@ -998,6 +1089,8 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx) |
998 | 998 |
s->last_picture_ptr= &s->picture[i]; |
999 | 999 |
if(ff_alloc_picture(s, s->last_picture_ptr, 0) < 0) |
1000 | 1000 |
return -1; |
1001 |
+ ff_thread_report_progress((AVFrame*)s->last_picture_ptr, INT_MAX, 0); |
|
1002 |
+ ff_thread_report_progress((AVFrame*)s->last_picture_ptr, INT_MAX, 1); |
|
1001 | 1003 |
} |
1002 | 1004 |
if((s->next_picture_ptr==NULL || s->next_picture_ptr->data[0]==NULL) && s->pict_type==FF_B_TYPE){ |
1003 | 1005 |
/* Allocate a dummy frame */ |
... | ... |
@@ -1005,6 +1098,8 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx) |
1005 | 1005 |
s->next_picture_ptr= &s->picture[i]; |
1006 | 1006 |
if(ff_alloc_picture(s, s->next_picture_ptr, 0) < 0) |
1007 | 1007 |
return -1; |
1008 |
+ ff_thread_report_progress((AVFrame*)s->next_picture_ptr, INT_MAX, 0); |
|
1009 |
+ ff_thread_report_progress((AVFrame*)s->next_picture_ptr, INT_MAX, 1); |
|
1008 | 1010 |
} |
1009 | 1011 |
} |
1010 | 1012 |
|
... | ... |
@@ -1057,7 +1152,7 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx) |
1057 | 1057 |
void MPV_frame_end(MpegEncContext *s) |
1058 | 1058 |
{ |
1059 | 1059 |
int i; |
1060 |
- /* draw edge for correct motion prediction if outside */ |
|
1060 |
+ /* redraw edges for the frame if decoding didn't complete */ |
|
1061 | 1061 |
//just to make sure that all data is rendered. |
1062 | 1062 |
if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration){ |
1063 | 1063 |
ff_xvmc_field_end(s); |
... | ... |
@@ -1067,10 +1162,14 @@ void MPV_frame_end(MpegEncContext *s) |
1067 | 1067 |
&& s->current_picture.reference |
1068 | 1068 |
&& !s->intra_only |
1069 | 1069 |
&& !(s->flags&CODEC_FLAG_EMU_EDGE)) { |
1070 |
- s->dsp.draw_edges(s->current_picture.data[0], s->linesize , s->h_edge_pos , s->v_edge_pos , EDGE_WIDTH ); |
|
1071 |
- s->dsp.draw_edges(s->current_picture.data[1], s->uvlinesize, s->h_edge_pos>>1, s->v_edge_pos>>1, EDGE_WIDTH/2); |
|
1072 |
- s->dsp.draw_edges(s->current_picture.data[2], s->uvlinesize, s->h_edge_pos>>1, s->v_edge_pos>>1, EDGE_WIDTH/2); |
|
1070 |
+ int edges = EDGE_BOTTOM | EDGE_TOP, h = s->v_edge_pos; |
|
1071 |
+ |
|
1072 |
+ s->dsp.draw_edges(s->current_picture_ptr->data[0], s->linesize , s->h_edge_pos , h , EDGE_WIDTH , edges); |
|
1073 |
+ s->dsp.draw_edges(s->current_picture_ptr->data[1], s->uvlinesize, s->h_edge_pos>>1, h>>1, EDGE_WIDTH/2, edges); |
|
1074 |
+ s->dsp.draw_edges(s->current_picture_ptr->data[2], s->uvlinesize, s->h_edge_pos>>1, h>>1, EDGE_WIDTH/2, edges); |
|
1075 |
+ |
|
1073 | 1076 |
} |
1077 |
+ |
|
1074 | 1078 |
emms_c(); |
1075 | 1079 |
|
1076 | 1080 |
s->last_pict_type = s->pict_type; |
... | ... |
@@ -1091,7 +1190,7 @@ void MPV_frame_end(MpegEncContext *s) |
1091 | 1091 |
|
1092 | 1092 |
if(s->encoding){ |
1093 | 1093 |
/* release non-reference frames */ |
1094 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
1094 |
+ for(i=0; i<s->picture_count; i++){ |
|
1095 | 1095 |
if(s->picture[i].data[0] && !s->picture[i].reference /*&& s->picture[i].type!=FF_BUFFER_TYPE_SHARED*/){ |
1096 | 1096 |
free_frame_buffer(s, &s->picture[i]); |
1097 | 1097 |
} |
... | ... |
@@ -1104,6 +1203,10 @@ void MPV_frame_end(MpegEncContext *s) |
1104 | 1104 |
memset(&s->current_picture, 0, sizeof(Picture)); |
1105 | 1105 |
#endif |
1106 | 1106 |
s->avctx->coded_frame= (AVFrame*)s->current_picture_ptr; |
1107 |
+ |
|
1108 |
+ if (s->codec_id != CODEC_ID_H264 && s->current_picture.reference) { |
|
1109 |
+ ff_thread_report_progress((AVFrame*)s->current_picture_ptr, s->mb_height-1, 0); |
|
1110 |
+ } |
|
1107 | 1111 |
} |
1108 | 1112 |
|
1109 | 1113 |
/** |
... | ... |
@@ -1768,6 +1871,43 @@ static inline void MPV_motion_lowres(MpegEncContext *s, |
1768 | 1768 |
} |
1769 | 1769 |
} |
1770 | 1770 |
|
1771 |
+/** |
|
1772 |
+ * find the lowest MB row referenced in the MVs |
|
1773 |
+ */ |
|
1774 |
+int MPV_lowest_referenced_row(MpegEncContext *s, int dir) |
|
1775 |
+{ |
|
1776 |
+ int my_max = INT_MIN, my_min = INT_MAX, qpel_shift = !s->quarter_sample; |
|
1777 |
+ int my, off, i, mvs; |
|
1778 |
+ |
|
1779 |
+ if (s->picture_structure != PICT_FRAME) goto unhandled; |
|
1780 |
+ |
|
1781 |
+ switch (s->mv_type) { |
|
1782 |
+ case MV_TYPE_16X16: |
|
1783 |
+ mvs = 1; |
|
1784 |
+ break; |
|
1785 |
+ case MV_TYPE_16X8: |
|
1786 |
+ mvs = 2; |
|
1787 |
+ break; |
|
1788 |
+ case MV_TYPE_8X8: |
|
1789 |
+ mvs = 4; |
|
1790 |
+ break; |
|
1791 |
+ default: |
|
1792 |
+ goto unhandled; |
|
1793 |
+ } |
|
1794 |
+ |
|
1795 |
+ for (i = 0; i < mvs; i++) { |
|
1796 |
+ my = s->mv[dir][i][1]<<qpel_shift; |
|
1797 |
+ my_max = FFMAX(my_max, my); |
|
1798 |
+ my_min = FFMIN(my_min, my); |
|
1799 |
+ } |
|
1800 |
+ |
|
1801 |
+ off = (FFMAX(-my_min, my_max) + 63) >> 6; |
|
1802 |
+ |
|
1803 |
+ return FFMIN(FFMAX(s->mb_y + off, 0), s->mb_height-1); |
|
1804 |
+unhandled: |
|
1805 |
+ return s->mb_height-1; |
|
1806 |
+} |
|
1807 |
+ |
|
1771 | 1808 |
/* put block[] to dest[] */ |
1772 | 1809 |
static inline void put_dct(MpegEncContext *s, |
1773 | 1810 |
DCTELEM *block, int i, uint8_t *dest, int line_size, int qscale) |
... | ... |
@@ -1932,6 +2072,16 @@ void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64], |
1932 | 1932 |
/* motion handling */ |
1933 | 1933 |
/* decoding or more than one mb_type (MC was already done otherwise) */ |
1934 | 1934 |
if(!s->encoding){ |
1935 |
+ |
|
1936 |
+ if(HAVE_PTHREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) { |
|
1937 |
+ if (s->mv_dir & MV_DIR_FORWARD) { |
|
1938 |
+ ff_thread_await_progress((AVFrame*)s->last_picture_ptr, MPV_lowest_referenced_row(s, 0), 0); |
|
1939 |
+ } |
|
1940 |
+ if (s->mv_dir & MV_DIR_BACKWARD) { |
|
1941 |
+ ff_thread_await_progress((AVFrame*)s->next_picture_ptr, MPV_lowest_referenced_row(s, 1), 0); |
|
1942 |
+ } |
|
1943 |
+ } |
|
1944 |
+ |
|
1935 | 1945 |
if(lowres_flag){ |
1936 | 1946 |
h264_chroma_mc_func *op_pix = s->dsp.put_h264_chroma_pixels_tab; |
1937 | 1947 |
|
... | ... |
@@ -2096,19 +2246,37 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[12][64]){ |
2096 | 2096 |
* @param h is the normal height, this will be reduced automatically if needed for the last row |
2097 | 2097 |
*/ |
2098 | 2098 |
void ff_draw_horiz_band(MpegEncContext *s, int y, int h){ |
2099 |
+ const int field_pic= s->picture_structure != PICT_FRAME; |
|
2100 |
+ if(field_pic){ |
|
2101 |
+ h <<= 1; |
|
2102 |
+ y <<= 1; |
|
2103 |
+ } |
|
2104 |
+ |
|
2105 |
+ if (!s->avctx->hwaccel |
|
2106 |
+ && !(s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) |
|
2107 |
+ && s->unrestricted_mv |
|
2108 |
+ && s->current_picture.reference |
|
2109 |
+ && !s->intra_only |
|
2110 |
+ && !(s->flags&CODEC_FLAG_EMU_EDGE)) { |
|
2111 |
+ int sides = 0, edge_h; |
|
2112 |
+ if (y==0) sides |= EDGE_TOP; |
|
2113 |
+ if (y + h >= s->v_edge_pos) sides |= EDGE_BOTTOM; |
|
2114 |
+ |
|
2115 |
+ edge_h= FFMIN(h, s->v_edge_pos - y); |
|
2116 |
+ |
|
2117 |
+ s->dsp.draw_edges(s->current_picture_ptr->data[0] + y *s->linesize , s->linesize , s->h_edge_pos , edge_h , EDGE_WIDTH , sides); |
|
2118 |
+ s->dsp.draw_edges(s->current_picture_ptr->data[1] + (y>>1)*s->uvlinesize, s->uvlinesize, s->h_edge_pos>>1, edge_h>>1, EDGE_WIDTH/2, sides); |
|
2119 |
+ s->dsp.draw_edges(s->current_picture_ptr->data[2] + (y>>1)*s->uvlinesize, s->uvlinesize, s->h_edge_pos>>1, edge_h>>1, EDGE_WIDTH/2, sides); |
|
2120 |
+ } |
|
2121 |
+ |
|
2122 |
+ h= FFMIN(h, s->avctx->height - y); |
|
2123 |
+ |
|
2124 |
+ if(field_pic && s->first_field && !(s->avctx->slice_flags&SLICE_FLAG_ALLOW_FIELD)) return; |
|
2125 |
+ |
|
2099 | 2126 |
if (s->avctx->draw_horiz_band) { |
2100 | 2127 |
AVFrame *src; |
2101 |
- const int field_pic= s->picture_structure != PICT_FRAME; |
|
2102 | 2128 |
int offset[4]; |
2103 | 2129 |
|
2104 |
- h= FFMIN(h, (s->avctx->height>>field_pic) - y); |
|
2105 |
- |
|
2106 |
- if(field_pic && !(s->avctx->slice_flags&SLICE_FLAG_ALLOW_FIELD)){ |
|
2107 |
- h <<= 1; |
|
2108 |
- y <<= 1; |
|
2109 |
- if(s->first_field) return; |
|
2110 |
- } |
|
2111 |
- |
|
2112 | 2130 |
if(s->pict_type==FF_B_TYPE || s->low_delay || (s->avctx->slice_flags&SLICE_FLAG_CODED_ORDER)) |
2113 | 2131 |
src= (AVFrame*)s->current_picture_ptr; |
2114 | 2132 |
else if(s->last_picture_ptr) |
... | ... |
@@ -2174,7 +2342,7 @@ void ff_mpeg_flush(AVCodecContext *avctx){ |
2174 | 2174 |
if(s==NULL || s->picture==NULL) |
2175 | 2175 |
return; |
2176 | 2176 |
|
2177 |
- for(i=0; i<MAX_PICTURE_COUNT; i++){ |
|
2177 |
+ for(i=0; i<s->picture_count; i++){ |
|
2178 | 2178 |
if(s->picture[i].data[0] && ( s->picture[i].type == FF_BUFFER_TYPE_INTERNAL |
2179 | 2179 |
|| s->picture[i].type == FF_BUFFER_TYPE_USER)) |
2180 | 2180 |
free_frame_buffer(s, &s->picture[i]); |
... | ... |
@@ -2428,3 +2596,9 @@ void ff_set_qscale(MpegEncContext * s, int qscale) |
2428 | 2428 |
s->y_dc_scale= s->y_dc_scale_table[ qscale ]; |
2429 | 2429 |
s->c_dc_scale= s->c_dc_scale_table[ s->chroma_qscale ]; |
2430 | 2430 |
} |
2431 |
+ |
|
2432 |
+void MPV_report_decode_progress(MpegEncContext *s) |
|
2433 |
+{ |
|
2434 |
+ if (s->pict_type != FF_B_TYPE && !s->partitioned_frame) |
|
2435 |
+ ff_thread_report_progress((AVFrame*)s->current_picture_ptr, s->mb_y, 0); |
|
2436 |
+} |
... | ... |
@@ -123,6 +123,7 @@ typedef struct Picture{ |
123 | 123 |
int ref_poc[2][2][16]; ///< h264 POCs of the frames used as reference (FIXME need per slice) |
124 | 124 |
int ref_count[2][2]; ///< number of entries in ref_poc (FIXME need per slice) |
125 | 125 |
int mbaff; ///< h264 1 -> MBAFF frame 0-> not MBAFF |
126 |
+ int field_picture; ///< whether or not the picture was encoded in seperate fields |
|
126 | 127 |
|
127 | 128 |
int mb_var_sum; ///< sum of MB variance for current frame |
128 | 129 |
int mc_mb_var_sum; ///< motion compensated MB variance for current frame |
... | ... |
@@ -292,6 +293,8 @@ typedef struct MpegEncContext { |
292 | 292 |
Picture *last_picture_ptr; ///< pointer to the previous picture. |
293 | 293 |
Picture *next_picture_ptr; ///< pointer to the next picture (for bidir pred) |
294 | 294 |
Picture *current_picture_ptr; ///< pointer to the current picture |
295 |
+ int picture_count; ///< number of allocated pictures (MAX_PICTURE_COUNT * avctx->thread_count) |
|
296 |
+ int picture_range_start, picture_range_end; ///< the part of picture that this context can allocate in |
|
295 | 297 |
uint8_t *visualization_buffer[3]; //< temporary buffer vor MV visualization |
296 | 298 |
int last_dc[3]; ///< last DC values for MPEG1 |
297 | 299 |
int16_t *dc_val_base; |
... | ... |
@@ -681,6 +684,7 @@ typedef struct MpegEncContext { |
681 | 681 |
void (*denoise_dct)(struct MpegEncContext *s, DCTELEM *block); |
682 | 682 |
} MpegEncContext; |
683 | 683 |
|
684 |
+#define REBASE_PICTURE(pic, new_ctx, old_ctx) (pic ? &new_ctx->picture[pic - old_ctx->picture] : NULL) |
|
684 | 685 |
|
685 | 686 |
void MPV_decode_defaults(MpegEncContext *s); |
686 | 687 |
int MPV_common_init(MpegEncContext *s); |
... | ... |
@@ -706,6 +710,9 @@ void ff_write_quant_matrix(PutBitContext *pb, uint16_t *matrix); |
706 | 706 |
int ff_find_unused_picture(MpegEncContext *s, int shared); |
707 | 707 |
void ff_denoise_dct(MpegEncContext *s, DCTELEM *block); |
708 | 708 |
void ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src); |
709 |
+int MPV_lowest_referenced_row(MpegEncContext *s, int dir); |
|
710 |
+void MPV_report_decode_progress(MpegEncContext *s); |
|
711 |
+int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src); |
|
709 | 712 |
const uint8_t *ff_find_start_code(const uint8_t *p, const uint8_t *end, uint32_t *state); |
710 | 713 |
void ff_set_qscale(MpegEncContext * s, int qscale); |
711 | 714 |
|
... | ... |
@@ -36,6 +36,7 @@ |
36 | 36 |
#include "mjpegenc.h" |
37 | 37 |
#include "msmpeg4.h" |
38 | 38 |
#include "faandct.h" |
39 |
+#include "thread.h" |
|
39 | 40 |
#include "aandcttab.h" |
40 | 41 |
#include "flv.h" |
41 | 42 |
#include "mpeg4video.h" |
... | ... |
@@ -1238,9 +1239,9 @@ int MPV_encode_picture(AVCodecContext *avctx, |
1238 | 1238 |
{ |
1239 | 1239 |
MpegEncContext *s = avctx->priv_data; |
1240 | 1240 |
AVFrame *pic_arg = data; |
1241 |
- int i, stuffing_count; |
|
1241 |
+ int i, stuffing_count, context_count = avctx->active_thread_type&FF_THREAD_SLICE ? avctx->thread_count : 1; |
|
1242 | 1242 |
|
1243 |
- for(i=0; i<avctx->thread_count; i++){ |
|
1243 |
+ for(i=0; i<context_count; i++){ |
|
1244 | 1244 |
int start_y= s->thread_context[i]->start_mb_y; |
1245 | 1245 |
int end_y= s->thread_context[i]-> end_mb_y; |
1246 | 1246 |
int h= s->mb_height; |
... | ... |
@@ -1304,7 +1305,7 @@ vbv_retry: |
1304 | 1304 |
s->last_non_b_time= s->time - s->pp_time; |
1305 | 1305 |
} |
1306 | 1306 |
// av_log(NULL, AV_LOG_ERROR, "R:%d ", s->next_lambda); |
1307 |
- for(i=0; i<avctx->thread_count; i++){ |
|
1307 |
+ for(i=0; i<context_count; i++){ |
|
1308 | 1308 |
PutBitContext *pb= &s->thread_context[i]->pb; |
1309 | 1309 |
init_put_bits(pb, pb->buf, pb->buf_end - pb->buf); |
1310 | 1310 |
} |
... | ... |
@@ -2771,6 +2772,7 @@ static int encode_picture(MpegEncContext *s, int picture_number) |
2771 | 2771 |
{ |
2772 | 2772 |
int i; |
2773 | 2773 |
int bits; |
2774 |
+ int context_count = s->avctx->active_thread_type&FF_THREAD_SLICE ? s->avctx->thread_count : 1; |
|
2774 | 2775 |
|
2775 | 2776 |
s->picture_number = picture_number; |
2776 | 2777 |
|
... | ... |
@@ -2810,7 +2812,7 @@ static int encode_picture(MpegEncContext *s, int picture_number) |
2810 | 2810 |
} |
2811 | 2811 |
|
2812 | 2812 |
s->mb_intra=0; //for the rate distortion & bit compare functions |
2813 |
- for(i=1; i<s->avctx->thread_count; i++){ |
|
2813 |
+ for(i=1; i<context_count; i++){ |
|
2814 | 2814 |
ff_update_duplicate_context(s->thread_context[i], s); |
2815 | 2815 |
} |
2816 | 2816 |
|
... | ... |
@@ -2823,11 +2825,11 @@ static int encode_picture(MpegEncContext *s, int picture_number) |
2823 | 2823 |
s->lambda2= (s->lambda2* (int64_t)s->avctx->me_penalty_compensation + 128)>>8; |
2824 | 2824 |
if(s->pict_type != FF_B_TYPE && s->avctx->me_threshold==0){ |
2825 | 2825 |
if((s->avctx->pre_me && s->last_non_b_pict_type==FF_I_TYPE) || s->avctx->pre_me==2){ |
2826 |
- s->avctx->execute(s->avctx, pre_estimate_motion_thread, &s->thread_context[0], NULL, s->avctx->thread_count, sizeof(void*)); |
|
2826 |
+ s->avctx->execute(s->avctx, pre_estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*)); |
|
2827 | 2827 |
} |
2828 | 2828 |
} |
2829 | 2829 |
|
2830 |
- s->avctx->execute(s->avctx, estimate_motion_thread, &s->thread_context[0], NULL, s->avctx->thread_count, sizeof(void*)); |
|
2830 |
+ s->avctx->execute(s->avctx, estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*)); |
|
2831 | 2831 |
}else /* if(s->pict_type == FF_I_TYPE) */{ |
2832 | 2832 |
/* I-Frame */ |
2833 | 2833 |
for(i=0; i<s->mb_stride*s->mb_height; i++) |
... | ... |
@@ -2835,10 +2837,10 @@ static int encode_picture(MpegEncContext *s, int picture_number) |
2835 | 2835 |
|
2836 | 2836 |
if(!s->fixed_qscale){ |
2837 | 2837 |
/* finding spatial complexity for I-frame rate control */ |
2838 |
- s->avctx->execute(s->avctx, mb_var_thread, &s->thread_context[0], NULL, s->avctx->thread_count, sizeof(void*)); |
|
2838 |
+ s->avctx->execute(s->avctx, mb_var_thread, &s->thread_context[0], NULL, context_count, sizeof(void*)); |
|
2839 | 2839 |
} |
2840 | 2840 |
} |
2841 |
- for(i=1; i<s->avctx->thread_count; i++){ |
|
2841 |
+ for(i=1; i<context_count; i++){ |
|
2842 | 2842 |
merge_context_after_me(s, s->thread_context[i]); |
2843 | 2843 |
} |
2844 | 2844 |
s->current_picture.mc_mb_var_sum= s->current_picture_ptr->mc_mb_var_sum= s->me.mc_mb_var_sum_temp; |
... | ... |
@@ -2974,11 +2976,11 @@ static int encode_picture(MpegEncContext *s, int picture_number) |
2974 | 2974 |
bits= put_bits_count(&s->pb); |
2975 | 2975 |
s->header_bits= bits - s->last_bits; |
2976 | 2976 |
|
2977 |
- for(i=1; i<s->avctx->thread_count; i++){ |
|
2977 |
+ for(i=1; i<context_count; i++){ |
|
2978 | 2978 |
update_duplicate_context_after_me(s->thread_context[i], s); |
2979 | 2979 |
} |
2980 |
- s->avctx->execute(s->avctx, encode_thread, &s->thread_context[0], NULL, s->avctx->thread_count, sizeof(void*)); |
|
2981 |
- for(i=1; i<s->avctx->thread_count; i++){ |
|
2980 |
+ s->avctx->execute(s->avctx, encode_thread, &s->thread_context[0], NULL, context_count, sizeof(void*)); |
|
2981 |
+ for(i=1; i<context_count; i++){ |
|
2982 | 2982 |
merge_context_after_encode(s, s->thread_context[i]); |
2983 | 2983 |
} |
2984 | 2984 |
emms_c(); |
... | ... |
@@ -1976,9 +1976,9 @@ static int frame_start(SnowContext *s){ |
1976 | 1976 |
int h= s->avctx->height; |
1977 | 1977 |
|
1978 | 1978 |
if(s->current_picture.data[0]){ |
1979 |
- s->dsp.draw_edges(s->current_picture.data[0], s->current_picture.linesize[0], w , h , EDGE_WIDTH ); |
|
1980 |
- s->dsp.draw_edges(s->current_picture.data[1], s->current_picture.linesize[1], w>>1, h>>1, EDGE_WIDTH/2); |
|
1981 |
- s->dsp.draw_edges(s->current_picture.data[2], s->current_picture.linesize[2], w>>1, h>>1, EDGE_WIDTH/2); |
|
1979 |
+ s->dsp.draw_edges(s->current_picture.data[0], s->current_picture.linesize[0], w , h , EDGE_WIDTH , EDGE_TOP|EDGE_BOTTOM); |
|
1980 |
+ s->dsp.draw_edges(s->current_picture.data[1], s->current_picture.linesize[1], w>>1, h>>1, EDGE_WIDTH/2, EDGE_TOP|EDGE_BOTTOM); |
|
1981 |
+ s->dsp.draw_edges(s->current_picture.data[2], s->current_picture.linesize[2], w>>1, h>>1, EDGE_WIDTH/2, EDGE_TOP|EDGE_BOTTOM); |
|
1982 | 1982 |
} |
1983 | 1983 |
|
1984 | 1984 |
release_buffer(s->avctx); |
... | ... |
@@ -366,6 +366,7 @@ void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic){ |
366 | 366 |
assert(pic->type==FF_BUFFER_TYPE_INTERNAL); |
367 | 367 |
assert(s->internal_buffer_count); |
368 | 368 |
|
369 |
+ if(s->internal_buffer){ |
|
369 | 370 |
buf = NULL; /* avoids warning */ |
370 | 371 |
for(i=0; i<s->internal_buffer_count; i++){ //just 3-5 checks so is not worth to optimize |
371 | 372 |
buf= &((InternalBuffer*)s->internal_buffer)[i]; |
... | ... |
@@ -377,6 +378,7 @@ void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic){ |
377 | 377 |
last = &((InternalBuffer*)s->internal_buffer)[s->internal_buffer_count]; |
378 | 378 |
|
379 | 379 |
FFSWAP(InternalBuffer, *buf, *last); |
380 |
+ } |
|
380 | 381 |
|
381 | 382 |
for(i=0; i<4; i++){ |
382 | 383 |
pic->data[i]=NULL; |
... | ... |
@@ -572,6 +574,7 @@ int attribute_align_arg avcodec_open(AVCodecContext *avctx, AVCodec *codec) |
572 | 572 |
goto free_and_end; |
573 | 573 |
} |
574 | 574 |
} |
575 |
+ |
|
575 | 576 |
ret=0; |
576 | 577 |
end: |
577 | 578 |
entangled_thread_counter--; |
... | ... |
@@ -1298,9 +1301,9 @@ int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)) |
1298 | 1298 |
unsigned int ff_toupper4(unsigned int x) |
1299 | 1299 |
{ |
1300 | 1300 |
return toupper( x &0xFF) |
1301 |
- + (toupper((x>>8 )&0xFF)<<8 ) |
|
1302 |
- + (toupper((x>>16)&0xFF)<<16) |
|
1303 |
- + (toupper((x>>24)&0xFF)<<24); |
|
1301 |
+ + (toupper((x>>8 )&0xFF)<<8 ) |
|
1302 |
+ + (toupper((x>>16)&0xFF)<<16) |
|
1303 |
+ + (toupper((x>>24)&0xFF)<<24); |
|
1304 | 1304 |
} |
1305 | 1305 |
|
1306 | 1306 |
#if !HAVE_PTHREADS |
... | ... |
@@ -471,7 +471,7 @@ void decode_mvs(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y) |
471 | 471 |
mb - 1 /* left */, |
472 | 472 |
mb + 1 /* top-left */ }; |
473 | 473 |
enum { CNT_ZERO, CNT_NEAREST, CNT_NEAR, CNT_SPLITMV }; |
474 |
- enum { EDGE_TOP, EDGE_LEFT, EDGE_TOPLEFT }; |
|
474 |
+ enum { VP8_EDGE_TOP, VP8_EDGE_LEFT, VP8_EDGE_TOPLEFT }; |
|
475 | 475 |
int idx = CNT_ZERO; |
476 | 476 |
int cur_sign_bias = s->sign_bias[mb->ref_frame]; |
477 | 477 |
int8_t *sign_bias = s->sign_bias; |
... | ... |
@@ -512,7 +512,7 @@ void decode_mvs(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y) |
512 | 512 |
mb->mode = VP8_MVMODE_MV; |
513 | 513 |
|
514 | 514 |
/* If we have three distinct MVs, merge first and last if they're the same */ |
515 |
- if (cnt[CNT_SPLITMV] && AV_RN32A(&near_mv[1+EDGE_TOP]) == AV_RN32A(&near_mv[1+EDGE_TOPLEFT])) |
|
515 |
+ if (cnt[CNT_SPLITMV] && AV_RN32A(&near_mv[1+VP8_EDGE_TOP]) == AV_RN32A(&near_mv[1+VP8_EDGE_TOPLEFT])) |
|
516 | 516 |
cnt[CNT_NEAREST] += 1; |
517 | 517 |
|
518 | 518 |
/* Swap near and nearest if necessary */ |
... | ... |
@@ -526,9 +526,9 @@ void decode_mvs(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y) |
526 | 526 |
|
527 | 527 |
/* Choose the best mv out of 0,0 and the nearest mv */ |
528 | 528 |
clamp_mv(s, &mb->mv, &near_mv[CNT_ZERO + (cnt[CNT_NEAREST] >= cnt[CNT_ZERO])]); |
529 |
- cnt[CNT_SPLITMV] = ((mb_edge[EDGE_LEFT]->mode == VP8_MVMODE_SPLIT) + |
|
530 |
- (mb_edge[EDGE_TOP]->mode == VP8_MVMODE_SPLIT)) * 2 + |
|
531 |
- (mb_edge[EDGE_TOPLEFT]->mode == VP8_MVMODE_SPLIT); |
|
529 |
+ cnt[CNT_SPLITMV] = ((mb_edge[VP8_EDGE_LEFT]->mode == VP8_MVMODE_SPLIT) + |
|
530 |
+ (mb_edge[VP8_EDGE_TOP]->mode == VP8_MVMODE_SPLIT)) * 2 + |
|
531 |
+ (mb_edge[VP8_EDGE_TOPLEFT]->mode == VP8_MVMODE_SPLIT); |
|
532 | 532 |
|
533 | 533 |
if (vp56_rac_get_prob_branchy(c, vp8_mode_contexts[cnt[CNT_SPLITMV]][3])) { |
534 | 534 |
mb->mode = VP8_MVMODE_SPLIT; |
... | ... |
@@ -783,7 +783,7 @@ static void h263_h_loop_filter_mmx(uint8_t *src, int stride, int qscale){ |
783 | 783 |
|
784 | 784 |
/* draw the edges of width 'w' of an image of size width, height |
785 | 785 |
this mmx version can only handle w==8 || w==16 */ |
786 |
-static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, int w) |
|
786 |
+static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, int w, int sides) |
|
787 | 787 |
{ |
788 | 788 |
uint8_t *ptr, *last_line; |
789 | 789 |
int i; |
... | ... |
@@ -838,34 +838,39 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, int w) |
838 | 838 |
|
839 | 839 |
for(i=0;i<w;i+=4) { |
840 | 840 |
/* top and bottom (and hopefully also the corners) */ |
841 |
- ptr= buf - (i + 1) * wrap - w; |
|
842 |
- __asm__ volatile( |
|
843 |
- "1: \n\t" |
|
844 |
- "movq (%1, %0), %%mm0 \n\t" |
|
845 |
- "movq %%mm0, (%0) \n\t" |
|
846 |
- "movq %%mm0, (%0, %2) \n\t" |
|
847 |
- "movq %%mm0, (%0, %2, 2) \n\t" |
|
848 |
- "movq %%mm0, (%0, %3) \n\t" |
|
849 |
- "add $8, %0 \n\t" |
|
850 |
- "cmp %4, %0 \n\t" |
|
851 |
- " jb 1b \n\t" |
|
852 |
- : "+r" (ptr) |
|
853 |
- : "r" ((x86_reg)buf - (x86_reg)ptr - w), "r" ((x86_reg)-wrap), "r" ((x86_reg)-wrap*3), "r" (ptr+width+2*w) |
|
854 |
- ); |
|
855 |
- ptr= last_line + (i + 1) * wrap - w; |
|
856 |
- __asm__ volatile( |
|
857 |
- "1: \n\t" |
|
858 |
- "movq (%1, %0), %%mm0 \n\t" |
|
859 |
- "movq %%mm0, (%0) \n\t" |
|
860 |
- "movq %%mm0, (%0, %2) \n\t" |
|
861 |
- "movq %%mm0, (%0, %2, 2) \n\t" |
|
862 |
- "movq %%mm0, (%0, %3) \n\t" |
|
863 |
- "add $8, %0 \n\t" |
|
864 |
- "cmp %4, %0 \n\t" |
|
865 |
- " jb 1b \n\t" |
|
866 |
- : "+r" (ptr) |
|
867 |
- : "r" ((x86_reg)last_line - (x86_reg)ptr - w), "r" ((x86_reg)wrap), "r" ((x86_reg)wrap*3), "r" (ptr+width+2*w) |
|
868 |
- ); |
|
841 |
+ if (sides&EDGE_TOP) { |
|
842 |
+ ptr= buf - (i + 1) * wrap - w; |
|
843 |
+ __asm__ volatile( |
|
844 |
+ "1: \n\t" |
|
845 |
+ "movq (%1, %0), %%mm0 \n\t" |
|
846 |
+ "movq %%mm0, (%0) \n\t" |
|
847 |
+ "movq %%mm0, (%0, %2) \n\t" |
|
848 |
+ "movq %%mm0, (%0, %2, 2) \n\t" |
|
849 |
+ "movq %%mm0, (%0, %3) \n\t" |
|
850 |
+ "add $8, %0 \n\t" |
|
851 |
+ "cmp %4, %0 \n\t" |
|
852 |
+ " jb 1b \n\t" |
|
853 |
+ : "+r" (ptr) |
|
854 |
+ : "r" ((x86_reg)buf - (x86_reg)ptr - w), "r" ((x86_reg)-wrap), "r" ((x86_reg)-wrap*3), "r" (ptr+width+2*w) |
|
855 |
+ ); |
|
856 |
+ } |
|
857 |
+ |
|
858 |
+ if (sides&EDGE_BOTTOM) { |
|
859 |
+ ptr= last_line + (i + 1) * wrap - w; |
|
860 |
+ __asm__ volatile( |
|
861 |
+ "1: \n\t" |
|
862 |
+ "movq (%1, %0), %%mm0 \n\t" |
|
863 |
+ "movq %%mm0, (%0) \n\t" |
|
864 |
+ "movq %%mm0, (%0, %2) \n\t" |
|
865 |
+ "movq %%mm0, (%0, %2, 2) \n\t" |
|
866 |
+ "movq %%mm0, (%0, %3) \n\t" |
|
867 |
+ "add $8, %0 \n\t" |
|
868 |
+ "cmp %4, %0 \n\t" |
|
869 |
+ " jb 1b \n\t" |
|
870 |
+ : "+r" (ptr) |
|
871 |
+ : "r" ((x86_reg)last_line - (x86_reg)ptr - w), "r" ((x86_reg)wrap), "r" ((x86_reg)wrap*3), "r" (ptr+width+2*w) |
|
872 |
+ ); |
|
873 |
+ } |
|
869 | 874 |
} |
870 | 875 |
} |
871 | 876 |
|
0 | 6 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,13 @@ |
0 |
+diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c |
|
1 |
+index 7c68a20..135e6b1 100644 |
|
2 |
+--- a/libmpcodecs/vd_ffmpeg.c |
|
3 |
+@@ -280,7 +280,7 @@ static int init(sh_video_t *sh){ |
|
4 |
+ return 0; |
|
5 |
+ } |
|
6 |
+ |
|
7 |
+- if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug) |
|
8 |
++ if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug && lavc_param_threads <= 1) |
|
9 |
+ ctx->do_slices=1; |
|
10 |
+ |
|
11 |
+ if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP8 && lavc_codec->id != CODEC_ID_LAGARITH) |
0 | 12 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,10 @@ |
0 |
+#!/bin/bash |
|
1 |
+ |
|
2 |
+fn=`basename "$1"` |
|
3 |
+for th in 1 4; do |
|
4 |
+ time ./ffmpeg_g -threads $th -skip_loop_filter all -vsync 0 -y -t 30 -i "$1" -an -f rawvideo "raw/n-$fn-$th.yuv" |
|
5 |
+done |
|
6 |
+ |
|
7 |
+#for th in 1 4; do |
|
8 |
+# time ./ffmpeg_g -threads $th -vsync 0 -y -t 30 -i "$1" -an -f rawvideo "raw/$fn-$th.yuv" |
|
9 |
+#done |
0 | 10 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,2896 @@ |
0 |
+TEST acodec-ac3_fixed |
|
1 |
+TEST acodec-adpcm_ima_qt |
|
2 |
+TEST acodec-adpcm_ima_wav |
|
3 |
+TEST acodec-adpcm_ms |
|
4 |
+TEST acodec-adpcm_swf |
|
5 |
+TEST acodec-adpcm_yam |
|
6 |
+TEST acodec-alac |
|
7 |
+TEST acodec-flac |
|
8 |
+TEST acodec-g726 |
|
9 |
+TEST acodec-mp2 |
|
10 |
+TEST acodec-pcm |
|
11 |
+TEST acodec-wmav1 |
|
12 |
+TEST acodec-wmav2 |
|
13 |
+TEST vsynth1-asv1 |
|
14 |
+TEST vsynth1-asv2 |
|
15 |
+TEST vsynth1-dnxhd_1080i |
|
16 |
+TEST vsynth1-dnxhd_720p |
|
17 |
+TEST vsynth1-dnxhd_720p_rd |
|
18 |
+TEST vsynth1-dv |
|
19 |
+TEST vsynth1-dv50 |
|
20 |
+TEST vsynth1-error |
|
21 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/error 2010-10-23 18:46:26.000000000 -0400 |
|
22 |
+@@ -1,4 +1,4 @@ |
|
23 |
+-7416dfd319f04044d4575dc9d1b406e1 *./tests/data/vsynth1/error-mpeg4-adv.avi |
|
24 |
+-756836 ./tests/data/vsynth1/error-mpeg4-adv.avi |
|
25 |
+-ef8bfcd6e0883daba95d0f32486ebe2d *./tests/data/error.vsynth1.out.yuv |
|
26 |
+-stddev: 18.05 PSNR: 23.00 MAXDIFF: 245 bytes: 7603200/ 7603200 |
|
27 |
++f9d8d7fe421161ac102c935419b9d399 *./tests/data/vsynth1/error-mpeg4-adv.avi |
|
28 |
++ 741404 ./tests/data/vsynth1/error-mpeg4-adv.avi |
|
29 |
++1bd3ae7afdba45d121c657cfbe22ff8d *./tests/data/error.vsynth1.out.yuv |
|
30 |
++stddev: 19.74 PSNR: 22.22 MAXDIFF: 236 bytes: 7603200/ 7603200 |
|
31 |
+make: *** [fate-vsynth1-error] Error 1 |
|
32 |
+TEST vsynth1-ffv1 |
|
33 |
+TEST vsynth1-flashsv |
|
34 |
+TEST vsynth1-flv |
|
35 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/flv 2010-10-23 18:46:26.000000000 -0400 |
|
36 |
+@@ -1,4 +1,4 @@ |
|
37 |
+-d6a80659cedee7698aefe9c4a8285fa4 *./tests/data/vsynth1/flv.flv |
|
38 |
+-636269 ./tests/data/vsynth1/flv.flv |
|
39 |
+-5ab46d8dd01dbb1d63df2a84858a4b05 *./tests/data/flv.vsynth1.out.yuv |
|
40 |
+-stddev: 8.02 PSNR: 30.04 MAXDIFF: 105 bytes: 7603200/ 7603200 |
|
41 |
++6601c0822b71b0c005ab4209c8720ccd *./tests/data/vsynth1/flv.flv |
|
42 |
++ 640001 ./tests/data/vsynth1/flv.flv |
|
43 |
++08a465c398e4905f9ed45fca89b3efc5 *./tests/data/flv.vsynth1.out.yuv |
|
44 |
++stddev: 8.03 PSNR: 30.03 MAXDIFF: 107 bytes: 7603200/ 7603200 |
|
45 |
+make: *** [fate-vsynth1-flv] Error 1 |
|
46 |
+TEST vsynth1-h261 |
|
47 |
+TEST vsynth1-h263 |
|
48 |
+TEST vsynth1-h263p |
|
49 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/h263p 2010-10-23 18:46:26.000000000 -0400 |
|
50 |
+@@ -1,4 +1,4 @@ |
|
51 |
+-bbcadeceba295e1dad148aea1e57c370 *./tests/data/vsynth1/h263p.avi |
|
52 |
+-2328348 ./tests/data/vsynth1/h263p.avi |
|
53 |
+-9554cda00c3487ab3ffda2c3ea22fa2f *./tests/data/h263p.vsynth1.out.yuv |
|
54 |
+-stddev: 2.06 PSNR: 41.83 MAXDIFF: 20 bytes: 7603200/ 7603200 |
|
55 |
++256f90bef6a24b7bc1a8dd4ae82e4e5c *./tests/data/vsynth1/h263p.avi |
|
56 |
++ 2332538 ./tests/data/vsynth1/h263p.avi |
|
57 |
++e02188c26d01034f6a497934398e6743 *./tests/data/h263p.vsynth1.out.yuv |
|
58 |
++stddev: 2.06 PSNR: 41.83 MAXDIFF: 19 bytes: 7603200/ 7603200 |
|
59 |
+make: *** [fate-vsynth1-h263p] Error 1 |
|
60 |
+TEST vsynth1-huffyuv |
|
61 |
+TEST vsynth1-jpegls |
|
62 |
+TEST vsynth1-ljpeg |
|
63 |
+TEST vsynth1-mjpeg |
|
64 |
+TEST vsynth1-mpeg |
|
65 |
+TEST vsynth1-mpeg1b |
|
66 |
+TEST vsynth1-mpeg2 |
|
67 |
+TEST vsynth1-mpeg2thread |
|
68 |
+TEST vsynth1-mpeg4 |
|
69 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/mpeg4 2010-10-23 18:46:26.000000000 -0400 |
|
70 |
+@@ -1,4 +1,4 @@ |
|
71 |
+-fd83f2ef5887a62b4d755d7cb5f0ac59 *./tests/data/vsynth1/odivx.mp4 |
|
72 |
+-540144 ./tests/data/vsynth1/odivx.mp4 |
|
73 |
+-8828a375448dc5c2215163ba70656f89 *./tests/data/mpeg4.vsynth1.out.yuv |
|
74 |
+-stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200 |
|
75 |
++5295e4d1be6c1a88faf5db972dfcf62f *./tests/data/vsynth1/odivx.mp4 |
|
76 |
++ 540826 ./tests/data/vsynth1/odivx.mp4 |
|
77 |
++4f02d5f83da600985b84958e4e3d2fe0 *./tests/data/mpeg4.vsynth1.out.yuv |
|
78 |
++stddev: 11.07 PSNR: 27.25 MAXDIFF: 192 bytes: 7603200/ 7603200 |
|
79 |
+make: *** [fate-vsynth1-mpeg4] Error 1 |
|
80 |
+TEST vsynth1-mpeg4adv |
|
81 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/mpeg4adv 2010-10-23 18:46:26.000000000 -0400 |
|
82 |
+@@ -1,16 +1,16 @@ |
|
83 |
+-7d8eb01fd68d83d62a98585757704d47 *./tests/data/vsynth1/mpeg4-adv.avi |
|
84 |
+-589716 ./tests/data/vsynth1/mpeg4-adv.avi |
|
85 |
+-f8b226876b1b2c0b98fd6928fd9adbd8 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
86 |
+-stddev: 6.98 PSNR: 31.25 MAXDIFF: 84 bytes: 7603200/ 7603200 |
|
87 |
+-d6b7e724a6ad66ab5e4c5a499218b40d *./tests/data/vsynth1/mpeg4-qprd.avi |
|
88 |
+-710944 ./tests/data/vsynth1/mpeg4-qprd.avi |
|
89 |
+-e65f4c7f343fe2bad1cac44b7da5f7c4 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
90 |
+-stddev: 9.79 PSNR: 28.31 MAXDIFF: 176 bytes: 7603200/ 7603200 |
|
91 |
+-2d870c0da9ab2231ab5fc06981e70399 *./tests/data/vsynth1/mpeg4-adap.avi |
|
92 |
+-403456 ./tests/data/vsynth1/mpeg4-adap.avi |
|
93 |
+-fa2049396479b5f170aa764fed5b2a31 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
94 |
+-stddev: 14.05 PSNR: 25.17 MAXDIFF: 184 bytes: 7603200/ 7603200 |
|
95 |
+-3bf17c3d04f52988386ce106a2a58976 *./tests/data/vsynth1/mpeg4-Q.avi |
|
96 |
+-860678 ./tests/data/vsynth1/mpeg4-Q.avi |
|
97 |
+-756928496245ecc701f79eebeec8e5e6 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
98 |
+-stddev: 5.63 PSNR: 33.12 MAXDIFF: 70 bytes: 7603200/ 7603200 |
|
99 |
++20eab3e8f00eb71cc57aa02c79b03835 *./tests/data/vsynth1/mpeg4-adv.avi |
|
100 |
++ 591856 ./tests/data/vsynth1/mpeg4-adv.avi |
|
101 |
++7837ca6f9c3f87c5f40cc67f3a181ca2 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
102 |
++stddev: 10.43 PSNR: 27.76 MAXDIFF: 184 bytes: 7603200/ 7603200 |
|
103 |
++b76c1be43fddf47030a80a60ad56ed7b *./tests/data/vsynth1/mpeg4-qprd.avi |
|
104 |
++ 713772 ./tests/data/vsynth1/mpeg4-qprd.avi |
|
105 |
++cbe9d36d28c82d2b1240ca871e7934a3 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
106 |
++stddev: 10.28 PSNR: 27.89 MAXDIFF: 198 bytes: 7603200/ 7603200 |
|
107 |
++51da4657ec89c77de32d384dc676714f *./tests/data/vsynth1/mpeg4-adap.avi |
|
108 |
++ 409954 ./tests/data/vsynth1/mpeg4-adap.avi |
|
109 |
++710b85cf1bd9dc4b4b84928c1ebc5816 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
110 |
++stddev: 14.37 PSNR: 24.98 MAXDIFF: 187 bytes: 7603200/ 7603200 |
|
111 |
++6b88216e0f57a4c60dc1b7c2054acfa4 *./tests/data/vsynth1/mpeg4-Q.avi |
|
112 |
++ 865748 ./tests/data/vsynth1/mpeg4-Q.avi |
|
113 |
++767ebbd8c60b10a17f10d833448123e1 *./tests/data/mpeg4adv.vsynth1.out.yuv |
|
114 |
++stddev: 6.49 PSNR: 31.88 MAXDIFF: 147 bytes: 7603200/ 7603200 |
|
115 |
+make: *** [fate-vsynth1-mpeg4adv] Error 1 |
|
116 |
+TEST vsynth1-mpeg4nr |
|
117 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/mpeg4nr 2010-10-23 18:46:26.000000000 -0400 |
|
118 |
+@@ -1,4 +1,4 @@ |
|
119 |
+-c02f54157ba08ca12ad979c6308212ad *./tests/data/vsynth1/mpeg4-nr.avi |
|
120 |
+-675638 ./tests/data/vsynth1/mpeg4-nr.avi |
|
121 |
+-d2b89d5958fb7331f6c9e5b7ecaaa5b6 *./tests/data/mpeg4nr.vsynth1.out.yuv |
|
122 |
+-stddev: 6.99 PSNR: 31.23 MAXDIFF: 86 bytes: 7603200/ 7603200 |
|
123 |
++e8d04b36645ca8b07c354ff8af3a518d *./tests/data/vsynth1/mpeg4-nr.avi |
|
124 |
++ 678948 ./tests/data/vsynth1/mpeg4-nr.avi |
|
125 |
++d9d1b444aaae200b0839796794c84964 *./tests/data/mpeg4nr.vsynth1.out.yuv |
|
126 |
++stddev: 9.26 PSNR: 28.79 MAXDIFF: 189 bytes: 7603200/ 7603200 |
|
127 |
+make: *** [fate-vsynth1-mpeg4nr] Error 1 |
|
128 |
+TEST vsynth1-mpeg4thread |
|
129 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/mpeg4thread 2010-10-23 18:46:26.000000000 -0400 |
|
130 |
+@@ -1,4 +1,4 @@ |
|
131 |
+-4f4ea04faad7212374919aa1ec7ff994 *./tests/data/vsynth1/mpeg4-thread.avi |
|
132 |
+-774760 ./tests/data/vsynth1/mpeg4-thread.avi |
|
133 |
+-64b96cddf5301990e118978b3a3bcd0d *./tests/data/mpeg4thread.vsynth1.out.yuv |
|
134 |
+-stddev: 10.13 PSNR: 28.02 MAXDIFF: 183 bytes: 7603200/ 7603200 |
|
135 |
++58bfbd4523ed25452dee0f4a1fe5fc5d *./tests/data/vsynth1/mpeg4-thread.avi |
|
136 |
++ 770730 ./tests/data/vsynth1/mpeg4-thread.avi |
|
137 |
++da89e47c9e341294ef92862790fb10cf *./tests/data/mpeg4thread.vsynth1.out.yuv |
|
138 |
++stddev: 10.49 PSNR: 27.71 MAXDIFF: 183 bytes: 7603200/ 7603200 |
|
139 |
+make: *** [fate-vsynth1-mpeg4thread] Error 1 |
|
140 |
+TEST vsynth1-msmpeg4 |
|
141 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/msmpeg4 2010-10-23 18:46:26.000000000 -0400 |
|
142 |
+@@ -1,4 +1,4 @@ |
|
143 |
+-4b08952b0afceb17ee3db31b67f6b778 *./tests/data/vsynth1/msmpeg4.avi |
|
144 |
+-624718 ./tests/data/vsynth1/msmpeg4.avi |
|
145 |
+-5ca72c39e3fc5df8e62f223c869589f5 *./tests/data/msmpeg4.vsynth1.out.yuv |
|
146 |
+-stddev: 7.98 PSNR: 30.09 MAXDIFF: 104 bytes: 7603200/ 7603200 |
|
147 |
++144f400cf8f624e21a8061dc882ef086 *./tests/data/vsynth1/msmpeg4.avi |
|
148 |
++ 629876 ./tests/data/vsynth1/msmpeg4.avi |
|
149 |
++e741bf2208b1ab9b56ed3defe4e10398 *./tests/data/msmpeg4.vsynth1.out.yuv |
|
150 |
++stddev: 7.98 PSNR: 30.08 MAXDIFF: 106 bytes: 7603200/ 7603200 |
|
151 |
+make: *** [fate-vsynth1-msmpeg4] Error 1 |
|
152 |
+TEST vsynth1-msmpeg4v2 |
|
153 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/msmpeg4v2 2010-10-23 18:46:26.000000000 -0400 |
|
154 |
+@@ -1,4 +1,4 @@ |
|
155 |
+-88957e35efcc718bce0307627ad3298d *./tests/data/vsynth1/msmpeg4v2.avi |
|
156 |
+-623788 ./tests/data/vsynth1/msmpeg4v2.avi |
|
157 |
+-c6ff1041a0ef62c2a2e5ef519e5e94c4 *./tests/data/msmpeg4v2.vsynth1.out.yuv |
|
158 |
+-stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200 |
|
159 |
++2465f409c9077cc69ee66c6a89bd42ef *./tests/data/vsynth1/msmpeg4v2.avi |
|
160 |
++ 628806 ./tests/data/vsynth1/msmpeg4v2.avi |
|
161 |
++934a3e902113a0cef71a40fa494241ca *./tests/data/msmpeg4v2.vsynth1.out.yuv |
|
162 |
++stddev: 7.98 PSNR: 30.09 MAXDIFF: 111 bytes: 7603200/ 7603200 |
|
163 |
+make: *** [fate-vsynth1-msmpeg4v2] Error 1 |
|
164 |
+TEST vsynth1-qtrle |
|
165 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/qtrle 2010-10-23 18:46:26.000000000 -0400 |
|
166 |
+@@ -1,4 +1,4 @@ |
|
167 |
+-3f070779d7deb54626515ac7f7002e63 *./tests/data/vsynth1/qtrle.mov |
|
168 |
+-387772 ./tests/data/vsynth1/qtrle.mov |
|
169 |
+-a3c2610e2c069c3ad22ec03da83f774f *./tests/data/qtrle.vsynth1.out.yuv |
|
170 |
+-stddev: 15.14 PSNR: 24.53 MAXDIFF: 174 bytes: 7603200/ 7603200 |
|
171 |
++028b64ca2f1349f8abc63879066daa00 *./tests/data/vsynth1/qtrle.mov |
|
172 |
++ 389285 ./tests/data/vsynth1/qtrle.mov |
|
173 |
++f1ca4fee4fea7e3ae133704a88ccf686 *./tests/data/qtrle.vsynth1.out.yuv |
|
174 |
++stddev: 15.18 PSNR: 24.50 MAXDIFF: 174 bytes: 7603200/ 7603200 |
|
175 |
+make: *** [fate-vsynth1-qtrle] Error 1 |
|
176 |
+TEST vsynth1-rc |
|
177 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/rc 2010-10-23 18:46:26.000000000 -0400 |
|
178 |
+@@ -1,4 +1,4 @@ |
|
179 |
+-1c6dadf75f60f4ba59a0fe0b6eaedf57 *./tests/data/vsynth1/mpeg4-rc.avi |
|
180 |
+-830160 ./tests/data/vsynth1/mpeg4-rc.avi |
|
181 |
+-4d95e340db9bc57a559162c039f3784e *./tests/data/rc.vsynth1.out.yuv |
|
182 |
+-stddev: 10.24 PSNR: 27.92 MAXDIFF: 196 bytes: 7603200/ 7603200 |
|
183 |
++b7bfcd9bf6141541d8876047b31d77cc *./tests/data/vsynth1/mpeg4-rc.avi |
|
184 |
++ 808060 ./tests/data/vsynth1/mpeg4-rc.avi |
|
185 |
++ee2b0bcb7b76b135ce797fd8f56ff32c *./tests/data/rc.vsynth1.out.yuv |
|
186 |
++stddev: 10.30 PSNR: 27.87 MAXDIFF: 196 bytes: 7603200/ 7603200 |
|
187 |
+make: *** [fate-vsynth1-rc] Error 1 |
|
188 |
+TEST vsynth1-rgb |
|
189 |
+TEST vsynth1-roq |
|
190 |
+TEST vsynth1-rv10 |
|
191 |
+TEST vsynth1-rv20 |
|
192 |
+TEST vsynth1-snow |
|
193 |
+TEST vsynth1-snowll |
|
194 |
+TEST vsynth1-svq1 |
|
195 |
+TEST vsynth1-wmv1 |
|
196 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/wmv1 2010-10-23 18:46:26.000000000 -0400 |
|
197 |
+@@ -1,4 +1,4 @@ |
|
198 |
+-4f3461315776e5118866fa3819cff9b6 *./tests/data/vsynth1/wmv1.avi |
|
199 |
+-626908 ./tests/data/vsynth1/wmv1.avi |
|
200 |
+-5182edba5b5e0354b39ce4f3604b62da *./tests/data/wmv1.vsynth1.out.yuv |
|
201 |
+-stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200 |
|
202 |
++71bded86ad2f948150060dffc8a72ead *./tests/data/vsynth1/wmv1.avi |
|
203 |
++ 632036 ./tests/data/vsynth1/wmv1.avi |
|
204 |
++e5e4963a838680b830340123c4b383a5 *./tests/data/wmv1.vsynth1.out.yuv |
|
205 |
++stddev: 7.98 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200 |
|
206 |
+make: *** [fate-vsynth1-wmv1] Error 1 |
|
207 |
+TEST vsynth1-wmv2 |
|
208 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth1/wmv2 2010-10-23 18:46:26.000000000 -0400 |
|
209 |
+@@ -1,4 +1,4 @@ |
|
210 |
+-13efda9d3811345aadc0632fc9a9332b *./tests/data/vsynth1/wmv2.avi |
|
211 |
+-659852 ./tests/data/vsynth1/wmv2.avi |
|
212 |
+-5182edba5b5e0354b39ce4f3604b62da *./tests/data/wmv2.vsynth1.out.yuv |
|
213 |
+-stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200 |
|
214 |
++7658e2222b1e4fbc85abea009c180548 *./tests/data/vsynth1/wmv2.avi |
|
215 |
++ 664948 ./tests/data/vsynth1/wmv2.avi |
|
216 |
++e5e4963a838680b830340123c4b383a5 *./tests/data/wmv2.vsynth1.out.yuv |
|
217 |
++stddev: 7.98 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200 |
|
218 |
+make: *** [fate-vsynth1-wmv2] Error 1 |
|
219 |
+TEST vsynth1-yuv |
|
220 |
+TEST vsynth2-asv1 |
|
221 |
+TEST vsynth2-asv2 |
|
222 |
+TEST vsynth2-dnxhd_1080i |
|
223 |
+TEST vsynth2-dnxhd_720p |
|
224 |
+TEST vsynth2-dnxhd_720p_rd |
|
225 |
+TEST vsynth2-dv |
|
226 |
+TEST vsynth2-dv50 |
|
227 |
+TEST vsynth2-error |
|
228 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/error 2010-10-23 18:46:26.000000000 -0400 |
|
229 |
+@@ -1,4 +1,4 @@ |
|
230 |
+-90e65096aa9ebafa3fe3f44a5a47cdc4 *./tests/data/vsynth2/error-mpeg4-adv.avi |
|
231 |
+-176588 ./tests/data/vsynth2/error-mpeg4-adv.avi |
|
232 |
+-9fe1082179f80179439953c7397a46ef *./tests/data/error.vsynth2.out.yuv |
|
233 |
+-stddev: 9.00 PSNR: 29.04 MAXDIFF: 168 bytes: 7603200/ 7603200 |
|
234 |
++e1a3e863e0425bce0f4aacdf4a27d192 *./tests/data/vsynth2/error-mpeg4-adv.avi |
|
235 |
++ 180128 ./tests/data/vsynth2/error-mpeg4-adv.avi |
|
236 |
++484f06383403447682759d822cb6ad5a *./tests/data/error.vsynth2.out.yuv |
|
237 |
++stddev: 10.58 PSNR: 27.63 MAXDIFF: 210 bytes: 7603200/ 7603200 |
|
238 |
+make: *** [fate-vsynth2-error] Error 1 |
|
239 |
+TEST vsynth2-ffv1 |
|
240 |
+TEST vsynth2-flashsv |
|
241 |
+TEST vsynth2-flv |
|
242 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/flv 2010-10-23 18:46:26.000000000 -0400 |
|
243 |
+@@ -1,4 +1,4 @@ |
|
244 |
+-2edc92093d36506bcc0a5c0e17e86113 *./tests/data/vsynth2/flv.flv |
|
245 |
+-131360 ./tests/data/vsynth2/flv.flv |
|
246 |
+-8999c8264fb0941561f64c4a736e9d88 *./tests/data/flv.vsynth2.out.yuv |
|
247 |
+-stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200 |
|
248 |
++7de024c8ee8880a1886d00d85e569a66 *./tests/data/vsynth2/flv.flv |
|
249 |
++ 136249 ./tests/data/vsynth2/flv.flv |
|
250 |
++0df8b34edb3c1ce8658683c056837527 *./tests/data/flv.vsynth2.out.yuv |
|
251 |
++stddev: 5.35 PSNR: 33.56 MAXDIFF: 80 bytes: 7603200/ 7603200 |
|
252 |
+make: *** [fate-vsynth2-flv] Error 1 |
|
253 |
+TEST vsynth2-h261 |
|
254 |
+TEST vsynth2-h263 |
|
255 |
+TEST vsynth2-h263p |
|
256 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/h263p 2010-10-23 18:46:26.000000000 -0400 |
|
257 |
+@@ -1,4 +1,4 @@ |
|
258 |
+-c7644d40e9f40bbd98e5a978f9f94bb4 *./tests/data/vsynth2/h263p.avi |
|
259 |
+-868018 ./tests/data/vsynth2/h263p.avi |
|
260 |
+-4b0ee791f280029dc03c528f76f195d4 *./tests/data/h263p.vsynth2.out.yuv |
|
261 |
+-stddev: 1.91 PSNR: 42.50 MAXDIFF: 19 bytes: 7603200/ 7603200 |
|
262 |
++68026781aaa30b3f20b9c00a15d34d44 *./tests/data/vsynth2/h263p.avi |
|
263 |
++ 883722 ./tests/data/vsynth2/h263p.avi |
|
264 |
++f01d197968aca266657d535eed151014 *./tests/data/h263p.vsynth2.out.yuv |
|
265 |
++stddev: 1.91 PSNR: 42.48 MAXDIFF: 19 bytes: 7603200/ 7603200 |
|
266 |
+make: *** [fate-vsynth2-h263p] Error 1 |
|
267 |
+TEST vsynth2-huffyuv |
|
268 |
+TEST vsynth2-jpegls |
|
269 |
+TEST vsynth2-ljpeg |
|
270 |
+TEST vsynth2-mjpeg |
|
271 |
+TEST vsynth2-mpeg |
|
272 |
+TEST vsynth2-mpeg1b |
|
273 |
+TEST vsynth2-mpeg2 |
|
274 |
+TEST vsynth2-mpeg2thread |
|
275 |
+TEST vsynth2-mpeg4 |
|
276 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/mpeg4 2010-10-23 18:46:26.000000000 -0400 |
|
277 |
+@@ -1,4 +1,4 @@ |
|
278 |
+-47de227982e77830a2db278214a08773 *./tests/data/vsynth2/odivx.mp4 |
|
279 |
+-119797 ./tests/data/vsynth2/odivx.mp4 |
|
280 |
+-90a3577850239083a9042bef33c50e85 *./tests/data/mpeg4.vsynth2.out.yuv |
|
281 |
+-stddev: 5.34 PSNR: 33.57 MAXDIFF: 83 bytes: 7603200/ 7603200 |
|
282 |
++a8b70f3bd83271ec52565135d74acaae *./tests/data/vsynth2/odivx.mp4 |
|
283 |
++ 123236 ./tests/data/vsynth2/odivx.mp4 |
|
284 |
++f60e67dd6f376b3d3e30c02bb02883e8 *./tests/data/mpeg4.vsynth2.out.yuv |
|
285 |
++stddev: 6.25 PSNR: 32.21 MAXDIFF: 144 bytes: 7603200/ 7603200 |
|
286 |
+make: *** [fate-vsynth2-mpeg4] Error 1 |
|
287 |
+TEST vsynth2-mpeg4adv |
|
288 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/mpeg4adv 2010-10-23 18:46:26.000000000 -0400 |
|
289 |
+@@ -1,16 +1,16 @@ |
|
290 |
+-dee7be19486a76d96c88d18eefba8f86 *./tests/data/vsynth2/mpeg4-adv.avi |
|
291 |
+-141546 ./tests/data/vsynth2/mpeg4-adv.avi |
|
292 |
+-3f3a21e9db85a9c0f7022f557a5374c1 *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
293 |
+-stddev: 4.94 PSNR: 34.25 MAXDIFF: 69 bytes: 7603200/ 7603200 |
|
294 |
+-fd5ab0f55dbc959316e32923e86290df *./tests/data/vsynth2/mpeg4-qprd.avi |
|
295 |
+-231458 ./tests/data/vsynth2/mpeg4-qprd.avi |
|
296 |
+-de8a883865e2dff7a51f66da6c48df48 *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
297 |
+-stddev: 3.71 PSNR: 36.72 MAXDIFF: 61 bytes: 7603200/ 7603200 |
|
298 |
+-547e1849dcf910935ff6383ca49e5706 *./tests/data/vsynth2/mpeg4-adap.avi |
|
299 |
+-198510 ./tests/data/vsynth2/mpeg4-adap.avi |
|
300 |
+-4affb83f6adc94f31024b4f9e0168945 *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
301 |
+-stddev: 3.75 PSNR: 36.65 MAXDIFF: 71 bytes: 7603200/ 7603200 |
|
302 |
+-7680d2e7d34399dfdfb8a49cf1e10239 *./tests/data/vsynth2/mpeg4-Q.avi |
|
303 |
+-163688 ./tests/data/vsynth2/mpeg4-Q.avi |
|
304 |
+-26dc7c78955fa678fbf150e236eb5627 *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
305 |
+-stddev: 3.97 PSNR: 36.14 MAXDIFF: 54 bytes: 7603200/ 7603200 |
|
306 |
++47efa8a368f57670afaf4de17f163b20 *./tests/data/vsynth2/mpeg4-adv.avi |
|
307 |
++ 145318 ./tests/data/vsynth2/mpeg4-adv.avi |
|
308 |
++7f2726e0e1626fa4783b9e4215981e2d *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
309 |
++stddev: 6.13 PSNR: 32.37 MAXDIFF: 139 bytes: 7603200/ 7603200 |
|
310 |
++3e06e5cbda13ad4eb137fc5432cbc9c3 *./tests/data/vsynth2/mpeg4-qprd.avi |
|
311 |
++ 232924 ./tests/data/vsynth2/mpeg4-qprd.avi |
|
312 |
++9bd0cae89604ba35f8b6dc34ec9e7b17 *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
313 |
++stddev: 4.59 PSNR: 34.89 MAXDIFF: 134 bytes: 7603200/ 7603200 |
|
314 |
++635139fc5d20a4c3e48ca555a2fb8e8c *./tests/data/vsynth2/mpeg4-adap.avi |
|
315 |
++ 198588 ./tests/data/vsynth2/mpeg4-adap.avi |
|
316 |
++b42247bb0e313234c8abdd88a011f5bd *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
317 |
++stddev: 4.37 PSNR: 35.31 MAXDIFF: 169 bytes: 7603200/ 7603200 |
|
318 |
++3cc54d51db4cb6183ed9d4137246a5b1 *./tests/data/vsynth2/mpeg4-Q.avi |
|
319 |
++ 168386 ./tests/data/vsynth2/mpeg4-Q.avi |
|
320 |
++513e786c0780c3bf3038191fcd9e3cf6 *./tests/data/mpeg4adv.vsynth2.out.yuv |
|
321 |
++stddev: 4.33 PSNR: 35.40 MAXDIFF: 167 bytes: 7603200/ 7603200 |
|
322 |
+make: *** [fate-vsynth2-mpeg4adv] Error 1 |
|
323 |
+TEST vsynth2-mpeg4nr |
|
324 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/mpeg4nr 2010-10-23 18:46:26.000000000 -0400 |
|
325 |
+@@ -1,4 +1,4 @@ |
|
326 |
+-c41187c99588fb7229ad330b2f80d28b *./tests/data/vsynth2/mpeg4-nr.avi |
|
327 |
+-155044 ./tests/data/vsynth2/mpeg4-nr.avi |
|
328 |
+-f7fc191308679f709405e62271f5c65f *./tests/data/mpeg4nr.vsynth2.out.yuv |
|
329 |
+-stddev: 4.73 PSNR: 34.63 MAXDIFF: 64 bytes: 7603200/ 7603200 |
|
330 |
++66b39626eeff8137688afbabbdddbbb0 *./tests/data/vsynth2/mpeg4-nr.avi |
|
331 |
++ 159316 ./tests/data/vsynth2/mpeg4-nr.avi |
|
332 |
++15f2aa79d95e4326ad8dc2a0500fa061 *./tests/data/mpeg4nr.vsynth2.out.yuv |
|
333 |
++stddev: 5.22 PSNR: 33.76 MAXDIFF: 119 bytes: 7603200/ 7603200 |
|
334 |
+make: *** [fate-vsynth2-mpeg4nr] Error 1 |
|
335 |
+TEST vsynth2-mpeg4thread |
|
336 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/mpeg4thread 2010-10-23 18:46:26.000000000 -0400 |
|
337 |
+@@ -1,4 +1,4 @@ |
|
338 |
+-ba30d10ff70d46e7c5b7fa859ea1faa4 *./tests/data/vsynth2/mpeg4-thread.avi |
|
339 |
+-250140 ./tests/data/vsynth2/mpeg4-thread.avi |
|
340 |
+-5355deb8c7609a3f1ff2173aab1dee70 *./tests/data/mpeg4thread.vsynth2.out.yuv |
|
341 |
+-stddev: 3.69 PSNR: 36.78 MAXDIFF: 65 bytes: 7603200/ 7603200 |
|
342 |
++584e0eea7f73b8ef2e0c5548ecc0e3bf *./tests/data/vsynth2/mpeg4-thread.avi |
|
343 |
++ 249820 ./tests/data/vsynth2/mpeg4-thread.avi |
|
344 |
++14698fef6a6295e8086a9cd342d4e394 *./tests/data/mpeg4thread.vsynth2.out.yuv |
|
345 |
++stddev: 4.37 PSNR: 35.31 MAXDIFF: 162 bytes: 7603200/ 7603200 |
|
346 |
+make: *** [fate-vsynth2-mpeg4thread] Error 1 |
|
347 |
+TEST vsynth2-msmpeg4 |
|
348 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/msmpeg4 2010-10-23 18:46:26.000000000 -0400 |
|
349 |
+@@ -1,4 +1,4 @@ |
|
350 |
+-26dee25a62a66daba4f38ac6bd8f4677 *./tests/data/vsynth2/msmpeg4.avi |
|
351 |
+-127680 ./tests/data/vsynth2/msmpeg4.avi |
|
352 |
+-0e1c6e25c71c6a8fa8e506e3d97ca4c9 *./tests/data/msmpeg4.vsynth2.out.yuv |
|
353 |
+-stddev: 5.33 PSNR: 33.59 MAXDIFF: 78 bytes: 7603200/ 7603200 |
|
354 |
++d5327814000543bfe24d4bdff3edf503 *./tests/data/vsynth2/msmpeg4.avi |
|
355 |
++ 132264 ./tests/data/vsynth2/msmpeg4.avi |
|
356 |
++a2f18f4ffe68434a89a6dd306f0f7eb4 *./tests/data/msmpeg4.vsynth2.out.yuv |
|
357 |
++stddev: 5.35 PSNR: 33.56 MAXDIFF: 77 bytes: 7603200/ 7603200 |
|
358 |
+make: *** [fate-vsynth2-msmpeg4] Error 1 |
|
359 |
+TEST vsynth2-msmpeg4v2 |
|
360 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/msmpeg4v2 2010-10-23 18:46:26.000000000 -0400 |
|
361 |
+@@ -1,4 +1,4 @@ |
|
362 |
+-c09815e40a9d260628e1ebad8b2b3774 *./tests/data/vsynth2/msmpeg4v2.avi |
|
363 |
+-129918 ./tests/data/vsynth2/msmpeg4v2.avi |
|
364 |
+-8920194f8bf8f9cdd6c65b3df9e1a292 *./tests/data/msmpeg4v2.vsynth2.out.yuv |
|
365 |
+-stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200 |
|
366 |
++8656813e7a88eb30880b9d9199822541 *./tests/data/vsynth2/msmpeg4v2.avi |
|
367 |
++ 134750 ./tests/data/vsynth2/msmpeg4v2.avi |
|
368 |
++fc9e48fe41ebca2f462d4323eab5c346 *./tests/data/msmpeg4v2.vsynth2.out.yuv |
|
369 |
++stddev: 5.35 PSNR: 33.56 MAXDIFF: 80 bytes: 7603200/ 7603200 |
|
370 |
+make: *** [fate-vsynth2-msmpeg4v2] Error 1 |
|
371 |
+TEST vsynth2-qtrle |
|
372 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/qtrle 2010-10-23 18:46:26.000000000 -0400 |
|
373 |
+@@ -1,4 +1,4 @@ |
|
374 |
+-5346bba8e03e7de72b482efbcf712a2e *./tests/data/vsynth2/qtrle.mov |
|
375 |
+-141533 ./tests/data/vsynth2/qtrle.mov |
|
376 |
+-f967b290c7e6d015c0e78175db828249 *./tests/data/qtrle.vsynth2.out.yuv |
|
377 |
+-stddev: 5.75 PSNR: 32.93 MAXDIFF: 92 bytes: 7603200/ 7603200 |
|
378 |
++d2ba4fe353921353143474a2819375d7 *./tests/data/vsynth2/qtrle.mov |
|
379 |
++ 141089 ./tests/data/vsynth2/qtrle.mov |
|
380 |
++87ea7098ddb8ce6935f7541c342101b2 *./tests/data/qtrle.vsynth2.out.yuv |
|
381 |
++stddev: 5.96 PSNR: 32.62 MAXDIFF: 89 bytes: 7603200/ 7603200 |
|
382 |
+make: *** [fate-vsynth2-qtrle] Error 1 |
|
383 |
+TEST vsynth2-rc |
|
384 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/rc 2010-10-23 18:46:26.000000000 -0400 |
|
385 |
+@@ -1,4 +1,4 @@ |
|
386 |
+-c25ede9e268b834a09a63f5136cd1b95 *./tests/data/vsynth2/mpeg4-rc.avi |
|
387 |
+-226332 ./tests/data/vsynth2/mpeg4-rc.avi |
|
388 |
+-2b34e606af895b62a250de98749a19b0 *./tests/data/rc.vsynth2.out.yuv |
|
389 |
+-stddev: 4.23 PSNR: 35.60 MAXDIFF: 85 bytes: 7603200/ 7603200 |
|
390 |
++fe9eb72baeccdff613a094f47f805d8e *./tests/data/vsynth2/mpeg4-rc.avi |
|
391 |
++ 228032 ./tests/data/vsynth2/mpeg4-rc.avi |
|
392 |
++a1068ec4bbcf297fd08032ed7fd59eda *./tests/data/rc.vsynth2.out.yuv |
|
393 |
++stddev: 4.30 PSNR: 35.45 MAXDIFF: 85 bytes: 7603200/ 7603200 |
|
394 |
+make: *** [fate-vsynth2-rc] Error 1 |
|
395 |
+TEST vsynth2-rgb |
|
396 |
+TEST vsynth2-roq |
|
397 |
+TEST vsynth2-rv10 |
|
398 |
+TEST vsynth2-rv20 |
|
399 |
+TEST vsynth2-snow |
|
400 |
+TEST vsynth2-snowll |
|
401 |
+TEST vsynth2-svq1 |
|
402 |
+TEST vsynth2-wmv1 |
|
403 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/wmv1 2010-10-23 18:46:26.000000000 -0400 |
|
404 |
+@@ -1,4 +1,4 @@ |
|
405 |
+-1011e26e7d351c96d7bbfe106d831b69 *./tests/data/vsynth2/wmv1.avi |
|
406 |
+-129530 ./tests/data/vsynth2/wmv1.avi |
|
407 |
+-81eee429b665254d19a06607463c0b5e *./tests/data/wmv1.vsynth2.out.yuv |
|
408 |
+-stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200 |
|
409 |
++01112ed4c12bd214611284a50c8abbed *./tests/data/vsynth2/wmv1.avi |
|
410 |
++ 134150 ./tests/data/vsynth2/wmv1.avi |
|
411 |
++6a7491f94708fe1c9e183d49434e4036 *./tests/data/wmv1.vsynth2.out.yuv |
|
412 |
++stddev: 5.34 PSNR: 33.57 MAXDIFF: 77 bytes: 7603200/ 7603200 |
|
413 |
+make: *** [fate-vsynth2-wmv1] Error 1 |
|
414 |
+TEST vsynth2-wmv2 |
|
415 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/vsynth2/wmv2 2010-10-23 18:46:26.000000000 -0400 |
|
416 |
+@@ -1,4 +1,4 @@ |
|
417 |
+-1f6598e9776ed00aebdc44cc8d48cb7c *./tests/data/vsynth2/wmv2.avi |
|
418 |
+-129860 ./tests/data/vsynth2/wmv2.avi |
|
419 |
+-81eee429b665254d19a06607463c0b5e *./tests/data/wmv2.vsynth2.out.yuv |
|
420 |
+-stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200 |
|
421 |
++7f05f2fea6312103cb46c8230d3352d9 *./tests/data/vsynth2/wmv2.avi |
|
422 |
++ 134564 ./tests/data/vsynth2/wmv2.avi |
|
423 |
++6a7491f94708fe1c9e183d49434e4036 *./tests/data/wmv2.vsynth2.out.yuv |
|
424 |
++stddev: 5.34 PSNR: 33.57 MAXDIFF: 77 bytes: 7603200/ 7603200 |
|
425 |
+make: *** [fate-vsynth2-wmv2] Error 1 |
|
426 |
+TEST vsynth2-yuv |
|
427 |
+TEST lavf-aiff |
|
428 |
+TEST lavf-alaw |
|
429 |
+TEST lavf-asf |
|
430 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/lavf/asf 2010-03-09 00:12:36.000000000 -0500 |
|
431 |
+@@ -1,3 +1,3 @@ |
|
432 |
+-c544bb40c2f4c09d44318db5228ee499 *./tests/data/lavf/lavf.asf |
|
433 |
++33067713434bcfa0fbe54c5bae3f1519 *./tests/data/lavf/lavf.asf |
|
434 |
+ 333375 ./tests/data/lavf/lavf.asf |
|
435 |
+-./tests/data/lavf/lavf.asf CRC=0x9f5ab3e6 |
|
436 |
++./tests/data/lavf/lavf.asf CRC=0x71634857 |
|
437 |
+make: *** [fate-lavf-asf] Error 1 |
|
438 |
+TEST lavf-au |
|
439 |
+TEST lavf-avi |
|
440 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/lavf/avi 2010-03-09 00:12:36.000000000 -0500 |
|
441 |
+@@ -1,3 +1,3 @@ |
|
442 |
+-7e5e4db8c04f0acd16cff6b30e60d0e5 *./tests/data/lavf/lavf.avi |
|
443 |
+-331032 ./tests/data/lavf/lavf.avi |
|
444 |
+-./tests/data/lavf/lavf.avi CRC=0x2a83e6b0 |
|
445 |
++74b23e54eee46c639bf6c3a789e7c67d *./tests/data/lavf/lavf.avi |
|
446 |
++ 331948 ./tests/data/lavf/lavf.avi |
|
447 |
++./tests/data/lavf/lavf.avi CRC=0x893290ad |
|
448 |
+make: *** [fate-lavf-avi] Error 1 |
|
449 |
+TEST lavf-bmp |
|
450 |
+TEST lavf-dv_fmt |
|
451 |
+TEST lavf-ffm |
|
452 |
+TEST lavf-flv_fmt |
|
453 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/lavf/flv_fmt 2010-03-09 00:12:36.000000000 -0500 |
|
454 |
+@@ -1,3 +1,3 @@ |
|
455 |
+-62c3177547fb5853a5116661802e1ae2 *./tests/data/lavf/lavf.flv |
|
456 |
+-329541 ./tests/data/lavf/lavf.flv |
|
457 |
+-./tests/data/lavf/lavf.flv CRC=0x881785d1 |
|
458 |
++1d8d3440b8c314ecf1b1d82758c85513 *./tests/data/lavf/lavf.flv |
|
459 |
++ 329502 ./tests/data/lavf/lavf.flv |
|
460 |
++./tests/data/lavf/lavf.flv CRC=0x093a3a19 |
|
461 |
+make: *** [fate-lavf-flv_fmt] Error 1 |
|
462 |
+TEST lavf-gif |
|
463 |
+TEST lavf-gxf |
|
464 |
+TEST lavf-jpg |
|
465 |
+TEST lavf-mkv |
|
466 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/lavf/mkv 2010-10-23 18:46:26.000000000 -0400 |
|
467 |
+@@ -1,3 +1,3 @@ |
|
468 |
+-a36c2d9378b9870880556ced1cb89ecf *./tests/data/lavf/lavf.mkv |
|
469 |
+- 320478 ./tests/data/lavf/lavf.mkv |
|
470 |
+-./tests/data/lavf/lavf.mkv CRC=0x2a83e6b0 |
|
471 |
++ee09475db82261010f837400fab465ee *./tests/data/lavf/lavf.mkv |
|
472 |
++ 321398 ./tests/data/lavf/lavf.mkv |
|
473 |
++./tests/data/lavf/lavf.mkv CRC=0x893290ad |
|
474 |
+make: *** [fate-lavf-mkv] Error 1 |
|
475 |
+TEST lavf-mmf |
|
476 |
+TEST lavf-mov |
|
477 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/lavf/mov 2010-03-09 00:12:36.000000000 -0500 |
|
478 |
+@@ -1,3 +1,3 @@ |
|
479 |
+-c145305a775eb2de43cdf94eb1ab5240 *./tests/data/lavf/lavf.mov |
|
480 |
+-357669 ./tests/data/lavf/lavf.mov |
|
481 |
+-./tests/data/lavf/lavf.mov CRC=0x2f6a9b26 |
|
482 |
++c0905dce1e98f9d1d2b638a5b1540f00 *./tests/data/lavf/lavf.mov |
|
483 |
++ 358589 ./tests/data/lavf/lavf.mov |
|
484 |
++./tests/data/lavf/lavf.mov CRC=0xd6c04523 |
|
485 |
+make: *** [fate-lavf-mov] Error 1 |
|
486 |
+TEST lavf-mpg |
|
487 |
+TEST lavf-mulaw |
|
488 |
+TEST lavf-mxf |
|
489 |
+TEST lavf-nut |
|
490 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/lavf/nut 2010-03-09 00:12:36.000000000 -0500 |
|
491 |
+@@ -1,3 +1,3 @@ |
|
492 |
+-16b9d2cf8effb7dae316c6b9248a49b7 *./tests/data/lavf/lavf.nut |
|
493 |
+-319888 ./tests/data/lavf/lavf.nut |
|
494 |
+-./tests/data/lavf/lavf.nut CRC=0x2a83e6b0 |
|
495 |
++969c60338752e6b9c285676247cd1b72 *./tests/data/lavf/lavf.nut |
|
496 |
++ 320808 ./tests/data/lavf/lavf.nut |
|
497 |
++./tests/data/lavf/lavf.nut CRC=0x893290ad |
|
498 |
+make: *** [fate-lavf-nut] Error 1 |
|
499 |
+TEST lavf-ogg |
|
500 |
+TEST lavf-pbmpipe |
|
501 |
+TEST lavf-pcx |
|
502 |
+TEST lavf-pgm |
|
503 |
+TEST lavf-pgmpipe |
|
504 |
+TEST lavf-pixfmt |
|
505 |
+TEST lavf-png |
|
506 |
+TEST lavf-ppm |
|
507 |
+TEST lavf-ppmpipe |
|
508 |
+TEST lavf-rm |
|
509 |
+TEST lavf-sgi |
|
510 |
+TEST lavf-swf |
|
511 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/lavf/swf 2010-03-09 00:12:36.000000000 -0500 |
|
512 |
+@@ -1,3 +1,3 @@ |
|
513 |
+-62c5aeb636fc82cf6ba6277d36e42cb5 *./tests/data/lavf/lavf.swf |
|
514 |
+-329479 ./tests/data/lavf/lavf.swf |
|
515 |
+-./tests/data/lavf/lavf.swf CRC=0x881785d1 |
|
516 |
++75d9b150f87e1dd8ad8c6c583c85624c *./tests/data/lavf/lavf.swf |
|
517 |
++ 329440 ./tests/data/lavf/lavf.swf |
|
518 |
++./tests/data/lavf/lavf.swf CRC=0x093a3a19 |
|
519 |
+make: *** [fate-lavf-swf] Error 1 |
|
520 |
+TEST lavf-tga |
|
521 |
+TEST lavf-tiff |
|
522 |
+TEST lavf-ts |
|
523 |
+TEST lavf-voc |
|
524 |
+TEST lavf-wav |
|
525 |
+TEST lavf-yuv4mpeg |
|
526 |
+TEST lavfi-crop |
|
527 |
+TEST lavfi-crop_scale |
|
528 |
+TEST lavfi-crop_scale_vflip |
|
529 |
+TEST lavfi-crop_vflip |
|
530 |
+TEST lavfi-null |
|
531 |
+TEST lavfi-pixdesc_le |
|
532 |
+TEST lavfi-pixfmts_copy_le |
|
533 |
+TEST lavfi-pixfmts_crop_le |
|
534 |
+TEST lavfi-pixfmts_hflip_le |
|
535 |
+TEST lavfi-pixfmts_null_le |
|
536 |
+TEST lavfi-pixfmts_pad_le |
|
537 |
+TEST lavfi-pixfmts_scale_le |
|
538 |
+TEST lavfi-pixfmts_vflip_le |
|
539 |
+TEST lavfi-scale200 |
|
540 |
+TEST lavfi-scale500 |
|
541 |
+TEST lavfi-vflip |
|
542 |
+TEST lavfi-vflip_crop |
|
543 |
+TEST lavfi-vflip_vflip |
|
544 |
+make: Target `test' not remade because of errors. |
|
545 |
+TEST 4xm-1 |
|
546 |
+TEST 4xm-2 |
|
547 |
+TEST 8bps |
|
548 |
+TEST aac-demux |
|
549 |
+TEST aasc |
|
550 |
+TEST adpcm-ea-r2 |
|
551 |
+TEST adpcm-ea-r3 |
|
552 |
+TEST aea-demux |
|
553 |
+TEST alg-mm |
|
554 |
+TEST amv |
|
555 |
+TEST armovie-escape124 |
|
556 |
+TEST auravision |
|
557 |
+TEST auravision-v2 |
|
558 |
+TEST bethsoft-vid |
|
559 |
+TEST bfi |
|
560 |
+TEST bink-demux |
|
561 |
+TEST bink-demux-video |
|
562 |
+TEST caf |
|
563 |
+TEST cdgraphics |
|
564 |
+TEST cljr |
|
565 |
+TEST corepng |
|
566 |
+TEST creative-adpcm |
|
567 |
+TEST creative-adpcm-8-2.6bit |
|
568 |
+TEST creative-adpcm-8-2bit |
|
569 |
+TEST creative-adpcm-8-4bit |
|
570 |
+TEST creatureshock-avs |
|
571 |
+TEST cryo-apc |
|
572 |
+TEST cscd |
|
573 |
+TEST cvid |
|
574 |
+TEST cvid-palette |
|
575 |
+TEST cyberia-c93 |
|
576 |
+TEST cyuv |
|
577 |
+TEST d-cinema-demux |
|
578 |
+TEST delphine-cin |
|
579 |
+TEST deluxepaint-anm |
|
580 |
+TEST dpx |
|
581 |
+TEST duck-dk3 |
|
582 |
+TEST duck-dk4 |
|
583 |
+TEST duck-tm2 |
|
584 |
+TEST ea-cdata |
|
585 |
+TEST ea-cmv |
|
586 |
+TEST ea-dct |
|
587 |
+TEST ea-mad-adpcm-ea-r1 |
|
588 |
+TEST ea-mad-pcm-planar |
|
589 |
+TEST ea-tgq |
|
590 |
+TEST ea-tgv-ima-ea-eacs |
|
591 |
+TEST ea-tgv-ima-ea-sead |
|
592 |
+TEST ea-tqi-adpcm |
|
593 |
+TEST ea-vp60 |
|
594 |
+TEST ea-vp61 |
|
595 |
+TEST feeble-dxa |
|
596 |
+TEST film-cvid-pcm-stereo-8bit |
|
597 |
+TEST flic-af11-palette-change |
|
598 |
+TEST flic-af12 |
|
599 |
+TEST flic-magiccarpet |
|
600 |
+TEST fraps-v0 |
|
601 |
+TEST fraps-v1 |
|
602 |
+TEST fraps-v2 |
|
603 |
+TEST fraps-v3 |
|
604 |
+TEST fraps-v4 |
|
605 |
+TEST fraps-v5 |
|
606 |
+TEST frwu |
|
607 |
+TEST funcom-iss |
|
608 |
+TEST id-cin-video |
|
609 |
+TEST idroq-video-dpcm |
|
610 |
+TEST idroq-video-encode |
|
611 |
+TEST iff-byterun1 |
|
612 |
+TEST iff-fibonacci |
|
613 |
+TEST iff-ilbm |
|
614 |
+TEST iff-pcm |
|
615 |
+TEST indeo2 |
|
616 |
+TEST indeo3 |
|
617 |
+TEST indeo5 |
|
618 |
+TEST interplay-mve-16bit |
|
619 |
+TEST interplay-mve-8bit |
|
620 |
+TEST iv8-demux |
|
621 |
+TEST kmvc |
|
622 |
+TEST lmlm4-demux |
|
623 |
+TEST loco-rgb |
|
624 |
+TEST loco-yuy2 |
|
625 |
+TEST lossless-appleaudio |
|
626 |
+TEST lossless-meridianaudio |
|
627 |
+TEST lossless-monkeysaudio |
|
628 |
+TEST lossless-shortenaudio |
|
629 |
+TEST lossless-tta |
|
630 |
+TEST lossless-wavpackaudio |
|
631 |
+TEST maxis-xa |
|
632 |
+TEST mimic |
|
633 |
+TEST motionpixels |
|
634 |
+TEST mpc7-demux |
|
635 |
+TEST mpc8-demux |
|
636 |
+TEST msrle-8bit |
|
637 |
+TEST msvideo1-16bit |
|
638 |
+TEST msvideo1-8bit |
|
639 |
+TEST mszh |
|
640 |
+TEST mtv |
|
641 |
+TEST mxf-demux |
|
642 |
+TEST nc-demux |
|
643 |
+TEST nsv-demux |
|
644 |
+TEST nuv |
|
645 |
+TEST oma-demux |
|
646 |
+TEST pcm_dvd |
|
647 |
+TEST psx-str |
|
648 |
+TEST psx-str-v3 |
|
649 |
+TEST ptx |
|
650 |
+TEST pva-demux |
|
651 |
+TEST qcp-demux |
|
652 |
+TEST qpeg |
|
653 |
+TEST qt-alaw-mono |
|
654 |
+TEST qt-alaw-stereo |
|
655 |
+TEST qt-ima4-mono |
|
656 |
+TEST qt-ima4-stereo |
|
657 |
+TEST qt-mac3-mono |
|
658 |
+TEST qt-mac3-stereo |
|
659 |
+TEST qt-mac6-mono |
|
660 |
+TEST qt-mac6-stereo |
|
661 |
+TEST qt-msadpcm-stereo |
|
662 |
+TEST qt-msimaadpcm-stereo |
|
663 |
+TEST qt-rawpcm-16bit-stereo-signed-be |
|
664 |
+TEST qt-rawpcm-16bit-stereo-signed-le |
|
665 |
+TEST qt-rawpcm-8bit-mono-unsigned |
|
666 |
+TEST qt-rawpcm-8bit-stereo-unsigned |
|
667 |
+TEST qt-ulaw-mono |
|
668 |
+TEST qt-ulaw-stereo |
|
669 |
+TEST qtrle-16bit |
|
670 |
+TEST qtrle-1bit |
|
671 |
+TEST qtrle-24bit |
|
672 |
+TEST qtrle-2bit |
|
673 |
+TEST qtrle-32bit |
|
674 |
+TEST qtrle-4bit |
|
675 |
+TEST qtrle-8bit |
|
676 |
+TEST quickdraw |
|
677 |
+TEST real-14_4 |
|
678 |
+TEST real-rv40 |
|
679 |
+TEST redcode-demux |
|
680 |
+TEST rl2 |
|
681 |
+TEST rpza |
|
682 |
+TEST sierra-audio |
|
683 |
+TEST sierra-vmd |
|
684 |
+TEST siff |
|
685 |
+TEST smacker |
|
686 |
+TEST smc |
|
687 |
+TEST sp5x |
|
688 |
+TEST sub-srt |
|
689 |
+TEST sunraster-1bit-raw |
|
690 |
+TEST sunraster-1bit-rle |
|
691 |
+TEST sunraster-24bit-raw |
|
692 |
+TEST sunraster-24bit-rle |
|
693 |
+TEST sunraster-8bit-raw |
|
694 |
+TEST sunraster-8bit-rle |
|
695 |
+TEST svq1 |
|
696 |
+TEST svq3 |
|
697 |
+TEST thp-mjpeg-adpcm |
|
698 |
+TEST tiertex-seq |
|
699 |
+TEST tmv |
|
700 |
+TEST truemotion1-15 |
|
701 |
+TEST truemotion1-24 |
|
702 |
+TEST tscc-15bit |
|
703 |
+TEST tscc-32bit |
|
704 |
+TEST ulti |
|
705 |
+TEST v210 |
|
706 |
+TEST vc1 |
|
707 |
+TEST vcr1 |
|
708 |
+TEST video-xl |
|
709 |
+TEST vmnc-16bit |
|
710 |
+TEST vmnc-32bit |
|
711 |
+TEST vp5 |
|
712 |
+TEST vp6a |
|
713 |
+TEST vp6f |
|
714 |
+TEST vqa-cc |
|
715 |
+TEST vqf-demux |
|
716 |
+TEST w64 |
|
717 |
+TEST wc3movie-xan |
|
718 |
+TEST westwood-aud |
|
719 |
+TEST wnv1 |
|
720 |
+TEST xan-dpcm |
|
721 |
+TEST zlib |
|
722 |
+TEST zmbv-15bit |
|
723 |
+TEST zmbv-16bit |
|
724 |
+TEST zmbv-32bit |
|
725 |
+TEST zmbv-8bit |
|
726 |
+TEST twinvq |
|
727 |
+TEST sipr-16k |
|
728 |
+TEST sipr-8k5 |
|
729 |
+TEST sipr-6k5 |
|
730 |
+TEST sipr-5k0 |
|
731 |
+TEST ra-288 |
|
732 |
+TEST ra-cook |
|
733 |
+TEST mpeg2-field-enc |
|
734 |
+TEST qcelp |
|
735 |
+TEST qdm2 |
|
736 |
+TEST imc |
|
737 |
+TEST yop |
|
738 |
+TEST pictor |
|
739 |
+TEST dts |
|
740 |
+TEST nellymoser |
|
741 |
+TEST truespeech |
|
742 |
+TEST ac3-2.0 |
|
743 |
+TEST ac3-5.1 |
|
744 |
+TEST eac3-1 |
|
745 |
+TEST eac3-2 |
|
746 |
+TEST eac3-3 |
|
747 |
+TEST eac3-4 |
|
748 |
+TEST atrac1 |
|
749 |
+TEST atrac3-1 |
|
750 |
+TEST atrac3-2 |
|
751 |
+TEST atrac3-3 |
|
752 |
+TEST gsm |
|
753 |
+TEST gsm-ms |
|
754 |
+TEST g722dec-1 |
|
755 |
+TEST msmpeg4v1 |
|
756 |
+TEST wmavoice-7k |
|
757 |
+TEST wmavoice-11k |
|
758 |
+TEST wmavoice-19k |
|
759 |
+TEST wmapro-5.1 |
|
760 |
+TEST wmapro-2ch |
|
761 |
+TEST ansi |
|
762 |
+TEST wmv8-drm |
|
763 |
+TEST wmv8-drm-nodec |
|
764 |
+TEST binkaudio-dct |
|
765 |
+TEST binkaudio-rdft |
|
766 |
+TEST txd-pal8 |
|
767 |
+TEST txd-16bpp |
|
768 |
+TEST vp3 |
|
769 |
+TEST fax-g3 |
|
770 |
+TEST fax-g3s |
|
771 |
+TEST ws_snd |
|
772 |
+TEST dxa-scummvm |
|
773 |
+TEST mjpegb |
|
774 |
+TEST rv30 |
|
775 |
+TEST sha |
|
776 |
+TEST musepack7 |
|
777 |
+TEST amrnb-4k75 |
|
778 |
+TEST amrnb-5k15 |
|
779 |
+TEST amrnb-5k9 |
|
780 |
+TEST amrnb-6k7 |
|
781 |
+TEST amrnb-7k4 |
|
782 |
+TEST amrnb-7k95 |
|
783 |
+TEST amrnb-10k2 |
|
784 |
+TEST amrnb-12k2 |
|
785 |
+TEST amrwb-6k60 |
|
786 |
+TEST amrwb-8k85 |
|
787 |
+TEST amrwb-12k65 |
|
788 |
+TEST amrwb-14k25 |
|
789 |
+TEST amrwb-15k85 |
|
790 |
+TEST amrwb-18k25 |
|
791 |
+TEST amrwb-19k85 |
|
792 |
+TEST amrwb-23k05 |
|
793 |
+TEST amrwb-23k85 |
|
794 |
+TEST amrwb-23k85-2 |
|
795 |
+TEST aac-al04_44 |
|
796 |
+TEST aac-al07_96 |
|
797 |
+TEST aac-am00_88 |
|
798 |
+TEST aac-al_sbr_hq_cm_48_2 |
|
799 |
+TEST aac-al_sbr_ps_06_ur |
|
800 |
+TEST mpeg4-als-conformance-00 |
|
801 |
+TEST mpeg4-als-conformance-01 |
|
802 |
+TEST mpeg4-als-conformance-02 |
|
803 |
+TEST mpeg4-als-conformance-03 |
|
804 |
+TEST mpeg4-als-conformance-04 |
|
805 |
+TEST mpeg4-als-conformance-05 |
|
806 |
+TEST fft |
|
807 |
+TEST ifft |
|
808 |
+TEST mdct |
|
809 |
+TEST imdct |
|
810 |
+TEST rdft |
|
811 |
+TEST irdft |
|
812 |
+TEST dct1d |
|
813 |
+TEST idct1d |
|
814 |
+TEST h264-conformance-aud_mw_e |
|
815 |
+TEST h264-conformance-ba1_ft_c |
|
816 |
+TEST h264-conformance-ba1_sony_d |
|
817 |
+TEST h264-conformance-ba2_sony_f |
|
818 |
+TEST h264-conformance-ba3_sva_c |
|
819 |
+TEST h264-conformance-ba_mw_d |
|
820 |
+TEST h264-conformance-bamq1_jvc_c |
|
821 |
+TEST h264-conformance-bamq2_jvc_c |
|
822 |
+TEST h264-conformance-banm_mw_d |
|
823 |
+TEST h264-conformance-basqp1_sony_c |
|
824 |
+TEST h264-conformance-caba1_sony_d |
|
825 |
+TEST h264-conformance-caba1_sva_b |
|
826 |
+TEST h264-conformance-caba2_sony_e |
|
827 |
+TEST h264-conformance-caba2_sva_b |
|
828 |
+TEST h264-conformance-caba3_sony_c |
|
829 |
+TEST h264-conformance-caba3_sva_b |
|
830 |
+TEST h264-conformance-caba3_toshiba_e |
|
831 |
+TEST h264-conformance-cabac_mot_fld0_full |
|
832 |
+TEST h264-conformance-cabac_mot_frm0_full |
|
833 |
+TEST h264-conformance-cabac_mot_mbaff0_full |
|
834 |
+TEST h264-conformance-cabac_mot_picaff0_full |
|
835 |
+TEST h264-conformance-cabaci3_sony_b |
|
836 |
+TEST h264-conformance-cabast3_sony_e |
|
837 |
+TEST h264-conformance-cabastbr3_sony_b |
|
838 |
+TEST h264-conformance-cabref3_sand_d |
|
839 |
+TEST h264-conformance-cacqp3_sony_d |
|
840 |
+TEST h264-conformance-cafi1_sva_c |
|
841 |
+TEST h264-conformance-cama1_sony_c |
|
842 |
+TEST h264-conformance-cama1_toshiba_b |
|
843 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-cama1_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
844 |
+@@ -1,90 +1,88 @@ |
|
845 |
+-0, 0, 152064, 0x9a9ce366 |
|
846 |
+-0, 3600, 152064, 0xf4639828 |
|
847 |
+-0, 7200, 152064, 0x625024a3 |
|
848 |
+-0, 10800, 152064, 0x80dc2f9d |
|
849 |
+-0, 14400, 152064, 0xb2c4feea |
|
850 |
+-0, 18000, 152064, 0x4ec6ad64 |
|
851 |
+-0, 21600, 152064, 0x1957bec3 |
|
852 |
+-0, 25200, 152064, 0xb682799d |
|
853 |
+-0, 28800, 152064, 0x34cd2053 |
|
854 |
+-0, 32400, 152064, 0x81490b4c |
|
855 |
+-0, 36000, 152064, 0x242dc943 |
|
856 |
+-0, 39600, 152064, 0x3e126734 |
|
857 |
+-0, 43200, 152064, 0x8e474ff8 |
|
858 |
+-0, 46800, 152064, 0x239d2fbd |
|
859 |
+-0, 50400, 152064, 0x0ca3e16f |
|
860 |
+-0, 54000, 152064, 0x6161d7c2 |
|
861 |
+-0, 57600, 152064, 0xca7ad1af |
|
862 |
+-0, 61200, 152064, 0xf8ef9026 |
|
863 |
+-0, 64800, 152064, 0x01f2f4c1 |
|
864 |
+-0, 68400, 152064, 0x510b19ec |
|
865 |
+-0, 72000, 152064, 0xe489028b |
|
866 |
+-0, 75600, 152064, 0x7a693c1e |
|
867 |
+-0, 79200, 152064, 0x276b23fe |
|
868 |
+-0, 82800, 152064, 0x0e9ced3a |
|
869 |
+-0, 86400, 152064, 0x658228f7 |
|
870 |
+-0, 90000, 152064, 0x6a271bc3 |
|
871 |
+-0, 93600, 152064, 0x431ecd8b |
|
872 |
+-0, 97200, 152064, 0x23a5ed14 |
|
873 |
+-0, 100800, 152064, 0x76fbe121 |
|
874 |
+-0, 104400, 152064, 0x471f919d |
|
875 |
+-0, 108000, 152064, 0x16bfabbc |
|
876 |
+-0, 111600, 152064, 0x0762993f |
|
877 |
+-0, 115200, 152064, 0x5a2b0b0e |
|
878 |
+-0, 118800, 152064, 0x81415ef7 |
|
879 |
+-0, 122400, 152064, 0xb96e4164 |
|
880 |
+-0, 126000, 152064, 0xf77aee83 |
|
881 |
+-0, 129600, 152064, 0x6af81633 |
|
882 |
+-0, 133200, 152064, 0xed78e5b5 |
|
883 |
+-0, 136800, 152064, 0x67e38e2c |
|
884 |
+-0, 140400, 152064, 0x0417ae01 |
|
885 |
+-0, 144000, 152064, 0x3887b312 |
|
886 |
+-0, 147600, 152064, 0x3a4b70fb |
|
887 |
+-0, 151200, 152064, 0xcaae9e7f |
|
888 |
+-0, 154800, 152064, 0xaf9597be |
|
889 |
+-0, 158400, 152064, 0x9bae63d3 |
|
890 |
+-0, 162000, 152064, 0x0e80825f |
|
891 |
+-0, 165600, 152064, 0x915661fd |
|
892 |
+-0, 169200, 152064, 0x67d3dc94 |
|
893 |
+-0, 172800, 152064, 0x3dcf240c |
|
894 |
+-0, 176400, 152064, 0x127ff832 |
|
895 |
+-0, 180000, 152064, 0xc8969981 |
|
896 |
+-0, 183600, 152064, 0x57179c77 |
|
897 |
+-0, 187200, 152064, 0x9f88656c |
|
898 |
+-0, 190800, 152064, 0xc28ff5d3 |
|
899 |
+-0, 194400, 152064, 0xf100fad9 |
|
900 |
+-0, 198000, 152064, 0xb570ce12 |
|
901 |
+-0, 201600, 152064, 0xe8f28955 |
|
902 |
+-0, 205200, 152064, 0x1f0a9549 |
|
903 |
+-0, 208800, 152064, 0x22b17e9b |
|
904 |
+-0, 212400, 152064, 0x7cf1400e |
|
905 |
+-0, 216000, 152064, 0xafd273b7 |
|
906 |
+-0, 219600, 152064, 0xeb9b712e |
|
907 |
+-0, 223200, 152064, 0x0f81de24 |
|
908 |
+-0, 226800, 152064, 0x8f4e1953 |
|
909 |
+-0, 230400, 152064, 0x682e2170 |
|
910 |
+-0, 234000, 152064, 0xc32ad1b2 |
|
911 |
+-0, 237600, 152064, 0x53a81d79 |
|
912 |
+-0, 241200, 152064, 0x54002596 |
|
913 |
+-0, 244800, 152064, 0x4b5fdbd9 |
|
914 |
+-0, 248400, 152064, 0x96613368 |
|
915 |
+-0, 252000, 152064, 0xd6ac0171 |
|
916 |
+-0, 255600, 152064, 0xf1c1b7b7 |
|
917 |
+-0, 259200, 152064, 0xc730d82f |
|
918 |
+-0, 262800, 152064, 0x0415d934 |
|
919 |
+-0, 266400, 152064, 0x5338915e |
|
920 |
+-0, 270000, 152064, 0x8e9dda6d |
|
921 |
+-0, 273600, 152064, 0xe3a8b0a0 |
|
922 |
+-0, 277200, 152064, 0x5fa36e44 |
|
923 |
+-0, 280800, 152064, 0x0e63dc72 |
|
924 |
+-0, 284400, 152064, 0xd0dad71f |
|
925 |
+-0, 288000, 152064, 0x0c4aac94 |
|
926 |
+-0, 291600, 152064, 0x60d50e8d |
|
927 |
+-0, 295200, 152064, 0x96872d7c |
|
928 |
+-0, 298800, 152064, 0x4fcefc33 |
|
929 |
+-0, 302400, 152064, 0x6b8157c9 |
|
930 |
+-0, 306000, 152064, 0xa40d527d |
|
931 |
+-0, 309600, 152064, 0x9884480a |
|
932 |
+-0, 313200, 152064, 0xff5d9754 |
|
933 |
+-0, 316800, 152064, 0x4a26a74d |
|
934 |
+-0, 320400, 152064, 0x81059e82 |
|
935 |
++0, 0, 152064, 0x625024a3 |
|
936 |
++0, 3600, 152064, 0x80dc2f9d |
|
937 |
++0, 7200, 152064, 0xb2c4feea |
|
938 |
++0, 10800, 152064, 0x4ec6ad64 |
|
939 |
++0, 14400, 152064, 0x1957bec3 |
|
940 |
++0, 18000, 152064, 0xb682799d |
|
941 |
++0, 21600, 152064, 0x34cd2053 |
|
942 |
++0, 25200, 152064, 0x81490b4c |
|
943 |
++0, 28800, 152064, 0x242dc943 |
|
944 |
++0, 32400, 152064, 0x3e126734 |
|
945 |
++0, 36000, 152064, 0x8e474ff8 |
|
946 |
++0, 39600, 152064, 0x239d2fbd |
|
947 |
++0, 43200, 152064, 0x0ca3e16f |
|
948 |
++0, 46800, 152064, 0x6161d7c2 |
|
949 |
++0, 50400, 152064, 0xca7ad1af |
|
950 |
++0, 54000, 152064, 0xf8ef9026 |
|
951 |
++0, 57600, 152064, 0x01f2f4c1 |
|
952 |
++0, 61200, 152064, 0x510b19ec |
|
953 |
++0, 64800, 152064, 0xe489028b |
|
954 |
++0, 68400, 152064, 0x7a693c1e |
|
955 |
++0, 72000, 152064, 0x276b23fe |
|
956 |
++0, 75600, 152064, 0x0e9ced3a |
|
957 |
++0, 79200, 152064, 0x658228f7 |
|
958 |
++0, 82800, 152064, 0x6a271bc3 |
|
959 |
++0, 86400, 152064, 0x431ecd8b |
|
960 |
++0, 90000, 152064, 0x23a5ed14 |
|
961 |
++0, 93600, 152064, 0x76fbe121 |
|
962 |
++0, 97200, 152064, 0x471f919d |
|
963 |
++0, 100800, 152064, 0x16bfabbc |
|
964 |
++0, 104400, 152064, 0x0762993f |
|
965 |
++0, 108000, 152064, 0x5a2b0b0e |
|
966 |
++0, 111600, 152064, 0x81415ef7 |
|
967 |
++0, 115200, 152064, 0xb96e4164 |
|
968 |
++0, 118800, 152064, 0xf77aee83 |
|
969 |
++0, 122400, 152064, 0x6af81633 |
|
970 |
++0, 126000, 152064, 0xed78e5b5 |
|
971 |
++0, 129600, 152064, 0x67e38e2c |
|
972 |
++0, 133200, 152064, 0x0417ae01 |
|
973 |
++0, 136800, 152064, 0x3887b312 |
|
974 |
++0, 140400, 152064, 0x3a4b70fb |
|
975 |
++0, 144000, 152064, 0xcaae9e7f |
|
976 |
++0, 147600, 152064, 0xaf9597be |
|
977 |
++0, 151200, 152064, 0x9bae63d3 |
|
978 |
++0, 154800, 152064, 0x0e80825f |
|
979 |
++0, 158400, 152064, 0x915661fd |
|
980 |
++0, 162000, 152064, 0x67d3dc94 |
|
981 |
++0, 165600, 152064, 0x3dcf240c |
|
982 |
++0, 169200, 152064, 0x127ff832 |
|
983 |
++0, 172800, 152064, 0xc8969981 |
|
984 |
++0, 176400, 152064, 0x57179c77 |
|
985 |
++0, 180000, 152064, 0x9f88656c |
|
986 |
++0, 183600, 152064, 0xc28ff5d3 |
|
987 |
++0, 187200, 152064, 0xf100fad9 |
|
988 |
++0, 190800, 152064, 0xb570ce12 |
|
989 |
++0, 194400, 152064, 0xe8f28955 |
|
990 |
++0, 198000, 152064, 0x1f0a9549 |
|
991 |
++0, 201600, 152064, 0x22b17e9b |
|
992 |
++0, 205200, 152064, 0x7cf1400e |
|
993 |
++0, 208800, 152064, 0xafd273b7 |
|
994 |
++0, 212400, 152064, 0xeb9b712e |
|
995 |
++0, 216000, 152064, 0x0f81de24 |
|
996 |
++0, 219600, 152064, 0x8f4e1953 |
|
997 |
++0, 223200, 152064, 0x682e2170 |
|
998 |
++0, 226800, 152064, 0xc32ad1b2 |
|
999 |
++0, 230400, 152064, 0x53a81d79 |
|
1000 |
++0, 234000, 152064, 0x54002596 |
|
1001 |
++0, 237600, 152064, 0x4b5fdbd9 |
|
1002 |
++0, 241200, 152064, 0x96613368 |
|
1003 |
++0, 244800, 152064, 0xd6ac0171 |
|
1004 |
++0, 248400, 152064, 0xf1c1b7b7 |
|
1005 |
++0, 252000, 152064, 0xc730d82f |
|
1006 |
++0, 255600, 152064, 0x0415d934 |
|
1007 |
++0, 259200, 152064, 0x5338915e |
|
1008 |
++0, 262800, 152064, 0x8e9dda6d |
|
1009 |
++0, 266400, 152064, 0xe3a8b0a0 |
|
1010 |
++0, 270000, 152064, 0x5fa36e44 |
|
1011 |
++0, 273600, 152064, 0x0e63dc72 |
|
1012 |
++0, 277200, 152064, 0xd0dad71f |
|
1013 |
++0, 280800, 152064, 0x0c4aac94 |
|
1014 |
++0, 284400, 152064, 0x60d50e8d |
|
1015 |
++0, 288000, 152064, 0x96872d7c |
|
1016 |
++0, 291600, 152064, 0x4fcefc33 |
|
1017 |
++0, 295200, 152064, 0x6b8157c9 |
|
1018 |
++0, 298800, 152064, 0xa40d527d |
|
1019 |
++0, 302400, 152064, 0x9884480a |
|
1020 |
++0, 306000, 152064, 0xff5d9754 |
|
1021 |
++0, 309600, 152064, 0x4a26a74d |
|
1022 |
++0, 313200, 152064, 0x81059e82 |
|
1023 |
+make: *** [fate-h264-conformance-cama1_toshiba_b] Error 1 |
|
1024 |
+TEST h264-conformance-cama1_vtc_c |
|
1025 |
+TEST h264-conformance-cama2_vtc_b |
|
1026 |
+TEST h264-conformance-cama3_sand_e |
|
1027 |
+TEST h264-conformance-cama3_vtc_b |
|
1028 |
+TEST h264-conformance-camaci3_sony_c |
|
1029 |
+TEST h264-conformance-camanl1_toshiba_b |
|
1030 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-camanl1_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
1031 |
+@@ -1,90 +1,88 @@ |
|
1032 |
+-0, 0, 152064, 0xb1edd842 |
|
1033 |
+-0, 3600, 152064, 0x551f8f45 |
|
1034 |
+-0, 7200, 152064, 0xb4931cb2 |
|
1035 |
+-0, 10800, 152064, 0x78882b27 |
|
1036 |
+-0, 14400, 152064, 0x3afef36d |
|
1037 |
+-0, 18000, 152064, 0x85afad0a |
|
1038 |
+-0, 21600, 152064, 0x3a8bab81 |
|
1039 |
+-0, 25200, 152064, 0x2a437174 |
|
1040 |
+-0, 28800, 152064, 0x22421437 |
|
1041 |
+-0, 32400, 152064, 0x39c5f125 |
|
1042 |
+-0, 36000, 152064, 0x256eaad2 |
|
1043 |
+-0, 39600, 152064, 0x668a5d31 |
|
1044 |
+-0, 43200, 152064, 0x412a4aa7 |
|
1045 |
+-0, 46800, 152064, 0x3f091baf |
|
1046 |
+-0, 50400, 152064, 0xbf16d262 |
|
1047 |
+-0, 54000, 152064, 0x2fc4ce67 |
|
1048 |
+-0, 57600, 152064, 0x119cde3e |
|
1049 |
+-0, 61200, 152064, 0xb40b8632 |
|
1050 |
+-0, 64800, 152064, 0x4be4f192 |
|
1051 |
+-0, 68400, 152064, 0x906c1237 |
|
1052 |
+-0, 72000, 152064, 0x95380024 |
|
1053 |
+-0, 75600, 152064, 0x6a833025 |
|
1054 |
+-0, 79200, 152064, 0x681d1c4f |
|
1055 |
+-0, 82800, 152064, 0x08c8dea4 |
|
1056 |
+-0, 86400, 152064, 0xc69226f0 |
|
1057 |
+-0, 90000, 152064, 0x86631102 |
|
1058 |
+-0, 93600, 152064, 0x7f40c77a |
|
1059 |
+-0, 97200, 152064, 0xc746ddd4 |
|
1060 |
+-0, 100800, 152064, 0x5f2bd3cb |
|
1061 |
+-0, 104400, 152064, 0x643c8316 |
|
1062 |
+-0, 108000, 152064, 0x5b7fa380 |
|
1063 |
+-0, 111600, 152064, 0x82438cf7 |
|
1064 |
+-0, 115200, 152064, 0xdee0f7e7 |
|
1065 |
+-0, 118800, 152064, 0xc50d41f1 |
|
1066 |
+-0, 122400, 152064, 0xf3453631 |
|
1067 |
+-0, 126000, 152064, 0x90bce66b |
|
1068 |
+-0, 129600, 152064, 0x045b03f7 |
|
1069 |
+-0, 133200, 152064, 0xf64bd756 |
|
1070 |
+-0, 136800, 152064, 0xff997ef2 |
|
1071 |
+-0, 140400, 152064, 0x3613a0a5 |
|
1072 |
+-0, 144000, 152064, 0xe6a7a8d6 |
|
1073 |
+-0, 147600, 152064, 0xb0906c42 |
|
1074 |
+-0, 151200, 152064, 0x4dfc912b |
|
1075 |
+-0, 154800, 152064, 0x81e3991c |
|
1076 |
+-0, 158400, 152064, 0x4efc61fb |
|
1077 |
+-0, 162000, 152064, 0xed478395 |
|
1078 |
+-0, 165600, 152064, 0x4cb25ab6 |
|
1079 |
+-0, 169200, 152064, 0x28e7d51f |
|
1080 |
+-0, 172800, 152064, 0x8bcc1a8d |
|
1081 |
+-0, 176400, 152064, 0x2fe1f240 |
|
1082 |
+-0, 180000, 152064, 0xb4978ef8 |
|
1083 |
+-0, 183600, 152064, 0xe3929556 |
|
1084 |
+-0, 187200, 152064, 0xd370632a |
|
1085 |
+-0, 190800, 152064, 0xba86ffb2 |
|
1086 |
+-0, 194400, 152064, 0x444bf18c |
|
1087 |
+-0, 198000, 152064, 0xab40bd14 |
|
1088 |
+-0, 201600, 152064, 0xfd488a5d |
|
1089 |
+-0, 205200, 152064, 0xe1f09568 |
|
1090 |
+-0, 208800, 152064, 0x09ee7a7e |
|
1091 |
+-0, 212400, 152064, 0x9360397c |
|
1092 |
+-0, 216000, 152064, 0xdbd467e9 |
|
1093 |
+-0, 219600, 152064, 0x99726777 |
|
1094 |
+-0, 223200, 152064, 0x009fd46c |
|
1095 |
+-0, 226800, 152064, 0xcf770fdb |
|
1096 |
+-0, 230400, 152064, 0x2a890fd9 |
|
1097 |
+-0, 234000, 152064, 0x7f40de4b |
|
1098 |
+-0, 237600, 152064, 0x04191304 |
|
1099 |
+-0, 241200, 152064, 0x15722022 |
|
1100 |
+-0, 244800, 152064, 0x59f4ea93 |
|
1101 |
+-0, 248400, 152064, 0x28ba373f |
|
1102 |
+-0, 252000, 152064, 0xf9e400b8 |
|
1103 |
+-0, 255600, 152064, 0x85c4bd98 |
|
1104 |
+-0, 259200, 152064, 0x6917d2a5 |
|
1105 |
+-0, 262800, 152064, 0x61cae234 |
|
1106 |
+-0, 266400, 152064, 0x752a9a2d |
|
1107 |
+-0, 270000, 152064, 0x1ee2d9bd |
|
1108 |
+-0, 273600, 152064, 0xdce9ab8e |
|
1109 |
+-0, 277200, 152064, 0x51225fd0 |
|
1110 |
+-0, 280800, 152064, 0x10e8cb60 |
|
1111 |
+-0, 284400, 152064, 0x8d07cd25 |
|
1112 |
+-0, 288000, 152064, 0xb18ba61b |
|
1113 |
+-0, 291600, 152064, 0xb0f10280 |
|
1114 |
+-0, 295200, 152064, 0x76a71f13 |
|
1115 |
+-0, 298800, 152064, 0x3004f5a1 |
|
1116 |
+-0, 302400, 152064, 0x9aba5724 |
|
1117 |
+-0, 306000, 152064, 0x5db85385 |
|
1118 |
+-0, 309600, 152064, 0xbe9d3f5b |
|
1119 |
+-0, 313200, 152064, 0xa71e85bb |
|
1120 |
+-0, 316800, 152064, 0xdcf59cd7 |
|
1121 |
+-0, 320400, 152064, 0x5e319459 |
|
1122 |
++0, 0, 152064, 0xb4931cb2 |
|
1123 |
++0, 3600, 152064, 0x78882b27 |
|
1124 |
++0, 7200, 152064, 0x3afef36d |
|
1125 |
++0, 10800, 152064, 0x85afad0a |
|
1126 |
++0, 14400, 152064, 0x3a8bab81 |
|
1127 |
++0, 18000, 152064, 0x2a437174 |
|
1128 |
++0, 21600, 152064, 0x22421437 |
|
1129 |
++0, 25200, 152064, 0x39c5f125 |
|
1130 |
++0, 28800, 152064, 0x256eaad2 |
|
1131 |
++0, 32400, 152064, 0x668a5d31 |
|
1132 |
++0, 36000, 152064, 0x412a4aa7 |
|
1133 |
++0, 39600, 152064, 0x3f091baf |
|
1134 |
++0, 43200, 152064, 0xbf16d262 |
|
1135 |
++0, 46800, 152064, 0x2fc4ce67 |
|
1136 |
++0, 50400, 152064, 0x119cde3e |
|
1137 |
++0, 54000, 152064, 0xb40b8632 |
|
1138 |
++0, 57600, 152064, 0x4be4f192 |
|
1139 |
++0, 61200, 152064, 0x906c1237 |
|
1140 |
++0, 64800, 152064, 0x95380024 |
|
1141 |
++0, 68400, 152064, 0x6a833025 |
|
1142 |
++0, 72000, 152064, 0x681d1c4f |
|
1143 |
++0, 75600, 152064, 0x08c8dea4 |
|
1144 |
++0, 79200, 152064, 0xc69226f0 |
|
1145 |
++0, 82800, 152064, 0x86631102 |
|
1146 |
++0, 86400, 152064, 0x7f40c77a |
|
1147 |
++0, 90000, 152064, 0xc746ddd4 |
|
1148 |
++0, 93600, 152064, 0x5f2bd3cb |
|
1149 |
++0, 97200, 152064, 0x643c8316 |
|
1150 |
++0, 100800, 152064, 0x5b7fa380 |
|
1151 |
++0, 104400, 152064, 0x82438cf7 |
|
1152 |
++0, 108000, 152064, 0xdee0f7e7 |
|
1153 |
++0, 111600, 152064, 0xc50d41f1 |
|
1154 |
++0, 115200, 152064, 0xf3453631 |
|
1155 |
++0, 118800, 152064, 0x90bce66b |
|
1156 |
++0, 122400, 152064, 0x045b03f7 |
|
1157 |
++0, 126000, 152064, 0xf64bd756 |
|
1158 |
++0, 129600, 152064, 0xff997ef2 |
|
1159 |
++0, 133200, 152064, 0x3613a0a5 |
|
1160 |
++0, 136800, 152064, 0xe6a7a8d6 |
|
1161 |
++0, 140400, 152064, 0xb0906c42 |
|
1162 |
++0, 144000, 152064, 0x4dfc912b |
|
1163 |
++0, 147600, 152064, 0x81e3991c |
|
1164 |
++0, 151200, 152064, 0x4efc61fb |
|
1165 |
++0, 154800, 152064, 0xed478395 |
|
1166 |
++0, 158400, 152064, 0x4cb25ab6 |
|
1167 |
++0, 162000, 152064, 0x28e7d51f |
|
1168 |
++0, 165600, 152064, 0x8bcc1a8d |
|
1169 |
++0, 169200, 152064, 0x2fe1f240 |
|
1170 |
++0, 172800, 152064, 0xb4978ef8 |
|
1171 |
++0, 176400, 152064, 0xe3929556 |
|
1172 |
++0, 180000, 152064, 0xd370632a |
|
1173 |
++0, 183600, 152064, 0xba86ffb2 |
|
1174 |
++0, 187200, 152064, 0x444bf18c |
|
1175 |
++0, 190800, 152064, 0xab40bd14 |
|
1176 |
++0, 194400, 152064, 0xfd488a5d |
|
1177 |
++0, 198000, 152064, 0xe1f09568 |
|
1178 |
++0, 201600, 152064, 0x09ee7a7e |
|
1179 |
++0, 205200, 152064, 0x9360397c |
|
1180 |
++0, 208800, 152064, 0xdbd467e9 |
|
1181 |
++0, 212400, 152064, 0x99726777 |
|
1182 |
++0, 216000, 152064, 0x009fd46c |
|
1183 |
++0, 219600, 152064, 0xcf770fdb |
|
1184 |
++0, 223200, 152064, 0x2a890fd9 |
|
1185 |
++0, 226800, 152064, 0x7f40de4b |
|
1186 |
++0, 230400, 152064, 0x04191304 |
|
1187 |
++0, 234000, 152064, 0x15722022 |
|
1188 |
++0, 237600, 152064, 0x59f4ea93 |
|
1189 |
++0, 241200, 152064, 0x28ba373f |
|
1190 |
++0, 244800, 152064, 0xf9e400b8 |
|
1191 |
++0, 248400, 152064, 0x85c4bd98 |
|
1192 |
++0, 252000, 152064, 0x6917d2a5 |
|
1193 |
++0, 255600, 152064, 0x61cae234 |
|
1194 |
++0, 259200, 152064, 0x752a9a2d |
|
1195 |
++0, 262800, 152064, 0x1ee2d9bd |
|
1196 |
++0, 266400, 152064, 0xdce9ab8e |
|
1197 |
++0, 270000, 152064, 0x51225fd0 |
|
1198 |
++0, 273600, 152064, 0x10e8cb60 |
|
1199 |
++0, 277200, 152064, 0x8d07cd25 |
|
1200 |
++0, 280800, 152064, 0xb18ba61b |
|
1201 |
++0, 284400, 152064, 0xb0f10280 |
|
1202 |
++0, 288000, 152064, 0x76a71f13 |
|
1203 |
++0, 291600, 152064, 0x3004f5a1 |
|
1204 |
++0, 295200, 152064, 0x9aba5724 |
|
1205 |
++0, 298800, 152064, 0x5db85385 |
|
1206 |
++0, 302400, 152064, 0xbe9d3f5b |
|
1207 |
++0, 306000, 152064, 0xa71e85bb |
|
1208 |
++0, 309600, 152064, 0xdcf59cd7 |
|
1209 |
++0, 313200, 152064, 0x5e319459 |
|
1210 |
+make: *** [fate-h264-conformance-camanl1_toshiba_b] Error 1 |
|
1211 |
+TEST h264-conformance-camanl2_toshiba_b |
|
1212 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-camanl2_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
1213 |
+@@ -1,90 +1,88 @@ |
|
1214 |
+-0, 0, 152064, 0xb1edd842 |
|
1215 |
+-0, 3600, 152064, 0x551f8f45 |
|
1216 |
+-0, 7200, 152064, 0xb4931cb2 |
|
1217 |
+-0, 10800, 152064, 0x5f352e98 |
|
1218 |
+-0, 14400, 152064, 0xeba5fe28 |
|
1219 |
+-0, 18000, 152064, 0x85afad0a |
|
1220 |
+-0, 21600, 152064, 0x1120b6a4 |
|
1221 |
+-0, 25200, 152064, 0x67506e16 |
|
1222 |
+-0, 28800, 152064, 0x22421437 |
|
1223 |
+-0, 32400, 152064, 0x929becd6 |
|
1224 |
+-0, 36000, 152064, 0x6ffcb4b0 |
|
1225 |
+-0, 39600, 152064, 0x668a5d31 |
|
1226 |
+-0, 43200, 152064, 0x1b034ebb |
|
1227 |
+-0, 46800, 152064, 0x7e2d213c |
|
1228 |
+-0, 50400, 152064, 0xbf16d262 |
|
1229 |
+-0, 54000, 152064, 0xdeaecab3 |
|
1230 |
+-0, 57600, 152064, 0xd220d704 |
|
1231 |
+-0, 61200, 152064, 0xb40b8632 |
|
1232 |
+-0, 64800, 152064, 0xbdf0ef57 |
|
1233 |
+-0, 68400, 152064, 0x7e2e10df |
|
1234 |
+-0, 72000, 152064, 0x95380024 |
|
1235 |
+-0, 75600, 152064, 0xdb80256d |
|
1236 |
+-0, 79200, 152064, 0xa4561c61 |
|
1237 |
+-0, 82800, 152064, 0x08c8dea4 |
|
1238 |
+-0, 86400, 152064, 0x7bb917d6 |
|
1239 |
+-0, 90000, 152064, 0x796f0e2b |
|
1240 |
+-0, 93600, 152064, 0x7f40c77a |
|
1241 |
+-0, 97200, 152064, 0xda32de2e |
|
1242 |
+-0, 100800, 152064, 0x00ffc15a |
|
1243 |
+-0, 104400, 152064, 0x643c8316 |
|
1244 |
+-0, 108000, 152064, 0xb7588f7f |
|
1245 |
+-0, 111600, 152064, 0xa4e07c02 |
|
1246 |
+-0, 115200, 152064, 0xdee0f7e7 |
|
1247 |
+-0, 118800, 152064, 0x2c3245ee |
|
1248 |
+-0, 122400, 152064, 0x6565355b |
|
1249 |
+-0, 126000, 152064, 0x90bce66b |
|
1250 |
+-0, 129600, 152064, 0x0abffe08 |
|
1251 |
+-0, 133200, 152064, 0x119ccc3e |
|
1252 |
+-0, 136800, 152064, 0xff997ef2 |
|
1253 |
+-0, 140400, 152064, 0xba4b9820 |
|
1254 |
+-0, 144000, 152064, 0xb6dfa596 |
|
1255 |
+-0, 147600, 152064, 0xb0906c42 |
|
1256 |
+-0, 151200, 152064, 0xf3c29133 |
|
1257 |
+-0, 154800, 152064, 0x08cd8e2b |
|
1258 |
+-0, 158400, 152064, 0x4efc61fb |
|
1259 |
+-0, 162000, 152064, 0x5b7c6e48 |
|
1260 |
+-0, 165600, 152064, 0xd28a47c2 |
|
1261 |
+-0, 169200, 152064, 0x28e7d51f |
|
1262 |
+-0, 172800, 152064, 0x3a5619b1 |
|
1263 |
+-0, 176400, 152064, 0xa517e7f2 |
|
1264 |
+-0, 180000, 152064, 0xb4978ef8 |
|
1265 |
+-0, 183600, 152064, 0x25929175 |
|
1266 |
+-0, 187200, 152064, 0x20f05834 |
|
1267 |
+-0, 190800, 152064, 0xba86ffb2 |
|
1268 |
+-0, 194400, 152064, 0xa265f06f |
|
1269 |
+-0, 198000, 152064, 0x97bbbfb7 |
|
1270 |
+-0, 201600, 152064, 0xfd488a5d |
|
1271 |
+-0, 205200, 152064, 0x1b0989da |
|
1272 |
+-0, 208800, 152064, 0xfd1878ce |
|
1273 |
+-0, 212400, 152064, 0x9360397c |
|
1274 |
+-0, 216000, 152064, 0x0d8151a7 |
|
1275 |
+-0, 219600, 152064, 0xe7a05bb8 |
|
1276 |
+-0, 223200, 152064, 0x009fd46c |
|
1277 |
+-0, 226800, 152064, 0x8751123f |
|
1278 |
+-0, 230400, 152064, 0x8252101a |
|
1279 |
+-0, 234000, 152064, 0x7f40de4b |
|
1280 |
+-0, 237600, 152064, 0x4ea317fe |
|
1281 |
+-0, 241200, 152064, 0x519224d9 |
|
1282 |
+-0, 244800, 152064, 0x59f4ea93 |
|
1283 |
+-0, 248400, 152064, 0xc93c1dba |
|
1284 |
+-0, 252000, 152064, 0xe3c9fb61 |
|
1285 |
+-0, 255600, 152064, 0x85c4bd98 |
|
1286 |
+-0, 259200, 152064, 0xcebacfd3 |
|
1287 |
+-0, 262800, 152064, 0x7327da99 |
|
1288 |
+-0, 266400, 152064, 0x752a9a2d |
|
1289 |
+-0, 270000, 152064, 0x5ea6c8d2 |
|
1290 |
+-0, 273600, 152064, 0x66fd8c6f |
|
1291 |
+-0, 277200, 152064, 0x51225fd0 |
|
1292 |
+-0, 280800, 152064, 0x58b9be96 |
|
1293 |
+-0, 284400, 152064, 0xa5abcdb7 |
|
1294 |
+-0, 288000, 152064, 0xb18ba61b |
|
1295 |
+-0, 291600, 152064, 0xc7d20190 |
|
1296 |
+-0, 295200, 152064, 0xb6da14aa |
|
1297 |
+-0, 298800, 152064, 0x3004f5a1 |
|
1298 |
+-0, 302400, 152064, 0x129354e2 |
|
1299 |
+-0, 306000, 152064, 0xffa148d5 |
|
1300 |
+-0, 309600, 152064, 0xbe9d3f5b |
|
1301 |
+-0, 313200, 152064, 0x1c7f8976 |
|
1302 |
+-0, 316800, 152064, 0xa107a54d |
|
1303 |
+-0, 320400, 152064, 0x5e319459 |
|
1304 |
++0, 0, 152064, 0xb4931cb2 |
|
1305 |
++0, 3600, 152064, 0x5f352e98 |
|
1306 |
++0, 7200, 152064, 0xeba5fe28 |
|
1307 |
++0, 10800, 152064, 0x85afad0a |
|
1308 |
++0, 14400, 152064, 0x1120b6a4 |
|
1309 |
++0, 18000, 152064, 0x67506e16 |
|
1310 |
++0, 21600, 152064, 0x22421437 |
|
1311 |
++0, 25200, 152064, 0x929becd6 |
|
1312 |
++0, 28800, 152064, 0x6ffcb4b0 |
|
1313 |
++0, 32400, 152064, 0x668a5d31 |
|
1314 |
++0, 36000, 152064, 0x1b034ebb |
|
1315 |
++0, 39600, 152064, 0x7e2d213c |
|
1316 |
++0, 43200, 152064, 0xbf16d262 |
|
1317 |
++0, 46800, 152064, 0xdeaecab3 |
|
1318 |
++0, 50400, 152064, 0xd220d704 |
|
1319 |
++0, 54000, 152064, 0xb40b8632 |
|
1320 |
++0, 57600, 152064, 0xbdf0ef57 |
|
1321 |
++0, 61200, 152064, 0x7e2e10df |
|
1322 |
++0, 64800, 152064, 0x95380024 |
|
1323 |
++0, 68400, 152064, 0xdb80256d |
|
1324 |
++0, 72000, 152064, 0xa4561c61 |
|
1325 |
++0, 75600, 152064, 0x08c8dea4 |
|
1326 |
++0, 79200, 152064, 0x7bb917d6 |
|
1327 |
++0, 82800, 152064, 0x796f0e2b |
|
1328 |
++0, 86400, 152064, 0x7f40c77a |
|
1329 |
++0, 90000, 152064, 0xda32de2e |
|
1330 |
++0, 93600, 152064, 0x00ffc15a |
|
1331 |
++0, 97200, 152064, 0x643c8316 |
|
1332 |
++0, 100800, 152064, 0xb7588f7f |
|
1333 |
++0, 104400, 152064, 0xa4e07c02 |
|
1334 |
++0, 108000, 152064, 0xdee0f7e7 |
|
1335 |
++0, 111600, 152064, 0x2c3245ee |
|
1336 |
++0, 115200, 152064, 0x6565355b |
|
1337 |
++0, 118800, 152064, 0x90bce66b |
|
1338 |
++0, 122400, 152064, 0x0abffe08 |
|
1339 |
++0, 126000, 152064, 0x119ccc3e |
|
1340 |
++0, 129600, 152064, 0xff997ef2 |
|
1341 |
++0, 133200, 152064, 0xba4b9820 |
|
1342 |
++0, 136800, 152064, 0xb6dfa596 |
|
1343 |
++0, 140400, 152064, 0xb0906c42 |
|
1344 |
++0, 144000, 152064, 0xf3c29133 |
|
1345 |
++0, 147600, 152064, 0x08cd8e2b |
|
1346 |
++0, 151200, 152064, 0x4efc61fb |
|
1347 |
++0, 154800, 152064, 0x5b7c6e48 |
|
1348 |
++0, 158400, 152064, 0xd28a47c2 |
|
1349 |
++0, 162000, 152064, 0x28e7d51f |
|
1350 |
++0, 165600, 152064, 0x3a5619b1 |
|
1351 |
++0, 169200, 152064, 0xa517e7f2 |
|
1352 |
++0, 172800, 152064, 0xb4978ef8 |
|
1353 |
++0, 176400, 152064, 0x25929175 |
|
1354 |
++0, 180000, 152064, 0x20f05834 |
|
1355 |
++0, 183600, 152064, 0xba86ffb2 |
|
1356 |
++0, 187200, 152064, 0xa265f06f |
|
1357 |
++0, 190800, 152064, 0x97bbbfb7 |
|
1358 |
++0, 194400, 152064, 0xfd488a5d |
|
1359 |
++0, 198000, 152064, 0x1b0989da |
|
1360 |
++0, 201600, 152064, 0xfd1878ce |
|
1361 |
++0, 205200, 152064, 0x9360397c |
|
1362 |
++0, 208800, 152064, 0x0d8151a7 |
|
1363 |
++0, 212400, 152064, 0xe7a05bb8 |
|
1364 |
++0, 216000, 152064, 0x009fd46c |
|
1365 |
++0, 219600, 152064, 0x8751123f |
|
1366 |
++0, 223200, 152064, 0x8252101a |
|
1367 |
++0, 226800, 152064, 0x7f40de4b |
|
1368 |
++0, 230400, 152064, 0x4ea317fe |
|
1369 |
++0, 234000, 152064, 0x519224d9 |
|
1370 |
++0, 237600, 152064, 0x59f4ea93 |
|
1371 |
++0, 241200, 152064, 0xc93c1dba |
|
1372 |
++0, 244800, 152064, 0xe3c9fb61 |
|
1373 |
++0, 248400, 152064, 0x85c4bd98 |
|
1374 |
++0, 252000, 152064, 0xcebacfd3 |
|
1375 |
++0, 255600, 152064, 0x7327da99 |
|
1376 |
++0, 259200, 152064, 0x752a9a2d |
|
1377 |
++0, 262800, 152064, 0x5ea6c8d2 |
|
1378 |
++0, 266400, 152064, 0x66fd8c6f |
|
1379 |
++0, 270000, 152064, 0x51225fd0 |
|
1380 |
++0, 273600, 152064, 0x58b9be96 |
|
1381 |
++0, 277200, 152064, 0xa5abcdb7 |
|
1382 |
++0, 280800, 152064, 0xb18ba61b |
|
1383 |
++0, 284400, 152064, 0xc7d20190 |
|
1384 |
++0, 288000, 152064, 0xb6da14aa |
|
1385 |
++0, 291600, 152064, 0x3004f5a1 |
|
1386 |
++0, 295200, 152064, 0x129354e2 |
|
1387 |
++0, 298800, 152064, 0xffa148d5 |
|
1388 |
++0, 302400, 152064, 0xbe9d3f5b |
|
1389 |
++0, 306000, 152064, 0x1c7f8976 |
|
1390 |
++0, 309600, 152064, 0xa107a54d |
|
1391 |
++0, 313200, 152064, 0x5e319459 |
|
1392 |
+make: *** [fate-h264-conformance-camanl2_toshiba_b] Error 1 |
|
1393 |
+TEST h264-conformance-camanl3_sand_e |
|
1394 |
+TEST h264-conformance-camasl3_sony_b |
|
1395 |
+TEST h264-conformance-camp_mot_mbaff_l30 |
|
1396 |
+TEST h264-conformance-camp_mot_mbaff_l31 |
|
1397 |
+TEST h264-conformance-canl1_sony_e |
|
1398 |
+TEST h264-conformance-canl1_sva_b |
|
1399 |
+TEST h264-conformance-canl1_toshiba_g |
|
1400 |
+TEST h264-conformance-canl2_sony_e |
|
1401 |
+TEST h264-conformance-canl2_sva_b |
|
1402 |
+TEST h264-conformance-canl3_sony_c |
|
1403 |
+TEST h264-conformance-canl3_sva_b |
|
1404 |
+TEST h264-conformance-canl4_sva_b |
|
1405 |
+TEST h264-conformance-canlma2_sony_c |
|
1406 |
+TEST h264-conformance-canlma3_sony_c |
|
1407 |
+TEST h264-conformance-capa1_toshiba_b |
|
1408 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-capa1_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
1409 |
+@@ -1,90 +1,88 @@ |
|
1410 |
+-0, 0, 152064, 0x4040d2fc |
|
1411 |
+-0, 3600, 152064, 0x0d8f9897 |
|
1412 |
+-0, 7200, 152064, 0xc23321cd |
|
1413 |
+-0, 10800, 152064, 0x3c9225eb |
|
1414 |
+-0, 14400, 152064, 0x8927006f |
|
1415 |
+-0, 18000, 152064, 0xf706a302 |
|
1416 |
+-0, 21600, 152064, 0x8219c106 |
|
1417 |
+-0, 25200, 152064, 0x06c990ea |
|
1418 |
+-0, 28800, 152064, 0x3a0f1135 |
|
1419 |
+-0, 32400, 152064, 0x4cff21d3 |
|
1420 |
+-0, 36000, 152064, 0x6be0e050 |
|
1421 |
+-0, 39600, 152064, 0x718b6c7b |
|
1422 |
+-0, 43200, 152064, 0x24b38713 |
|
1423 |
+-0, 46800, 152064, 0x500553fb |
|
1424 |
+-0, 50400, 152064, 0x531ae610 |
|
1425 |
+-0, 54000, 152064, 0x46f4ff1b |
|
1426 |
+-0, 57600, 152064, 0xe5abe5ff |
|
1427 |
+-0, 61200, 152064, 0x97daa351 |
|
1428 |
+-0, 64800, 152064, 0xfbef0a8f |
|
1429 |
+-0, 68400, 152064, 0xbe76134f |
|
1430 |
+-0, 72000, 152064, 0xa4bf10ea |
|
1431 |
+-0, 75600, 152064, 0xb2fb32af |
|
1432 |
+-0, 79200, 152064, 0xd33027a5 |
|
1433 |
+-0, 82800, 152064, 0x78e20c2b |
|
1434 |
+-0, 86400, 152064, 0xefda2d6f |
|
1435 |
+-0, 90000, 152064, 0xb99126f0 |
|
1436 |
+-0, 93600, 152064, 0x89d7e465 |
|
1437 |
+-0, 97200, 152064, 0x6150ff97 |
|
1438 |
+-0, 100800, 152064, 0xde03d937 |
|
1439 |
+-0, 104400, 152064, 0xd90ca874 |
|
1440 |
+-0, 108000, 152064, 0xb120b294 |
|
1441 |
+-0, 111600, 152064, 0x644eade4 |
|
1442 |
+-0, 115200, 152064, 0xd1bb004f |
|
1443 |
+-0, 118800, 152064, 0x99806a8b |
|
1444 |
+-0, 122400, 152064, 0x8c6b635f |
|
1445 |
+-0, 126000, 152064, 0xa269fa8b |
|
1446 |
+-0, 129600, 152064, 0xc11c0e64 |
|
1447 |
+-0, 133200, 152064, 0xac13f5eb |
|
1448 |
+-0, 136800, 152064, 0x895799cf |
|
1449 |
+-0, 140400, 152064, 0x95a9bea1 |
|
1450 |
+-0, 144000, 152064, 0xe998dfba |
|
1451 |
+-0, 147600, 152064, 0xc72d8460 |
|
1452 |
+-0, 151200, 152064, 0xd1cb9b9a |
|
1453 |
+-0, 154800, 152064, 0xb49aadd3 |
|
1454 |
+-0, 158400, 152064, 0x8bc38547 |
|
1455 |
+-0, 162000, 152064, 0x3485984b |
|
1456 |
+-0, 165600, 152064, 0xdf305c0a |
|
1457 |
+-0, 169200, 152064, 0x6a1ec990 |
|
1458 |
+-0, 172800, 152064, 0x595e0de4 |
|
1459 |
+-0, 176400, 152064, 0xe1baf7c4 |
|
1460 |
+-0, 180000, 152064, 0xf08b9b47 |
|
1461 |
+-0, 183600, 152064, 0x6532ba6f |
|
1462 |
+-0, 187200, 152064, 0x3de67da6 |
|
1463 |
+-0, 190800, 152064, 0x439ffd04 |
|
1464 |
+-0, 194400, 152064, 0x6e6c1e97 |
|
1465 |
+-0, 198000, 152064, 0x8e5aee7a |
|
1466 |
+-0, 201600, 152064, 0xd634999a |
|
1467 |
+-0, 205200, 152064, 0xadfa9e8b |
|
1468 |
+-0, 208800, 152064, 0x1b9090f5 |
|
1469 |
+-0, 212400, 152064, 0x29094dfc |
|
1470 |
+-0, 216000, 152064, 0x56748851 |
|
1471 |
+-0, 219600, 152064, 0x2316719d |
|
1472 |
+-0, 223200, 152064, 0x2ee0060b |
|
1473 |
+-0, 226800, 152064, 0x3edb36d4 |
|
1474 |
+-0, 230400, 152064, 0x9ef437a3 |
|
1475 |
+-0, 234000, 152064, 0x8d9af72e |
|
1476 |
+-0, 237600, 152064, 0xab86389c |
|
1477 |
+-0, 241200, 152064, 0xd3b34576 |
|
1478 |
+-0, 244800, 152064, 0x9e5b04f4 |
|
1479 |
+-0, 248400, 152064, 0x6a164c17 |
|
1480 |
+-0, 252000, 152064, 0xcecf20ab |
|
1481 |
+-0, 255600, 152064, 0x07c8e273 |
|
1482 |
+-0, 259200, 152064, 0x9b46fe6a |
|
1483 |
+-0, 262800, 152064, 0xc1e8002b |
|
1484 |
+-0, 266400, 152064, 0xdebdbe53 |
|
1485 |
+-0, 270000, 152064, 0x0d2dfd99 |
|
1486 |
+-0, 273600, 152064, 0xe8ae925f |
|
1487 |
+-0, 277200, 152064, 0xe1fe6272 |
|
1488 |
+-0, 280800, 152064, 0xbb74d5e6 |
|
1489 |
+-0, 284400, 152064, 0xc7b5d949 |
|
1490 |
+-0, 288000, 152064, 0x9b15b020 |
|
1491 |
+-0, 291600, 152064, 0xc8201f44 |
|
1492 |
+-0, 295200, 152064, 0x30d03303 |
|
1493 |
+-0, 298800, 152064, 0x9f66fbc2 |
|
1494 |
+-0, 302400, 152064, 0x482b71ec |
|
1495 |
+-0, 306000, 152064, 0x1c9e50bf |
|
1496 |
+-0, 309600, 152064, 0x89f247e4 |
|
1497 |
+-0, 313200, 152064, 0xaa5f9141 |
|
1498 |
+-0, 316800, 152064, 0xb816aa8c |
|
1499 |
+-0, 320400, 152064, 0x3112a619 |
|
1500 |
++0, 0, 152064, 0xc23321cd |
|
1501 |
++0, 3600, 152064, 0x3c9225eb |
|
1502 |
++0, 7200, 152064, 0x8927006f |
|
1503 |
++0, 10800, 152064, 0xf706a302 |
|
1504 |
++0, 14400, 152064, 0x8219c106 |
|
1505 |
++0, 18000, 152064, 0x06c990ea |
|
1506 |
++0, 21600, 152064, 0x3a0f1135 |
|
1507 |
++0, 25200, 152064, 0x4cff21d3 |
|
1508 |
++0, 28800, 152064, 0x6be0e050 |
|
1509 |
++0, 32400, 152064, 0x718b6c7b |
|
1510 |
++0, 36000, 152064, 0x24b38713 |
|
1511 |
++0, 39600, 152064, 0x500553fb |
|
1512 |
++0, 43200, 152064, 0x531ae610 |
|
1513 |
++0, 46800, 152064, 0x46f4ff1b |
|
1514 |
++0, 50400, 152064, 0xe5abe5ff |
|
1515 |
++0, 54000, 152064, 0x97daa351 |
|
1516 |
++0, 57600, 152064, 0xfbef0a8f |
|
1517 |
++0, 61200, 152064, 0xbe76134f |
|
1518 |
++0, 64800, 152064, 0xa4bf10ea |
|
1519 |
++0, 68400, 152064, 0xb2fb32af |
|
1520 |
++0, 72000, 152064, 0xd33027a5 |
|
1521 |
++0, 75600, 152064, 0x78e20c2b |
|
1522 |
++0, 79200, 152064, 0xefda2d6f |
|
1523 |
++0, 82800, 152064, 0xb99126f0 |
|
1524 |
++0, 86400, 152064, 0x89d7e465 |
|
1525 |
++0, 90000, 152064, 0x6150ff97 |
|
1526 |
++0, 93600, 152064, 0xde03d937 |
|
1527 |
++0, 97200, 152064, 0xd90ca874 |
|
1528 |
++0, 100800, 152064, 0xb120b294 |
|
1529 |
++0, 104400, 152064, 0x644eade4 |
|
1530 |
++0, 108000, 152064, 0xd1bb004f |
|
1531 |
++0, 111600, 152064, 0x99806a8b |
|
1532 |
++0, 115200, 152064, 0x8c6b635f |
|
1533 |
++0, 118800, 152064, 0xa269fa8b |
|
1534 |
++0, 122400, 152064, 0xc11c0e64 |
|
1535 |
++0, 126000, 152064, 0xac13f5eb |
|
1536 |
++0, 129600, 152064, 0x895799cf |
|
1537 |
++0, 133200, 152064, 0x95a9bea1 |
|
1538 |
++0, 136800, 152064, 0xe998dfba |
|
1539 |
++0, 140400, 152064, 0xc72d8460 |
|
1540 |
++0, 144000, 152064, 0xd1cb9b9a |
|
1541 |
++0, 147600, 152064, 0xb49aadd3 |
|
1542 |
++0, 151200, 152064, 0x8bc38547 |
|
1543 |
++0, 154800, 152064, 0x3485984b |
|
1544 |
++0, 158400, 152064, 0xdf305c0a |
|
1545 |
++0, 162000, 152064, 0x6a1ec990 |
|
1546 |
++0, 165600, 152064, 0x595e0de4 |
|
1547 |
++0, 169200, 152064, 0xe1baf7c4 |
|
1548 |
++0, 172800, 152064, 0xf08b9b47 |
|
1549 |
++0, 176400, 152064, 0x6532ba6f |
|
1550 |
++0, 180000, 152064, 0x3de67da6 |
|
1551 |
++0, 183600, 152064, 0x439ffd04 |
|
1552 |
++0, 187200, 152064, 0x6e6c1e97 |
|
1553 |
++0, 190800, 152064, 0x8e5aee7a |
|
1554 |
++0, 194400, 152064, 0xd634999a |
|
1555 |
++0, 198000, 152064, 0xadfa9e8b |
|
1556 |
++0, 201600, 152064, 0x1b9090f5 |
|
1557 |
++0, 205200, 152064, 0x29094dfc |
|
1558 |
++0, 208800, 152064, 0x56748851 |
|
1559 |
++0, 212400, 152064, 0x2316719d |
|
1560 |
++0, 216000, 152064, 0x2ee0060b |
|
1561 |
++0, 219600, 152064, 0x3edb36d4 |
|
1562 |
++0, 223200, 152064, 0x9ef437a3 |
|
1563 |
++0, 226800, 152064, 0x8d9af72e |
|
1564 |
++0, 230400, 152064, 0xab86389c |
|
1565 |
++0, 234000, 152064, 0xd3b34576 |
|
1566 |
++0, 237600, 152064, 0x9e5b04f4 |
|
1567 |
++0, 241200, 152064, 0x6a164c17 |
|
1568 |
++0, 244800, 152064, 0xcecf20ab |
|
1569 |
++0, 248400, 152064, 0x07c8e273 |
|
1570 |
++0, 252000, 152064, 0x9b46fe6a |
|
1571 |
++0, 255600, 152064, 0xc1e8002b |
|
1572 |
++0, 259200, 152064, 0xdebdbe53 |
|
1573 |
++0, 262800, 152064, 0x0d2dfd99 |
|
1574 |
++0, 266400, 152064, 0xe8ae925f |
|
1575 |
++0, 270000, 152064, 0xe1fe6272 |
|
1576 |
++0, 273600, 152064, 0xbb74d5e6 |
|
1577 |
++0, 277200, 152064, 0xc7b5d949 |
|
1578 |
++0, 280800, 152064, 0x9b15b020 |
|
1579 |
++0, 284400, 152064, 0xc8201f44 |
|
1580 |
++0, 288000, 152064, 0x30d03303 |
|
1581 |
++0, 291600, 152064, 0x9f66fbc2 |
|
1582 |
++0, 295200, 152064, 0x482b71ec |
|
1583 |
++0, 298800, 152064, 0x1c9e50bf |
|
1584 |
++0, 302400, 152064, 0x89f247e4 |
|
1585 |
++0, 306000, 152064, 0xaa5f9141 |
|
1586 |
++0, 309600, 152064, 0xb816aa8c |
|
1587 |
++0, 313200, 152064, 0x3112a619 |
|
1588 |
+make: *** [fate-h264-conformance-capa1_toshiba_b] Error 1 |
|
1589 |
+TEST h264-conformance-capama3_sand_f |
|
1590 |
+TEST h264-conformance-capcm1_sand_e |
|
1591 |
+TEST h264-conformance-capcmnl1_sand_e |
|
1592 |
+TEST h264-conformance-capm3_sony_d |
|
1593 |
+TEST h264-conformance-caqp1_sony_b |
|
1594 |
+TEST h264-conformance-cavlc_mot_fld0_full_b |
|
1595 |
+TEST h264-conformance-cavlc_mot_frm0_full_b |
|
1596 |
+TEST h264-conformance-cavlc_mot_mbaff0_full_b |
|
1597 |
+TEST h264-conformance-cavlc_mot_picaff0_full_b |
|
1598 |
+TEST h264-conformance-cawp1_toshiba_e |
|
1599 |
+TEST h264-conformance-cawp5_toshiba_e |
|
1600 |
+TEST h264-conformance-ci1_ft_b |
|
1601 |
+TEST h264-conformance-ci_mw_d |
|
1602 |
+TEST h264-conformance-cvbs3_sony_c |
|
1603 |
+TEST h264-conformance-cvcanlma2_sony_c |
|
1604 |
+TEST h264-conformance-cvfi1_sony_d |
|
1605 |
+TEST h264-conformance-cvfi1_sva_c |
|
1606 |
+TEST h264-conformance-cvfi2_sony_h |
|
1607 |
+TEST h264-conformance-cvfi2_sva_c |
|
1608 |
+TEST h264-conformance-cvma1_sony_d |
|
1609 |
+TEST h264-conformance-cvma1_toshiba_b |
|
1610 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-cvma1_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
1611 |
+@@ -1,90 +1,88 @@ |
|
1612 |
+-0, 0, 152064, 0x9a9ce366 |
|
1613 |
+-0, 3600, 152064, 0xf4639828 |
|
1614 |
+-0, 7200, 152064, 0x625024a3 |
|
1615 |
+-0, 10800, 152064, 0x80dc2f9d |
|
1616 |
+-0, 14400, 152064, 0xb2c4feea |
|
1617 |
+-0, 18000, 152064, 0x4ec6ad64 |
|
1618 |
+-0, 21600, 152064, 0x1957bec3 |
|
1619 |
+-0, 25200, 152064, 0xb682799d |
|
1620 |
+-0, 28800, 152064, 0x34cd2053 |
|
1621 |
+-0, 32400, 152064, 0x81490b4c |
|
1622 |
+-0, 36000, 152064, 0x242dc943 |
|
1623 |
+-0, 39600, 152064, 0x3e126734 |
|
1624 |
+-0, 43200, 152064, 0x8e474ff8 |
|
1625 |
+-0, 46800, 152064, 0x239d2fbd |
|
1626 |
+-0, 50400, 152064, 0x0ca3e16f |
|
1627 |
+-0, 54000, 152064, 0x6161d7c2 |
|
1628 |
+-0, 57600, 152064, 0xca7ad1af |
|
1629 |
+-0, 61200, 152064, 0xf8ef9026 |
|
1630 |
+-0, 64800, 152064, 0x01f2f4c1 |
|
1631 |
+-0, 68400, 152064, 0x510b19ec |
|
1632 |
+-0, 72000, 152064, 0xe489028b |
|
1633 |
+-0, 75600, 152064, 0x7a693c1e |
|
1634 |
+-0, 79200, 152064, 0x276b23fe |
|
1635 |
+-0, 82800, 152064, 0x0e9ced3a |
|
1636 |
+-0, 86400, 152064, 0x658228f7 |
|
1637 |
+-0, 90000, 152064, 0x6a271bc3 |
|
1638 |
+-0, 93600, 152064, 0x431ecd8b |
|
1639 |
+-0, 97200, 152064, 0x23a5ed14 |
|
1640 |
+-0, 100800, 152064, 0x76fbe121 |
|
1641 |
+-0, 104400, 152064, 0x471f919d |
|
1642 |
+-0, 108000, 152064, 0x16bfabbc |
|
1643 |
+-0, 111600, 152064, 0x0762993f |
|
1644 |
+-0, 115200, 152064, 0x5a2b0b0e |
|
1645 |
+-0, 118800, 152064, 0x81415ef7 |
|
1646 |
+-0, 122400, 152064, 0xb96e4164 |
|
1647 |
+-0, 126000, 152064, 0xf77aee83 |
|
1648 |
+-0, 129600, 152064, 0x6af81633 |
|
1649 |
+-0, 133200, 152064, 0xed78e5b5 |
|
1650 |
+-0, 136800, 152064, 0x67e38e2c |
|
1651 |
+-0, 140400, 152064, 0x0417ae01 |
|
1652 |
+-0, 144000, 152064, 0x3887b312 |
|
1653 |
+-0, 147600, 152064, 0x3a4b70fb |
|
1654 |
+-0, 151200, 152064, 0xcaae9e7f |
|
1655 |
+-0, 154800, 152064, 0xaf9597be |
|
1656 |
+-0, 158400, 152064, 0x9bae63d3 |
|
1657 |
+-0, 162000, 152064, 0x0e80825f |
|
1658 |
+-0, 165600, 152064, 0x915661fd |
|
1659 |
+-0, 169200, 152064, 0x67d3dc94 |
|
1660 |
+-0, 172800, 152064, 0x3dcf240c |
|
1661 |
+-0, 176400, 152064, 0x127ff832 |
|
1662 |
+-0, 180000, 152064, 0xc8969981 |
|
1663 |
+-0, 183600, 152064, 0x57179c77 |
|
1664 |
+-0, 187200, 152064, 0x9f88656c |
|
1665 |
+-0, 190800, 152064, 0xc28ff5d3 |
|
1666 |
+-0, 194400, 152064, 0xf100fad9 |
|
1667 |
+-0, 198000, 152064, 0xb570ce12 |
|
1668 |
+-0, 201600, 152064, 0xe8f28955 |
|
1669 |
+-0, 205200, 152064, 0x1f0a9549 |
|
1670 |
+-0, 208800, 152064, 0x22b17e9b |
|
1671 |
+-0, 212400, 152064, 0x7cf1400e |
|
1672 |
+-0, 216000, 152064, 0xafd273b7 |
|
1673 |
+-0, 219600, 152064, 0xeb9b712e |
|
1674 |
+-0, 223200, 152064, 0x0f81de24 |
|
1675 |
+-0, 226800, 152064, 0x8f4e1953 |
|
1676 |
+-0, 230400, 152064, 0x682e2170 |
|
1677 |
+-0, 234000, 152064, 0xc32ad1b2 |
|
1678 |
+-0, 237600, 152064, 0x53a81d79 |
|
1679 |
+-0, 241200, 152064, 0x54002596 |
|
1680 |
+-0, 244800, 152064, 0x4b5fdbd9 |
|
1681 |
+-0, 248400, 152064, 0x96613368 |
|
1682 |
+-0, 252000, 152064, 0xd6ac0171 |
|
1683 |
+-0, 255600, 152064, 0xf1c1b7b7 |
|
1684 |
+-0, 259200, 152064, 0xc730d82f |
|
1685 |
+-0, 262800, 152064, 0x0415d934 |
|
1686 |
+-0, 266400, 152064, 0x5338915e |
|
1687 |
+-0, 270000, 152064, 0x8e9dda6d |
|
1688 |
+-0, 273600, 152064, 0xe3a8b0a0 |
|
1689 |
+-0, 277200, 152064, 0x5fa36e44 |
|
1690 |
+-0, 280800, 152064, 0x0e63dc72 |
|
1691 |
+-0, 284400, 152064, 0xd0dad71f |
|
1692 |
+-0, 288000, 152064, 0x0c4aac94 |
|
1693 |
+-0, 291600, 152064, 0x60d50e8d |
|
1694 |
+-0, 295200, 152064, 0x96872d7c |
|
1695 |
+-0, 298800, 152064, 0x4fcefc33 |
|
1696 |
+-0, 302400, 152064, 0x6b8157c9 |
|
1697 |
+-0, 306000, 152064, 0xa40d527d |
|
1698 |
+-0, 309600, 152064, 0x9884480a |
|
1699 |
+-0, 313200, 152064, 0xff5d9754 |
|
1700 |
+-0, 316800, 152064, 0x4a26a74d |
|
1701 |
+-0, 320400, 152064, 0x81059e82 |
|
1702 |
++0, 0, 152064, 0x625024a3 |
|
1703 |
++0, 3600, 152064, 0x80dc2f9d |
|
1704 |
++0, 7200, 152064, 0xb2c4feea |
|
1705 |
++0, 10800, 152064, 0x4ec6ad64 |
|
1706 |
++0, 14400, 152064, 0x1957bec3 |
|
1707 |
++0, 18000, 152064, 0xb682799d |
|
1708 |
++0, 21600, 152064, 0x34cd2053 |
|
1709 |
++0, 25200, 152064, 0x81490b4c |
|
1710 |
++0, 28800, 152064, 0x242dc943 |
|
1711 |
++0, 32400, 152064, 0x3e126734 |
|
1712 |
++0, 36000, 152064, 0x8e474ff8 |
|
1713 |
++0, 39600, 152064, 0x239d2fbd |
|
1714 |
++0, 43200, 152064, 0x0ca3e16f |
|
1715 |
++0, 46800, 152064, 0x6161d7c2 |
|
1716 |
++0, 50400, 152064, 0xca7ad1af |
|
1717 |
++0, 54000, 152064, 0xf8ef9026 |
|
1718 |
++0, 57600, 152064, 0x01f2f4c1 |
|
1719 |
++0, 61200, 152064, 0x510b19ec |
|
1720 |
++0, 64800, 152064, 0xe489028b |
|
1721 |
++0, 68400, 152064, 0x7a693c1e |
|
1722 |
++0, 72000, 152064, 0x276b23fe |
|
1723 |
++0, 75600, 152064, 0x0e9ced3a |
|
1724 |
++0, 79200, 152064, 0x658228f7 |
|
1725 |
++0, 82800, 152064, 0x6a271bc3 |
|
1726 |
++0, 86400, 152064, 0x431ecd8b |
|
1727 |
++0, 90000, 152064, 0x23a5ed14 |
|
1728 |
++0, 93600, 152064, 0x76fbe121 |
|
1729 |
++0, 97200, 152064, 0x471f919d |
|
1730 |
++0, 100800, 152064, 0x16bfabbc |
|
1731 |
++0, 104400, 152064, 0x0762993f |
|
1732 |
++0, 108000, 152064, 0x5a2b0b0e |
|
1733 |
++0, 111600, 152064, 0x81415ef7 |
|
1734 |
++0, 115200, 152064, 0xb96e4164 |
|
1735 |
++0, 118800, 152064, 0xf77aee83 |
|
1736 |
++0, 122400, 152064, 0x6af81633 |
|
1737 |
++0, 126000, 152064, 0xed78e5b5 |
|
1738 |
++0, 129600, 152064, 0x67e38e2c |
|
1739 |
++0, 133200, 152064, 0x0417ae01 |
|
1740 |
++0, 136800, 152064, 0x3887b312 |
|
1741 |
++0, 140400, 152064, 0x3a4b70fb |
|
1742 |
++0, 144000, 152064, 0xcaae9e7f |
|
1743 |
++0, 147600, 152064, 0xaf9597be |
|
1744 |
++0, 151200, 152064, 0x9bae63d3 |
|
1745 |
++0, 154800, 152064, 0x0e80825f |
|
1746 |
++0, 158400, 152064, 0x915661fd |
|
1747 |
++0, 162000, 152064, 0x67d3dc94 |
|
1748 |
++0, 165600, 152064, 0x3dcf240c |
|
1749 |
++0, 169200, 152064, 0x127ff832 |
|
1750 |
++0, 172800, 152064, 0xc8969981 |
|
1751 |
++0, 176400, 152064, 0x57179c77 |
|
1752 |
++0, 180000, 152064, 0x9f88656c |
|
1753 |
++0, 183600, 152064, 0xc28ff5d3 |
|
1754 |
++0, 187200, 152064, 0xf100fad9 |
|
1755 |
++0, 190800, 152064, 0xb570ce12 |
|
1756 |
++0, 194400, 152064, 0xe8f28955 |
|
1757 |
++0, 198000, 152064, 0x1f0a9549 |
|
1758 |
++0, 201600, 152064, 0x22b17e9b |
|
1759 |
++0, 205200, 152064, 0x7cf1400e |
|
1760 |
++0, 208800, 152064, 0xafd273b7 |
|
1761 |
++0, 212400, 152064, 0xeb9b712e |
|
1762 |
++0, 216000, 152064, 0x0f81de24 |
|
1763 |
++0, 219600, 152064, 0x8f4e1953 |
|
1764 |
++0, 223200, 152064, 0x682e2170 |
|
1765 |
++0, 226800, 152064, 0xc32ad1b2 |
|
1766 |
++0, 230400, 152064, 0x53a81d79 |
|
1767 |
++0, 234000, 152064, 0x54002596 |
|
1768 |
++0, 237600, 152064, 0x4b5fdbd9 |
|
1769 |
++0, 241200, 152064, 0x96613368 |
|
1770 |
++0, 244800, 152064, 0xd6ac0171 |
|
1771 |
++0, 248400, 152064, 0xf1c1b7b7 |
|
1772 |
++0, 252000, 152064, 0xc730d82f |
|
1773 |
++0, 255600, 152064, 0x0415d934 |
|
1774 |
++0, 259200, 152064, 0x5338915e |
|
1775 |
++0, 262800, 152064, 0x8e9dda6d |
|
1776 |
++0, 266400, 152064, 0xe3a8b0a0 |
|
1777 |
++0, 270000, 152064, 0x5fa36e44 |
|
1778 |
++0, 273600, 152064, 0x0e63dc72 |
|
1779 |
++0, 277200, 152064, 0xd0dad71f |
|
1780 |
++0, 280800, 152064, 0x0c4aac94 |
|
1781 |
++0, 284400, 152064, 0x60d50e8d |
|
1782 |
++0, 288000, 152064, 0x96872d7c |
|
1783 |
++0, 291600, 152064, 0x4fcefc33 |
|
1784 |
++0, 295200, 152064, 0x6b8157c9 |
|
1785 |
++0, 298800, 152064, 0xa40d527d |
|
1786 |
++0, 302400, 152064, 0x9884480a |
|
1787 |
++0, 306000, 152064, 0xff5d9754 |
|
1788 |
++0, 309600, 152064, 0x4a26a74d |
|
1789 |
++0, 313200, 152064, 0x81059e82 |
|
1790 |
+make: *** [fate-h264-conformance-cvma1_toshiba_b] Error 1 |
|
1791 |
+TEST h264-conformance-cvmanl1_toshiba_b |
|
1792 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-cvmanl1_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
1793 |
+@@ -1,90 +1,88 @@ |
|
1794 |
+-0, 0, 152064, 0xb1edd842 |
|
1795 |
+-0, 3600, 152064, 0x551f8f45 |
|
1796 |
+-0, 7200, 152064, 0xb4931cb2 |
|
1797 |
+-0, 10800, 152064, 0x78882b27 |
|
1798 |
+-0, 14400, 152064, 0x3afef36d |
|
1799 |
+-0, 18000, 152064, 0x85afad0a |
|
1800 |
+-0, 21600, 152064, 0x3a8bab81 |
|
1801 |
+-0, 25200, 152064, 0x2a437174 |
|
1802 |
+-0, 28800, 152064, 0x22421437 |
|
1803 |
+-0, 32400, 152064, 0x39c5f125 |
|
1804 |
+-0, 36000, 152064, 0x256eaad2 |
|
1805 |
+-0, 39600, 152064, 0x668a5d31 |
|
1806 |
+-0, 43200, 152064, 0x412a4aa7 |
|
1807 |
+-0, 46800, 152064, 0x3f091baf |
|
1808 |
+-0, 50400, 152064, 0xbf16d262 |
|
1809 |
+-0, 54000, 152064, 0x2fc4ce67 |
|
1810 |
+-0, 57600, 152064, 0x119cde3e |
|
1811 |
+-0, 61200, 152064, 0xb40b8632 |
|
1812 |
+-0, 64800, 152064, 0x4be4f192 |
|
1813 |
+-0, 68400, 152064, 0x906c1237 |
|
1814 |
+-0, 72000, 152064, 0x95380024 |
|
1815 |
+-0, 75600, 152064, 0x6a833025 |
|
1816 |
+-0, 79200, 152064, 0x681d1c4f |
|
1817 |
+-0, 82800, 152064, 0x08c8dea4 |
|
1818 |
+-0, 86400, 152064, 0xc69226f0 |
|
1819 |
+-0, 90000, 152064, 0x86631102 |
|
1820 |
+-0, 93600, 152064, 0x7f40c77a |
|
1821 |
+-0, 97200, 152064, 0xc746ddd4 |
|
1822 |
+-0, 100800, 152064, 0x5f2bd3cb |
|
1823 |
+-0, 104400, 152064, 0x643c8316 |
|
1824 |
+-0, 108000, 152064, 0x5b7fa380 |
|
1825 |
+-0, 111600, 152064, 0x82438cf7 |
|
1826 |
+-0, 115200, 152064, 0xdee0f7e7 |
|
1827 |
+-0, 118800, 152064, 0xc50d41f1 |
|
1828 |
+-0, 122400, 152064, 0xf3453631 |
|
1829 |
+-0, 126000, 152064, 0x90bce66b |
|
1830 |
+-0, 129600, 152064, 0x045b03f7 |
|
1831 |
+-0, 133200, 152064, 0xf64bd756 |
|
1832 |
+-0, 136800, 152064, 0xff997ef2 |
|
1833 |
+-0, 140400, 152064, 0x3613a0a5 |
|
1834 |
+-0, 144000, 152064, 0xe6a7a8d6 |
|
1835 |
+-0, 147600, 152064, 0xb0906c42 |
|
1836 |
+-0, 151200, 152064, 0x4dfc912b |
|
1837 |
+-0, 154800, 152064, 0x81e3991c |
|
1838 |
+-0, 158400, 152064, 0x4efc61fb |
|
1839 |
+-0, 162000, 152064, 0xed478395 |
|
1840 |
+-0, 165600, 152064, 0x4cb25ab6 |
|
1841 |
+-0, 169200, 152064, 0x28e7d51f |
|
1842 |
+-0, 172800, 152064, 0x8bcc1a8d |
|
1843 |
+-0, 176400, 152064, 0x2fe1f240 |
|
1844 |
+-0, 180000, 152064, 0xb4978ef8 |
|
1845 |
+-0, 183600, 152064, 0xe3929556 |
|
1846 |
+-0, 187200, 152064, 0xd370632a |
|
1847 |
+-0, 190800, 152064, 0xba86ffb2 |
|
1848 |
+-0, 194400, 152064, 0x444bf18c |
|
1849 |
+-0, 198000, 152064, 0xab40bd14 |
|
1850 |
+-0, 201600, 152064, 0xfd488a5d |
|
1851 |
+-0, 205200, 152064, 0xe1f09568 |
|
1852 |
+-0, 208800, 152064, 0x09ee7a7e |
|
1853 |
+-0, 212400, 152064, 0x9360397c |
|
1854 |
+-0, 216000, 152064, 0xdbd467e9 |
|
1855 |
+-0, 219600, 152064, 0x99726777 |
|
1856 |
+-0, 223200, 152064, 0x009fd46c |
|
1857 |
+-0, 226800, 152064, 0xcf770fdb |
|
1858 |
+-0, 230400, 152064, 0x2a890fd9 |
|
1859 |
+-0, 234000, 152064, 0x7f40de4b |
|
1860 |
+-0, 237600, 152064, 0x04191304 |
|
1861 |
+-0, 241200, 152064, 0x15722022 |
|
1862 |
+-0, 244800, 152064, 0x59f4ea93 |
|
1863 |
+-0, 248400, 152064, 0x28ba373f |
|
1864 |
+-0, 252000, 152064, 0xf9e400b8 |
|
1865 |
+-0, 255600, 152064, 0x85c4bd98 |
|
1866 |
+-0, 259200, 152064, 0x6917d2a5 |
|
1867 |
+-0, 262800, 152064, 0x61cae234 |
|
1868 |
+-0, 266400, 152064, 0x752a9a2d |
|
1869 |
+-0, 270000, 152064, 0x1ee2d9bd |
|
1870 |
+-0, 273600, 152064, 0xdce9ab8e |
|
1871 |
+-0, 277200, 152064, 0x51225fd0 |
|
1872 |
+-0, 280800, 152064, 0x10e8cb60 |
|
1873 |
+-0, 284400, 152064, 0x8d07cd25 |
|
1874 |
+-0, 288000, 152064, 0xb18ba61b |
|
1875 |
+-0, 291600, 152064, 0xb0f10280 |
|
1876 |
+-0, 295200, 152064, 0x76a71f13 |
|
1877 |
+-0, 298800, 152064, 0x3004f5a1 |
|
1878 |
+-0, 302400, 152064, 0x9aba5724 |
|
1879 |
+-0, 306000, 152064, 0x5db85385 |
|
1880 |
+-0, 309600, 152064, 0xbe9d3f5b |
|
1881 |
+-0, 313200, 152064, 0xa71e85bb |
|
1882 |
+-0, 316800, 152064, 0xdcf59cd7 |
|
1883 |
+-0, 320400, 152064, 0x5e319459 |
|
1884 |
++0, 0, 152064, 0xb4931cb2 |
|
1885 |
++0, 3600, 152064, 0x78882b27 |
|
1886 |
++0, 7200, 152064, 0x3afef36d |
|
1887 |
++0, 10800, 152064, 0x85afad0a |
|
1888 |
++0, 14400, 152064, 0x3a8bab81 |
|
1889 |
++0, 18000, 152064, 0x2a437174 |
|
1890 |
++0, 21600, 152064, 0x22421437 |
|
1891 |
++0, 25200, 152064, 0x39c5f125 |
|
1892 |
++0, 28800, 152064, 0x256eaad2 |
|
1893 |
++0, 32400, 152064, 0x668a5d31 |
|
1894 |
++0, 36000, 152064, 0x412a4aa7 |
|
1895 |
++0, 39600, 152064, 0x3f091baf |
|
1896 |
++0, 43200, 152064, 0xbf16d262 |
|
1897 |
++0, 46800, 152064, 0x2fc4ce67 |
|
1898 |
++0, 50400, 152064, 0x119cde3e |
|
1899 |
++0, 54000, 152064, 0xb40b8632 |
|
1900 |
++0, 57600, 152064, 0x4be4f192 |
|
1901 |
++0, 61200, 152064, 0x906c1237 |
|
1902 |
++0, 64800, 152064, 0x95380024 |
|
1903 |
++0, 68400, 152064, 0x6a833025 |
|
1904 |
++0, 72000, 152064, 0x681d1c4f |
|
1905 |
++0, 75600, 152064, 0x08c8dea4 |
|
1906 |
++0, 79200, 152064, 0xc69226f0 |
|
1907 |
++0, 82800, 152064, 0x86631102 |
|
1908 |
++0, 86400, 152064, 0x7f40c77a |
|
1909 |
++0, 90000, 152064, 0xc746ddd4 |
|
1910 |
++0, 93600, 152064, 0x5f2bd3cb |
|
1911 |
++0, 97200, 152064, 0x643c8316 |
|
1912 |
++0, 100800, 152064, 0x5b7fa380 |
|
1913 |
++0, 104400, 152064, 0x82438cf7 |
|
1914 |
++0, 108000, 152064, 0xdee0f7e7 |
|
1915 |
++0, 111600, 152064, 0xc50d41f1 |
|
1916 |
++0, 115200, 152064, 0xf3453631 |
|
1917 |
++0, 118800, 152064, 0x90bce66b |
|
1918 |
++0, 122400, 152064, 0x045b03f7 |
|
1919 |
++0, 126000, 152064, 0xf64bd756 |
|
1920 |
++0, 129600, 152064, 0xff997ef2 |
|
1921 |
++0, 133200, 152064, 0x3613a0a5 |
|
1922 |
++0, 136800, 152064, 0xe6a7a8d6 |
|
1923 |
++0, 140400, 152064, 0xb0906c42 |
|
1924 |
++0, 144000, 152064, 0x4dfc912b |
|
1925 |
++0, 147600, 152064, 0x81e3991c |
|
1926 |
++0, 151200, 152064, 0x4efc61fb |
|
1927 |
++0, 154800, 152064, 0xed478395 |
|
1928 |
++0, 158400, 152064, 0x4cb25ab6 |
|
1929 |
++0, 162000, 152064, 0x28e7d51f |
|
1930 |
++0, 165600, 152064, 0x8bcc1a8d |
|
1931 |
++0, 169200, 152064, 0x2fe1f240 |
|
1932 |
++0, 172800, 152064, 0xb4978ef8 |
|
1933 |
++0, 176400, 152064, 0xe3929556 |
|
1934 |
++0, 180000, 152064, 0xd370632a |
|
1935 |
++0, 183600, 152064, 0xba86ffb2 |
|
1936 |
++0, 187200, 152064, 0x444bf18c |
|
1937 |
++0, 190800, 152064, 0xab40bd14 |
|
1938 |
++0, 194400, 152064, 0xfd488a5d |
|
1939 |
++0, 198000, 152064, 0xe1f09568 |
|
1940 |
++0, 201600, 152064, 0x09ee7a7e |
|
1941 |
++0, 205200, 152064, 0x9360397c |
|
1942 |
++0, 208800, 152064, 0xdbd467e9 |
|
1943 |
++0, 212400, 152064, 0x99726777 |
|
1944 |
++0, 216000, 152064, 0x009fd46c |
|
1945 |
++0, 219600, 152064, 0xcf770fdb |
|
1946 |
++0, 223200, 152064, 0x2a890fd9 |
|
1947 |
++0, 226800, 152064, 0x7f40de4b |
|
1948 |
++0, 230400, 152064, 0x04191304 |
|
1949 |
++0, 234000, 152064, 0x15722022 |
|
1950 |
++0, 237600, 152064, 0x59f4ea93 |
|
1951 |
++0, 241200, 152064, 0x28ba373f |
|
1952 |
++0, 244800, 152064, 0xf9e400b8 |
|
1953 |
++0, 248400, 152064, 0x85c4bd98 |
|
1954 |
++0, 252000, 152064, 0x6917d2a5 |
|
1955 |
++0, 255600, 152064, 0x61cae234 |
|
1956 |
++0, 259200, 152064, 0x752a9a2d |
|
1957 |
++0, 262800, 152064, 0x1ee2d9bd |
|
1958 |
++0, 266400, 152064, 0xdce9ab8e |
|
1959 |
++0, 270000, 152064, 0x51225fd0 |
|
1960 |
++0, 273600, 152064, 0x10e8cb60 |
|
1961 |
++0, 277200, 152064, 0x8d07cd25 |
|
1962 |
++0, 280800, 152064, 0xb18ba61b |
|
1963 |
++0, 284400, 152064, 0xb0f10280 |
|
1964 |
++0, 288000, 152064, 0x76a71f13 |
|
1965 |
++0, 291600, 152064, 0x3004f5a1 |
|
1966 |
++0, 295200, 152064, 0x9aba5724 |
|
1967 |
++0, 298800, 152064, 0x5db85385 |
|
1968 |
++0, 302400, 152064, 0xbe9d3f5b |
|
1969 |
++0, 306000, 152064, 0xa71e85bb |
|
1970 |
++0, 309600, 152064, 0xdcf59cd7 |
|
1971 |
++0, 313200, 152064, 0x5e319459 |
|
1972 |
+make: *** [fate-h264-conformance-cvmanl1_toshiba_b] Error 1 |
|
1973 |
+TEST h264-conformance-cvmanl2_toshiba_b |
|
1974 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-cvmanl2_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
1975 |
+@@ -1,90 +1,88 @@ |
|
1976 |
+-0, 0, 152064, 0xb1edd842 |
|
1977 |
+-0, 3600, 152064, 0x551f8f45 |
|
1978 |
+-0, 7200, 152064, 0xb4931cb2 |
|
1979 |
+-0, 10800, 152064, 0x5f352e98 |
|
1980 |
+-0, 14400, 152064, 0xeba5fe28 |
|
1981 |
+-0, 18000, 152064, 0x85afad0a |
|
1982 |
+-0, 21600, 152064, 0x1120b6a4 |
|
1983 |
+-0, 25200, 152064, 0x67506e16 |
|
1984 |
+-0, 28800, 152064, 0x22421437 |
|
1985 |
+-0, 32400, 152064, 0x929becd6 |
|
1986 |
+-0, 36000, 152064, 0x6ffcb4b0 |
|
1987 |
+-0, 39600, 152064, 0x668a5d31 |
|
1988 |
+-0, 43200, 152064, 0x1b034ebb |
|
1989 |
+-0, 46800, 152064, 0x7e2d213c |
|
1990 |
+-0, 50400, 152064, 0xbf16d262 |
|
1991 |
+-0, 54000, 152064, 0xdeaecab3 |
|
1992 |
+-0, 57600, 152064, 0xd220d704 |
|
1993 |
+-0, 61200, 152064, 0xb40b8632 |
|
1994 |
+-0, 64800, 152064, 0xbdf0ef57 |
|
1995 |
+-0, 68400, 152064, 0x7e2e10df |
|
1996 |
+-0, 72000, 152064, 0x95380024 |
|
1997 |
+-0, 75600, 152064, 0xdb80256d |
|
1998 |
+-0, 79200, 152064, 0xa4561c61 |
|
1999 |
+-0, 82800, 152064, 0x08c8dea4 |
|
2000 |
+-0, 86400, 152064, 0x7bb917d6 |
|
2001 |
+-0, 90000, 152064, 0x796f0e2b |
|
2002 |
+-0, 93600, 152064, 0x7f40c77a |
|
2003 |
+-0, 97200, 152064, 0xda32de2e |
|
2004 |
+-0, 100800, 152064, 0x00ffc15a |
|
2005 |
+-0, 104400, 152064, 0x643c8316 |
|
2006 |
+-0, 108000, 152064, 0xb7588f7f |
|
2007 |
+-0, 111600, 152064, 0xa4e07c02 |
|
2008 |
+-0, 115200, 152064, 0xdee0f7e7 |
|
2009 |
+-0, 118800, 152064, 0x2c3245ee |
|
2010 |
+-0, 122400, 152064, 0x6565355b |
|
2011 |
+-0, 126000, 152064, 0x90bce66b |
|
2012 |
+-0, 129600, 152064, 0x0abffe08 |
|
2013 |
+-0, 133200, 152064, 0x119ccc3e |
|
2014 |
+-0, 136800, 152064, 0xff997ef2 |
|
2015 |
+-0, 140400, 152064, 0xba4b9820 |
|
2016 |
+-0, 144000, 152064, 0xb6dfa596 |
|
2017 |
+-0, 147600, 152064, 0xb0906c42 |
|
2018 |
+-0, 151200, 152064, 0xf3c29133 |
|
2019 |
+-0, 154800, 152064, 0x08cd8e2b |
|
2020 |
+-0, 158400, 152064, 0x4efc61fb |
|
2021 |
+-0, 162000, 152064, 0x5b7c6e48 |
|
2022 |
+-0, 165600, 152064, 0xd28a47c2 |
|
2023 |
+-0, 169200, 152064, 0x28e7d51f |
|
2024 |
+-0, 172800, 152064, 0x3a5619b1 |
|
2025 |
+-0, 176400, 152064, 0xa517e7f2 |
|
2026 |
+-0, 180000, 152064, 0xb4978ef8 |
|
2027 |
+-0, 183600, 152064, 0x25929175 |
|
2028 |
+-0, 187200, 152064, 0x20f05834 |
|
2029 |
+-0, 190800, 152064, 0xba86ffb2 |
|
2030 |
+-0, 194400, 152064, 0xa265f06f |
|
2031 |
+-0, 198000, 152064, 0x97bbbfb7 |
|
2032 |
+-0, 201600, 152064, 0xfd488a5d |
|
2033 |
+-0, 205200, 152064, 0x1b0989da |
|
2034 |
+-0, 208800, 152064, 0xfd1878ce |
|
2035 |
+-0, 212400, 152064, 0x9360397c |
|
2036 |
+-0, 216000, 152064, 0x0d8151a7 |
|
2037 |
+-0, 219600, 152064, 0xe7a05bb8 |
|
2038 |
+-0, 223200, 152064, 0x009fd46c |
|
2039 |
+-0, 226800, 152064, 0x8751123f |
|
2040 |
+-0, 230400, 152064, 0x8252101a |
|
2041 |
+-0, 234000, 152064, 0x7f40de4b |
|
2042 |
+-0, 237600, 152064, 0x4ea317fe |
|
2043 |
+-0, 241200, 152064, 0x519224d9 |
|
2044 |
+-0, 244800, 152064, 0x59f4ea93 |
|
2045 |
+-0, 248400, 152064, 0xc93c1dba |
|
2046 |
+-0, 252000, 152064, 0xe3c9fb61 |
|
2047 |
+-0, 255600, 152064, 0x85c4bd98 |
|
2048 |
+-0, 259200, 152064, 0xcebacfd3 |
|
2049 |
+-0, 262800, 152064, 0x7327da99 |
|
2050 |
+-0, 266400, 152064, 0x752a9a2d |
|
2051 |
+-0, 270000, 152064, 0x5ea6c8d2 |
|
2052 |
+-0, 273600, 152064, 0x66fd8c6f |
|
2053 |
+-0, 277200, 152064, 0x51225fd0 |
|
2054 |
+-0, 280800, 152064, 0x58b9be96 |
|
2055 |
+-0, 284400, 152064, 0xa5abcdb7 |
|
2056 |
+-0, 288000, 152064, 0xb18ba61b |
|
2057 |
+-0, 291600, 152064, 0xc7d20190 |
|
2058 |
+-0, 295200, 152064, 0xb6da14aa |
|
2059 |
+-0, 298800, 152064, 0x3004f5a1 |
|
2060 |
+-0, 302400, 152064, 0x129354e2 |
|
2061 |
+-0, 306000, 152064, 0xffa148d5 |
|
2062 |
+-0, 309600, 152064, 0xbe9d3f5b |
|
2063 |
+-0, 313200, 152064, 0x1c7f8976 |
|
2064 |
+-0, 316800, 152064, 0xa107a54d |
|
2065 |
+-0, 320400, 152064, 0x5e319459 |
|
2066 |
++0, 0, 152064, 0xb4931cb2 |
|
2067 |
++0, 3600, 152064, 0x5f352e98 |
|
2068 |
++0, 7200, 152064, 0xeba5fe28 |
|
2069 |
++0, 10800, 152064, 0x85afad0a |
|
2070 |
++0, 14400, 152064, 0x1120b6a4 |
|
2071 |
++0, 18000, 152064, 0x67506e16 |
|
2072 |
++0, 21600, 152064, 0x22421437 |
|
2073 |
++0, 25200, 152064, 0x929becd6 |
|
2074 |
++0, 28800, 152064, 0x6ffcb4b0 |
|
2075 |
++0, 32400, 152064, 0x668a5d31 |
|
2076 |
++0, 36000, 152064, 0x1b034ebb |
|
2077 |
++0, 39600, 152064, 0x7e2d213c |
|
2078 |
++0, 43200, 152064, 0xbf16d262 |
|
2079 |
++0, 46800, 152064, 0xdeaecab3 |
|
2080 |
++0, 50400, 152064, 0xd220d704 |
|
2081 |
++0, 54000, 152064, 0xb40b8632 |
|
2082 |
++0, 57600, 152064, 0xbdf0ef57 |
|
2083 |
++0, 61200, 152064, 0x7e2e10df |
|
2084 |
++0, 64800, 152064, 0x95380024 |
|
2085 |
++0, 68400, 152064, 0xdb80256d |
|
2086 |
++0, 72000, 152064, 0xa4561c61 |
|
2087 |
++0, 75600, 152064, 0x08c8dea4 |
|
2088 |
++0, 79200, 152064, 0x7bb917d6 |
|
2089 |
++0, 82800, 152064, 0x796f0e2b |
|
2090 |
++0, 86400, 152064, 0x7f40c77a |
|
2091 |
++0, 90000, 152064, 0xda32de2e |
|
2092 |
++0, 93600, 152064, 0x00ffc15a |
|
2093 |
++0, 97200, 152064, 0x643c8316 |
|
2094 |
++0, 100800, 152064, 0xb7588f7f |
|
2095 |
++0, 104400, 152064, 0xa4e07c02 |
|
2096 |
++0, 108000, 152064, 0xdee0f7e7 |
|
2097 |
++0, 111600, 152064, 0x2c3245ee |
|
2098 |
++0, 115200, 152064, 0x6565355b |
|
2099 |
++0, 118800, 152064, 0x90bce66b |
|
2100 |
++0, 122400, 152064, 0x0abffe08 |
|
2101 |
++0, 126000, 152064, 0x119ccc3e |
|
2102 |
++0, 129600, 152064, 0xff997ef2 |
|
2103 |
++0, 133200, 152064, 0xba4b9820 |
|
2104 |
++0, 136800, 152064, 0xb6dfa596 |
|
2105 |
++0, 140400, 152064, 0xb0906c42 |
|
2106 |
++0, 144000, 152064, 0xf3c29133 |
|
2107 |
++0, 147600, 152064, 0x08cd8e2b |
|
2108 |
++0, 151200, 152064, 0x4efc61fb |
|
2109 |
++0, 154800, 152064, 0x5b7c6e48 |
|
2110 |
++0, 158400, 152064, 0xd28a47c2 |
|
2111 |
++0, 162000, 152064, 0x28e7d51f |
|
2112 |
++0, 165600, 152064, 0x3a5619b1 |
|
2113 |
++0, 169200, 152064, 0xa517e7f2 |
|
2114 |
++0, 172800, 152064, 0xb4978ef8 |
|
2115 |
++0, 176400, 152064, 0x25929175 |
|
2116 |
++0, 180000, 152064, 0x20f05834 |
|
2117 |
++0, 183600, 152064, 0xba86ffb2 |
|
2118 |
++0, 187200, 152064, 0xa265f06f |
|
2119 |
++0, 190800, 152064, 0x97bbbfb7 |
|
2120 |
++0, 194400, 152064, 0xfd488a5d |
|
2121 |
++0, 198000, 152064, 0x1b0989da |
|
2122 |
++0, 201600, 152064, 0xfd1878ce |
|
2123 |
++0, 205200, 152064, 0x9360397c |
|
2124 |
++0, 208800, 152064, 0x0d8151a7 |
|
2125 |
++0, 212400, 152064, 0xe7a05bb8 |
|
2126 |
++0, 216000, 152064, 0x009fd46c |
|
2127 |
++0, 219600, 152064, 0x8751123f |
|
2128 |
++0, 223200, 152064, 0x8252101a |
|
2129 |
++0, 226800, 152064, 0x7f40de4b |
|
2130 |
++0, 230400, 152064, 0x4ea317fe |
|
2131 |
++0, 234000, 152064, 0x519224d9 |
|
2132 |
++0, 237600, 152064, 0x59f4ea93 |
|
2133 |
++0, 241200, 152064, 0xc93c1dba |
|
2134 |
++0, 244800, 152064, 0xe3c9fb61 |
|
2135 |
++0, 248400, 152064, 0x85c4bd98 |
|
2136 |
++0, 252000, 152064, 0xcebacfd3 |
|
2137 |
++0, 255600, 152064, 0x7327da99 |
|
2138 |
++0, 259200, 152064, 0x752a9a2d |
|
2139 |
++0, 262800, 152064, 0x5ea6c8d2 |
|
2140 |
++0, 266400, 152064, 0x66fd8c6f |
|
2141 |
++0, 270000, 152064, 0x51225fd0 |
|
2142 |
++0, 273600, 152064, 0x58b9be96 |
|
2143 |
++0, 277200, 152064, 0xa5abcdb7 |
|
2144 |
++0, 280800, 152064, 0xb18ba61b |
|
2145 |
++0, 284400, 152064, 0xc7d20190 |
|
2146 |
++0, 288000, 152064, 0xb6da14aa |
|
2147 |
++0, 291600, 152064, 0x3004f5a1 |
|
2148 |
++0, 295200, 152064, 0x129354e2 |
|
2149 |
++0, 298800, 152064, 0xffa148d5 |
|
2150 |
++0, 302400, 152064, 0xbe9d3f5b |
|
2151 |
++0, 306000, 152064, 0x1c7f8976 |
|
2152 |
++0, 309600, 152064, 0xa107a54d |
|
2153 |
++0, 313200, 152064, 0x5e319459 |
|
2154 |
+make: *** [fate-h264-conformance-cvmanl2_toshiba_b] Error 1 |
|
2155 |
+TEST h264-conformance-cvmapaqp3_sony_e |
|
2156 |
+TEST h264-conformance-cvmaqp2_sony_g |
|
2157 |
+TEST h264-conformance-cvmaqp3_sony_d |
|
2158 |
+TEST h264-conformance-cvmp_mot_fld_l30_b |
|
2159 |
+TEST h264-conformance-cvmp_mot_frm_l31_b |
|
2160 |
+TEST h264-conformance-cvnlfi1_sony_c |
|
2161 |
+TEST h264-conformance-cvnlfi2_sony_h |
|
2162 |
+TEST h264-conformance-cvpa1_toshiba_b |
|
2163 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-cvpa1_toshiba_b 2010-05-11 03:02:59.000000000 -0400 |
|
2164 |
+@@ -1,90 +1,88 @@ |
|
2165 |
+-0, 0, 152064, 0x128cd77a |
|
2166 |
+-0, 3600, 152064, 0x565b9fc1 |
|
2167 |
+-0, 7200, 152064, 0xbe322679 |
|
2168 |
+-0, 10800, 152064, 0x0ea4238f |
|
2169 |
+-0, 14400, 152064, 0x1e08fb3c |
|
2170 |
+-0, 18000, 152064, 0x6da3a93c |
|
2171 |
+-0, 21600, 152064, 0x75e5b181 |
|
2172 |
+-0, 25200, 152064, 0xa0b39334 |
|
2173 |
+-0, 28800, 152064, 0xa0d10d6d |
|
2174 |
+-0, 32400, 152064, 0x33842bcb |
|
2175 |
+-0, 36000, 152064, 0x9a74e1e4 |
|
2176 |
+-0, 39600, 152064, 0xc2037244 |
|
2177 |
+-0, 43200, 152064, 0x364b8ae4 |
|
2178 |
+-0, 46800, 152064, 0x18c04971 |
|
2179 |
+-0, 50400, 152064, 0x7234ecb5 |
|
2180 |
+-0, 54000, 152064, 0x3719f8bc |
|
2181 |
+-0, 57600, 152064, 0x1285ead1 |
|
2182 |
+-0, 61200, 152064, 0xd3bfab18 |
|
2183 |
+-0, 64800, 152064, 0x898111e2 |
|
2184 |
+-0, 68400, 152064, 0x681c15fc |
|
2185 |
+-0, 72000, 152064, 0x8e501572 |
|
2186 |
+-0, 75600, 152064, 0xd7c838be |
|
2187 |
+-0, 79200, 152064, 0xede424b2 |
|
2188 |
+-0, 82800, 152064, 0xcfc20240 |
|
2189 |
+-0, 86400, 152064, 0x13992e86 |
|
2190 |
+-0, 90000, 152064, 0x56fb251a |
|
2191 |
+-0, 93600, 152064, 0xee9be320 |
|
2192 |
+-0, 97200, 152064, 0xea650153 |
|
2193 |
+-0, 100800, 152064, 0x2cb6dabe |
|
2194 |
+-0, 104400, 152064, 0xf44fa4b5 |
|
2195 |
+-0, 108000, 152064, 0xdac2adff |
|
2196 |
+-0, 111600, 152064, 0x9e15a1dc |
|
2197 |
+-0, 115200, 152064, 0x28d00970 |
|
2198 |
+-0, 118800, 152064, 0xe4277347 |
|
2199 |
+-0, 122400, 152064, 0xebd25ad1 |
|
2200 |
+-0, 126000, 152064, 0x029402da |
|
2201 |
+-0, 129600, 152064, 0x1a2311ef |
|
2202 |
+-0, 133200, 152064, 0xb86bf96a |
|
2203 |
+-0, 136800, 152064, 0x67d7a5b0 |
|
2204 |
+-0, 140400, 152064, 0x573abc2d |
|
2205 |
+-0, 144000, 152064, 0xbe97dec0 |
|
2206 |
+-0, 147600, 152064, 0x592b91a4 |
|
2207 |
+-0, 151200, 152064, 0x9adda65e |
|
2208 |
+-0, 154800, 152064, 0x0354b2cb |
|
2209 |
+-0, 158400, 152064, 0x91e27ff9 |
|
2210 |
+-0, 162000, 152064, 0x389f8625 |
|
2211 |
+-0, 165600, 152064, 0x90175850 |
|
2212 |
+-0, 169200, 152064, 0x2d36c427 |
|
2213 |
+-0, 172800, 152064, 0xc0dd14ab |
|
2214 |
+-0, 176400, 152064, 0xd49bf131 |
|
2215 |
+-0, 180000, 152064, 0x0d4a9b92 |
|
2216 |
+-0, 183600, 152064, 0xae9bb2f1 |
|
2217 |
+-0, 187200, 152064, 0x36847ade |
|
2218 |
+-0, 190800, 152064, 0x74810382 |
|
2219 |
+-0, 194400, 152064, 0xc56d1d9f |
|
2220 |
+-0, 198000, 152064, 0xcfefe3ae |
|
2221 |
+-0, 201600, 152064, 0xeaa39353 |
|
2222 |
+-0, 205200, 152064, 0x14289aef |
|
2223 |
+-0, 208800, 152064, 0x74ba8f3b |
|
2224 |
+-0, 212400, 152064, 0xdcaa518d |
|
2225 |
+-0, 216000, 152064, 0x6e4881c2 |
|
2226 |
+-0, 219600, 152064, 0xa4db767d |
|
2227 |
+-0, 223200, 152064, 0x239b0b19 |
|
2228 |
+-0, 226800, 152064, 0x5d054236 |
|
2229 |
+-0, 230400, 152064, 0x6f392d7c |
|
2230 |
+-0, 234000, 152064, 0x5c2af146 |
|
2231 |
+-0, 237600, 152064, 0x26b439af |
|
2232 |
+-0, 241200, 152064, 0xba7043ab |
|
2233 |
+-0, 244800, 152064, 0x0816000c |
|
2234 |
+-0, 248400, 152064, 0x3a713c05 |
|
2235 |
+-0, 252000, 152064, 0xb3111f6d |
|
2236 |
+-0, 255600, 152064, 0xdbf8dae2 |
|
2237 |
+-0, 259200, 152064, 0x09ddf22e |
|
2238 |
+-0, 262800, 152064, 0x8871fa7e |
|
2239 |
+-0, 266400, 152064, 0x9f5db7a1 |
|
2240 |
+-0, 270000, 152064, 0xcc38f225 |
|
2241 |
+-0, 273600, 152064, 0xa1d18df9 |
|
2242 |
+-0, 277200, 152064, 0x9b1c5d6a |
|
2243 |
+-0, 280800, 152064, 0x9f2bc696 |
|
2244 |
+-0, 284400, 152064, 0xc39bd11a |
|
2245 |
+-0, 288000, 152064, 0x4ceca7d0 |
|
2246 |
+-0, 291600, 152064, 0x63a60f1d |
|
2247 |
+-0, 295200, 152064, 0x4cd31f28 |
|
2248 |
+-0, 298800, 152064, 0x9c9af5d1 |
|
2249 |
+-0, 302400, 152064, 0x6def65fc |
|
2250 |
+-0, 306000, 152064, 0x1011466d |
|
2251 |
+-0, 309600, 152064, 0xfeca406d |
|
2252 |
+-0, 313200, 152064, 0xd1ca8a1e |
|
2253 |
+-0, 316800, 152064, 0x30caa195 |
|
2254 |
+-0, 320400, 152064, 0x31a09a48 |
|
2255 |
++0, 0, 152064, 0xbe322679 |
|
2256 |
++0, 3600, 152064, 0x0ea4238f |
|
2257 |
++0, 7200, 152064, 0x1e08fb3c |
|
2258 |
++0, 10800, 152064, 0x6da3a93c |
|
2259 |
++0, 14400, 152064, 0x75e5b181 |
|
2260 |
++0, 18000, 152064, 0xa0b39334 |
|
2261 |
++0, 21600, 152064, 0xa0d10d6d |
|
2262 |
++0, 25200, 152064, 0x33842bcb |
|
2263 |
++0, 28800, 152064, 0x9a74e1e4 |
|
2264 |
++0, 32400, 152064, 0xc2037244 |
|
2265 |
++0, 36000, 152064, 0x364b8ae4 |
|
2266 |
++0, 39600, 152064, 0x18c04971 |
|
2267 |
++0, 43200, 152064, 0x7234ecb5 |
|
2268 |
++0, 46800, 152064, 0x3719f8bc |
|
2269 |
++0, 50400, 152064, 0x1285ead1 |
|
2270 |
++0, 54000, 152064, 0xd3bfab18 |
|
2271 |
++0, 57600, 152064, 0x898111e2 |
|
2272 |
++0, 61200, 152064, 0x681c15fc |
|
2273 |
++0, 64800, 152064, 0x8e501572 |
|
2274 |
++0, 68400, 152064, 0xd7c838be |
|
2275 |
++0, 72000, 152064, 0xede424b2 |
|
2276 |
++0, 75600, 152064, 0xcfc20240 |
|
2277 |
++0, 79200, 152064, 0x13992e86 |
|
2278 |
++0, 82800, 152064, 0x56fb251a |
|
2279 |
++0, 86400, 152064, 0xee9be320 |
|
2280 |
++0, 90000, 152064, 0xea650153 |
|
2281 |
++0, 93600, 152064, 0x2cb6dabe |
|
2282 |
++0, 97200, 152064, 0xf44fa4b5 |
|
2283 |
++0, 100800, 152064, 0xdac2adff |
|
2284 |
++0, 104400, 152064, 0x9e15a1dc |
|
2285 |
++0, 108000, 152064, 0x28d00970 |
|
2286 |
++0, 111600, 152064, 0xe4277347 |
|
2287 |
++0, 115200, 152064, 0xebd25ad1 |
|
2288 |
++0, 118800, 152064, 0x029402da |
|
2289 |
++0, 122400, 152064, 0x1a2311ef |
|
2290 |
++0, 126000, 152064, 0xb86bf96a |
|
2291 |
++0, 129600, 152064, 0x67d7a5b0 |
|
2292 |
++0, 133200, 152064, 0x573abc2d |
|
2293 |
++0, 136800, 152064, 0xbe97dec0 |
|
2294 |
++0, 140400, 152064, 0x592b91a4 |
|
2295 |
++0, 144000, 152064, 0x9adda65e |
|
2296 |
++0, 147600, 152064, 0x0354b2cb |
|
2297 |
++0, 151200, 152064, 0x91e27ff9 |
|
2298 |
++0, 154800, 152064, 0x389f8625 |
|
2299 |
++0, 158400, 152064, 0x90175850 |
|
2300 |
++0, 162000, 152064, 0x2d36c427 |
|
2301 |
++0, 165600, 152064, 0xc0dd14ab |
|
2302 |
++0, 169200, 152064, 0xd49bf131 |
|
2303 |
++0, 172800, 152064, 0x0d4a9b92 |
|
2304 |
++0, 176400, 152064, 0xae9bb2f1 |
|
2305 |
++0, 180000, 152064, 0x36847ade |
|
2306 |
++0, 183600, 152064, 0x74810382 |
|
2307 |
++0, 187200, 152064, 0xc56d1d9f |
|
2308 |
++0, 190800, 152064, 0xcfefe3ae |
|
2309 |
++0, 194400, 152064, 0xeaa39353 |
|
2310 |
++0, 198000, 152064, 0x14289aef |
|
2311 |
++0, 201600, 152064, 0x74ba8f3b |
|
2312 |
++0, 205200, 152064, 0xdcaa518d |
|
2313 |
++0, 208800, 152064, 0x6e4881c2 |
|
2314 |
++0, 212400, 152064, 0xa4db767d |
|
2315 |
++0, 216000, 152064, 0x239b0b19 |
|
2316 |
++0, 219600, 152064, 0x5d054236 |
|
2317 |
++0, 223200, 152064, 0x6f392d7c |
|
2318 |
++0, 226800, 152064, 0x5c2af146 |
|
2319 |
++0, 230400, 152064, 0x26b439af |
|
2320 |
++0, 234000, 152064, 0xba7043ab |
|
2321 |
++0, 237600, 152064, 0x0816000c |
|
2322 |
++0, 241200, 152064, 0x3a713c05 |
|
2323 |
++0, 244800, 152064, 0xb3111f6d |
|
2324 |
++0, 248400, 152064, 0xdbf8dae2 |
|
2325 |
++0, 252000, 152064, 0x09ddf22e |
|
2326 |
++0, 255600, 152064, 0x8871fa7e |
|
2327 |
++0, 259200, 152064, 0x9f5db7a1 |
|
2328 |
++0, 262800, 152064, 0xcc38f225 |
|
2329 |
++0, 266400, 152064, 0xa1d18df9 |
|
2330 |
++0, 270000, 152064, 0x9b1c5d6a |
|
2331 |
++0, 273600, 152064, 0x9f2bc696 |
|
2332 |
++0, 277200, 152064, 0xc39bd11a |
|
2333 |
++0, 280800, 152064, 0x4ceca7d0 |
|
2334 |
++0, 284400, 152064, 0x63a60f1d |
|
2335 |
++0, 288000, 152064, 0x4cd31f28 |
|
2336 |
++0, 291600, 152064, 0x9c9af5d1 |
|
2337 |
++0, 295200, 152064, 0x6def65fc |
|
2338 |
++0, 298800, 152064, 0x1011466d |
|
2339 |
++0, 302400, 152064, 0xfeca406d |
|
2340 |
++0, 306000, 152064, 0xd1ca8a1e |
|
2341 |
++0, 309600, 152064, 0x30caa195 |
|
2342 |
++0, 313200, 152064, 0x31a09a48 |
|
2343 |
+make: *** [fate-h264-conformance-cvpa1_toshiba_b] Error 1 |
|
2344 |
+TEST h264-conformance-cvpcmnl1_sva_c |
|
2345 |
+TEST h264-conformance-cvpcmnl2_sva_c |
|
2346 |
+TEST h264-conformance-cvwp1_toshiba_e |
|
2347 |
+TEST h264-conformance-cvwp2_toshiba_e |
|
2348 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-cvwp2_toshiba_e 2010-05-11 03:02:59.000000000 -0400 |
|
2349 |
+@@ -1,90 +1,88 @@ |
|
2350 |
+-0, 0, 152064, 0xf503fb79 |
|
2351 |
+-0, 3600, 152064, 0xeaa4ba5d |
|
2352 |
+-0, 7200, 152064, 0x50865a33 |
|
2353 |
+-0, 10800, 152064, 0x34125f86 |
|
2354 |
+-0, 14400, 152064, 0xc5a8bb68 |
|
2355 |
+-0, 18000, 152064, 0xe6e9b376 |
|
2356 |
+-0, 21600, 152064, 0x4e41d48e |
|
2357 |
+-0, 25200, 152064, 0xea73cc5d |
|
2358 |
+-0, 28800, 152064, 0xc0c60ac0 |
|
2359 |
+-0, 32400, 152064, 0xd7110670 |
|
2360 |
+-0, 36000, 152064, 0x00465d0d |
|
2361 |
+-0, 39600, 152064, 0xa37a726b |
|
2362 |
+-0, 43200, 152064, 0x5dd13b2a |
|
2363 |
+-0, 46800, 152064, 0x08471f31 |
|
2364 |
+-0, 50400, 152064, 0x2bb2b055 |
|
2365 |
+-0, 54000, 152064, 0xd06d7f1c |
|
2366 |
+-0, 57600, 152064, 0x91fde84a |
|
2367 |
+-0, 61200, 152064, 0xdbb52d2b |
|
2368 |
+-0, 64800, 152064, 0x505c08b4 |
|
2369 |
+-0, 68400, 152064, 0xd8aeef9f |
|
2370 |
+-0, 72000, 152064, 0x4e3f8721 |
|
2371 |
+-0, 75600, 152064, 0xce534aee |
|
2372 |
+-0, 79200, 152064, 0x51f80737 |
|
2373 |
+-0, 82800, 152064, 0x8fa0e443 |
|
2374 |
+-0, 86400, 152064, 0xe8c9db17 |
|
2375 |
+-0, 90000, 152064, 0xc84bcee6 |
|
2376 |
+-0, 93600, 152064, 0xa7916158 |
|
2377 |
+-0, 97200, 152064, 0x16149c36 |
|
2378 |
+-0, 100800, 152064, 0xe55213fd |
|
2379 |
+-0, 104400, 152064, 0xa701e59d |
|
2380 |
+-0, 108000, 152064, 0xad65e200 |
|
2381 |
+-0, 111600, 152064, 0x4606dc82 |
|
2382 |
+-0, 115200, 152064, 0x582f9f64 |
|
2383 |
+-0, 118800, 152064, 0xc630662a |
|
2384 |
+-0, 122400, 152064, 0xe54bacf5 |
|
2385 |
+-0, 126000, 152064, 0x230e387f |
|
2386 |
+-0, 129600, 152064, 0x1a9c746c |
|
2387 |
+-0, 133200, 152064, 0xfa002d7c |
|
2388 |
+-0, 136800, 152064, 0xe617c4a9 |
|
2389 |
+-0, 140400, 152064, 0xd3a4df19 |
|
2390 |
+-0, 144000, 152064, 0x25b9ca8c |
|
2391 |
+-0, 147600, 152064, 0x0c505f7c |
|
2392 |
+-0, 151200, 152064, 0x43f84f88 |
|
2393 |
+-0, 154800, 152064, 0x859fb3af |
|
2394 |
+-0, 158400, 152064, 0x9680fc13 |
|
2395 |
+-0, 162000, 152064, 0x3fe6ecb6 |
|
2396 |
+-0, 165600, 152064, 0xf4c05a9c |
|
2397 |
+-0, 169200, 152064, 0x16ba3b13 |
|
2398 |
+-0, 172800, 152064, 0x72f33fb9 |
|
2399 |
+-0, 176400, 152064, 0x3076e567 |
|
2400 |
+-0, 180000, 152064, 0x4e69b604 |
|
2401 |
+-0, 183600, 152064, 0x9c37a98b |
|
2402 |
+-0, 187200, 152064, 0x0d5756c7 |
|
2403 |
+-0, 190800, 152064, 0xa4a46a81 |
|
2404 |
+-0, 194400, 152064, 0xadfc89d7 |
|
2405 |
+-0, 198000, 152064, 0x35693493 |
|
2406 |
+-0, 201600, 152064, 0xe3baedbf |
|
2407 |
+-0, 205200, 152064, 0x78cfb405 |
|
2408 |
+-0, 208800, 152064, 0xd85c7074 |
|
2409 |
+-0, 212400, 152064, 0x14ab350e |
|
2410 |
+-0, 216000, 152064, 0xaf55433e |
|
2411 |
+-0, 219600, 152064, 0x75a8e79f |
|
2412 |
+-0, 223200, 152064, 0x2fb599f6 |
|
2413 |
+-0, 226800, 152064, 0xbe30bdfe |
|
2414 |
+-0, 230400, 152064, 0x8b07a5ce |
|
2415 |
+-0, 234000, 152064, 0x99b32730 |
|
2416 |
+-0, 237600, 152064, 0x9265182d |
|
2417 |
+-0, 241200, 152064, 0x91e789fd |
|
2418 |
+-0, 244800, 152064, 0x1c1e6d16 |
|
2419 |
+-0, 248400, 152064, 0xfa06bdaa |
|
2420 |
+-0, 252000, 152064, 0x7177041f |
|
2421 |
+-0, 255600, 152064, 0xd902f99d |
|
2422 |
+-0, 259200, 152064, 0x29bdc134 |
|
2423 |
+-0, 262800, 152064, 0xd713ab76 |
|
2424 |
+-0, 266400, 152064, 0x60e4788e |
|
2425 |
+-0, 270000, 152064, 0xb18c7789 |
|
2426 |
+-0, 273600, 152064, 0x0b7829a5 |
|
2427 |
+-0, 277200, 152064, 0xf676d780 |
|
2428 |
+-0, 280800, 152064, 0xa88a3a57 |
|
2429 |
+-0, 284400, 152064, 0x825cf289 |
|
2430 |
+-0, 288000, 152064, 0x78928201 |
|
2431 |
+-0, 291600, 152064, 0x013a589c |
|
2432 |
+-0, 295200, 152064, 0x9269fa64 |
|
2433 |
+-0, 298800, 152064, 0x6db5f5fa |
|
2434 |
+-0, 302400, 152064, 0x49ad9d6a |
|
2435 |
+-0, 306000, 152064, 0x1b7c290f |
|
2436 |
+-0, 309600, 152064, 0x99716ad1 |
|
2437 |
+-0, 313200, 152064, 0x371527c2 |
|
2438 |
+-0, 316800, 152064, 0x9f351841 |
|
2439 |
+-0, 320400, 152064, 0x884bb432 |
|
2440 |
++0, 0, 152064, 0x50865a33 |
|
2441 |
++0, 3600, 152064, 0x34125f86 |
|
2442 |
++0, 7200, 152064, 0xc5a8bb68 |
|
2443 |
++0, 10800, 152064, 0xe6e9b376 |
|
2444 |
++0, 14400, 152064, 0x4e41d48e |
|
2445 |
++0, 18000, 152064, 0xea73cc5d |
|
2446 |
++0, 21600, 152064, 0xc0c60ac0 |
|
2447 |
++0, 25200, 152064, 0xd7110670 |
|
2448 |
++0, 28800, 152064, 0x00465d0d |
|
2449 |
++0, 32400, 152064, 0xa37a726b |
|
2450 |
++0, 36000, 152064, 0x5dd13b2a |
|
2451 |
++0, 39600, 152064, 0x08471f31 |
|
2452 |
++0, 43200, 152064, 0x2bb2b055 |
|
2453 |
++0, 46800, 152064, 0xd06d7f1c |
|
2454 |
++0, 50400, 152064, 0x91fde84a |
|
2455 |
++0, 54000, 152064, 0xdbb52d2b |
|
2456 |
++0, 57600, 152064, 0x505c08b4 |
|
2457 |
++0, 61200, 152064, 0xd8aeef9f |
|
2458 |
++0, 64800, 152064, 0x4e3f8721 |
|
2459 |
++0, 68400, 152064, 0xce534aee |
|
2460 |
++0, 72000, 152064, 0x51f80737 |
|
2461 |
++0, 75600, 152064, 0x8fa0e443 |
|
2462 |
++0, 79200, 152064, 0xe8c9db17 |
|
2463 |
++0, 82800, 152064, 0xc84bcee6 |
|
2464 |
++0, 86400, 152064, 0xa7916158 |
|
2465 |
++0, 90000, 152064, 0x16149c36 |
|
2466 |
++0, 93600, 152064, 0xe55213fd |
|
2467 |
++0, 97200, 152064, 0xa701e59d |
|
2468 |
++0, 100800, 152064, 0xad65e200 |
|
2469 |
++0, 104400, 152064, 0x4606dc82 |
|
2470 |
++0, 108000, 152064, 0x582f9f64 |
|
2471 |
++0, 111600, 152064, 0xc630662a |
|
2472 |
++0, 115200, 152064, 0xe54bacf5 |
|
2473 |
++0, 118800, 152064, 0x230e387f |
|
2474 |
++0, 122400, 152064, 0x1a9c746c |
|
2475 |
++0, 126000, 152064, 0xfa002d7c |
|
2476 |
++0, 129600, 152064, 0xe617c4a9 |
|
2477 |
++0, 133200, 152064, 0xd3a4df19 |
|
2478 |
++0, 136800, 152064, 0x25b9ca8c |
|
2479 |
++0, 140400, 152064, 0x0c505f7c |
|
2480 |
++0, 144000, 152064, 0x43f84f88 |
|
2481 |
++0, 147600, 152064, 0x859fb3af |
|
2482 |
++0, 151200, 152064, 0x9680fc13 |
|
2483 |
++0, 154800, 152064, 0x3fe6ecb6 |
|
2484 |
++0, 158400, 152064, 0xf4c05a9c |
|
2485 |
++0, 162000, 152064, 0x16ba3b13 |
|
2486 |
++0, 165600, 152064, 0x72f33fb9 |
|
2487 |
++0, 169200, 152064, 0x3076e567 |
|
2488 |
++0, 172800, 152064, 0x4e69b604 |
|
2489 |
++0, 176400, 152064, 0x9c37a98b |
|
2490 |
++0, 180000, 152064, 0x0d5756c7 |
|
2491 |
++0, 183600, 152064, 0xa4a46a81 |
|
2492 |
++0, 187200, 152064, 0xadfc89d7 |
|
2493 |
++0, 190800, 152064, 0x35693493 |
|
2494 |
++0, 194400, 152064, 0xe3baedbf |
|
2495 |
++0, 198000, 152064, 0x78cfb405 |
|
2496 |
++0, 201600, 152064, 0xd85c7074 |
|
2497 |
++0, 205200, 152064, 0x14ab350e |
|
2498 |
++0, 208800, 152064, 0xaf55433e |
|
2499 |
++0, 212400, 152064, 0x75a8e79f |
|
2500 |
++0, 216000, 152064, 0x2fb599f6 |
|
2501 |
++0, 219600, 152064, 0xbe30bdfe |
|
2502 |
++0, 223200, 152064, 0x8b07a5ce |
|
2503 |
++0, 226800, 152064, 0x99b32730 |
|
2504 |
++0, 230400, 152064, 0x9265182d |
|
2505 |
++0, 234000, 152064, 0x91e789fd |
|
2506 |
++0, 237600, 152064, 0x1c1e6d16 |
|
2507 |
++0, 241200, 152064, 0xfa06bdaa |
|
2508 |
++0, 244800, 152064, 0x7177041f |
|
2509 |
++0, 248400, 152064, 0xd902f99d |
|
2510 |
++0, 252000, 152064, 0x29bdc134 |
|
2511 |
++0, 255600, 152064, 0xd713ab76 |
|
2512 |
++0, 259200, 152064, 0x60e4788e |
|
2513 |
++0, 262800, 152064, 0xb18c7789 |
|
2514 |
++0, 266400, 152064, 0x0b7829a5 |
|
2515 |
++0, 270000, 152064, 0xf676d780 |
|
2516 |
++0, 273600, 152064, 0xa88a3a57 |
|
2517 |
++0, 277200, 152064, 0x825cf289 |
|
2518 |
++0, 280800, 152064, 0x78928201 |
|
2519 |
++0, 284400, 152064, 0x013a589c |
|
2520 |
++0, 288000, 152064, 0x9269fa64 |
|
2521 |
++0, 291600, 152064, 0x6db5f5fa |
|
2522 |
++0, 295200, 152064, 0x49ad9d6a |
|
2523 |
++0, 298800, 152064, 0x1b7c290f |
|
2524 |
++0, 302400, 152064, 0x99716ad1 |
|
2525 |
++0, 306000, 152064, 0x371527c2 |
|
2526 |
++0, 309600, 152064, 0x9f351841 |
|
2527 |
++0, 313200, 152064, 0x884bb432 |
|
2528 |
+make: *** [fate-h264-conformance-cvwp2_toshiba_e] Error 1 |
|
2529 |
+TEST h264-conformance-cvwp3_toshiba_e |
|
2530 |
+--- /Users/astrange/Projects/video/ffmpeg-soc/tests/ref/fate/h264-conformance-cvwp3_toshiba_e 2010-05-11 03:02:59.000000000 -0400 |
|
2531 |
+@@ -1,90 +1,88 @@ |
|
2532 |
+-0, 0, 152064, 0x3b3ffd31 |
|
2533 |
+-0, 3600, 152064, 0x14e0b899 |
|
2534 |
+-0, 7200, 152064, 0x50865a33 |
|
2535 |
+-0, 10800, 152064, 0x12e749e5 |
|
2536 |
+-0, 14400, 152064, 0xe5921130 |
|
2537 |
+-0, 18000, 152064, 0x2ca3b10d |
|
2538 |
+-0, 21600, 152064, 0xa9a39f04 |
|
2539 |
+-0, 25200, 152064, 0x2c78761a |
|
2540 |
+-0, 28800, 152064, 0x70890ad7 |
|
2541 |
+-0, 32400, 152064, 0x4fc30132 |
|
2542 |
+-0, 36000, 152064, 0x10e4d2c9 |
|
2543 |
+-0, 39600, 152064, 0xa3326b50 |
|
2544 |
+-0, 43200, 152064, 0x8e054bf1 |
|
2545 |
+-0, 46800, 152064, 0x5bd91687 |
|
2546 |
+-0, 50400, 152064, 0x70bab119 |
|
2547 |
+-0, 54000, 152064, 0x9a1ab472 |
|
2548 |
+-0, 57600, 152064, 0x490776a0 |
|
2549 |
+-0, 61200, 152064, 0xdbb52d2b |
|
2550 |
+-0, 64800, 152064, 0x142714b9 |
|
2551 |
+-0, 68400, 152064, 0xa051ee6f |
|
2552 |
+-0, 72000, 152064, 0xafa97fdf |
|
2553 |
+-0, 75600, 152064, 0x1ae67347 |
|
2554 |
+-0, 79200, 152064, 0xc4f42ed6 |
|
2555 |
+-0, 82800, 152064, 0x4445dc60 |
|
2556 |
+-0, 86400, 152064, 0xaef4d04b |
|
2557 |
+-0, 90000, 152064, 0x6a51be82 |
|
2558 |
+-0, 93600, 152064, 0x48356190 |
|
2559 |
+-0, 97200, 152064, 0xc09b5f5d |
|
2560 |
+-0, 100800, 152064, 0x933d3379 |
|
2561 |
+-0, 104400, 152064, 0xfb57e471 |
|
2562 |
+-0, 108000, 152064, 0xb5b2f45c |
|
2563 |
+-0, 111600, 152064, 0xce36e45e |
|
2564 |
+-0, 115200, 152064, 0x582f9f64 |
|
2565 |
+-0, 118800, 152064, 0x2f45b1fd |
|
2566 |
+-0, 122400, 152064, 0x90708fa0 |
|
2567 |
+-0, 126000, 152064, 0xee483b8f |
|
2568 |
+-0, 129600, 152064, 0xd2163e6c |
|
2569 |
+-0, 133200, 152064, 0x39492dfe |
|
2570 |
+-0, 136800, 152064, 0xf89cc57f |
|
2571 |
+-0, 140400, 152064, 0xbfc3c411 |
|
2572 |
+-0, 144000, 152064, 0x919eb007 |
|
2573 |
+-0, 147600, 152064, 0x2c526309 |
|
2574 |
+-0, 151200, 152064, 0x39f067a2 |
|
2575 |
+-0, 154800, 152064, 0xb7653abb |
|
2576 |
+-0, 158400, 152064, 0xe26a035c |
|
2577 |
+-0, 162000, 152064, 0xcef1eb3b |
|
2578 |
+-0, 165600, 152064, 0xb8b3c55f |
|
2579 |
+-0, 169200, 152064, 0x16ba3b13 |
|
2580 |
+-0, 172800, 152064, 0x153a3117 |
|
2581 |
+-0, 176400, 152064, 0x90a21859 |
|
2582 |
+-0, 180000, 152064, 0x9231b756 |
|
2583 |
+-0, 183600, 152064, 0x65fcbcb9 |
|
2584 |
+-0, 187200, 152064, 0x447eaf44 |
|
2585 |
+-0, 190800, 152064, 0xa26b6a8e |
|
2586 |
+-0, 194400, 152064, 0x100464f8 |
|
2587 |
+-0, 198000, 152064, 0x479648ec |
|
2588 |
+-0, 201600, 152064, 0x6742f51f |
|
2589 |
+-0, 205200, 152064, 0x14e9d906 |
|
2590 |
+-0, 208800, 152064, 0xa058ab87 |
|
2591 |
+-0, 212400, 152064, 0x8d093874 |
|
2592 |
+-0, 216000, 152064, 0xef7f2965 |
|
2593 |
+-0, 219600, 152064, 0x200d02bd |
|
2594 |
+-0, 223200, 152064, 0x2fb599f6 |
|
2595 |
+-0, 226800, 152064, 0xf65fb6e4 |
|
2596 |
+-0, 230400, 152064, 0x489a9152 |
|
2597 |
+-0, 234000, 152064, 0xbe8a2fc2 |
|
2598 |
+-0, 237600, 152064, 0xea04097e |
|
2599 |
+-0, 241200, 152064, 0xaf0cd627 |
|
2600 |
+-0, 244800, 152064, 0xc0a26b27 |
|
2601 |
+-0, 248400, 152064, 0x985f67e7 |
|
2602 |
+-0, 252000, 152064, 0x7d1b4c4c |
|
2603 |
+-0, 255600, 152064, 0x9908f838 |
|
2604 |
+-0, 259200, 152064, 0xb8fef131 |
|
2605 |
+-0, 262800, 152064, 0xb1feaf6c |
|
2606 |
+-0, 266400, 152064, 0x37b16bda |
|
2607 |
+-0, 270000, 152064, 0x242471aa |
|
2608 |
+-0, 273600, 152064, 0xf18c3839 |
|
2609 |
+-0, 277200, 152064, 0xf676d780 |
|
2610 |
+-0, 280800, 152064, 0x17bd0f76 |
|
2611 |
+-0, 284400, 152064, 0x3703e7a6 |
|
2612 |
+-0, 288000, 152064, 0x69ba8a8a |
|
2613 |
+-0, 291600, 152064, 0x205281b3 |
|
2614 |
+-0, 295200, 152064, 0x54bf51e1 |
|
2615 |
+-0, 298800, 152064, 0xf6daf8ed |
|
2616 |
+-0, 302400, 152064, 0x8728e805 |
|
2617 |
+-0, 306000, 152064, 0xe98cd2b0 |
|
2618 |
+-0, 309600, 152064, 0x7ef76e26 |
|
2619 |
+-0, 313200, 152064, 0x0fbf5230 |
|
2620 |
+-0, 316800, 152064, 0x9e4d104b |
|
2621 |
+-0, 320400, 152064, 0xd562b815 |
|
2622 |
++0, 0, 152064, 0x50865a33 |
|
2623 |
++0, 3600, 152064, 0x12e749e5 |
|
2624 |
++0, 7200, 152064, 0xe5921130 |
|
2625 |
++0, 10800, 152064, 0x2ca3b10d |
|
2626 |
++0, 14400, 152064, 0xa9a39f04 |
|
2627 |
++0, 18000, 152064, 0x2c78761a |
|
2628 |
++0, 21600, 152064, 0x70890ad7 |
|
2629 |
++0, 25200, 152064, 0x4fc30132 |
|
2630 |
++0, 28800, 152064, 0x10e4d2c9 |
|
2631 |
++0, 32400, 152064, 0xa3326b50 |
|
2632 |
++0, 36000, 152064, 0x8e054bf1 |
|
2633 |
++0, 39600, 152064, 0x5bd91687 |
|
2634 |
++0, 43200, 152064, 0x70bab119 |
|
2635 |
++0, 46800, 152064, 0x9a1ab472 |
|
2636 |
++0, 50400, 152064, 0x490776a0 |
|
2637 |
++0, 54000, 152064, 0xdbb52d2b |
|
2638 |
++0, 57600, 152064, 0x142714b9 |
|
2639 |
++0, 61200, 152064, 0xa051ee6f |
|
2640 |
++0, 64800, 152064, 0xafa97fdf |
|
2641 |
++0, 68400, 152064, 0x1ae67347 |
|
2642 |
++0, 72000, 152064, 0xc4f42ed6 |
|
2643 |
++0, 75600, 152064, 0x4445dc60 |
|
2644 |
++0, 79200, 152064, 0xaef4d04b |
|
2645 |
++0, 82800, 152064, 0x6a51be82 |
|
2646 |
++0, 86400, 152064, 0x48356190 |
|
2647 |
++0, 90000, 152064, 0xc09b5f5d |
|
2648 |
++0, 93600, 152064, 0x933d3379 |
|
2649 |
++0, 97200, 152064, 0xfb57e471 |
|
2650 |
++0, 100800, 152064, 0xb5b2f45c |
|
2651 |
++0, 104400, 152064, 0xce36e45e |
|
2652 |
++0, 108000, 152064, 0x582f9f64 |
|
2653 |
++0, 111600, 152064, 0x2f45b1fd |
|
2654 |
++0, 115200, 152064, 0x90708fa0 |
|
2655 |
++0, 118800, 152064, 0xee483b8f |
|
2656 |
++0, 122400, 152064, 0xd2163e6c |
|
2657 |
++0, 126000, 152064, 0x39492dfe |
|
2658 |
++0, 129600, 152064, 0xf89cc57f |
|
2659 |
++0, 133200, 152064, 0xbfc3c411 |
|
2660 |
++0, 136800, 152064, 0x919eb007 |
|
2661 |
++0, 140400, 152064, 0x2c526309 |
|
2662 |
++0, 144000, 152064, 0x39f067a2 |
|
2663 |
++0, 147600, 152064, 0xb7653abb |
|
2664 |
++0, 151200, 152064, 0xe26a035c |
|
2665 |
++0, 154800, 152064, 0xcef1eb3b |
|
2666 |
++0, 158400, 152064, 0xb8b3c55f |
|
2667 |
++0, 162000, 152064, 0x16ba3b13 |
|
2668 |
++0, 165600, 152064, 0x153a3117 |
|
2669 |
++0, 169200, 152064, 0x90a21859 |
|
2670 |
++0, 172800, 152064, 0x9231b756 |
|
2671 |
++0, 176400, 152064, 0x65fcbcb9 |
|
2672 |
++0, 180000, 152064, 0x447eaf44 |
|
2673 |
++0, 183600, 152064, 0xa26b6a8e |
|
2674 |
++0, 187200, 152064, 0x100464f8 |
|
2675 |
++0, 190800, 152064, 0x479648ec |
|
2676 |
++0, 194400, 152064, 0x6742f51f |
|
2677 |
++0, 198000, 152064, 0x14e9d906 |
|
2678 |
++0, 201600, 152064, 0xa058ab87 |
|
2679 |
++0, 205200, 152064, 0x8d093874 |
|
2680 |
++0, 208800, 152064, 0xef7f2965 |
|
2681 |
++0, 212400, 152064, 0x200d02bd |
|
2682 |
++0, 216000, 152064, 0x2fb599f6 |
|
2683 |
++0, 219600, 152064, 0xf65fb6e4 |
|
2684 |
++0, 223200, 152064, 0x489a9152 |
|
2685 |
++0, 226800, 152064, 0xbe8a2fc2 |
|
2686 |
++0, 230400, 152064, 0xea04097e |
|
2687 |
++0, 234000, 152064, 0xaf0cd627 |
|
2688 |
++0, 237600, 152064, 0xc0a26b27 |
|
2689 |
++0, 241200, 152064, 0x985f67e7 |
|
2690 |
++0, 244800, 152064, 0x7d1b4c4c |
|
2691 |
++0, 248400, 152064, 0x9908f838 |
|
2692 |
++0, 252000, 152064, 0xb8fef131 |
|
2693 |
++0, 255600, 152064, 0xb1feaf6c |
|
2694 |
++0, 259200, 152064, 0x37b16bda |
|
2695 |
++0, 262800, 152064, 0x242471aa |
|
2696 |
++0, 266400, 152064, 0xf18c3839 |
|
2697 |
++0, 270000, 152064, 0xf676d780 |
|
2698 |
++0, 273600, 152064, 0x17bd0f76 |
|
2699 |
++0, 277200, 152064, 0x3703e7a6 |
|
2700 |
++0, 280800, 152064, 0x69ba8a8a |
|
2701 |
++0, 284400, 152064, 0x205281b3 |
|
2702 |
++0, 288000, 152064, 0x54bf51e1 |
|
2703 |
++0, 291600, 152064, 0xf6daf8ed |
|
2704 |
++0, 295200, 152064, 0x8728e805 |
|
2705 |
++0, 298800, 152064, 0xe98cd2b0 |
|
2706 |
++0, 302400, 152064, 0x7ef76e26 |
|
2707 |
++0, 306000, 152064, 0x0fbf5230 |
|
2708 |
++0, 309600, 152064, 0x9e4d104b |
|
2709 |
++0, 313200, 152064, 0xd562b815 |
|
2710 |
+make: *** [fate-h264-conformance-cvwp3_toshiba_e] Error 1 |
|
2711 |
+TEST h264-conformance-cvwp5_toshiba_e |
|
2712 |
+TEST h264-conformance-fi1_sony_e |
|
2713 |
+TEST h264-conformance-frext-alphaconformanceg |
|
2714 |
+TEST h264-conformance-frext-bcrm_freh10 |
|
2715 |
+TEST h264-conformance-frext-brcm_freh11 |
|
2716 |
+TEST h264-conformance-frext-brcm_freh3 |
|
2717 |
+TEST h264-conformance-frext-brcm_freh4 |
|
2718 |
+TEST h264-conformance-frext-brcm_freh5 |
|
2719 |
+TEST h264-conformance-frext-brcm_freh8 |
|
2720 |
+TEST h264-conformance-frext-brcm_freh9 |
|
2721 |
+TEST h264-conformance-frext-freh12_b |
|
2722 |
+TEST h264-conformance-frext-freh1_b |
|
2723 |
+TEST h264-conformance-frext-freh2_b |
|
2724 |
+TEST h264-conformance-frext-freh6 |
|
2725 |
+TEST h264-conformance-frext-freh7_b |
|
2726 |
+TEST h264-conformance-frext-frext01_jvc_d |
|
2727 |
+TEST h264-conformance-frext-frext02_jvc_c |
|
2728 |
+TEST h264-conformance-frext-frext1_panasonic_c |
|
2729 |
+TEST h264-conformance-frext-frext2_panasonic_b |
|
2730 |
+TEST h264-conformance-frext-frext3_panasonic_d |
|
2731 |
+TEST h264-conformance-frext-frext4_panasonic_a |
|
2732 |
+TEST h264-conformance-frext-frext_mmco4_sony_b |
|
2733 |
+TEST h264-conformance-frext-hcaff1_hhi_b |
|
2734 |
+TEST h264-conformance-frext-hcafr1_hhi_c |
|
2735 |
+TEST h264-conformance-frext-hcafr2_hhi_a |
|
2736 |
+TEST h264-conformance-frext-hcafr3_hhi_a |
|
2737 |
+TEST h264-conformance-frext-hcafr4_hhi_a |
|
2738 |
+TEST h264-conformance-frext-hcamff1_hhi_b |
|
2739 |
+TEST h264-conformance-frext-hpca_brcm_c |
|
2740 |
+TEST h264-conformance-frext-hpcadq_brcm_b |
|
2741 |
+TEST h264-conformance-frext-hpcafl_bcrm_c |
|
2742 |
+TEST h264-conformance-frext-hpcaflnl_bcrm_c |
|
2743 |
+TEST h264-conformance-frext-hpcalq_brcm_b |
|
2744 |
+TEST h264-conformance-frext-hpcamapalq_bcrm_b |
|
2745 |
+TEST h264-conformance-frext-hpcamolq_brcm_b |
|
2746 |
+TEST h264-conformance-frext-hpcanl_brcm_c |
|
2747 |
+TEST h264-conformance-frext-hpcaq2lq_brcm_b |
|
2748 |
+TEST h264-conformance-frext-hpcv_brcm_a |
|
2749 |
+TEST h264-conformance-frext-hpcvfl_bcrm_a |
|
2750 |
+TEST h264-conformance-frext-hpcvflnl_bcrm_a |
|
2751 |
+TEST h264-conformance-frext-hpcvmolq_brcm_b |
|
2752 |
+TEST h264-conformance-frext-hpcvnl_brcm_a |
|
2753 |
+TEST h264-conformance-hcbp2_hhi_a |
|
2754 |
+TEST h264-conformance-hcmp1_hhi_a |
|
2755 |
+TEST h264-conformance-ls_sva_d |
|
2756 |
+TEST h264-conformance-midr_mw_d |
|
2757 |
+TEST h264-conformance-mps_mw_a |
|
2758 |
+TEST h264-conformance-mr1_bt_a |
|
2759 |
+TEST h264-conformance-mr1_mw_a |
|
2760 |
+TEST h264-conformance-mr2_mw_a |
|
2761 |
+TEST h264-conformance-mr2_tandberg_e |
|
2762 |
+TEST h264-conformance-mr3_tandberg_b |
|
2763 |
+TEST h264-conformance-mr4_tandberg_c |
|
2764 |
+TEST h264-conformance-mr5_tandberg_c |
|
2765 |
+TEST h264-conformance-mr6_bt_b |
|
2766 |
+TEST h264-conformance-mr7_bt_b |
|
2767 |
+TEST h264-conformance-mr8_bt_b |
|
2768 |
+TEST h264-conformance-mr9_bt_b |
|
2769 |
+TEST h264-conformance-mv1_brcm_d |
|
2770 |
+TEST h264-conformance-nl1_sony_d |
|
2771 |
+TEST h264-conformance-nl2_sony_h |
|
2772 |
+TEST h264-conformance-nl3_sva_e |
|
2773 |
+TEST h264-conformance-nlmq1_jvc_c |
|
2774 |
+TEST h264-conformance-nlmq2_jvc_c |
|
2775 |
+TEST h264-conformance-nrf_mw_e |
|
2776 |
+TEST h264-conformance-sharp_mp_field_1_b |
|
2777 |
+TEST h264-conformance-sharp_mp_field_2_b |
|
2778 |
+TEST h264-conformance-sharp_mp_field_3_b |
|
2779 |
+TEST h264-conformance-sharp_mp_paff_1r2 |
|
2780 |
+TEST h264-conformance-sharp_mp_paff_2r |
|
2781 |
+TEST h264-conformance-sl1_sva_b |
|
2782 |
+TEST h264-conformance-sva_ba1_b |
|
2783 |
+TEST h264-conformance-sva_ba2_d |
|
2784 |
+TEST h264-conformance-sva_base_b |
|
2785 |
+TEST h264-conformance-sva_cl1_e |
|
2786 |
+TEST h264-conformance-sva_fm1_e |
|
2787 |
+TEST h264-conformance-sva_nl1_b |
|
2788 |
+TEST h264-conformance-sva_nl2_e |
|
2789 |
+TEST h264-interlace-crop |
|
2790 |
+TEST mp3-float-conf-compl |
|
2791 |
+TEST mp3-float-conf-he_32khz |
|
2792 |
+TEST mp3-float-conf-he_44khz |
|
2793 |
+TEST mp3-float-conf-he_48khz |
|
2794 |
+TEST mp3-float-conf-hecommon |
|
2795 |
+TEST mp3-float-conf-si |
|
2796 |
+TEST mp3-float-conf-si_block |
|
2797 |
+TEST vorbis-1 |
|
2798 |
+TEST vorbis-2 |
|
2799 |
+TEST vorbis-3 |
|
2800 |
+TEST vorbis-4 |
|
2801 |
+TEST vorbis-5 |
|
2802 |
+TEST vorbis-6 |
|
2803 |
+TEST vorbis-7 |
|
2804 |
+TEST vorbis-8 |
|
2805 |
+TEST vorbis-9 |
|
2806 |
+TEST vorbis-10 |
|
2807 |
+TEST vorbis-11 |
|
2808 |
+TEST vorbis-12 |
|
2809 |
+TEST vorbis-13 |
|
2810 |
+TEST vorbis-14 |
|
2811 |
+TEST vorbis-15 |
|
2812 |
+TEST vorbis-16 |
|
2813 |
+TEST vorbis-17 |
|
2814 |
+TEST vorbis-18 |
|
2815 |
+TEST vorbis-19 |
|
2816 |
+TEST vp8-test-vector-001 |
|
2817 |
+TEST vp8-test-vector-002 |
|
2818 |
+TEST vp8-test-vector-003 |
|
2819 |
+TEST vp8-test-vector-004 |
|
2820 |
+TEST vp8-test-vector-005 |
|
2821 |
+TEST vp8-test-vector-006 |
|
2822 |
+TEST vp8-test-vector-007 |
|
2823 |
+TEST vp8-test-vector-008 |
|
2824 |
+TEST vp8-test-vector-009 |
|
2825 |
+TEST vp8-test-vector-010 |
|
2826 |
+TEST vp8-test-vector-011 |
|
2827 |
+TEST vp8-test-vector-012 |
|
2828 |
+TEST vp8-test-vector-013 |
|
2829 |
+TEST vp8-test-vector-014 |
|
2830 |
+TEST vp8-test-vector-015 |
|
2831 |
+TEST vp8-test-vector-016 |
|
2832 |
+TEST vp8-test-vector-017 |
|
2833 |
+TEST vp8-sign-bias |
|
2834 |
+TEST vp8-test-vector-emu-edge-001 |
|
2835 |
+TEST vp8-test-vector-emu-edge-002 |
|
2836 |
+TEST vp8-test-vector-emu-edge-003 |
|
2837 |
+TEST vp8-test-vector-emu-edge-004 |
|
2838 |
+TEST vp8-test-vector-emu-edge-005 |
|
2839 |
+TEST vp8-test-vector-emu-edge-006 |
|
2840 |
+TEST vp8-test-vector-emu-edge-007 |
|
2841 |
+TEST vp8-test-vector-emu-edge-008 |
|
2842 |
+TEST vp8-test-vector-emu-edge-009 |
|
2843 |
+TEST vp8-test-vector-emu-edge-010 |
|
2844 |
+TEST vp8-test-vector-emu-edge-011 |
|
2845 |
+TEST vp8-test-vector-emu-edge-012 |
|
2846 |
+TEST vp8-test-vector-emu-edge-013 |
|
2847 |
+TEST vp8-test-vector-emu-edge-014 |
|
2848 |
+TEST vp8-test-vector-emu-edge-015 |
|
2849 |
+TEST vp8-test-vector-emu-edge-016 |
|
2850 |
+TEST vp8-test-vector-emu-edge-017 |
|
2851 |
+TEST vp8-sign-bias-emu-edge |
|
2852 |
+make: Target `fate' not remade because of errors. |
0 | 2853 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,13 @@ |
0 |
+#!/bin/bash |
|
1 |
+ |
|
2 |
+fn=`basename "$1"` |
|
3 |
+for th in 1 2 3 4; do |
|
4 |
+ time ./ffmpeg_g -threads $th -flags2 +fast -vsync 0 -y -t 30 -i "$1" -an -f framecrc "crc/$fn-$th.txt" >/dev/null 2>&1 |
|
5 |
+done |
|
6 |
+ |
|
7 |
+./ffmpeg_g -threads 1 -y -t 10 -i "$1" -an -f framecrc "crc/$fn-1-vsync.txt" >/dev/null 2>&1 |
|
8 |
+./ffmpeg_g -threads 3 -y -t 10 -i "$1" -an -f framecrc "crc/$fn-3-vsync.txt" >/dev/null 2>&1 |
|
9 |
+ |
|
10 |
+md5 "crc/$fn-"[1234].txt |
|
11 |
+echo |
|
12 |
+md5 "crc/$fn-"*vsync.txt |
0 | 13 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,91 @@ |
0 |
+Todo |
|
1 |
+ |
|
2 |
+-- For other people |
|
3 |
+- Multithread vp8 or vc1. |
|
4 |
+- Multithread an intra codec like mjpeg. |
|
5 |
+- Fix mpeg1 (see below). |
|
6 |
+- Try the first three items under Optimization. |
|
7 |
+- Fix h264 (see below). |
|
8 |
+- Try mpeg4 (see below). |
|
9 |
+ |
|
10 |
+-- Bug fixes |
|
11 |
+ |
|
12 |
+General critical: |
|
13 |
+- Error resilience has to run before ff_report_frame_progress() |
|
14 |
+is called. Otherwise there will be race conditions. (This might already |
|
15 |
+work.) In general testing error paths should be done more. |
|
16 |
+ |
|
17 |
+h264: |
|
18 |
+- Files split at the wrong NAL unit don't (and can't) |
|
19 |
+be decoded with threads (e.g. TS split so PPS is after |
|
20 |
+the frame, PAFF with two fields in a packet). Scan the |
|
21 |
+packet at the start of decode and don't finish setup |
|
22 |
+until all PPS/SPS have been encountered. |
|
23 |
+ |
|
24 |
+mpeg4: |
|
25 |
+- Packed B-frames need to be explicitly split up |
|
26 |
+when frame threading is on. It's not very fast |
|
27 |
+without this. |
|
28 |
+- The buffer age optimization is disabled due to |
|
29 |
+the way buffers are allocated across threads. The |
|
30 |
+branch 'fix_buffer_age' has an attempt to fix it |
|
31 |
+which breaks ffplay. |
|
32 |
+- Support interlaced. |
|
33 |
+ |
|
34 |
+mpeg1/2: |
|
35 |
+- Seeking always prints "first frame not a keyframe" |
|
36 |
+with threads on. Currently disabled for this reason. |
|
37 |
+ |
|
38 |
+-- Prove correct |
|
39 |
+ |
|
40 |
+- decode_update_progress() in h264.c |
|
41 |
+h264_race_checking branch has some work on h264, |
|
42 |
+but not that function. It might be worth putting |
|
43 |
+the branch under #ifdef DEBUG in mainline, but |
|
44 |
+the code would have to be cleaner. |
|
45 |
+- MPV_lowest_referenced_row() and co in mpegvideo.c |
|
46 |
+- Same in vp3. |
|
47 |
+ |
|
48 |
+-- Optimization |
|
49 |
+ |
|
50 |
+- EMU_EDGE is always set for h264 PAFF+MT |
|
51 |
+because draw_edges() writes into the other field's |
|
52 |
+thread's pixels. |
|
53 |
+- Check update_thread_context() functions and make |
|
54 |
+sure they only copy what they need to. |
|
55 |
+- Try some more optimization of the "ref < 48; ref++" |
|
56 |
+loop in h264.c await_references(), try turning the list0/list1 check |
|
57 |
+above into a loop without being slower. |
|
58 |
+- Support frame+slice threading at the same time |
|
59 |
+by assigning slice_count threads for frame threads |
|
60 |
+to use with execute(). This is simpler but unbalanced |
|
61 |
+if only one frame thread uses any. |
|
62 |
+ |
|
63 |
+-- Features |
|
64 |
+ |
|
65 |
+- Support streams with width/height changing. This |
|
66 |
+requires flushing all current frames (and buffering |
|
67 |
+the input in the meantime), closing the codec and |
|
68 |
+reopening it. Or don't support it. |
|
69 |
+- Support encoding. Might need more threading primitives |
|
70 |
+for good ratecontrol; would be nice for audio and libavfilter too. |
|
71 |
+- Async decoding part 1: instead of trying to |
|
72 |
+start every thread at the beginning, return a picture |
|
73 |
+if the earliest thread is already done, but don't wait |
|
74 |
+for it. Not sure what effect this would have. |
|
75 |
+- Part 2: have an API that doesn't wait for the decoding |
|
76 |
+thread, only returns EAGAIN if it's not ready. What will |
|
77 |
+it do with the next input packet if it returns that? |
|
78 |
+- Have an API that returns finished pictures but doesn't |
|
79 |
+require sending new ones. Maybe allow NULL avpkt when |
|
80 |
+not at the end of the stream. |
|
81 |
+ |
|
82 |
+-- Samples |
|
83 |
+ |
|
84 |
+http://astrange.ithinksw.net/ffmpeg/mt-samples/ |
|
85 |
+ |
|
86 |
+See yuvcmp.c in this directory to compare decoded samples. |
|
87 |
+ |
|
88 |
+For debugging, try commenting out ff_thread_finish_setup calls so |
|
89 |
+that only one thread runs at once, and then binary search+ |
|
90 |
+scatter printfs to look for differences in codec contexts. |
1 | 4 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,182 @@ |
0 |
+/* |
|
1 |
+ * originally by Andreas Öman (andoma) |
|
2 |
+ * some changes by Alexander Strange |
|
3 |
+ */ |
|
4 |
+ |
|
5 |
+#include <string.h> |
|
6 |
+#include <stdlib.h> |
|
7 |
+#include <inttypes.h> |
|
8 |
+#include <stdio.h> |
|
9 |
+#include <sys/stat.h> |
|
10 |
+#include <fcntl.h> |
|
11 |
+#include <unistd.h> |
|
12 |
+ |
|
13 |
+ |
|
14 |
+int |
|
15 |
+main(int argc, char **argv) |
|
16 |
+{ |
|
17 |
+ int fd[2]; |
|
18 |
+ int print_pixels = 0; |
|
19 |
+ int dump_blocks = 0; |
|
20 |
+ |
|
21 |
+ int width; |
|
22 |
+ int height; |
|
23 |
+ int to_skip = 0; |
|
24 |
+ |
|
25 |
+ if (argc < 6) { |
|
26 |
+ fprintf(stderr, "%s [YUV file 1] [YUV file 2] width height pixelcmp|blockdump (# to skip)\n", argv[0]); |
|
27 |
+ return 1; |
|
28 |
+ } |
|
29 |
+ |
|
30 |
+ width = atoi(argv[3]); |
|
31 |
+ height = atoi(argv[4]); |
|
32 |
+ if (argc > 6) |
|
33 |
+ to_skip = atoi(argv[6]); |
|
34 |
+ |
|
35 |
+ uint8_t *Y[2], *C[2][2]; |
|
36 |
+ int i, v, c, p; |
|
37 |
+ int lsiz = width * height; |
|
38 |
+ int csiz = width * height / 4; |
|
39 |
+ int x, y; |
|
40 |
+ int cwidth = width / 2; |
|
41 |
+ int fr = to_skip; |
|
42 |
+ int mb; |
|
43 |
+ char *mberrors; |
|
44 |
+ int mb_x, mb_y; |
|
45 |
+ uint8_t *a; |
|
46 |
+ uint8_t *b; |
|
47 |
+ int die = 0; |
|
48 |
+ |
|
49 |
+ print_pixels = strstr(argv[5], "pixelcmp") ? 1 : 0; |
|
50 |
+ dump_blocks = strstr(argv[5], "blockdump") ? 1 : 0; |
|
51 |
+ |
|
52 |
+ for(i = 0; i < 2; i++) { |
|
53 |
+ Y[i] = malloc(lsiz); |
|
54 |
+ C[0][i] = malloc(csiz); |
|
55 |
+ C[1][i] = malloc(csiz); |
|
56 |
+ |
|
57 |
+ fd[i] = open(argv[1 + i], O_RDONLY); |
|
58 |
+ if(fd[i] == -1) { |
|
59 |
+ perror("open"); |
|
60 |
+ exit(1); |
|
61 |
+ } |
|
62 |
+ fcntl(fd[i], F_NOCACHE, 1); |
|
63 |
+ |
|
64 |
+ if (to_skip) |
|
65 |
+ lseek(fd[i], to_skip * (lsiz + 2*csiz), SEEK_SET); |
|
66 |
+ } |
|
67 |
+ |
|
68 |
+ mb_x = width / 16; |
|
69 |
+ mb_y = height / 16; |
|
70 |
+ |
|
71 |
+ mberrors = malloc(mb_x * mb_y); |
|
72 |
+ |
|
73 |
+ while(!die) { |
|
74 |
+ memset(mberrors, 0, mb_x * mb_y); |
|
75 |
+ |
|
76 |
+ printf("Loading frame %d\n", ++fr); |
|
77 |
+ |
|
78 |
+ for(i = 0; i < 2; i++) { |
|
79 |
+ v = read(fd[i], Y[i], lsiz); |
|
80 |
+ if(v != lsiz) { |
|
81 |
+ fprintf(stderr, "Unable to read Y from file %d, exiting\n", i + 1); |
|
82 |
+ return 1; |
|
83 |
+ } |
|
84 |
+ } |
|
85 |
+ |
|
86 |
+ |
|
87 |
+ for(c = 0; c < lsiz; c++) { |
|
88 |
+ if(Y[0][c] != Y[1][c]) { |
|
89 |
+ x = c % width; |
|
90 |
+ y = c / width; |
|
91 |
+ |
|
92 |
+ mb = x / 16 + (y / 16) * mb_x; |
|
93 |
+ |
|
94 |
+ if(print_pixels) |
|
95 |
+ printf("Luma diff 0x%02x != 0x%02x at pixel (%4d,%-4d) mb(%d,%d) #%d\n", |
|
96 |
+ Y[0][c], |
|
97 |
+ Y[1][c], |
|
98 |
+ x, y, |
|
99 |
+ x / 16, |
|
100 |
+ y / 16, |
|
101 |
+ mb); |
|
102 |
+ |
|
103 |
+ mberrors[mb] |= 1; |
|
104 |
+ } |
|
105 |
+ } |
|
106 |
+ |
|
107 |
+ /* Chroma planes */ |
|
108 |
+ |
|
109 |
+ for(p = 0; p < 2; p++) { |
|
110 |
+ |
|
111 |
+ for(i = 0; i < 2; i++) { |
|
112 |
+ v = read(fd[i], C[p][i], csiz); |
|
113 |
+ if(v != csiz) { |
|
114 |
+ fprintf(stderr, "Unable to read %c from file %d, exiting\n", |
|
115 |
+ "UV"[p], i + 1); |
|
116 |
+ return 1; |
|
117 |
+ } |
|
118 |
+ } |
|
119 |
+ |
|
120 |
+ for(c = 0; c < csiz; c++) { |
|
121 |
+ if(C[p][0][c] != C[p][1][c]) { |
|
122 |
+ x = c % cwidth; |
|
123 |
+ y = c / cwidth; |
|
124 |
+ |
|
125 |
+ mb = x / 8 + (y / 8) * mb_x; |
|
126 |
+ |
|
127 |
+ mberrors[mb] |= 2 << p; |
|
128 |
+ |
|
129 |
+ if(print_pixels) |
|
130 |
+ |
|
131 |
+ printf("c%c diff 0x%02x != 0x%02x at pixel (%4d,%-4d) " |
|
132 |
+ "mb(%3d,%-3d) #%d\n", |
|
133 |
+ p ? 'r' : 'b', |
|
134 |
+ C[p][0][c], |
|
135 |
+ C[p][1][c], |
|
136 |
+ |
|
137 |
+ x, y, |
|
138 |
+ x / 8, |
|
139 |
+ y / 8, |
|
140 |
+ x / 8 + y / 8 * cwidth / 8); |
|
141 |
+ } |
|
142 |
+ } |
|
143 |
+ } |
|
144 |
+ |
|
145 |
+ for(i = 0; i < mb_x * mb_y; i++) { |
|
146 |
+ x = i % mb_x; |
|
147 |
+ y = i / mb_x; |
|
148 |
+ |
|
149 |
+ if(mberrors[i]) { |
|
150 |
+ die = 1; |
|
151 |
+ |
|
152 |
+ printf("MB (%3d,%-3d) %4d %d %c%c%c damaged\n", |
|
153 |
+ x, y, i, mberrors[i], |
|
154 |
+ mberrors[i] & 1 ? 'Y' : ' ', |
|
155 |
+ mberrors[i] & 2 ? 'U' : ' ', |
|
156 |
+ mberrors[i] & 4 ? 'V' : ' '); |
|
157 |
+ |
|
158 |
+ if(dump_blocks) { |
|
159 |
+ a = Y[0] + x * 16 + y * 16 * width; |
|
160 |
+ b = Y[1] + x * 16 + y * 16 * width; |
|
161 |
+ |
|
162 |
+ for(y = 0; y < 16; y++) { |
|
163 |
+ printf("%c ", "TB"[y&1]); |
|
164 |
+ for(x = 0; x < 16; x++) |
|
165 |
+ printf("%02x%c", a[x + y * width], |
|
166 |
+ a[x + y * width] != b[x + y * width] ? '<' : ' '); |
|
167 |
+ |
|
168 |
+ printf("| "); |
|
169 |
+ for(x = 0; x < 16; x++) |
|
170 |
+ printf("%02x%c", b[x + y * width], |
|
171 |
+ a[x + y * width] != b[x + y * width] ? '<' : ' '); |
|
172 |
+ |
|
173 |
+ printf("\n"); |
|
174 |
+ } |
|
175 |
+ } |
|
176 |
+ } |
|
177 |
+ } |
|
178 |
+ } |
|
179 |
+ |
|
180 |
+ return 0; |
|
181 |
+} |