/external/libvpx/libvpx/vp8/decoder/ |
D | decodemv.c | 54 mi->mbmi.ref_frame = INTRA_FRAME; in read_kf_modes() 55 mi->mbmi.mode = read_kf_ymode(bc, vp8_kf_ymode_prob); in read_kf_modes() 57 if (mi->mbmi.mode == B_PRED) in read_kf_modes() 60 mi->mbmi.is_4x4 = 1; in read_kf_modes() 73 mi->mbmi.uv_mode = read_uv_mode(bc, vp8_kf_uv_mode_prob); in read_kf_modes() 232 MB_MODE_INFO *mbmi, int_mv best_mv, in decode_split_mv() argument 267 if(left_mb->mbmi.mode != SPLITMV) in decode_split_mv() 268 leftmv.as_int = left_mb->mbmi.mv.as_int; in decode_split_mv() 278 if(above_mb->mbmi.mode != SPLITMV) in decode_split_mv() 279 abovemv.as_int = above_mb->mbmi.mv.as_int; in decode_split_mv() [all …]
|
D | error_concealment.c | 290 MV * const filtered_mv = &(mi->mbmi.mv.as_mv); in estimate_mb_mvs() 294 mi->mbmi.need_to_clamp_mvs = 0; in estimate_mb_mvs() 307 mi->mbmi.need_to_clamp_mvs |= vp8_check_mv_bounds( in estimate_mb_mvs() 364 if (prev_mi->mbmi.ref_frame == LAST_FRAME) in estimate_missing_mvs() 391 mi->mbmi.ref_frame = LAST_FRAME; in estimate_missing_mvs() 392 mi->mbmi.mode = SPLITMV; in estimate_missing_mvs() 393 mi->mbmi.uv_mode = DC_PRED; in estimate_missing_mvs() 394 mi->mbmi.partitioning = 3; in estimate_missing_mvs() 395 mi->mbmi.segment_id = 0; in estimate_missing_mvs() 420 assert(mi->mbmi.ref_frame < MAX_REF_FRAMES); in assign_neighbor() [all …]
|
D | threading.c | 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() 249 if(!xd->mode_info_context->mbmi.mb_skip_coeff) in mt_decode_macroblock() 440 (xd->mode_info_context->mbmi.ref_frame == in mt_decode_mb_rows() 468 xd->pre.y_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset; in mt_decode_mb_rows() 469 xd->pre.u_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][1] + recon_uvoffset; in mt_decode_mb_rows() 470 xd->pre.v_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][2] + recon_uvoffset; in mt_decode_mb_rows() [all …]
|
D | decodframe.c | 60 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in vp8_mb_init_dequantizer() local 68 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer() 73 QIndex = pc->base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer() 104 if (xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock() 114 xd->mode_info_context->mbmi.mb_skip_coeff = (eobtotal==0); in decode_macroblock() 117 mode = xd->mode_info_context->mbmi.mode; in decode_macroblock() 156 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME) in decode_macroblock() 182 if(xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock() 232 if(!xd->mode_info_context->mbmi.mb_skip_coeff) in decode_macroblock() 616 xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME && in decode_mb_rows() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | findnearmv.c | 49 if (above->mbmi.ref_frame != INTRA_FRAME) in vp8_find_near_mvs() 51 if (above->mbmi.mv.as_int) in vp8_find_near_mvs() 53 (++mv)->as_int = above->mbmi.mv.as_int; in vp8_find_near_mvs() 54 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, ref_frame_sign_bias); in vp8_find_near_mvs() 62 if (left->mbmi.ref_frame != INTRA_FRAME) in vp8_find_near_mvs() 64 if (left->mbmi.mv.as_int) in vp8_find_near_mvs() 68 this_mv.as_int = left->mbmi.mv.as_int; in vp8_find_near_mvs() 69 … mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); in vp8_find_near_mvs() 84 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) in vp8_find_near_mvs() 86 if (aboveleft->mbmi.mv.as_int) in vp8_find_near_mvs() [all …]
|
D | loopfilter.c | 213 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_normal() 214 mode_info_context->mbmi.mode != SPLITMV && in vp8_loop_filter_row_normal() 215 mode_info_context->mbmi.mb_skip_coeff); in vp8_loop_filter_row_normal() 217 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_normal() 218 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_normal() 219 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_row_normal() 269 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_simple() 270 mode_info_context->mbmi.mode != SPLITMV && in vp8_loop_filter_row_simple() 271 mode_info_context->mbmi.mb_skip_coeff); in vp8_loop_filter_row_simple() 273 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_simple() [all …]
|
D | debugmodes.c | 33 fprintf(mvs, "%2d ", mi[mb_index].mbmi.mode); in vp8_print_modes_and_motion_vectors() 52 fprintf(mvs, "%2d ", mi[mb_index].mbmi.ref_frame); in vp8_print_modes_and_motion_vectors() 72 fprintf(mvs, "%2d ", mi[mb_index].mbmi.uv_mode); in vp8_print_modes_and_motion_vectors() 99 if (mi[mb_index].mbmi.mode == B_PRED) in vp8_print_modes_and_motion_vectors() 119 … fprintf(mvs, "%5d:%-5d", mi[mb_index].mbmi.mv.as_mv.row / 2, mi[mb_index].mbmi.mv.as_mv.col / 2); in vp8_print_modes_and_motion_vectors()
|
D | findnearmv.h | 107 if(cur_mb->mbmi.mode != SPLITMV) in left_block_mv() 108 return cur_mb->mbmi.mv.as_int; in left_block_mv() 122 if(cur_mb->mbmi.mode != SPLITMV) in above_block_mv() 123 return cur_mb->mbmi.mv.as_int; in above_block_mv() 135 switch (cur_mb->mbmi.mode) in left_block_mode() 162 switch (cur_mb->mbmi.mode) in above_block_mode()
|
D | postproc.c | 356 if (mode_info_context->mbmi.mb_skip_coeff) in vp8_deblock() 872 sprintf(zz, "%c", mi[mb_index].mbmi.mode + 'a'); in vp8_post_proc_frame() 903 int dc_diff = !(mi[mb_index].mbmi.mode != B_PRED && in vp8_post_proc_frame() 904 mi[mb_index].mbmi.mode != SPLITMV && in vp8_post_proc_frame() 905 mi[mb_index].mbmi.mb_skip_coeff); in vp8_post_proc_frame() 947 if (!(ppflags->display_mv_flag & (1<<mi->mbmi.mode))) in vp8_post_proc_frame() 953 if (mi->mbmi.mode == SPLITMV) in vp8_post_proc_frame() 955 switch (mi->mbmi.partitioning) in vp8_post_proc_frame() 1058 else if (mi->mbmi.mode >= NEARESTMV) in vp8_post_proc_frame() 1060 MV *mv = &mi->mbmi.mv.as_mv; in vp8_post_proc_frame() [all …]
|
D | reconinter.c | 221 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mbuv() 222 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mbuv() 329 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mby() 330 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mby() 400 _16x16mv.as_int = x->mode_info_context->mbmi.mv.as_int; in vp8_build_inter16x16_predictors_mb() 402 if (x->mode_info_context->mbmi.need_to_clamp_mvs) in vp8_build_inter16x16_predictors_mb() 449 if (x->mode_info_context->mbmi.partitioning < 3) in build_inter4x4_predictors_mb() 458 if (x->mode_info_context->mbmi.need_to_clamp_mvs) in build_inter4x4_predictors_mb() 485 if (x->mode_info_context->mbmi.need_to_clamp_mvs) in build_inter4x4_predictors_mb() 574 if (x->mode_info_context->mbmi.need_to_clamp_mvs) in build_4x4uvmvs() [all …]
|
D | mfqe.c | 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() 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()
|
D | reconintra.c | 34 switch (x->mode_info_context->mbmi.mode) in vp8_build_intra_predictors_mby_s_c() 165 switch (x->mode_info_context->mbmi.uv_mode) in vp8_build_intra_predictors_mbuv_s_c()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mr_dissim.c | 32 if(x->mbmi.ref_frame !=INTRA_FRAME) \ 34 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 35 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 40 if(x->mbmi.ref_frame !=INTRA_FRAME) \ 42 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 43 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 44 if (cm->ref_frame_sign_bias[x->mbmi.ref_frame] \ 45 != cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]) \ 96 if(tmp->mbmi.ref_frame !=INTRA_FRAME) in vp8_cal_dissimilarity() 194 mmvx = MAX(abs(min_mvx - here->mbmi.mv.as_mv.row), in vp8_cal_dissimilarity() [all …]
|
D | pickinter.c | 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() 536 mv_l = mic->mbmi.mv; in calculate_zeromv_rd_adjustment() 538 if (mic->mbmi.ref_frame != INTRA_FRAME) in calculate_zeromv_rd_adjustment() 544 mv_al = mic->mbmi.mv; in calculate_zeromv_rd_adjustment() [all …]
|
D | denoising.c | 210 MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi; in vp8_denoiser_denoise_mb() local 215 saved_mbmi = *mbmi; in vp8_denoiser_denoise_mb() 218 mbmi->ref_frame = x->best_reference_frame; in vp8_denoiser_denoise_mb() 219 mbmi->mode = x->best_sse_inter_mode; in vp8_denoiser_denoise_mb() 220 mbmi->mv = x->best_sse_mv; in vp8_denoiser_denoise_mb() 221 mbmi->need_to_clamp_mvs = x->need_to_clamp_best_mvs; in vp8_denoiser_denoise_mb() 238 mbmi->ref_frame = in vp8_denoiser_denoise_mb() 243 mbmi->mode = ZEROMV; in vp8_denoiser_denoise_mb() 244 mbmi->mv.as_int = 0; in vp8_denoiser_denoise_mb() 277 *mbmi = saved_mbmi; in vp8_denoiser_denoise_mb()
|
D | encodeframe.c | 488 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() 504 y_modes[xd->mbmi.mode] ++; in encode_mb_row() 512 inter_y_modes[xd->mbmi.mode] ++; in encode_mb_row() 514 if (xd->mbmi.mode == SPLITMV) in encode_mb_row() 518 for (b = 0; b < xd->mbmi.partition_count; b++) in encode_mb_row() 535 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id; in encode_mb_row() 544 if (xd->mode_info_context->mbmi.segment_id) in encode_mb_row() 546 …else if ((xd->mode_info_context->mbmi.mode == ZEROMV) && (xd->mode_info_context->mbmi.ref_frame ==… in encode_mb_row() [all …]
|
D | rdopt.c | 474 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE() 475 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE() 784 xd->mode_info_context->mbmi.mode = mode; in rd_pick_intra16x16mby_mode() 795 [xd->mode_info_context->mbmi.mode]; in rd_pick_intra16x16mby_mode() 809 xd->mode_info_context->mbmi.mode = mode_selected; in rd_pick_intra16x16mby_mode() 886 xd->mode_info_context->mbmi.uv_mode = mode; in rd_pick_intra_mbuv_mode() 905 rate = rate_to + x->intra_uv_mode_cost[xd->frame_type][xd->mode_info_context->mbmi.uv_mode]; in rd_pick_intra_mbuv_mode() 924 xd->mode_info_context->mbmi.uv_mode = mode_selected; in rd_pick_intra_mbuv_mode() 938 x->e_mbd.mode_info_context->mbmi.mode = mb; in vp8_set_mbmode_and_mvs() 939 x->e_mbd.mode_info_context->mbmi.mv.as_int = mv->as_int; in vp8_set_mbmode_and_mvs() [all …]
|
D | segmentation.c | 43 …if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == A… in vp8_update_gf_useage_maps() 51 else if ((this_mb_mode_info->mbmi.mode != ZEROMV) && *(x->gf_active_ptr)) in vp8_update_gf_useage_maps()
|
D | ethreading.c | 172 … 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() 188 y_modes[xd->mbmi.mode] ++; in thread_encoding_proc() 196 inter_y_modes[xd->mbmi.mode] ++; in thread_encoding_proc() 198 if (xd->mbmi.mode == SPLITMV) in thread_encoding_proc() 202 for (b = 0; b < xd->mbmi.partition_count; b++) in thread_encoding_proc() 219 const MB_MODE_INFO * mbmi = &xd->mode_info_context->mbmi; in thread_encoding_proc() local 220 cpi->segmentation_map[map_index + mb_col] = mbmi->segment_id; in thread_encoding_proc() 230 if (mbmi->segment_id) in thread_encoding_proc() [all …]
|
D | tokenize.c | 385 has_y2_block = (xd->mode_info_context->mbmi.mode != B_PRED in vp8_tokenize_mb() 386 && xd->mode_info_context->mbmi.mode != SPLITMV); in vp8_tokenize_mb() 388 xd->mode_info_context->mbmi.mb_skip_coeff = in vp8_tokenize_mb() 390 if (xd->mode_info_context->mbmi.mb_skip_coeff) in vp8_tokenize_mb() 571 if((xd->mode_info_context->mbmi.mode != B_PRED in vp8_stuff_mb() 572 && xd->mode_info_context->mbmi.mode != SPLITMV)) in vp8_stuff_mb() 593 if (x->mode_info_context->mbmi.mode != B_PRED && x->mode_info_context->mbmi.mode != SPLITMV) in vp8_fix_contexts()
|
D | encodeintra.c | 30 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()
|
D | encodemb.c | 161 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()
|
/external/libvpx/libvpx/vp8/encoder/arm/ |
D | quantize_arm.c | 29 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/ |
D | reconintra_arm.c | 31 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/ |
D | recon_wrapper_sse2.c | 44 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()
|