/external/libvpx/libvpx/vp8/common/ |
D | vp8_loopfilter.c | 167 void vp8_loop_filter_row_normal(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_normal() argument 178 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_normal() 179 mode_info_context->mbmi.mode != SPLITMV && in vp8_loop_filter_row_normal() 180 mode_info_context->mbmi.mb_skip_coeff); in vp8_loop_filter_row_normal() 182 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_normal() 183 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_normal() 184 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_row_normal() 217 mode_info_context++; /* step to next MB */ in vp8_loop_filter_row_normal() 221 void vp8_loop_filter_row_simple(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_simple() argument 231 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_simple() [all …]
|
D | reconinter.c | 141 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mbuv() 142 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mbuv() 242 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mby() 243 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mby() 310 _16x16mv.as_int = x->mode_info_context->mbmi.mv.as_int; in vp8_build_inter16x16_predictors_mb() 312 if (x->mode_info_context->mbmi.need_to_clamp_mvs) { in vp8_build_inter16x16_predictors_mb() 357 if (x->mode_info_context->mbmi.partitioning < 3) { in build_inter4x4_predictors_mb() 361 x->block[0].bmi = x->mode_info_context->bmi[0]; in build_inter4x4_predictors_mb() 362 x->block[2].bmi = x->mode_info_context->bmi[2]; in build_inter4x4_predictors_mb() 363 x->block[8].bmi = x->mode_info_context->bmi[8]; in build_inter4x4_predictors_mb() [all …]
|
D | mfqe.c | 207 static int qualify_inter_mb(const MODE_INFO *mode_info_context, int *map) { in qualify_inter_mb() argument 208 if (mode_info_context->mbmi.mb_skip_coeff) { in qualify_inter_mb() 210 } else if (mode_info_context->mbmi.mode == SPLITMV) { in qualify_inter_mb() 219 map[i] &= (mode_info_context->bmi[ndx[i][j]].mv.as_mv.row <= 2 && in qualify_inter_mb() 220 mode_info_context->bmi[ndx[i][j]].mv.as_mv.col <= 2); in qualify_inter_mb() 225 (mode_info_context->mbmi.mode > B_PRED && in qualify_inter_mb() 226 abs(mode_info_context->mbmi.mv.as_mv.row) <= 2 && in qualify_inter_mb() 227 abs(mode_info_context->mbmi.mv.as_mv.col) <= 2); in qualify_inter_mb() 238 const MODE_INFO *mode_info_context = cm->mi; in vp8_multiframe_quality_enhance() local 261 totmap = qualify_inter_mb(mode_info_context, map); in vp8_multiframe_quality_enhance() [all …]
|
D | loopfilter.h | 89 struct modeinfo *mode_info_context, int mb_row, 95 struct modeinfo *mode_info_context, int mb_row,
|
D | postproc.c | 68 const MODE_INFO *mode_info_context = cm->mi; in vp8_deblock() local 85 if (mode_info_context->mbmi.mb_skip_coeff) { in vp8_deblock() 96 mode_info_context++; in vp8_deblock() 98 mode_info_context++; in vp8_deblock()
|
D | reconintra.c | 51 MB_PREDICTION_MODE mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_s() 73 MB_PREDICTION_MODE uvmode = x->mode_info_context->mbmi.uv_mode; in vp8_build_intra_predictors_mbuv_s()
|
D | invtrans.h | 39 if (xd->mode_info_context->mbmi.mode != SPLITMV) { in vp8_inverse_transform_mby()
|
D | blockd.h | 227 MODE_INFO *mode_info_context; member
|
/external/libvpx/libvpx/vp8/encoder/ |
D | encodeframe.c | 438 xd->mode_info_context->mbmi.segment_id = in encode_mb_row() 441 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row() 447 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row() 478 if (xd->mode_info_context->mbmi.mode == ZEROMV && in encode_mb_row() 479 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in encode_mb_row() 505 xd->mode_info_context->mbmi.segment_id; in encode_mb_row() 514 if (xd->mode_info_context->mbmi.segment_id) { in encode_mb_row() 516 } else if ((xd->mode_info_context->mbmi.mode == ZEROMV) && in encode_mb_row() 517 (xd->mode_info_context->mbmi.ref_frame == LAST_FRAME)) { in encode_mb_row() 551 segment_counts[xd->mode_info_context->mbmi.segment_id]++; in encode_mb_row() [all …]
|
D | pickinter.c | 227 MODE_INFO *const mic = xd->mode_info_context; in pick_intra4x4mby_modes() 375 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode() 382 if (xd->mode_info_context->mbmi.mode == NEWMV) { in update_mvcount() 383 x->MVcount[0][mv_max + ((xd->mode_info_context->mbmi.mv.as_mv.row - in update_mvcount() 386 x->MVcount[1][mv_max + ((xd->mode_info_context->mbmi.mv.as_mv.col - in update_mvcount() 467 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; in evaluate_inter_mode() 468 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; in evaluate_inter_mode() 498 x->e_mbd.mode_info_context->mbmi.ref_frame == LAST_FRAME && in evaluate_inter_mode() 512 MODE_INFO *mic = x->e_mbd.mode_info_context; in calculate_zeromv_rd_adjustment() 727 &x->e_mbd, x->e_mbd.mode_info_context, mode_mv_sb, best_ref_mv_sb, in vp8_pick_inter_mode() [all …]
|
D | rdopt.c | 379 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE() 380 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE() 611 MODE_INFO *const mic = xd->mode_info_context; in rd_pick_intra4x4mby_modes() 658 xd->mode_info_context->mbmi.mode = mode; in rd_pick_intra16x16mby_mode() 666 x->mbmode_cost[xd->frame_type][xd->mode_info_context->mbmi.mode]; in rd_pick_intra16x16mby_mode() 680 xd->mode_info_context->mbmi.mode = mode_selected; in rd_pick_intra16x16mby_mode() 758 xd->mode_info_context->mbmi.uv_mode = mode; in rd_pick_intra_mbuv_mode() 775 [xd->mode_info_context->mbmi.uv_mode]; in rd_pick_intra_mbuv_mode() 794 xd->mode_info_context->mbmi.uv_mode = mode_selected; in rd_pick_intra_mbuv_mode() 806 x->e_mbd.mode_info_context->mbmi.mode = mb; in vp8_set_mbmode_and_mvs() [all …]
|
D | tokenize.c | 358 has_y2_block = (xd->mode_info_context->mbmi.mode != B_PRED && in vp8_tokenize_mb() 359 xd->mode_info_context->mbmi.mode != SPLITMV); in vp8_tokenize_mb() 361 xd->mode_info_context->mbmi.mb_skip_coeff = mb_is_skippable(xd, has_y2_block); in vp8_tokenize_mb() 362 if (xd->mode_info_context->mbmi.mb_skip_coeff) { in vp8_tokenize_mb() 441 if ((xd->mode_info_context->mbmi.mode != B_PRED && in vp8_stuff_mb() 442 xd->mode_info_context->mbmi.mode != SPLITMV)) { in vp8_stuff_mb() 460 if (x->mode_info_context->mbmi.mode != B_PRED && in vp8_fix_contexts() 461 x->mode_info_context->mbmi.mode != SPLITMV) { in vp8_fix_contexts()
|
D | ethreading.c | 71 xd->mode_info_context = cm->mi + cm->mode_info_stride * (ithread + 1); in thread_encoding_proc() 161 xd->mode_info_context->mbmi.segment_id = in thread_encoding_proc() 164 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc() 170 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc() 200 if (xd->mode_info_context->mbmi.mode == ZEROMV && in thread_encoding_proc() 201 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) { in thread_encoding_proc() 228 const MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in thread_encoding_proc() 276 segment_counts[xd->mode_info_context->mbmi.segment_id]++; in thread_encoding_proc() 279 xd->mode_info_context++; in thread_encoding_proc() 290 xd->mode_info_context++; in thread_encoding_proc() [all …]
|
D | encodemb.c | 97 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) build_dcblock(x); in transform_mb() 104 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) { in transform_mb() 117 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) { in transform_mby() 188 if (mb->e_mbd.mode_info_context->mbmi.ref_frame == INTRA_FRAME) { in optimize_b() 405 has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED && in optimize_mb() 406 x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in optimize_mb() 446 has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED && in vp8_optimize_mby() 447 x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_optimize_mby()
|
D | encodeintra.c | 27 x->e_mbd.mode_info_context->mbmi.mode = DC_PRED; in vp8_encode_intra() 28 x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_encode_intra() 29 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_encode_intra()
|
D | vp8_quantize.c | 98 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED && in vp8_quantize_mby() 99 x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mby() 108 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED && in vp8_quantize_mb() 109 x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mb() 301 [xd->mode_info_context->mbmi.segment_id]; in vp8cx_mb_init_quantizer() 306 [xd->mode_info_context->mbmi.segment_id]; in vp8cx_mb_init_quantizer()
|
D | denoising.c | 499 MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi; in vp8_denoiser_denoise_mb()
|
D | firstpass.c | 511 xd->mode_info_context = cm->mi; in vp8_first_pass()
|
/external/libvpx/libvpx/vp8/decoder/ |
D | threading.c | 96 if (xd->mode_info_context->mbmi.mb_skip_coeff) { in mt_decode_macroblock() 103 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal == 0); in mt_decode_macroblock() 106 mode = xd->mode_info_context->mbmi.mode; in mt_decode_macroblock() 139 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) { in mt_decode_macroblock() 154 if (xd->mode_info_context->mbmi.mb_skip_coeff) memset(xd->eobs, 0, 25); in mt_decode_macroblock() 161 B_PREDICTION_MODE b_mode = xd->mode_info_context->bmi[i].as_mode; in mt_decode_macroblock() 213 if (!xd->mode_info_context->mbmi.mb_skip_coeff) { in mt_decode_macroblock() 290 xd->mode_info_context = pc->mi + pc->mode_info_stride * start_mb_row; in mt_decode_mb_rows() 381 (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) && in mt_decode_mb_rows() 404 xd->corrupted |= ref_fb_corrupted[xd->mode_info_context->mbmi.ref_frame]; in mt_decode_mb_rows() [all …]
|
D | decodeframe.c | 60 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in vp8_mb_init_dequantizer() 104 if (xd->mode_info_context->mbmi.mb_skip_coeff) { in decode_macroblock() 111 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal == 0); in decode_macroblock() 114 mode = xd->mode_info_context->mbmi.mode; in decode_macroblock() 147 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) { in decode_macroblock() 162 if (xd->mode_info_context->mbmi.mb_skip_coeff) memset(xd->eobs, 0, 25); in decode_macroblock() 169 B_PREDICTION_MODE b_mode = xd->mode_info_context->bmi[i].as_mode; in decode_macroblock() 199 if (!xd->mode_info_context->mbmi.mb_skip_coeff) { in decode_macroblock() 440 MODE_INFO *lf_mic = xd->mode_info_context; in decode_mb_rows() 540 xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME && in decode_mb_rows() [all …]
|
D | error_concealment.c | 412 MODE_INFO *const mi = mb->mode_info_context; in interpolate_mvs() 471 find_neighboring_blocks(mb->mode_info_context, neighbors, mb_row, mb_col, in vp8_interpolate_motion() 477 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion() 478 mb->mode_info_context->mbmi.mode = SPLITMV; in vp8_interpolate_motion() 479 mb->mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_interpolate_motion() 480 mb->mode_info_context->mbmi.partitioning = 3; in vp8_interpolate_motion() 481 mb->mode_info_context->mbmi.segment_id = 0; in vp8_interpolate_motion()
|
D | detokenize.c | 25 if (!x->mode_info_context->mbmi.is_4x4) { in vp8_reset_mb_tokens_context() 157 if (!x->mode_info_context->mbmi.is_4x4) { in vp8_decode_mb_tokens()
|