Home
last modified time | relevance | path

Searched refs:resync_mb_x (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh263.c132 if(n!=1 && s->mb_x == s->resync_mb_x) a= 1024; in ff_h263_pred_dc()
266 if(n!=1 && s->mb_x == s->resync_mb_x) a= 1024; in ff_h263_pred_acdc()
335 if(s->mb_x == s->resync_mb_x){ //rare in ff_h263_pred_motion()
337 }else if(s->mb_x + 1 == s->resync_mb_x && s->h263_pred){ //rare in ff_h263_pred_motion()
351 if(s->mb_x + 1 == s->resync_mb_x && s->h263_pred){ //rare in ff_h263_pred_motion()
362 if(s->mb_x == s->resync_mb_x) //rare in ff_h263_pred_motion()
Dh263dec.c202 s->resync_mb_x = s->mb_x; in decode_slice()
229 s->mb_x = s->resync_mb_x; in decode_slice()
238 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in decode_slice()
257 if (s->resync_mb_x == s->mb_x && s->resync_mb_y + 1 == s->mb_y) in decode_slice()
280 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in decode_slice()
295 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in decode_slice()
301 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in decode_slice()
406 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in decode_slice()
416 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y, in decode_slice()
Dmpeg4video.h227 if (n != 1 && s->mb_x == s->resync_mb_x) in ff_mpeg4_pred_dc()
230 if (s->mb_x == s->resync_mb_x && s->mb_y == s->resync_mb_y + 1) { in ff_mpeg4_pred_dc()
Drv10.c481 s->mb_x = s->mb_y = s->resync_mb_x = s->resync_mb_y = 0; in rv10_decode_packet()
502 s->resync_mb_x = s->mb_x; in rv10_decode_packet()
575 if (s->mb_x == s->resync_mb_x) in rv10_decode_packet()
Dh264_slice.c1971 sl->resync_mb_x = sl->mb_x = sl->first_mb_addr % h->mb_width; in h264_slice_init()
2614 … const int start_i = av_clip(sl->resync_mb_x + sl->resync_mb_y * h->mb_width, 0, h->mb_num - 1); in decode_slice()
2641 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x, in decode_slice()
2665 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x - 1, in decode_slice()
2678 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x, in decode_slice()
2698 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x - 1, in decode_slice()
2712 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x, in decode_slice()
2735 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, sl->mb_x, in decode_slice()
2756 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, in decode_slice()
2761 er_add_slice(sl, sl->resync_mb_x, sl->resync_mb_y, in decode_slice()
[all …]
Dmpeg12dec.c1711 s->resync_mb_x = in mpeg_decode_slice()
1775 s->resync_mb_x = s->mb_x; in mpeg_decode_slice()
1976 ff_dlog(s, "Slice start:%d %d end:%d %d\n", s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y); in mpeg_decode_slice()
1996 ret, s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y, in slice_decode_thread()
2001 if (s->resync_mb_x >= 0 && s->resync_mb_y >= 0) in slice_decode_thread()
2002 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in slice_decode_thread()
2006 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in slice_decode_thread()
2775 if (s2->resync_mb_x >= 0 && s2->resync_mb_y >= 0) in decode_chunks()
2776 ff_er_add_slice(&s2->er, s2->resync_mb_x, in decode_chunks()
2780 ff_er_add_slice(&s2->er, s2->resync_mb_x, in decode_chunks()
Drv34.c1208 dist = (s->mb_x - s->resync_mb_x) + (s->mb_y - s->resync_mb_y) * s->mb_width; in rv34_decode_inter_macroblock()
1310 dist = (s->mb_x - s->resync_mb_x) + (s->mb_y - s->resync_mb_y) * s->mb_width; in rv34_decode_intra_macroblock()
1441 s->resync_mb_x = s->mb_x; in rv34_decode_slice()
1453 … ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, s->mb_x-1, s->mb_y, ER_MB_ERROR); in rv34_decode_slice()
1472 if(s->mb_x == s->resync_mb_x) in rv34_decode_slice()
1476 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, s->mb_x-1, s->mb_y, ER_MB_END); in rv34_decode_slice()
Dmjpegdec.c1074 int resync_mb_x = 0; in ljpeg_decode_rgb_scan() local
1130 resync_mb_x = mb_x; in ljpeg_decode_rgb_scan()
1135 if (mb_y == resync_mb_y || mb_y == resync_mb_y+1 && mb_x < resync_mb_x || !mb_x) in ljpeg_decode_rgb_scan()
1237 int resync_mb_x = 0; in ljpeg_decode_yuv_scan() local
1252 resync_mb_x = mb_x; in ljpeg_decode_yuv_scan()
1256 … if(!mb_x || mb_y == resync_mb_y || mb_y == resync_mb_y+1 && mb_x < resync_mb_x || s->interlaced){ in ljpeg_decode_yuv_scan()
1257 int toprow = mb_y == resync_mb_y || mb_y == resync_mb_y+1 && mb_x < resync_mb_x; in ljpeg_decode_yuv_scan()
1258 int leftcol = !mb_x || mb_y == resync_mb_y && mb_x == resync_mb_x; in ljpeg_decode_yuv_scan()
Dmpeg4videodec.c705 if (s->mb_x == s->resync_mb_x && s->mb_y == s->resync_mb_y + 1) in mpeg4_decode_partition_a()
887 s->mb_x = s->resync_mb_x; in mpeg4_decode_partition_b()
896 if (s->mb_x == s->resync_mb_x && s->mb_y == s->resync_mb_y + 1) in mpeg4_decode_partition_b()
985 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in ff_mpeg4_decode_partitions()
990 if (s->resync_mb_x + s->resync_mb_y * s->mb_width + mb_num > s->mb_num) { in ff_mpeg4_decode_partitions()
992 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in ff_mpeg4_decode_partitions()
1018 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in ff_mpeg4_decode_partitions()
1024 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in ff_mpeg4_decode_partitions()
1029 ff_er_add_slice(&s->er, s->resync_mb_x, s->resync_mb_y, in ff_mpeg4_decode_partitions()
Dh264dec.h239 int resync_mb_x; member
Dmpegvideo.h356 int resync_mb_x; ///< x position of last resync marker member
Dmpegvideo_enc.c3010 s->resync_mb_x=0; in encode_thread()
3102 if (s->error_rate && s->resync_mb_x + s->resync_mb_y > 0) { in encode_thread()
3115 int number_mb = (mb_y - s->resync_mb_y)*s->mb_width + mb_x - s->resync_mb_x; in encode_thread()
3151 s->resync_mb_x=mb_x; in encode_thread()
3156 if( (s->resync_mb_x == s->mb_x) in encode_thread()
3599 int number_mb = (mb_y - s->resync_mb_y)*s->mb_width - s->resync_mb_x; in encode_thread()
Dmpeg12enc.c760 const int first_mb = mb_x == s->resync_mb_x && mb_y == s->resync_mb_y; in mpeg1_encode_mb_internal()