Home
last modified time | relevance | path

Searched refs:mode_info_context (Results 1 – 22 of 22) sorted by relevance

/external/libvpx/libvpx/vp8/common/
Dvp8_loopfilter.c197 void vp8_loop_filter_row_normal(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_normal() argument
210 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_normal()
211 mode_info_context->mbmi.mode != SPLITMV && in vp8_loop_filter_row_normal()
212 mode_info_context->mbmi.mb_skip_coeff); in vp8_loop_filter_row_normal()
214 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_normal()
215 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_normal()
216 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_row_normal()
250 mode_info_context++; /* step to next MB */ in vp8_loop_filter_row_normal()
255 void vp8_loop_filter_row_simple(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_simple() argument
267 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_simple()
[all …]
Dreconinter.c170 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mbuv()
171 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mbuv()
278 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mby()
279 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mby()
349 _16x16mv.as_int = x->mode_info_context->mbmi.mv.as_int; in vp8_build_inter16x16_predictors_mb()
351 if (x->mode_info_context->mbmi.need_to_clamp_mvs) in vp8_build_inter16x16_predictors_mb()
398 if (x->mode_info_context->mbmi.partitioning < 3) in build_inter4x4_predictors_mb()
403 x->block[ 0].bmi = x->mode_info_context->bmi[ 0]; in build_inter4x4_predictors_mb()
404 x->block[ 2].bmi = x->mode_info_context->bmi[ 2]; in build_inter4x4_predictors_mb()
405 x->block[ 8].bmi = x->mode_info_context->bmi[ 8]; in build_inter4x4_predictors_mb()
[all …]
Dmfqe.c242 static int qualify_inter_mb(const MODE_INFO *mode_info_context, int *map) in qualify_inter_mb() argument
244 if (mode_info_context->mbmi.mb_skip_coeff) in qualify_inter_mb()
246 else if (mode_info_context->mbmi.mode==SPLITMV) in qualify_inter_mb()
260 map[i] &= (mode_info_context->bmi[ndx[i][j]].mv.as_mv.row <= 2 && in qualify_inter_mb()
261 mode_info_context->bmi[ndx[i][j]].mv.as_mv.col <= 2); in qualify_inter_mb()
267 (mode_info_context->mbmi.mode > B_PRED && in qualify_inter_mb()
268 abs(mode_info_context->mbmi.mv.as_mv.row) <= 2 && in qualify_inter_mb()
269 abs(mode_info_context->mbmi.mv.as_mv.col) <= 2); in qualify_inter_mb()
284 const MODE_INFO *mode_info_context = cm->show_frame_mi; in vp8_multiframe_quality_enhance() local
308 if (frame_type == INTER_FRAME) totmap = qualify_inter_mb(mode_info_context, map); in vp8_multiframe_quality_enhance()
[all …]
Dloopfilter.h99 struct modeinfo *mode_info_context,
105 struct modeinfo *mode_info_context,
Dreconintra.c57 MB_PREDICTION_MODE mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_s()
89 MB_PREDICTION_MODE uvmode = x->mode_info_context->mbmi.uv_mode; in vp8_build_intra_predictors_mbuv_s()
Dinvtrans.h44 if (xd->mode_info_context->mbmi.mode != SPLITMV) in vp8_inverse_transform_mby()
Dblockd.h234 MODE_INFO *mode_info_context; member
Dpostproc.c333 const MODE_INFO *mode_info_context = cm->show_frame_mi; in vp8_deblock() local
353 if (mode_info_context->mbmi.mb_skip_coeff) in vp8_deblock()
363 mode_info_context++; in vp8_deblock()
365 mode_info_context++; in vp8_deblock()
/external/libvpx/libvpx/vp8/encoder/
Dencodeframe.c490 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; in encode_mb_row()
492 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row()
498 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row()
532 if (xd->mode_info_context->mbmi.mode == ZEROMV && in encode_mb_row()
533 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in encode_mb_row()
557 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id; in encode_mb_row()
566 if (xd->mode_info_context->mbmi.segment_id) in encode_mb_row()
568 …else if ((xd->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame ==… in encode_mb_row()
603 segment_counts[xd->mode_info_context->mbmi.segment_id] ++; in encode_mb_row()
606 xd->mode_info_context++; in encode_mb_row()
[all …]
Dpickinter.c301 MODE_INFO *const mic = xd->mode_info_context; in pick_intra4x4mby_modes()
489 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode()
498 if (xd->mode_info_context->mbmi.mode == NEWMV) in update_mvcount()
500 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row - in update_mvcount()
502 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col - in update_mvcount()
588 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; in evaluate_inter_mode()
589 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; in evaluate_inter_mode()
621 x->e_mbd.mode_info_context->mbmi.ref_frame == LAST_FRAME && in evaluate_inter_mode()
638 MODE_INFO *mic = x->e_mbd.mode_info_context; in calculate_zeromv_rd_adjustment()
867 x->e_mbd.mode_info_context, in vp8_pick_inter_mode()
[all …]
Drdopt.c480 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE()
481 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE()
732 MODE_INFO *const mic = xd->mode_info_context; in rd_pick_intra4x4mby_modes()
787 xd->mode_info_context->mbmi.mode = mode; in rd_pick_intra16x16mby_mode()
798 [xd->mode_info_context->mbmi.mode]; in rd_pick_intra16x16mby_mode()
812 xd->mode_info_context->mbmi.mode = mode_selected; in rd_pick_intra16x16mby_mode()
895 xd->mode_info_context->mbmi.uv_mode = mode; in rd_pick_intra_mbuv_mode()
914 … this_rate = rate_to + x->intra_uv_mode_cost[xd->frame_type][xd->mode_info_context->mbmi.uv_mode]; in rd_pick_intra_mbuv_mode()
933 xd->mode_info_context->mbmi.uv_mode = mode_selected; in rd_pick_intra_mbuv_mode()
947 x->e_mbd.mode_info_context->mbmi.mode = mb; in vp8_set_mbmode_and_mvs()
[all …]
Dethreading.c170 … xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index + mb_col]; in thread_encoding_proc()
172 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc()
178 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc()
211 if (xd->mode_info_context->mbmi.mode == ZEROMV && in thread_encoding_proc()
212 xd->mode_info_context->mbmi.ref_frame == in thread_encoding_proc()
238 const MB_MODE_INFO * mbmi = &xd->mode_info_context->mbmi; in thread_encoding_proc()
286 segment_counts[xd->mode_info_context->mbmi.segment_id]++; in thread_encoding_proc()
289 xd->mode_info_context++; in thread_encoding_proc()
302 xd->mode_info_context++; in thread_encoding_proc()
309 xd->mode_info_context += xd->mode_info_stride * cpi->encoding_thread_count; in thread_encoding_proc()
[all …]
Dtokenize.c389 has_y2_block = (xd->mode_info_context->mbmi.mode != B_PRED in vp8_tokenize_mb()
390 && xd->mode_info_context->mbmi.mode != SPLITMV); in vp8_tokenize_mb()
392 xd->mode_info_context->mbmi.mb_skip_coeff = in vp8_tokenize_mb()
394 if (xd->mode_info_context->mbmi.mb_skip_coeff) in vp8_tokenize_mb()
575 if((xd->mode_info_context->mbmi.mode != B_PRED in vp8_stuff_mb()
576 && xd->mode_info_context->mbmi.mode != SPLITMV)) in vp8_stuff_mb()
597 if (x->mode_info_context->mbmi.mode != B_PRED && x->mode_info_context->mbmi.mode != SPLITMV) in vp8_fix_contexts()
Dencodemb.c113 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mb()
123 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mb()
141 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mby()
222 if(mb->e_mbd.mode_info_context->mbmi.ref_frame==INTRA_FRAME) in optimize_b()
467 has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in optimize_mb()
468 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in optimize_mb()
516 has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_optimize_mby()
517 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_optimize_mby()
Dencodeintra.c32 x->e_mbd.mode_info_context->mbmi.mode = DC_PRED; in vp8_encode_intra()
33 x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_encode_intra()
34 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_encode_intra()
Dvp8_quantize.c107 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mby()
108 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mby()
120 int has_2nd_order=(x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mb()
121 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mb()
376 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->mbmi.segment_id]; in vp8cx_mb_init_quantizer()
380 …pi->common.base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->mbmi.segmen… in vp8cx_mb_init_quantizer()
Ddenoising.c521 MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi; in vp8_denoiser_denoise_mb()
Dfirstpass.c548 xd->mode_info_context = cm->mi; in vp8_first_pass()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c55 mbd->mode_info_context = pc->mi + pc->mode_info_stride * (i + 1); in setup_decoding_thread_data()
104 if (xd->mode_info_context->mbmi.mb_skip_coeff) in mt_decode_macroblock()
114 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal==0); in mt_decode_macroblock()
117 mode = xd->mode_info_context->mbmi.mode; in mt_decode_macroblock()
156 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in mt_decode_macroblock()
182 if(xd->mode_info_context->mbmi.mb_skip_coeff) in mt_decode_macroblock()
192 xd->mode_info_context->bmi[i].as_mode; in mt_decode_macroblock()
252 if(!xd->mode_info_context->mbmi.mb_skip_coeff) in mt_decode_macroblock()
435 (xd->mode_info_context->mbmi.ref_frame == in mt_decode_mb_rows()
463 xd->pre.y_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset; in mt_decode_mb_rows()
[all …]
Ddecodeframe.c64 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in vp8_mb_init_dequantizer()
109 if (xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
119 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal==0); in decode_macroblock()
122 mode = xd->mode_info_context->mbmi.mode; in decode_macroblock()
161 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in decode_macroblock()
187 if(xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
197 xd->mode_info_context->bmi[i].as_mode; in decode_macroblock()
237 if(!xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
508 MODE_INFO *lf_mic = xd->mode_info_context; in decode_mb_rows()
614 xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME && in decode_mb_rows()
[all …]
Derror_concealment.c501 MODE_INFO * const mi = mb->mode_info_context; in interpolate_mvs()
573 find_neighboring_blocks(mb->mode_info_context, in vp8_interpolate_motion()
582 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion()
583 mb->mode_info_context->mbmi.mode = SPLITMV; in vp8_interpolate_motion()
584 mb->mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_interpolate_motion()
585 mb->mode_info_context->mbmi.partitioning = 3; in vp8_interpolate_motion()
586 mb->mode_info_context->mbmi.segment_id = 0; in vp8_interpolate_motion()
Ddetokenize.c27 if (!x->mode_info_context->mbmi.is_4x4) in vp8_reset_mb_tokens_context()
190 if (!x->mode_info_context->mbmi.is_4x4) in vp8_decode_mb_tokens()