Home
last modified time | relevance | path

Searched refs:mb_index2xy (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dituh263enc.c273 if(qscale_table[ s->mb_index2xy[i] ] - qscale_table[ s->mb_index2xy[i-1] ] >2) in ff_clean_h263_qscales()
274 qscale_table[ s->mb_index2xy[i] ]= qscale_table[ s->mb_index2xy[i-1] ]+2; in ff_clean_h263_qscales()
277 if(qscale_table[ s->mb_index2xy[i] ] - qscale_table[ s->mb_index2xy[i+1] ] >2) in ff_clean_h263_qscales()
278 qscale_table[ s->mb_index2xy[i] ]= qscale_table[ s->mb_index2xy[i+1] ]+2; in ff_clean_h263_qscales()
283 int mb_xy= s->mb_index2xy[i]; in ff_clean_h263_qscales()
285 …if(qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i-1]] && (s->mb_type[mb_xy]&CANDIDATE_MB_TYP… in ff_clean_h263_qscales()
Derror_resilience.c417 const int mb_xy = s->mb_index2xy[i]; in guess_mv()
734 const int mb_xy = s->mb_index2xy[i]; in is_intra_more_likely()
835 const int start_xy = s->mb_index2xy[start_i]; in ff_er_add_slice()
836 const int end_xy = s->mb_index2xy[end_i]; in ff_er_add_slice()
890 int prev_status = s->error_status_table[s->mb_index2xy[start_i - 1]]; in ff_er_add_slice()
991 const int mb_xy = s->mb_index2xy[i]; in ff_er_frame_end()
1013 const int mb_xy = s->mb_index2xy[i]; in ff_er_frame_end()
1037 const int mb_xy = s->mb_index2xy[i]; in ff_er_frame_end()
1039 int error2 = s->error_status_table[s->mb_index2xy[i + 1]]; in ff_er_frame_end()
1062 const int mb_xy = s->mb_index2xy[i]; in ff_er_frame_end()
[all …]
Dmpeg_er.c108 er->mb_index2xy = s->mb_index2xy; in ff_mpeg_er_init()
Derror_resilience.h58 int *mb_index2xy; member
Dh264dec.c165 av_freep(&sl->er.mb_index2xy); in ff_h264_free_tables()
256 if (!FF_ALLOCZ_TYPED_ARRAY(er->mb_index2xy, h->mb_num + 1) || in ff_h264_slice_context_init()
264 er->mb_index2xy[x + y * h->mb_width] = x + y * h->mb_stride; in ff_h264_slice_context_init()
266 er->mb_index2xy[h->mb_height * h->mb_width] = (h->mb_height - 1) * in ff_h264_slice_context_init()
Dmpeg4videoenc.c227 int mb_xy = s->mb_index2xy[i]; in ff_clean_mpeg4_qscales()
237 int mb_xy = s->mb_index2xy[i]; in ff_clean_mpeg4_qscales()
245 int mb_xy = s->mb_index2xy[i]; in ff_clean_mpeg4_qscales()
246 if (qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i - 1]] && in ff_clean_mpeg4_qscales()
Dratecontrol.c760 const int mb_xy = s->mb_index2xy[i]; in adaptive_quantization()
839 const int mb_xy = s->mb_index2xy[i]; in adaptive_quantization()
Dmpegvideo.c747 if (!FF_ALLOCZ_TYPED_ARRAY(s->mb_index2xy, s->mb_num + 1)) in init_context_frame()
751 s->mb_index2xy[x + y * s->mb_width] = x + y * s->mb_stride; in init_context_frame()
753 …s->mb_index2xy[s->mb_height * s->mb_width] = (s->mb_height - 1) * s->mb_stride + s->mb_width; // F… in init_context_frame()
902 s->mb_index2xy = NULL; in clear_context()
1046 av_freep(&s->mb_index2xy); in free_context_frame()
Dmpegvideo.h297 int *mb_index2xy; ///< mb_index -> mb_x + mb_y*mb_stride member
Dmpegvideo_enc.c226 unsigned int lam = s->lambda_table[s->mb_index2xy[i]]; in ff_init_qscale_tab()
228 qscale_table[s->mb_index2xy[i]] = av_clip(qp, s->avctx->qmin, in ff_init_qscale_tab()
Dh264_slice.c2616 …int prev_status = h->slice_ctx[0].er.error_status_table[h->slice_ctx[0].er.mb_index2xy[start_i - 1… in decode_slice()