Home
last modified time | relevance | path

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

123

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c52 x->e_mbd.dst.y_buffer, x->e_mbd.dst.y_stride); in vp8_subtract_mb()
54 x->src.uv_stride, x->e_mbd.dst.u_buffer, in vp8_subtract_mb()
55 x->e_mbd.dst.v_buffer, x->e_mbd.dst.uv_stride); in vp8_subtract_mb()
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()
177 d = &mb->e_mbd.block[ib]; in optimize_b()
188 if (mb->e_mbd.mode_info_context->mbmi.ref_frame == INTRA_FRAME) { in optimize_b()
399 memcpy(&t_above, x->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb()
400 memcpy(&t_left, x->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb()
[all …]
Drdopt.c339 bd = &mb->e_mbd.block[i]; in vp8_mbblock_error_c()
363 bd = &mb->e_mbd.block[i]; in vp8_mbuverror_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()
382 int pre_stride = x->e_mbd.pre.uv_stride; in VP8_UVSSE()
400 uptr = x->e_mbd.pre.u_buffer + offset; in VP8_UVSSE()
401 vptr = x->e_mbd.pre.v_buffer + offset; in VP8_UVSSE()
449 MACROBLOCKD *x = &mb->e_mbd; in vp8_rdcost_mby()
454 memcpy(&t_above, mb->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
455 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
[all …]
Dpickinter.c146 BLOCKD *d = &mb->e_mbd.block[0]; in vp8_get_inter_mbpred_error()
149 int pre_stride = mb->e_mbd.pre.y_stride; in vp8_get_inter_mbpred_error()
150 unsigned char *in_what = mb->e_mbd.pre.y_buffer + d->offset; in vp8_get_inter_mbpred_error()
178 BLOCKD *b = &x->e_mbd.block[ib]; in pick_intra4x4block()
180 int dst_stride = x->e_mbd.dst.y_stride; in pick_intra4x4block()
181 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in pick_intra4x4block()
215 MACROBLOCKD *const xd = &mb->e_mbd; in pick_intra4x4mby_modes()
233 if (mb->e_mbd.frame_type == KEY_FRAME) { in pick_intra4x4mby_modes()
267 MACROBLOCKD *x = &mb->e_mbd; in pick_intra_mbuv_mode()
375 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode()
[all …]
Dencodeintra.c27 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()
33 vp8_inverse_transform_mby(&x->e_mbd); in vp8_encode_intra()
36 x->e_mbd.block[i].bmi.as_mode = B_DC_PRED; in vp8_encode_intra()
47 BLOCKD *b = &x->e_mbd.block[ib]; in vp8_encode_intra4x4block()
49 int dst_stride = x->e_mbd.dst.y_stride; in vp8_encode_intra4x4block()
50 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in vp8_encode_intra4x4block()
74 MACROBLOCKD *xd = &mb->e_mbd; in vp8_encode_intra4x4mby()
83 MACROBLOCKD *xd = &x->e_mbd; in vp8_encode_intra16x16mby()
[all …]
Dvp8_quantize.c98 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()
101 for (i = 0; i < 16; ++i) x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mby()
103 if (has_2nd_order) x->quantize_b(&x->block[24], &x->e_mbd.block[24]); 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()
112 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mb()
119 for (i = 16; i < 24; ++i) x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mbuv()
293 MACROBLOCKD *xd = &x->e_mbd; in vp8cx_mb_init_quantizer()
337 for (i = 0; i < 16; ++i) x->e_mbd.block[i].dequant = xd->dequant_y1; in vp8cx_mb_init_quantizer()
[all …]
Dpicklpf.c172 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast()
182 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast()
210 vp8_loop_filter_partial_frame(cm, &cpi->mb.e_mbd, filt_val); in vp8cx_pick_filter_level_fast()
244 MACROBLOCKD *mbd = &cpi->mb.e_mbd; in vp8cx_set_alt_lf_level()
310 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_mid); in vp8cx_pick_filter_level()
337 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_low); in vp8cx_pick_filter_level()
361 vp8_loop_filter_frame_yonly(cm, &cpi->mb.e_mbd, filt_high); in vp8cx_pick_filter_level()
Dtemporal_filter.c123 BLOCKD *d = &x->e_mbd.block[0]; in vp8_temporal_filter_find_matching_mb_c()
131 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_temporal_filter_find_matching_mb_c()
133 int pre_stride = x->e_mbd.pre.y_stride; in vp8_temporal_filter_find_matching_mb_c()
146 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; in vp8_temporal_filter_find_matching_mb_c()
147 x->e_mbd.pre.y_stride = frame_ptr->y_stride; in vp8_temporal_filter_find_matching_mb_c()
180 x->e_mbd.pre.y_buffer = base_pre; in vp8_temporal_filter_find_matching_mb_c()
182 x->e_mbd.pre.y_stride = pre_stride; in vp8_temporal_filter_find_matching_mb_c()
200 MACROBLOCKD *mbd = &cpi->mb.e_mbd; in vp8_temporal_filter_iterate_c()
Dmcomp.c251 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step_iteratively()
252 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step_iteratively()
255 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step_iteratively()
380 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step()
381 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step()
384 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step()
676 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_half_pixel_step()
677 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_half_pixel_step()
680 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_half_pixel_step()
849 int pre_stride = x->e_mbd.pre.y_stride; in vp8_hex_search()
[all …]
Donyx_if.c374 if (cpi->mb.e_mbd.segmentation_enabled) { in setup_features()
375 cpi->mb.e_mbd.update_mb_segmentation_map = 1; in setup_features()
376 cpi->mb.e_mbd.update_mb_segmentation_data = 1; in setup_features()
378 cpi->mb.e_mbd.update_mb_segmentation_map = 0; in setup_features()
379 cpi->mb.e_mbd.update_mb_segmentation_data = 0; in setup_features()
382 cpi->mb.e_mbd.mode_ref_lf_delta_enabled = 0; in setup_features()
383 cpi->mb.e_mbd.mode_ref_lf_delta_update = 0; in setup_features()
384 memset(cpi->mb.e_mbd.ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas)); in setup_features()
385 memset(cpi->mb.e_mbd.mode_lf_deltas, 0, sizeof(cpi->mb.e_mbd.mode_lf_deltas)); in setup_features()
386 memset(cpi->mb.e_mbd.last_ref_lf_deltas, 0, in setup_features()
[all …]
Dethreading.c58 MACROBLOCKD *xd = &x->e_mbd; in thread_encoding_proc()
376 MACROBLOCKD *xd = &x->e_mbd; in setup_mbby_copy()
377 MACROBLOCKD *zd = &z->e_mbd; in setup_mbby_copy()
438 MACROBLOCKD *const xd = &x->e_mbd; in vp8cx_init_mbrthread_data()
443 MACROBLOCKD *mbd = &mb->e_mbd; in vp8cx_init_mbrthread_data()
454 mb->partition_info = x->pi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data()
538 vp8_setup_block_dptrs(&cpi->mb_row_ei[ithread].mb.e_mbd); in vp8cx_create_encoder_threads()
Dtokenize.c102 MACROBLOCKD *xd = &x->e_mbd; in tokenize2nd_order_b()
183 MACROBLOCKD *xd = &x->e_mbd; in tokenize1st_order_b()
354 MACROBLOCKD *xd = &x->e_mbd; in vp8_tokenize_mb()
435 MACROBLOCKD *xd = &x->e_mbd; in vp8_stuff_mb()
Dencodeframe.c236 MACROBLOCKD *xd = &x->e_mbd; in build_activity_map()
578 MACROBLOCKD *const xd = &x->e_mbd; in init_encode_frame_mb_context()
670 MACROBLOCKD *const xd = &x->e_mbd; in vp8_encode_frame()
990 vp8_build_block_doffsets(&x->e_mbd); in vp8_build_block_offsets()
1028 const MACROBLOCKD *xd = &x->e_mbd; in sum_intra_stats()
1080 MACROBLOCKD *xd = &x->e_mbd; in vp8cx_encode_intra_macroblock()
1094 if (x->e_mbd.mode_info_context->mbmi.mode == B_PRED) { in vp8cx_encode_intra_macroblock()
1122 MACROBLOCKD *const xd = &x->e_mbd; in vp8cx_encode_inter_macroblock()
/external/libvpx/libvpx/test/
Dset_roi.cc43 cpi.mb.e_mbd.mb_segement_abs_delta = SEGMENT_DELTADATA; in TEST()
45 cpi.mb.e_mbd.segmentation_enabled = 0; in TEST()
46 cpi.mb.e_mbd.update_mb_segmentation_map = 0; in TEST()
47 cpi.mb.e_mbd.update_mb_segmentation_data = 0; in TEST()
108 EXPECT_EQ(1, cpi.mb.e_mbd.segmentation_enabled) in TEST()
110 EXPECT_EQ(1, cpi.mb.e_mbd.update_mb_segmentation_map) in TEST()
112 EXPECT_EQ(1, cpi.mb.e_mbd.update_mb_segmentation_data) in TEST()
Dquantize_test.cc73 memcpy(macroblockd_dst_, &vp8_comp_->mb.e_mbd, sizeof(*macroblockd_dst_)); in SetupCompressor()
82 memcpy(macroblockd_dst_, &vp8_comp_->mb.e_mbd, sizeof(*macroblockd_dst_)); in UpdateQuantizer()
99 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.qcoeff, macroblockd_dst_->qcoeff, in CheckOutput()
103 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.dqcoeff, macroblockd_dst_->dqcoeff, in CheckOutput()
107 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.eobs, macroblockd_dst_->eobs, in CheckOutput()
131 c_quant_(&vp8_comp_->mb.block[i], &vp8_comp_->mb.e_mbd.block[i])); in RunComparison()
/external/libaom/libaom/av1/encoder/
Dencodemb.c68 MACROBLOCKD *const xd = &x->e_mbd; in av1_subtract_txb()
70 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in av1_subtract_txb()
88 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in av1_subtract_plane()
93 const MACROBLOCKD *xd = &x->e_mbd; in av1_subtract_plane()
103 MACROBLOCKD *const xd = &mb->e_mbd; in av1_optimize_b()
136 MACROBLOCKD *const xd = &x->e_mbd; in av1_xform_quant()
210 MACROBLOCKD *const xd = &x->e_mbd; in encode_block()
307 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_inter()
425 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_pass1()
456 av1_foreach_transformed_block_in_plane(&x->e_mbd, bsize, 0, in av1_encode_sby_pass1()
[all …]
Dethread.c34 MACROBLOCKD *xd = &cpi->td.mb.e_mbd; in update_delta_lf_for_row_mt()
319 td->mb.e_mbd.tile_ctx = td->tctx; in enc_row_mt_worker_hook()
324 memcpy(td->mb.e_mbd.tile_ctx, &this_tile->tctx, sizeof(FRAME_CONTEXT)); in enc_row_mt_worker_hook()
326 memcpy(td->mb.e_mbd.tile_ctx, &this_tile->tctx, sizeof(FRAME_CONTEXT)); in enc_row_mt_worker_hook()
329 av1_init_above_context(cm, &td->mb.e_mbd, tile_row); in enc_row_mt_worker_hook()
336 cfl_init(&td->mb.e_mbd.cfl, &cm->seq_params); in enc_row_mt_worker_hook()
369 thread_data->td->mb.e_mbd.tile_ctx = &this_tile->tctx; in enc_worker_hook()
578 thread_data->td->mb.e_mbd.tmp_conv_dst = thread_data->td->mb.tmp_conv_dst; in prepare_enc_workers()
580 thread_data->td->mb.e_mbd.tmp_obmc_bufs[j] = in prepare_enc_workers()
678 av1_zero_above_context(cm, &cpi->td.mb.e_mbd, in av1_encode_tiles_row_mt()
Dmbgraph.c30 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_iteration()
87 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_search()
123 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_zerozero_search()
138 MACROBLOCKD *const xd = &x->e_mbd; in find_best_16x16_intra()
174 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_mb_stats()
226 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_frame_stats()
Dpartition_strategy.c39 MACROBLOCKD *xd = &x->e_mbd; in get_res_var_features()
162 const MACROBLOCKD *xd = &x->e_mbd; in simple_motion_search_get_best_ref()
281 const MACROBLOCKD *xd = &x->e_mbd; in simple_motion_search_prune_part_features()
500 const MACROBLOCKD *xd = &x->e_mbd; in firstpass_simple_motion_search_features()
580 MACROBLOCKD *xd = &x->e_mbd; in av1_get_max_min_partition_features()
706 MACROBLOCKD *const xd = &x->e_mbd; in av1_predict_max_partition()
Dtokenize.c80 const MACROBLOCKD *const xd = &x->e_mbd; in get_palette_params()
137 MACROBLOCKD *const xd = &x->e_mbd; in tokenize_vartx()
195 MACROBLOCKD *const xd = &x->e_mbd; in av1_tokenize_sb_vartx()
/external/libvpx/libvpx/vp8/encoder/x86/
Dvp8_enc_stubs_sse2.c19 short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; in vp8_mbblock_error_sse2()
26 short *d_ptr = &mb->e_mbd.dqcoeff[256]; in vp8_mbuverror_sse2()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_tokenize.c323 MACROBLOCKD *const xd = &x->e_mbd; in set_entropy_context_b()
354 MACROBLOCKD *const xd = &x->e_mbd; in tokenize_b()
441 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, is_skippable, in vp9_is_skippable_in_plane()
461 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, in vp9_has_high_freq_in_plane()
469 MACROBLOCKD *const xd = &x->e_mbd; in vp9_tokenize_sb()
Dvp9_mbgraph.c29 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_iteration()
80 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_search()
117 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_zerozero_search()
131 MACROBLOCKD *const xd = &x->e_mbd; in find_best_16x16_intra()
166 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_mb_stats()
218 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_frame_stats()
Dvp9_encodemb.c35 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in vp9_subtract_plane()
41 if (x->e_mbd.cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) { in vp9_subtract_plane()
44 x->e_mbd.bd); in vp9_subtract_plane()
63 MACROBLOCKD *const xd = &mb->e_mbd; in vp9_optimize_b()
346 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant_fp()
423 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant_dc()
496 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant()
581 MACROBLOCKD *const xd = &x->e_mbd; in encode_block()
694 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_pass1()
717 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, 0, in vp9_encode_sby_pass1()
[all …]
Dvp9_picklpf.c45 vp9_loop_filter_frame_mt(cm->frame_to_show, cm, cpi->td.mb.e_mbd.plane, in try_filter_frame()
49 vp9_loop_filter_frame(cm->frame_to_show, cm, &cpi->td.mb.e_mbd, filt_level, in try_filter_frame()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c60 bd = &mb->e_mbd.block[2 * loop_cnt]; in vp8_mbblock_error_msa()
70 bd = &mb->e_mbd.block[2 * loop_cnt + 1]; in vp8_mbblock_error_msa()
120 bd = &mb->e_mbd.block[loop_cnt]; in vp8_mbuverror_msa()
130 bd = &mb->e_mbd.block[loop_cnt + 1]; in vp8_mbuverror_msa()

123