Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp8/encoder/arm/
Dquantize_arm.c29 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()
/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c71 BLOCKD *d = &mb->e_mbd.block[0]; in vp8_get_inter_mbpred_error()
74 int pre_stride = mb->e_mbd.pre.y_stride; in vp8_get_inter_mbpred_error()
75 unsigned char *in_what = mb->e_mbd.pre.y_buffer + d->offset ; in vp8_get_inter_mbpred_error()
141 BLOCKD *b = &x->e_mbd.block[ib]; in pick_intra4x4block()
143 int dst_stride = x->e_mbd.dst.y_stride; in pick_intra4x4block()
144 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in pick_intra4x4block()
187 MACROBLOCKD *const xd = &mb->e_mbd; in pick_intra4x4mby_modes()
206 if (mb->e_mbd.frame_type == KEY_FRAME) in pick_intra4x4mby_modes()
247 MACROBLOCKD *x = &mb->e_mbd; in pick_intra_mbuv_mode()
388 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; in pick_intra_mbuv_mode()
[all …]
Dencodemb.c101 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 …]
Drdopt.c432 bd = &mb->e_mbd.block[i]; in vp8_mbblock_error_c()
461 bd = &mb->e_mbd.block[i]; in vp8_mbuverror_c()
478 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; in VP8_UVSSE()
479 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; in VP8_UVSSE()
481 int pre_stride = x->e_mbd.pre.uv_stride; in VP8_UVSSE()
497 uptr = x->e_mbd.pre.u_buffer + offset; in VP8_UVSSE()
498 vptr = x->e_mbd.pre.v_buffer + offset; in VP8_UVSSE()
553 MACROBLOCKD *x = &mb->e_mbd; in vp8_rdcost_mby()
558 vpx_memcpy(&t_above, mb->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
559 vpx_memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
[all …]
Dencodeintra.c30 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 …]
Dpicklpf.c177 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()
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()
175 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; in vp8_temporal_filter_find_matching_mb_c()
176 x->e_mbd.pre.y_stride = frame_ptr->y_stride; in vp8_temporal_filter_find_matching_mb_c()
215 x->e_mbd.pre.y_buffer = base_pre; in vp8_temporal_filter_find_matching_mb_c()
217 x->e_mbd.pre.y_stride = pre_stride; in vp8_temporal_filter_find_matching_mb_c()
241 MACROBLOCKD *mbd = &cpi->mb.e_mbd; in vp8_temporal_filter_iterate_c()
Dquantize.c272 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 …]
Dmcomp.c235 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step_iteratively()
236 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step_iteratively()
240 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step_iteratively()
378 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step()
379 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_sub_pixel_step()
382 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_sub_pixel_step()
689 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_half_pixel_step()
690 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_find_best_half_pixel_step()
693 MACROBLOCKD *xd = &x->e_mbd; in vp8_find_best_half_pixel_step()
871 int pre_stride = x->e_mbd.pre.y_stride; in vp8_hex_search()
[all …]
Dethreading.c67 MACROBLOCKD *xd = &x->e_mbd; in thread_encoding_proc()
386 MACROBLOCKD *xd = &x->e_mbd; in setup_mbby_copy()
387 MACROBLOCKD *zd = &z->e_mbd; in setup_mbby_copy()
458 MACROBLOCKD *const xd = & x->e_mbd; in vp8cx_init_mbrthread_data()
464 MACROBLOCKD *mbd = &mb->e_mbd; in vp8cx_init_mbrthread_data()
475 mb->partition_info = x->pi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data()
477 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.c417 if ( cpi->mb.e_mbd.segmentation_enabled ) in setup_features()
419 cpi->mb.e_mbd.update_mb_segmentation_map = 1; in setup_features()
420 cpi->mb.e_mbd.update_mb_segmentation_data = 1; in setup_features()
424 cpi->mb.e_mbd.update_mb_segmentation_map = 0; in setup_features()
425 cpi->mb.e_mbd.update_mb_segmentation_data = 0; in setup_features()
428 cpi->mb.e_mbd.mode_ref_lf_delta_enabled = 0; in setup_features()
429 cpi->mb.e_mbd.mode_ref_lf_delta_update = 0; in setup_features()
430 vpx_memset(cpi->mb.e_mbd.ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas)); in setup_features()
431 vpx_memset(cpi->mb.e_mbd.mode_lf_deltas, 0, sizeof(cpi->mb.e_mbd.mode_lf_deltas)); in setup_features()
432 vpx_memset(cpi->mb.e_mbd.last_ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas)); in setup_features()
[all …]
Dencodeframe.c265 MACROBLOCKD *xd = &x->e_mbd; in build_activity_map()
623 MACROBLOCKD *const xd = & x->e_mbd; in init_encode_frame_mb_context()
731 MACROBLOCKD *const xd = & x->e_mbd; in vp8_encode_frame()
1079 vp8_build_block_doffsets(&x->e_mbd); in vp8_build_block_offsets()
1124 const MACROBLOCKD *xd = & x->e_mbd; in sum_intra_stats()
1179 MACROBLOCKD *xd = &x->e_mbd; in vp8cx_encode_intra_macroblock()
1193 if (x->e_mbd.mode_info_context->mbmi.mode == B_PRED) in vp8cx_encode_intra_macroblock()
1226 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()
Dblock.h79 MACROBLOCKD e_mbd; member
/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()
/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/vp9/encoder/
Dvp9_mbgraph.c28 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()
174 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_mb_stats()
229 MACROBLOCKD *const xd = &x->e_mbd; in update_mbgraph_frame_stats()
Dvp9_encodemb.c56 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in vp9_subtract_plane()
103 MACROBLOCKD *const xd = &mb->e_mbd; in optimize_b()
306 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant_fp()
357 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant_dc()
404 MACROBLOCKD *const xd = &x->e_mbd; in vp9_xform_quant()
457 MACROBLOCKD *const xd = &x->e_mbd; in encode_block()
534 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_pass1()
551 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, 0, in vp9_encode_sby_pass1()
556 MACROBLOCKD *const xd = &x->e_mbd; in vp9_encode_sb()
582 MACROBLOCKD *const xd = &x->e_mbd; in encode_block_intra()
[all …]
Dvp9_encodeframe.c141 MACROBLOCKD *const xd = &x->e_mbd; in set_offsets()
208 MACROBLOCKD *const xd = &cpi->mb.e_mbd; in set_block_size()
381 MACROBLOCKD *xd = &cpi->mb.e_mbd; in choose_partitioning()
514 MACROBLOCKD *const xd = &x->e_mbd; in update_state()
647 x->e_mbd.cur_buf = src; in vp9_setup_src_planes()
651 NULL, x->e_mbd.plane[i].subsampling_x, in vp9_setup_src_planes()
652 x->e_mbd.plane[i].subsampling_y); in vp9_setup_src_planes()
657 MACROBLOCKD *const xd = &x->e_mbd; in set_mode_info_seg_skip()
693 MACROBLOCKD *const xd = &x->e_mbd; in rd_pick_sb_modes()
801 const MACROBLOCKD *const xd = &x->e_mbd; in update_stats()
[all …]
Dvp9_rdopt.c144 struct macroblockd_plane *const pd = &x->e_mbd.plane[i]; in swap_block_ptr()
258 MACROBLOCKD *const xd = &x->e_mbd; in cost_coeffs()
330 MACROBLOCKD* const xd = &x->e_mbd; in dist_block()
365 MACROBLOCKD *const xd = &x->e_mbd; in block_rd_txfm()
425 MACROBLOCKD *const xd = &x->e_mbd; in txfm_rd_in_plane()
463 MACROBLOCKD *const xd = &x->e_mbd; in choose_largest_tx_size()
484 MACROBLOCKD *const xd = &x->e_mbd; in choose_tx_size_from_rd()
565 MACROBLOCKD *xd = &x->e_mbd; in inter_super_block_yrd()
586 MACROBLOCKD *xd = &x->e_mbd; in intra_super_block_yrd()
630 MACROBLOCKD *const xd = &x->e_mbd; in rd_pick_intra4x4block()
[all …]
Dvp9_mcomp.c273 const MACROBLOCKD *xd = &x->e_mbd; in vp9_find_best_sub_pixel_tree()
412 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_pattern_search()
603 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_get_mvpred_var()
620 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_get_mvpred_av_var()
784 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_range_search_c()
859 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_diamond_search_sad_c()
1060 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_search_sad_c()
1093 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_search_sadx3()
1158 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_full_search_sadx8()
1247 const MACROBLOCKD *const xd = &x->e_mbd; in vp9_refining_search_sad_c()
[all …]
Dvp9_block.h58 MACROBLOCKD e_mbd; member
Dvp9_temporal_filter.c141 MACROBLOCKD *const xd = &x->e_mbd; in temporal_filter_find_matching_mb_c()
151 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()
Dvp9_tokenize.c296 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, is_skippable, in vp9_is_skippable_in_plane()
304 MACROBLOCKD *const xd = &cpi->mb.e_mbd; in vp9_tokenize_sb()

12