/hardware/intel/common/omx-components/videocodec/libvpx_internal/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() 34 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); in vp8_quantize_mby_neon() 37 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); 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() 48 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); in vp8_quantize_mb_neon() 51 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); in vp8_quantize_mb_neon() 61 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); in vp8_quantize_mbuv_neon()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | pickinter.c | 72 BLOCKD *d = &mb->e_mbd.block[0]; in vp8_get_inter_mbpred_error() 75 int pre_stride = mb->e_mbd.pre.y_stride; in vp8_get_inter_mbpred_error() 76 unsigned char *in_what = mb->e_mbd.pre.y_buffer + d->offset ; in vp8_get_inter_mbpred_error() 142 BLOCKD *b = &x->e_mbd.block[ib]; in pick_intra4x4block() 144 int dst_stride = x->e_mbd.dst.y_stride; in pick_intra4x4block() 145 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in pick_intra4x4block() 188 MACROBLOCKD *const xd = &mb->e_mbd; in pick_intra4x4mby_modes() 208 if (mb->e_mbd.frame_type == KEY_FRAME) in pick_intra4x4mby_modes() 249 MACROBLOCKD *x = &mb->e_mbd; in pick_intra_mbuv_mode() 390 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode() [all …]
|
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() 36 vp8_inverse_transform_mby(&x->e_mbd); in vp8_encode_intra() 42 x->e_mbd.block[i].bmi.as_mode = B_DC_PRED; in vp8_encode_intra() 54 BLOCKD *b = &x->e_mbd.block[ib]; in vp8_encode_intra4x4block() 56 int dst_stride = x->e_mbd.dst.y_stride; in vp8_encode_intra4x4block() 57 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in vp8_encode_intra4x4block() 85 MACROBLOCKD *xd = &mb->e_mbd; in vp8_encode_intra4x4mby() 96 MACROBLOCKD *xd = &x->e_mbd; in vp8_encode_intra16x16mby() [all …]
|
D | encodemb.c | 101 b->src_stride, x->e_mbd.dst.y_buffer, x->e_mbd.dst.y_stride); in vp8_subtract_mb() 103 x->src.v_buffer, x->src.uv_stride, x->e_mbd.dst.u_buffer, in vp8_subtract_mb() 104 x->e_mbd.dst.v_buffer, x->e_mbd.dst.uv_stride); in vp8_subtract_mb() 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() 259 d = &mb->e_mbd.block[ib]; in optimize_b() 277 if(mb->e_mbd.mode_info_context->mbmi.ref_frame==INTRA_FRAME) in optimize_b() 516 vpx_memcpy(&t_above, x->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb() 517 vpx_memcpy(&t_left, x->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb() [all …]
|
D | rdopt.c | 433 bd = &mb->e_mbd.block[i]; in vp8_mbblock_error_c() 462 bd = &mb->e_mbd.block[i]; in vp8_mbuverror_c() 479 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() 482 int pre_stride = x->e_mbd.pre.uv_stride; in VP8_UVSSE() 498 uptr = x->e_mbd.pre.u_buffer + offset; in VP8_UVSSE() 499 vptr = x->e_mbd.pre.v_buffer + offset; in VP8_UVSSE() 554 MACROBLOCKD *x = &mb->e_mbd; in vp8_rdcost_mby() 559 vpx_memcpy(&t_above, mb->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby() 560 vpx_memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby() [all …]
|
D | picklpf.c | 177 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast() 188 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast() 219 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast() 257 MACROBLOCKD *mbd = &cpi->mb.e_mbd; in vp8cx_set_alt_lf_level() 319 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_mid); in vp8cx_pick_filter_level() 344 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_low); in vp8cx_pick_filter_level() 372 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_high); in vp8cx_pick_filter_level()
|
D | temporal_filter.c | 153 BLOCKD *d = &x->e_mbd.block[0]; in vp8_temporal_filter_find_matching_mb_c() 161 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_temporal_filter_find_matching_mb_c() 163 int pre_stride = x->e_mbd.pre.y_stride; in vp8_temporal_filter_find_matching_mb_c() 174 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; in vp8_temporal_filter_find_matching_mb_c() 175 x->e_mbd.pre.y_stride = frame_ptr->y_stride; in vp8_temporal_filter_find_matching_mb_c() 214 x->e_mbd.pre.y_buffer = base_pre; in vp8_temporal_filter_find_matching_mb_c() 216 x->e_mbd.pre.y_stride = pre_stride; in vp8_temporal_filter_find_matching_mb_c() 240 MACROBLOCKD *mbd = &cpi->mb.e_mbd; in vp8_temporal_filter_iterate_c()
|
D | quantize.c | 272 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() 276 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mby_c() 279 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); 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() 289 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mb_c() 298 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mbuv_c() 614 MACROBLOCKD *xd = &x->e_mbd; in vp8cx_mb_init_quantizer() 661 x->e_mbd.block[i].dequant = xd->dequant_y1; in vp8cx_mb_init_quantizer() [all …]
|
D | ethreading.c | 67 MACROBLOCKD *xd = &x->e_mbd; in thread_encoding_proc() 371 MACROBLOCKD *xd = &x->e_mbd; in setup_mbby_copy() 372 MACROBLOCKD *zd = &z->e_mbd; in setup_mbby_copy() 443 MACROBLOCKD *const xd = & x->e_mbd; in vp8cx_init_mbrthread_data() 449 MACROBLOCKD *mbd = &mb->e_mbd; in vp8cx_init_mbrthread_data() 460 mb->partition_info = x->pi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data() 462 mbd->mode_info_context = cm->mi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data() 551 vp8_setup_block_dptrs(&cpi->mb_row_ei[ithread].mb.e_mbd); in vp8cx_create_encoder_threads()
|
D | mcomp.c | 234 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step_iteratively() 235 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step_iteratively() 239 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step_iteratively() 377 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step() 378 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step() 381 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step() 688 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_half_pixel_step() 689 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_half_pixel_step() 692 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_half_pixel_step() 870 int pre_stride = x->e_mbd.pre.y_stride; in vp8_hex_search() [all …]
|
D | onyx_if.c | 414 if ( cpi->mb.e_mbd.segmentation_enabled ) in setup_features() 416 cpi->mb.e_mbd.update_mb_segmentation_map = 1; in setup_features() 417 cpi->mb.e_mbd.update_mb_segmentation_data = 1; in setup_features() 421 cpi->mb.e_mbd.update_mb_segmentation_map = 0; in setup_features() 422 cpi->mb.e_mbd.update_mb_segmentation_data = 0; in setup_features() 425 cpi->mb.e_mbd.mode_ref_lf_delta_enabled = 0; in setup_features() 426 cpi->mb.e_mbd.mode_ref_lf_delta_update = 0; in setup_features() 427 vpx_memset(cpi->mb.e_mbd.ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas)); in setup_features() 428 vpx_memset(cpi->mb.e_mbd.mode_lf_deltas, 0, sizeof(cpi->mb.e_mbd.mode_lf_deltas)); in setup_features() 429 vpx_memset(cpi->mb.e_mbd.last_ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas)); in setup_features() [all …]
|
D | tokenize.c | 110 MACROBLOCKD *xd = &x->e_mbd; in tokenize2nd_order_b() 199 MACROBLOCKD *xd = &x->e_mbd; in tokenize1st_order_b() 385 MACROBLOCKD *xd = &x->e_mbd; in vp8_tokenize_mb() 569 MACROBLOCKD *xd = &x->e_mbd; in vp8_stuff_mb()
|
D | encodeframe.c | 266 MACROBLOCKD *xd = &x->e_mbd; in build_activity_map() 611 MACROBLOCKD *const xd = & x->e_mbd; in init_encode_frame_mb_context() 719 MACROBLOCKD *const xd = & x->e_mbd; in vp8_encode_frame() 1067 vp8_build_block_doffsets(&x->e_mbd); in vp8_build_block_offsets() 1112 const MACROBLOCKD *xd = & x->e_mbd; in sum_intra_stats() 1167 MACROBLOCKD *xd = &x->e_mbd; in vp8cx_encode_intra_macroblock() 1181 if (x->e_mbd.mode_info_context->mbmi.mode == B_PRED) in vp8cx_encode_intra_macroblock() 1214 MACROBLOCKD *const xd = &x->e_mbd; in vp8cx_encode_inter_macroblock()
|
D | block.h | 79 MACROBLOCKD e_mbd; member
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | set_roi.cc | 48 cpi.mb.e_mbd.mb_segement_abs_delta = SEGMENT_DELTADATA; in TEST() 50 cpi.mb.e_mbd.segmentation_enabled = 0; in TEST() 51 cpi.mb.e_mbd.update_mb_segmentation_map = 0; in TEST() 52 cpi.mb.e_mbd.update_mb_segmentation_data = 0; in TEST() 114 EXPECT_EQ(1, cpi.mb.e_mbd.segmentation_enabled) in TEST() 116 EXPECT_EQ(1, cpi.mb.e_mbd.update_mb_segmentation_map) in TEST() 118 EXPECT_EQ(1, cpi.mb.e_mbd.update_mb_segmentation_data) in TEST()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/ |
D | vp8_enc_stubs_sse2.c | 21 short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; in vp8_mbblock_error_xmm() 29 short *d_ptr = &mb->e_mbd.dqcoeff[256]; in vp8_mbuverror_xmm()
|
D | vp8_enc_stubs_mmx.c | 56 short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; in vp8_mbblock_error_mmx() 64 short *d_ptr = &mb->e_mbd.dqcoeff[256]; in vp8_mbuverror_mmx()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_encodemb.c | 56 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in vp9_subtract_plane() 111 MACROBLOCKD *const xd = &mb->e_mbd; in optimize_b() 142 if (!is_inter_block(&mb->e_mbd.mi[0]->mbmi)) in optimize_b() 319 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant() 371 MACROBLOCKD *const xd = &x->e_mbd; in encode_block() 431 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_pass1() 448 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, 0, in vp9_encode_sby_pass1() 453 MACROBLOCKD *const xd = &x->e_mbd; in vp9_encode_sb() 479 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_intra() 610 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_encode_intra_block_plane() [all …]
|
D | vp9_mbgraph.c | 30 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_iteration() 83 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_search() 123 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_zerozero_search() 139 MACROBLOCKD *const xd = &x->e_mbd; in find_best_16x16_intra() 182 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_mb_stats() 237 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_frame_stats()
|
D | vp9_encodeframe.c | 200 if (cpi->active_map_enabled && !x->e_mbd.lossless) { in check_active_map() 211 MACROBLOCKD *const xd = &x->e_mbd; in set_offsets() 304 MACROBLOCKD *const xd = &cpi->mb.e_mbd; in set_block_size() 476 MACROBLOCKD *xd = &cpi->mb.e_mbd; in choose_partitioning() 755 MACROBLOCKD *xd = &x->e_mbd; in build_activity_map() 842 MACROBLOCKD *const xd = &x->e_mbd; in update_state() 977 x->e_mbd.cur_buf = src; in vp9_setup_src_planes() 981 NULL, x->e_mbd.plane[i].subsampling_x, in vp9_setup_src_planes() 982 x->e_mbd.plane[i].subsampling_y); in vp9_setup_src_planes() 992 MACROBLOCKD *const xd = &x->e_mbd; in rd_pick_sb_modes() [all …]
|
D | vp9_mcomp.c | 275 const MACROBLOCKD *xd = &x->e_mbd; in vp9_find_best_sub_pixel_tree() 373 const MACROBLOCKD *xd = &x->e_mbd; in vp9_find_best_sub_pixel_comp_tree() 510 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_pattern_search() 705 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_get_mvpred_var() 722 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_get_mvpred_av_var() 885 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_range_search_c() 986 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_diamond_search_sad_c() 1095 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_diamond_search_sadx4() 1309 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_search_sad_c() 1346 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_search_sadx3() [all …]
|
D | vp9_rdopt.c | 558 MACROBLOCKD *const xd = &x->e_mbd; in cost_coeffs() 630 MACROBLOCKD* const xd = &x->e_mbd; in dist_block() 665 MACROBLOCKD *const xd = &x->e_mbd; in block_rd_txfm() 744 MACROBLOCKD *const xd = &x->e_mbd; in txfm_rd_in_plane() 781 MACROBLOCKD *const xd = &x->e_mbd; in choose_largest_txfm_size() 800 MACROBLOCKD *const xd = &x->e_mbd; in choose_txfm_size_from_rd() 883 MACROBLOCKD *const xd = &x->e_mbd; in choose_txfm_size_from_modelrd() 953 MACROBLOCKD *xd = &x->e_mbd; in inter_super_block_yrd() 996 MACROBLOCKD *xd = &x->e_mbd; in intra_super_block_yrd() 1050 MACROBLOCKD *const xd = &x->e_mbd; in rd_pick_intra4x4block() [all …]
|
D | vp9_bitstream.c | 86 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; in write_selected_tx_size() 99 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; in write_skip() 194 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; in write_ref_frames() 233 const MACROBLOCKD *const xd = &x->e_mbd; in pack_inter_mode_mvs() 336 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; in write_mb_modes_kf() 375 MACROBLOCKD *const xd = &cpi->mb.e_mbd; in write_modes_b() 421 MACROBLOCKD *const xd = &cpi->mb.e_mbd; in write_modes_sb() 479 vp9_zero(cpi->mb.e_mbd.left_seg_context); in write_modes() 1114 MACROBLOCKD *const xd = &cpi->mb.e_mbd;
|
D | vp9_pickmode.c | 33 MACROBLOCKD *xd = &x->e_mbd; in full_pixel_motion_search() 137 MACROBLOCKD *xd = &x->e_mbd; in sub_pixel_motion_search() 209 MACROBLOCKD *xd = &x->e_mbd; in vp9_pick_inter_mode()
|
D | vp9_temporal_filter.c | 132 MACROBLOCKD* const xd = &x->e_mbd; in temporal_filter_find_matching_mb_c() 139 MV *ref_mv = &x->e_mbd.mi[0]->bmi[0].as_mv[0].as_mv; in temporal_filter_find_matching_mb_c() 205 MACROBLOCKD *mbd = &cpi->mb.e_mbd; in temporal_filter_iterate_c()
|