Home
last modified time | relevance | path

Searched refs:resync_mb_y (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh263dec.c203 s->resync_mb_y = s->mb_y; in decode_slice()
230 s->mb_y = s->resync_mb_y; in decode_slice()
237 if (s->resync_mb_y + s->slice_height == s->mb_y) { 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()
Dh264_slice.c1972 sl->resync_mb_y = sl->mb_y = (sl->first_mb_addr / h->mb_width) << in h264_slice_init()
1975 sl->resync_mb_y = sl->mb_y = sl->mb_y + 1; in h264_slice_init()
2026 h->slice_row[(sl->slice_num-1)&(MAX_SLICES-1)]= sl->resync_mb_y; in h264_slice_init()
2027 if ( h->slice_row[sl->slice_num&(MAX_SLICES-1)] + 3 >= sl->resync_mb_y in h264_slice_init()
2028 && h->slice_row[sl->slice_num&(MAX_SLICES-1)] <= sl->resync_mb_y 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()
[all …]
Drv10.c481 s->mb_x = s->mb_y = s->resync_mb_x = s->resync_mb_y = 0; in rv10_decode_packet()
505 s->resync_mb_y = s->mb_y; in rv10_decode_packet()
581 ff_er_add_slice(&s->er, start_mb_x, s->resync_mb_y, s->mb_x - 1, s->mb_y, in rv10_decode_packet()
Dmpeg4video.h230 if (s->mb_x == s->resync_mb_x && s->mb_y == s->resync_mb_y + 1) { in ff_mpeg4_pred_dc()
Dmjpegdec.c1073 int resync_mb_y = 0; in ljpeg_decode_rgb_scan() local
1131 resync_mb_y = mb_y; 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()
1236 int resync_mb_y = 0; in ljpeg_decode_yuv_scan() local
1253 resync_mb_y = mb_y; 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()
Dmpeg12dec.c1712 s->resync_mb_y = -1; in mpeg_decode_slice()
1776 s->resync_mb_y = s->mb_y = mb_y; 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()
2777 s2->resync_mb_y, s2->mb_x, s2->mb_y, in decode_chunks()
2781 s2->resync_mb_y, s2->mb_x - 1, s2->mb_y, in decode_chunks()
Dmpeg4videodec.c705 if (s->mb_x == s->resync_mb_x && s->mb_y == s->resync_mb_y + 1) in mpeg4_decode_partition_a()
889 for (s->mb_y = s->resync_mb_y; mb_num < mb_count; s->mb_y++) { 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()
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()
1442 s->resync_mb_y = s->mb_y; 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()
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()
Dh264dec.h240 int resync_mb_y; member
Dmpegvideo.h357 int resync_mb_y; ///< y position of last resync marker member
Dmpegvideo_enc.c3011 s->resync_mb_y=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()
3152 s->resync_mb_y=mb_y; in encode_thread()
3157 && s->resync_mb_y+1 == s->mb_y){ 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()