Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dloopfilter.c199 void vp8_loop_filter_row_normal(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_normal() argument
212 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_normal()
213 mode_info_context->mbmi.mode != SPLITMV && in vp8_loop_filter_row_normal()
214 mode_info_context->mbmi.mb_skip_coeff); in vp8_loop_filter_row_normal()
216 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_normal()
217 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_normal()
218 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_row_normal()
252 mode_info_context++; /* step to next MB */ in vp8_loop_filter_row_normal()
257 void vp8_loop_filter_row_simple(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_simple() argument
269 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_simple()
[all …]
Dreconinter.c213 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mbuv()
214 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mbuv()
321 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mby()
322 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mby()
392 _16x16mv.as_int = x->mode_info_context->mbmi.mv.as_int; in vp8_build_inter16x16_predictors_mb()
394 if (x->mode_info_context->mbmi.need_to_clamp_mvs) in vp8_build_inter16x16_predictors_mb()
441 if (x->mode_info_context->mbmi.partitioning < 3) in build_inter4x4_predictors_mb()
446 x->block[ 0].bmi = x->mode_info_context->bmi[ 0]; in build_inter4x4_predictors_mb()
447 x->block[ 2].bmi = x->mode_info_context->bmi[ 2]; in build_inter4x4_predictors_mb()
448 x->block[ 8].bmi = x->mode_info_context->bmi[ 8]; in build_inter4x4_predictors_mb()
[all …]
Dmfqe.c241 static int qualify_inter_mb(const MODE_INFO *mode_info_context, int *map) in qualify_inter_mb() argument
243 if (mode_info_context->mbmi.mb_skip_coeff) in qualify_inter_mb()
245 else if (mode_info_context->mbmi.mode==SPLITMV) in qualify_inter_mb()
259 map[i] &= (mode_info_context->bmi[ndx[i][j]].mv.as_mv.row <= 2 && in qualify_inter_mb()
260 mode_info_context->bmi[ndx[i][j]].mv.as_mv.col <= 2); in qualify_inter_mb()
266 (mode_info_context->mbmi.mode > B_PRED && in qualify_inter_mb()
267 abs(mode_info_context->mbmi.mv.as_mv.row) <= 2 && in qualify_inter_mb()
268 abs(mode_info_context->mbmi.mv.as_mv.col) <= 2); in qualify_inter_mb()
283 const MODE_INFO *mode_info_context = cm->show_frame_mi; in vp8_multiframe_quality_enhance() local
307 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.c34 switch (x->mode_info_context->mbmi.mode) in vp8_build_intra_predictors_mby_s_c()
164 switch (x->mode_info_context->mbmi.uv_mode) in vp8_build_intra_predictors_mbuv_s_c()
Dinvtrans.h44 if (xd->mode_info_context->mbmi.mode != SPLITMV) in vp8_inverse_transform_mby()
Dblockd.h230 MODE_INFO *mode_info_context; member
Dpostproc.c332 const MODE_INFO *mode_info_context = cm->show_frame_mi; in vp8_deblock() local
352 if (mode_info_context->mbmi.mb_skip_coeff) in vp8_deblock()
362 mode_info_context++; in vp8_deblock()
364 mode_info_context++; in vp8_deblock()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dpickinter.c201 MODE_INFO *const mic = xd->mode_info_context; in pick_intra4x4mby_modes()
390 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode()
399 if (xd->mode_info_context->mbmi.mode == NEWMV) in update_mvcount()
401 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row - in update_mvcount()
403 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col - in update_mvcount()
489 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; in evaluate_inter_mode()
490 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; in evaluate_inter_mode()
516 && x->e_mbd.mode_info_context->mbmi.ref_frame != LAST_FRAME) in evaluate_inter_mode()
530 MODE_INFO *mic = x->e_mbd.mode_info_context; in calculate_zeromv_rd_adjustment()
673 x->e_mbd.mode_info_context, in vp8_pick_inter_mode()
[all …]
Dencodeframe.c489 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; in encode_mb_row()
491 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row()
497 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row()
537 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id; in encode_mb_row()
546 if (xd->mode_info_context->mbmi.segment_id) in encode_mb_row()
548 …else if ((xd->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame ==… in encode_mb_row()
583 segment_counts[xd->mode_info_context->mbmi.segment_id] ++; in encode_mb_row()
586 xd->mode_info_context++; in encode_mb_row()
603 xd->mode_info_context++; in encode_mb_row()
623 xd->mode_info_context = cm->mi; in init_encode_frame_mb_context()
[all …]
Drdopt.c479 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE()
480 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE()
731 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()
893 xd->mode_info_context->mbmi.uv_mode = mode; in rd_pick_intra_mbuv_mode()
912 … 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()
931 xd->mode_info_context->mbmi.uv_mode = mode_selected; in rd_pick_intra_mbuv_mode()
945 x->e_mbd.mode_info_context->mbmi.mode = mb; in vp8_set_mbmode_and_mvs()
[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()
Dencodeintra.c30 x->e_mbd.mode_info_context->mbmi.mode = DC_PRED; in vp8_encode_intra()
31 x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_encode_intra()
32 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_encode_intra()
Dethreading.c172 … xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index + mb_col]; in thread_encoding_proc()
174 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc()
180 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc()
221 const MB_MODE_INFO * mbmi = &xd->mode_info_context->mbmi; in thread_encoding_proc()
269 segment_counts[xd->mode_info_context->mbmi.segment_id]++; in thread_encoding_proc()
272 xd->mode_info_context++; in thread_encoding_proc()
285 xd->mode_info_context++; in thread_encoding_proc()
292 xd->mode_info_context += xd->mode_info_stride * cpi->encoding_thread_count; in thread_encoding_proc()
462 mbd->mode_info_context = cm->mi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data()
Dencodemb.c161 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mb()
171 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mb()
189 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mby()
277 if(mb->e_mbd.mode_info_context->mbmi.ref_frame==INTRA_FRAME) in optimize_b()
522 has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in optimize_mb()
523 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in optimize_mb()
571 has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_optimize_mby()
572 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_optimize_mby()
Dquantize.c272 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mby_c()
273 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mby_c()
285 int has_2nd_order=(x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mb_c()
286 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mb_c()
622 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->mbmi.segment_id]; in vp8cx_mb_init_quantizer()
626 …pi->common.base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->mbmi.segmen… in vp8cx_mb_init_quantizer()
Ddenoising.c209 MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi; in vp8_denoiser_denoise_mb()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/
Dquantize_arm.c29 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mby_neon()
30 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mby_neon()
43 int has_2nd_order=(x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mb_neon()
44 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mb_neon()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Dthreading.c54 mbd->mode_info_context = pc->mi + pc->mode_info_stride * (i + 1); in setup_decoding_thread_data()
101 if (xd->mode_info_context->mbmi.mb_skip_coeff) in mt_decode_macroblock()
111 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal==0); in mt_decode_macroblock()
114 mode = xd->mode_info_context->mbmi.mode; in mt_decode_macroblock()
153 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in mt_decode_macroblock()
179 if(xd->mode_info_context->mbmi.mb_skip_coeff) in mt_decode_macroblock()
189 xd->mode_info_context->bmi[i].as_mode; in mt_decode_macroblock()
249 if(!xd->mode_info_context->mbmi.mb_skip_coeff) in mt_decode_macroblock()
432 (xd->mode_info_context->mbmi.ref_frame == in mt_decode_mb_rows()
460 xd->pre.y_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset; in mt_decode_mb_rows()
[all …]
Ddecodeframe.c61 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in vp8_mb_init_dequantizer()
105 if (xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
115 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal==0); in decode_macroblock()
118 mode = xd->mode_info_context->mbmi.mode; in decode_macroblock()
157 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in decode_macroblock()
183 if(xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
193 xd->mode_info_context->bmi[i].as_mode; in decode_macroblock()
233 if(!xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
504 MODE_INFO *lf_mic = xd->mode_info_context; in decode_mb_rows()
610 xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME && in decode_mb_rows()
[all …]
Derror_concealment.c502 MODE_INFO * const mi = mb->mode_info_context; in interpolate_mvs()
574 find_neighboring_blocks(mb->mode_info_context, in vp8_interpolate_motion()
583 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion()
584 mb->mode_info_context->mbmi.mode = SPLITMV; in vp8_interpolate_motion()
585 mb->mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_interpolate_motion()
586 mb->mode_info_context->mbmi.partitioning = 3; in vp8_interpolate_motion()
587 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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/
Dreconintra_arm.c31 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_neon()
51 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_s_neon()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Drecon_wrapper_sse2.c44 int mode = x->mode_info_context->mbmi.uv_mode; in vp8_build_intra_predictors_mbuv_x86()
136 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_x86()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dintrapred_test.cc42 mbptr_->mode_info_context = miptr_; in SetupMacroblock()
263 mbptr_->mode_info_context->mbmi.mode = mode; in Predict()
346 mbptr_->mode_info_context->mbmi.uv_mode = mode; in Predict()

12