Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp8/common/
Dloopfilter.c198 void vp8_loop_filter_row_normal(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_normal() argument
211 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_normal()
212 mode_info_context->mbmi.mode != SPLITMV && in vp8_loop_filter_row_normal()
213 mode_info_context->mbmi.mb_skip_coeff); in vp8_loop_filter_row_normal()
215 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_normal()
216 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_normal()
217 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_row_normal()
251 mode_info_context++; /* step to next MB */ in vp8_loop_filter_row_normal()
256 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.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.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/
Dpickinter.c200 MODE_INFO *const mic = xd->mode_info_context; in pick_intra4x4mby_modes()
388 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode()
397 if (xd->mode_info_context->mbmi.mode == NEWMV) in update_mvcount()
399 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row - in update_mvcount()
401 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col - in update_mvcount()
487 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; in evaluate_inter_mode()
488 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; in evaluate_inter_mode()
514 && x->e_mbd.mode_info_context->mbmi.ref_frame != LAST_FRAME) in evaluate_inter_mode()
528 MODE_INFO *mic = x->e_mbd.mode_info_context; in calculate_zeromv_rd_adjustment()
670 x->e_mbd.mode_info_context, in vp8_pick_inter_mode()
[all …]
Dencodeframe.c488 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; in encode_mb_row()
490 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row()
496 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row()
529 if (xd->mode_info_context->mbmi.mode == ZEROMV && in encode_mb_row()
530 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in encode_mb_row()
549 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id; in encode_mb_row()
558 if (xd->mode_info_context->mbmi.segment_id) in encode_mb_row()
560 …else if ((xd->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame ==… in encode_mb_row()
595 segment_counts[xd->mode_info_context->mbmi.segment_id] ++; in encode_mb_row()
598 xd->mode_info_context++; in encode_mb_row()
[all …]
Drdopt.c478 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE()
479 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE()
730 MODE_INFO *const mic = xd->mode_info_context; in rd_pick_intra4x4mby_modes()
785 xd->mode_info_context->mbmi.mode = mode; in rd_pick_intra16x16mby_mode()
796 [xd->mode_info_context->mbmi.mode]; in rd_pick_intra16x16mby_mode()
810 xd->mode_info_context->mbmi.mode = mode_selected; in rd_pick_intra16x16mby_mode()
887 xd->mode_info_context->mbmi.uv_mode = mode; in rd_pick_intra_mbuv_mode()
906 … 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()
925 xd->mode_info_context->mbmi.uv_mode = mode_selected; in rd_pick_intra_mbuv_mode()
939 x->e_mbd.mode_info_context->mbmi.mode = mb; in vp8_set_mbmode_and_mvs()
[all …]
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()
213 if (xd->mode_info_context->mbmi.mode == ZEROMV && in thread_encoding_proc()
214 xd->mode_info_context->mbmi.ref_frame == in thread_encoding_proc()
236 const MB_MODE_INFO * mbmi = &xd->mode_info_context->mbmi; in thread_encoding_proc()
284 segment_counts[xd->mode_info_context->mbmi.segment_id]++; in thread_encoding_proc()
287 xd->mode_info_context++; in thread_encoding_proc()
300 xd->mode_info_context++; in thread_encoding_proc()
307 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()
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()
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.c456 MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi; in vp8_denoiser_denoise_mb()
/external/libvpx/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.c62 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in vp8_mb_init_dequantizer()
106 if (xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
116 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal==0); in decode_macroblock()
119 mode = xd->mode_info_context->mbmi.mode; in decode_macroblock()
158 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in decode_macroblock()
184 if(xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
194 xd->mode_info_context->bmi[i].as_mode; in decode_macroblock()
234 if(!xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock()
505 MODE_INFO *lf_mic = xd->mode_info_context; in decode_mb_rows()
611 xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME && in decode_mb_rows()
[all …]
Derror_concealment.c500 MODE_INFO * const mi = mb->mode_info_context; in interpolate_mvs()
572 find_neighboring_blocks(mb->mode_info_context, in vp8_interpolate_motion()
581 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion()
582 mb->mode_info_context->mbmi.mode = SPLITMV; in vp8_interpolate_motion()
583 mb->mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_interpolate_motion()
584 mb->mode_info_context->mbmi.partitioning = 3; in vp8_interpolate_motion()
585 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()
/external/libvpx/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()
/external/libvpx/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()
/external/libvpx/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()
/external/libvpx/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