Home
last modified time | relevance | path

Searched refs:e_mbd (Results 1 – 25 of 40) sorted by relevance

12

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c53 b->src_stride, x->e_mbd.dst.y_buffer, x->e_mbd.dst.y_stride); in vp8_subtract_mb()
55 x->src.v_buffer, x->src.uv_stride, x->e_mbd.dst.u_buffer, in vp8_subtract_mb()
56 x->e_mbd.dst.v_buffer, x->e_mbd.dst.uv_stride); in vp8_subtract_mb()
113 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mb()
123 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mb()
141 if (x->e_mbd.mode_info_context->mbmi.mode != SPLITMV) in transform_mby()
211 d = &mb->e_mbd.block[ib]; in optimize_b()
222 if(mb->e_mbd.mode_info_context->mbmi.ref_frame==INTRA_FRAME) in optimize_b()
461 memcpy(&t_above, x->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb()
462 memcpy(&t_left, x->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb()
[all …]
Drdopt.c434 bd = &mb->e_mbd.block[i]; in vp8_mbblock_error_c()
463 bd = &mb->e_mbd.block[i]; in vp8_mbuverror_c()
480 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE()
481 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE()
483 int pre_stride = x->e_mbd.pre.uv_stride; in VP8_UVSSE()
499 uptr = x->e_mbd.pre.u_buffer + offset; in VP8_UVSSE()
500 vptr = x->e_mbd.pre.v_buffer + offset; in VP8_UVSSE()
555 MACROBLOCKD *x = &mb->e_mbd; in vp8_rdcost_mby()
560 memcpy(&t_above, mb->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
561 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
[all …]
Dpickinter.c199 BLOCKD *d = &mb->e_mbd.block[0]; in vp8_get_inter_mbpred_error()
202 int pre_stride = mb->e_mbd.pre.y_stride; in vp8_get_inter_mbpred_error()
203 unsigned char *in_what = mb->e_mbd.pre.y_buffer + d->offset ; in vp8_get_inter_mbpred_error()
242 BLOCKD *b = &x->e_mbd.block[ib]; in pick_intra4x4block()
244 int dst_stride = x->e_mbd.dst.y_stride; in pick_intra4x4block()
245 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in pick_intra4x4block()
288 MACROBLOCKD *const xd = &mb->e_mbd; in pick_intra4x4mby_modes()
307 if (mb->e_mbd.frame_type == KEY_FRAME) in pick_intra4x4mby_modes()
348 MACROBLOCKD *x = &mb->e_mbd; in pick_intra_mbuv_mode()
489 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode()
[all …]
Dencodeintra.c32 x->e_mbd.mode_info_context->mbmi.mode = DC_PRED; in vp8_encode_intra()
33 x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_encode_intra()
34 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_encode_intra()
38 vp8_inverse_transform_mby(&x->e_mbd); in vp8_encode_intra()
44 x->e_mbd.block[i].bmi.as_mode = B_DC_PRED; in vp8_encode_intra()
56 BLOCKD *b = &x->e_mbd.block[ib]; in vp8_encode_intra4x4block()
58 int dst_stride = x->e_mbd.dst.y_stride; in vp8_encode_intra4x4block()
59 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in vp8_encode_intra4x4block()
87 MACROBLOCKD *xd = &mb->e_mbd; in vp8_encode_intra4x4mby()
98 MACROBLOCKD *xd = &x->e_mbd; in vp8_encode_intra16x16mby()
[all …]
Dvp8_quantize.c107 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mby()
108 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mby()
111 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mby()
114 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); in vp8_quantize_mby()
120 int has_2nd_order=(x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mb()
121 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mb()
124 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mb()
133 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mbuv()
368 MACROBLOCKD *xd = &x->e_mbd; in vp8cx_mb_init_quantizer()
415 x->e_mbd.block[i].dequant = xd->dequant_y1; in vp8cx_mb_init_quantizer()
[all …]
Dpicklpf.c178 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast()
189 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast()
220 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast()
258 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()
Dtemporal_filter.c154 BLOCKD *d = &x->e_mbd.block[0]; in vp8_temporal_filter_find_matching_mb_c()
162 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_temporal_filter_find_matching_mb_c()
164 int pre_stride = x->e_mbd.pre.y_stride; in vp8_temporal_filter_find_matching_mb_c()
177 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; in vp8_temporal_filter_find_matching_mb_c()
178 x->e_mbd.pre.y_stride = frame_ptr->y_stride; in vp8_temporal_filter_find_matching_mb_c()
217 x->e_mbd.pre.y_buffer = base_pre; in vp8_temporal_filter_find_matching_mb_c()
219 x->e_mbd.pre.y_stride = pre_stride; in vp8_temporal_filter_find_matching_mb_c()
243 MACROBLOCKD *mbd = &cpi->mb.e_mbd; in vp8_temporal_filter_iterate_c()
Dmcomp.c238 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step_iteratively()
239 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step_iteratively()
243 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step_iteratively()
381 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step()
382 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step()
385 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step()
692 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_half_pixel_step()
693 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_half_pixel_step()
696 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_half_pixel_step()
874 int pre_stride = x->e_mbd.pre.y_stride; in vp8_hex_search()
[all …]
Dethreading.c65 MACROBLOCKD *xd = &x->e_mbd; in thread_encoding_proc()
387 MACROBLOCKD *xd = &x->e_mbd; in setup_mbby_copy()
388 MACROBLOCKD *zd = &z->e_mbd; in setup_mbby_copy()
457 MACROBLOCKD *const xd = & x->e_mbd; in vp8cx_init_mbrthread_data()
463 MACROBLOCKD *mbd = &mb->e_mbd; in vp8cx_init_mbrthread_data()
474 mb->partition_info = x->pi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data()
476 mbd->mode_info_context = cm->mi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data()
566 vp8_setup_block_dptrs(&cpi->mb_row_ei[ithread].mb.e_mbd); in vp8cx_create_encoder_threads()
Donyx_if.c401 if ( cpi->mb.e_mbd.segmentation_enabled ) in setup_features()
403 cpi->mb.e_mbd.update_mb_segmentation_map = 1; in setup_features()
404 cpi->mb.e_mbd.update_mb_segmentation_data = 1; in setup_features()
408 cpi->mb.e_mbd.update_mb_segmentation_map = 0; in setup_features()
409 cpi->mb.e_mbd.update_mb_segmentation_data = 0; in setup_features()
412 cpi->mb.e_mbd.mode_ref_lf_delta_enabled = 0; in setup_features()
413 cpi->mb.e_mbd.mode_ref_lf_delta_update = 0; in setup_features()
414 memset(cpi->mb.e_mbd.ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas)); in setup_features()
415 memset(cpi->mb.e_mbd.mode_lf_deltas, 0, sizeof(cpi->mb.e_mbd.mode_lf_deltas)); in setup_features()
416 memset(cpi->mb.e_mbd.last_ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas)); in setup_features()
[all …]
Dencodeframe.c267 MACROBLOCKD *xd = &x->e_mbd; in build_activity_map()
631 MACROBLOCKD *const xd = & x->e_mbd; in init_encode_frame_mb_context()
740 MACROBLOCKD *const xd = & x->e_mbd; in vp8_encode_frame()
1088 vp8_build_block_doffsets(&x->e_mbd); in vp8_build_block_offsets()
1133 const MACROBLOCKD *xd = & x->e_mbd; in sum_intra_stats()
1190 MACROBLOCKD *xd = &x->e_mbd; in vp8cx_encode_intra_macroblock()
1204 if (x->e_mbd.mode_info_context->mbmi.mode == B_PRED) in vp8cx_encode_intra_macroblock()
1237 MACROBLOCKD *const xd = &x->e_mbd; in vp8cx_encode_inter_macroblock()
Dtokenize.c110 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()
/external/libvpx/libvpx/test/
Dset_roi.cc48 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()
Dquantize_test.cc72 memcpy(macroblockd_dst_, &vp8_comp_->mb.e_mbd, sizeof(*macroblockd_dst_)); in SetupCompressor()
81 memcpy(macroblockd_dst_, &vp8_comp_->mb.e_mbd, sizeof(*macroblockd_dst_)); in UpdateQuantizer()
98 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.qcoeff, macroblockd_dst_->qcoeff, in CheckOutput()
102 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.dqcoeff, macroblockd_dst_->dqcoeff, in CheckOutput()
106 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.eobs, macroblockd_dst_->eobs, in CheckOutput()
130 c_quant_(&vp8_comp_->mb.block[i], &vp8_comp_->mb.e_mbd.block[i])); in RunComparison()
/external/libvpx/libvpx/vp8/encoder/x86/
Dvp8_enc_stubs_sse2.c21 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()
Dvp8_enc_stubs_mmx.c56 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()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c65 bd = &mb->e_mbd.block[2 * loop_cnt]; in vp8_mbblock_error_msa()
75 bd = &mb->e_mbd.block[2 * loop_cnt + 1]; in vp8_mbblock_error_msa()
127 bd = &mb->e_mbd.block[loop_cnt]; in vp8_mbuverror_msa()
137 bd = &mb->e_mbd.block[loop_cnt + 1]; in vp8_mbuverror_msa()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_tokenize.c424 MACROBLOCKD *const xd = &x->e_mbd; in set_entropy_context_b()
469 MACROBLOCKD *const xd = &x->e_mbd; in tokenize_b()
562 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, is_skippable, in vp9_is_skippable_in_plane()
581 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, in vp9_has_high_freq_in_plane()
590 MACROBLOCKD *const xd = &x->e_mbd; in vp9_tokenize_sb()
Dvp9_mbgraph.c32 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_iteration()
90 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_search()
127 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_zerozero_search()
141 MACROBLOCKD *const xd = &x->e_mbd; in find_best_16x16_intra()
184 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_mb_stats()
239 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_frame_stats()
Dvp9_encodemb.c36 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in vp9_subtract_plane()
42 if (x->e_mbd.cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) { in vp9_subtract_plane()
45 x->e_mbd.bd); in vp9_subtract_plane()
91 MACROBLOCKD *const xd = &mb->e_mbd; in optimize_b()
327 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant_fp()
417 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant_dc()
498 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant()
589 MACROBLOCKD *const xd = &x->e_mbd; in encode_block()
708 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_pass1()
732 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, 0, in vp9_encode_sby_pass1()
[all …]
Dvp9_picklpf.c46 vp9_loop_filter_frame_mt(cm->frame_to_show, cm, cpi->td.mb.e_mbd.plane, in try_filter_frame()
50 vp9_loop_filter_frame(cm->frame_to_show, cm, &cpi->td.mb.e_mbd, filt_level, in try_filter_frame()
Dvp9_rdopt.c139 struct macroblockd_plane *const pd = &x->e_mbd.plane[i]; in swap_block_ptr()
363 MACROBLOCKD *const xd = &x->e_mbd; in cost_coeffs()
446 MACROBLOCKD* const xd = &x->e_mbd; in dist_block()
493 MACROBLOCKD *const xd = &x->e_mbd; in block_rd_txfm()
581 MACROBLOCKD *const xd = &x->e_mbd; in txfm_rd_in_plane()
620 MACROBLOCKD *const xd = &x->e_mbd; in choose_largest_tx_size()
639 MACROBLOCKD *const xd = &x->e_mbd; in choose_tx_size_from_rd()
728 MACROBLOCKD *xd = &x->e_mbd; in super_block_yrd()
773 MACROBLOCKD *const xd = &x->e_mbd; in rd_pick_intra4x4block()
1004 const MACROBLOCKD *const xd = &mb->e_mbd; in rd_pick_intra_sub_8x8_y_mode()
[all …]
Dvp9_encodeframe.c188 MACROBLOCKD *const xd = &x->e_mbd; in set_offsets()
658 MACROBLOCKD *xd = &x->e_mbd; in choose_partitioning()
974 MACROBLOCKD *const xd = &x->e_mbd; in update_state()
1113 x->e_mbd.cur_buf = src; in vp9_setup_src_planes()
1117 NULL, x->e_mbd.plane[i].subsampling_x, in vp9_setup_src_planes()
1118 x->e_mbd.plane[i].subsampling_y); in vp9_setup_src_planes()
1123 MACROBLOCKD *const xd = &x->e_mbd; in set_mode_info_seg_skip()
1171 MACROBLOCKD *const xd = &x->e_mbd; in rd_pick_sb_modes()
1283 const MACROBLOCKD *const xd = &x->e_mbd; in update_stats()
1344 MACROBLOCKD *const xd = &x->e_mbd; in restore_context()
[all …]
Dvp9_mcomp.c284 const MACROBLOCKD *xd = &x->e_mbd; \
658 const MACROBLOCKD *xd = &x->e_mbd; in vp9_find_best_sub_pixel_tree()
834 const struct buf_2d *const in_what = &x->e_mbd.plane[0].pre[0]; in calc_int_cost_list()
894 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_pattern_search()
1069 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_pattern_search_sad()
1346 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_get_mvpred_var()
1363 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_get_mvpred_av_var()
1532 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_range_search_c()
1607 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_diamond_search_sad_c()
1817 MACROBLOCKD *xd = &x->e_mbd; in vp9_int_pro_motion_estimation()
[all …]
Dvp9_temporal_filter.c219 MACROBLOCKD *const xd = &x->e_mbd; in temporal_filter_find_matching_mb_c()
231 MV *ref_mv = &x->e_mbd.mi[0]->bmi[0].as_mv[0].as_mv; in temporal_filter_find_matching_mb_c()
289 MACROBLOCKD *mbd = &cpi->td.mb.e_mbd; in temporal_filter_iterate_c()
660 MACROBLOCKD *const xd = &cpi->td.mb.e_mbd; in vp9_temporal_filter()

12