Home
last modified time | relevance | path

Searched refs:xd (Results 1 – 25 of 141) sorted by relevance

123456

/external/libvpx/libvpx/vp8/decoder/
Dthreading.c39 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd);
41 static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, MB_ROW_DEC *mbrd, int count) in setup_decoding_thread_data() argument
49 mbd->subpixel_predict = xd->subpixel_predict; in setup_decoding_thread_data()
50 mbd->subpixel_predict8x4 = xd->subpixel_predict8x4; in setup_decoding_thread_data()
51 mbd->subpixel_predict8x8 = xd->subpixel_predict8x8; in setup_decoding_thread_data()
52 mbd->subpixel_predict16x16 = xd->subpixel_predict16x16; in setup_decoding_thread_data()
58 mbd->pre = xd->pre; in setup_decoding_thread_data()
59 mbd->dst = xd->dst; in setup_decoding_thread_data()
61 mbd->segmentation_enabled = xd->segmentation_enabled; in setup_decoding_thread_data()
62 mbd->mb_segement_abs_delta = xd->mb_segement_abs_delta; in setup_decoding_thread_data()
[all …]
Ddecodeframe.c58 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) in vp8_mb_init_dequantizer() argument
62 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in vp8_mb_init_dequantizer()
66 if (xd->segmentation_enabled) in vp8_mb_init_dequantizer()
69 if (xd->mb_segement_abs_delta == SEGMENT_ABSDATA) in vp8_mb_init_dequantizer()
70 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer()
75 QIndex = pc->base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer()
83 xd->dequant_y1_dc[0] = 1; in vp8_mb_init_dequantizer()
84 xd->dequant_y1[0] = pc->Y1dequant[QIndex][0]; in vp8_mb_init_dequantizer()
85 xd->dequant_y2[0] = pc->Y2dequant[QIndex][0]; in vp8_mb_init_dequantizer()
86 xd->dequant_uv[0] = pc->UVdequant[QIndex][0]; in vp8_mb_init_dequantizer()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.h40 static INLINE int vp9_get_pred_context_seg_id(const MACROBLOCKD *xd) { in vp9_get_pred_context_seg_id() argument
41 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_pred_context_seg_id()
42 const MODE_INFO *const left_mi = xd->left_mi; in vp9_get_pred_context_seg_id()
51 const MACROBLOCKD *xd) { in vp9_get_pred_prob_seg_id() argument
52 return seg->pred_probs[vp9_get_pred_context_seg_id(xd)]; in vp9_get_pred_prob_seg_id()
55 static INLINE int vp9_get_skip_context(const MACROBLOCKD *xd) { in vp9_get_skip_context() argument
56 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_skip_context()
57 const MODE_INFO *const left_mi = xd->left_mi; in vp9_get_skip_context()
64 const MACROBLOCKD *xd) { in vp9_get_skip_prob() argument
65 return cm->fc->skip_probs[vp9_get_skip_context(xd)]; in vp9_get_skip_prob()
[all …]
Dvp9_onyxc_int.h344 MACROBLOCKD *const xd) { in set_partition_probs() argument
345 xd->partition_probs = in set_partition_probs()
351 static INLINE void vp9_init_macroblockd(VP9_COMMON *cm, MACROBLOCKD *xd, in vp9_init_macroblockd() argument
356 xd->plane[i].dqcoeff = dqcoeff; in vp9_init_macroblockd()
357 xd->above_context[i] = cm->above_context + in vp9_init_macroblockd()
360 if (xd->plane[i].plane_type == PLANE_TYPE_Y) { in vp9_init_macroblockd()
361 memcpy(xd->plane[i].seg_dequant, cm->y_dequant, sizeof(cm->y_dequant)); in vp9_init_macroblockd()
363 memcpy(xd->plane[i].seg_dequant, cm->uv_dequant, sizeof(cm->uv_dequant)); in vp9_init_macroblockd()
365 xd->fc = cm->fc; in vp9_init_macroblockd()
366 xd->frame_parallel_decoding_mode = cm->frame_parallel_decoding_mode; in vp9_init_macroblockd()
[all …]
Dvp9_pred_common.c17 int vp9_get_pred_context_switchable_interp(const MACROBLOCKD *xd) { in vp9_get_pred_context_switchable_interp() argument
22 const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; in vp9_get_pred_context_switchable_interp()
23 const int left_type = xd->left_available && is_inter_block(left_mbmi) ? in vp9_get_pred_context_switchable_interp()
25 const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; in vp9_get_pred_context_switchable_interp()
26 const int above_type = xd->up_available && is_inter_block(above_mbmi) ? in vp9_get_pred_context_switchable_interp()
46 int vp9_get_intra_inter_context(const MACROBLOCKD *xd) { in vp9_get_intra_inter_context() argument
47 const MB_MODE_INFO *const above_mbmi = xd->above_mbmi; in vp9_get_intra_inter_context()
48 const MB_MODE_INFO *const left_mbmi = xd->left_mbmi; in vp9_get_intra_inter_context()
49 const int has_above = xd->up_available; in vp9_get_intra_inter_context()
50 const int has_left = xd->left_available; in vp9_get_intra_inter_context()
[all …]
Dvp9_blockd.c40 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, in vp9_foreach_transformed_block_in_plane() argument
42 const struct macroblockd_plane *const pd = &xd->plane[plane]; in vp9_foreach_transformed_block_in_plane()
43 const MB_MODE_INFO* mbmi = &xd->mi[0]->mbmi; in vp9_foreach_transformed_block_in_plane()
58 const int max_blocks_wide = num_4x4_w + (xd->mb_to_right_edge >= 0 ? 0 : in vp9_foreach_transformed_block_in_plane()
59 xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_foreach_transformed_block_in_plane()
60 const int max_blocks_high = num_4x4_h + (xd->mb_to_bottom_edge >= 0 ? 0 : in vp9_foreach_transformed_block_in_plane()
61 xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_foreach_transformed_block_in_plane()
76 void vp9_foreach_transformed_block(const MACROBLOCKD* const xd, in vp9_foreach_transformed_block() argument
83 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, visit, arg); in vp9_foreach_transformed_block()
86 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, in vp9_set_contexts() argument
[all …]
Dvp9_reconintra.c113 static void build_intra_predictors_high(const MACROBLOCKD *xd, in build_intra_predictors_high() argument
135 const struct macroblockd_plane *const pd = &xd->plane[plane]; in build_intra_predictors_high()
146 frame_width = xd->cur_buf->y_width; in build_intra_predictors_high()
147 frame_height = xd->cur_buf->y_height; in build_intra_predictors_high()
149 frame_width = xd->cur_buf->uv_width; in build_intra_predictors_high()
150 frame_height = xd->cur_buf->uv_height; in build_intra_predictors_high()
154 x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x; in build_intra_predictors_high()
155 y0 = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)) + y; in build_intra_predictors_high()
159 if (xd->mb_to_bottom_edge < 0) { in build_intra_predictors_high()
185 if (xd->mb_to_right_edge < 0) { in build_intra_predictors_high()
[all …]
Dvp9_reconinter.c108 MV clamp_mv_to_umv_border_sb(const MACROBLOCKD *xd, const MV *src_mv, in clamp_mv_to_umv_border_sb() argument
125 xd->mb_to_left_edge * (1 << (1 - ss_x)) - spel_left, in clamp_mv_to_umv_border_sb()
126 xd->mb_to_right_edge * (1 << (1 - ss_x)) + spel_right, in clamp_mv_to_umv_border_sb()
127 xd->mb_to_top_edge * (1 << (1 - ss_y)) - spel_top, in clamp_mv_to_umv_border_sb()
128 xd->mb_to_bottom_edge * (1 << (1 - ss_y)) + spel_bottom); in clamp_mv_to_umv_border_sb()
156 static void build_inter_predictors(MACROBLOCKD *xd, int plane, int block, in build_inter_predictors() argument
160 struct macroblockd_plane *const pd = &xd->plane[plane]; in build_inter_predictors()
161 const MODE_INFO *mi = xd->mi[0]; in build_inter_predictors()
167 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; in build_inter_predictors()
180 const MV mv_q4 = clamp_mv_to_umv_border_sb(xd, &mv, bw, bh, in build_inter_predictors()
[all …]
Dvp9_mvref_common.h128 static INLINE void clamp_mv_ref(MV *mv, const MACROBLOCKD *xd) { in clamp_mv_ref() argument
129 clamp_mv(mv, xd->mb_to_left_edge - MV_BORDER, in clamp_mv_ref()
130 xd->mb_to_right_edge + MV_BORDER, in clamp_mv_ref()
131 xd->mb_to_top_edge - MV_BORDER, in clamp_mv_ref()
132 xd->mb_to_bottom_edge + MV_BORDER); in clamp_mv_ref()
203 static INLINE void clamp_mv2(MV *mv, const MACROBLOCKD *xd) { in clamp_mv2() argument
204 clamp_mv(mv, xd->mb_to_left_edge - LEFT_TOP_MARGIN, in clamp_mv2()
205 xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN, in clamp_mv2()
206 xd->mb_to_top_edge - LEFT_TOP_MARGIN, in clamp_mv2()
207 xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN); in clamp_mv2()
[all …]
Dvp9_mvref_common.c16 static void find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, in find_mv_refs_idx() argument
29 const TileInfo *const tile = &xd->tile; in find_mv_refs_idx()
40 const MODE_INFO *const candidate_mi = xd->mi[mv_ref->col + mv_ref->row * in find_mv_refs_idx()
41 xd->mi_stride]; in find_mv_refs_idx()
62 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row * in find_mv_refs_idx()
63 xd->mi_stride]->mbmi; in find_mv_refs_idx()
104 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row in find_mv_refs_idx()
105 * xd->mi_stride]->mbmi; in find_mv_refs_idx()
146 clamp_mv_ref(&mv_ref_list[i].as_mv, xd); in find_mv_refs_idx()
149 void vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd, in vp9_find_mv_refs() argument
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dencodeintra.c86 MACROBLOCKD *xd = &mb->e_mbd; in vp8_encode_intra4x4mby() local
87 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); in vp8_encode_intra4x4mby()
97 MACROBLOCKD *xd = &x->e_mbd; in vp8_encode_intra16x16mby() local
99 vp8_build_intra_predictors_mby_s(xd, in vp8_encode_intra16x16mby()
100 xd->dst.y_buffer - xd->dst.y_stride, in vp8_encode_intra16x16mby()
101 xd->dst.y_buffer - 1, in vp8_encode_intra16x16mby()
102 xd->dst.y_stride, in vp8_encode_intra16x16mby()
103 xd->dst.y_buffer, in vp8_encode_intra16x16mby()
104 xd->dst.y_stride); in vp8_encode_intra16x16mby()
107 b->src_stride, xd->dst.y_buffer, xd->dst.y_stride); in vp8_encode_intra16x16mby()
[all …]
Dencodeframe.c267 MACROBLOCKD *xd = &x->e_mbd; in build_activity_map() local
285 xd->up_available = (mb_row != 0); in build_activity_map()
292 xd->dst.y_buffer = new_yv12->y_buffer + recon_yoffset; in build_activity_map()
293 xd->left_available = (mb_col != 0); in build_activity_map()
321 vp8_extend_mb_row(new_yv12, xd->dst.y_buffer + 16, in build_activity_map()
322 xd->dst.u_buffer + 8, xd->dst.v_buffer + 8); in build_activity_map()
367 MACROBLOCKD *xd, in encode_mb_row() argument
406 xd->above_context = cm->above_context; in encode_mb_row()
408 xd->up_available = (mb_row != 0); in encode_mb_row()
418 xd->mb_to_top_edge = -((mb_row * 16) << 3); in encode_mb_row()
[all …]
Dethreading.c65 MACROBLOCKD *xd = &x->e_mbd; in thread_encoding_proc() local
101 xd->above_context = cm->above_context; in thread_encoding_proc()
102 xd->left_context = &mb_row_left_context; in thread_encoding_proc()
106 xd->up_available = (mb_row != 0); in thread_encoding_proc()
135 xd->mb_to_left_edge = -((mb_col * 16) << 3); in thread_encoding_proc()
136 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in thread_encoding_proc()
137 xd->mb_to_top_edge = -((mb_row * 16) << 3); in thread_encoding_proc()
138 xd->mb_to_bottom_edge = ((cm->mb_rows - 1 - mb_row) * 16) << 3; in thread_encoding_proc()
148 xd->dst.y_buffer = cm->yv12_fb[dst_fb_idx].y_buffer + recon_yoffset; in thread_encoding_proc()
149 xd->dst.u_buffer = cm->yv12_fb[dst_fb_idx].u_buffer + recon_uvoffset; in thread_encoding_proc()
[all …]
Dtokenize.c110 MACROBLOCKD *xd = &x->e_mbd; in tokenize2nd_order_b() local
121 b = xd->block + 24; in tokenize2nd_order_b()
123 a = (ENTROPY_CONTEXT *)xd->above_context + 8; in tokenize2nd_order_b()
124 l = (ENTROPY_CONTEXT *)xd->left_context + 8; in tokenize2nd_order_b()
125 eob = xd->eobs[24]; in tokenize2nd_order_b()
199 MACROBLOCKD *xd = &x->e_mbd; in tokenize1st_order_b() local
212 b = xd->block; in tokenize1st_order_b()
220 a = (ENTROPY_CONTEXT *)xd->above_context + tmp1; in tokenize1st_order_b()
221 l = (ENTROPY_CONTEXT *)xd->left_context + tmp2; in tokenize1st_order_b()
295 a = (ENTROPY_CONTEXT *)xd->above_context + tmp1; in tokenize1st_order_b()
[all …]
Drdopt.c708 MACROBLOCKD *const xd = &mb->e_mbd; in rd_pick_intra4x4mby_modes() local
710 int cost = mb->mbmode_cost [xd->frame_type] [B_PRED]; in rd_pick_intra4x4mby_modes()
725 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); in rd_pick_intra4x4mby_modes()
731 MODE_INFO *const mic = xd->mode_info_context; in rd_pick_intra4x4mby_modes()
732 const int mis = xd->mode_info_stride; in rd_pick_intra4x4mby_modes()
745 mb, mb->block + i, xd->block + i, &best_mode, bmode_costs, in rd_pick_intra4x4mby_modes()
781 MACROBLOCKD *xd = &x->e_mbd; in rd_pick_intra16x16mby_mode() local
786 xd->mode_info_context->mbmi.mode = mode; in rd_pick_intra16x16mby_mode()
788 vp8_build_intra_predictors_mby_s(xd, in rd_pick_intra16x16mby_mode()
789 xd->dst.y_buffer - xd->dst.y_stride, in rd_pick_intra16x16mby_mode()
[all …]
/external/libvpx/libvpx/vp8/common/
Dinvtrans.h40 static void vp8_inverse_transform_mby(MACROBLOCKD *xd) in vp8_inverse_transform_mby() argument
42 short *DQC = xd->dequant_y1; in vp8_inverse_transform_mby()
44 if (xd->mode_info_context->mbmi.mode != SPLITMV) in vp8_inverse_transform_mby()
47 if (xd->eobs[24] > 1) in vp8_inverse_transform_mby()
50 (&xd->block[24].dqcoeff[0], xd->qcoeff); in vp8_inverse_transform_mby()
55 (&xd->block[24].dqcoeff[0], xd->qcoeff); in vp8_inverse_transform_mby()
57 eob_adjust(xd->eobs, xd->qcoeff); in vp8_inverse_transform_mby()
59 DQC = xd->dequant_y1_dc; in vp8_inverse_transform_mby()
62 (xd->qcoeff, DQC, in vp8_inverse_transform_mby()
63 xd->dst.y_buffer, in vp8_inverse_transform_mby()
[all …]
Dfindnearmv.h37 static void vp8_clamp_mv2(int_mv *mv, const MACROBLOCKD *xd) in vp8_clamp_mv2() argument
39 if (mv->as_mv.col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN)) in vp8_clamp_mv2()
40 mv->as_mv.col = xd->mb_to_left_edge - LEFT_TOP_MARGIN; in vp8_clamp_mv2()
41 else if (mv->as_mv.col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN) in vp8_clamp_mv2()
42 mv->as_mv.col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN; in vp8_clamp_mv2()
44 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN)) in vp8_clamp_mv2()
45 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN; in vp8_clamp_mv2()
46 else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN) in vp8_clamp_mv2()
47 mv->as_mv.row = xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN; in vp8_clamp_mv2()
76 MACROBLOCKD *xd,
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c29 static PREDICTION_MODE read_intra_mode_y(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_y() argument
33 FRAME_COUNTS *counts = xd->counts; in read_intra_mode_y()
39 static PREDICTION_MODE read_intra_mode_uv(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_uv() argument
44 FRAME_COUNTS *counts = xd->counts; in read_intra_mode_uv()
50 static PREDICTION_MODE read_inter_mode(VP9_COMMON *cm, MACROBLOCKD *xd, in read_inter_mode() argument
54 FRAME_COUNTS *counts = xd->counts; in read_inter_mode()
65 static TX_SIZE read_selected_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_selected_tx_size() argument
67 FRAME_COUNTS *counts = xd->counts; in read_selected_tx_size()
68 const int ctx = get_tx_size_context(xd); in read_selected_tx_size()
82 static TX_SIZE read_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_tx_size() argument
[all …]
Dvp9_decodeframe.c186 static void inverse_transform_block_inter(MACROBLOCKD* xd, int plane, in inverse_transform_block_inter() argument
190 struct macroblockd_plane *const pd = &xd->plane[plane]; in inverse_transform_block_inter()
194 if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) { in inverse_transform_block_inter()
195 if (xd->lossless) { in inverse_transform_block_inter()
196 vp9_highbd_iwht4x4_add(dqcoeff, dst, stride, eob, xd->bd); in inverse_transform_block_inter()
200 vp9_highbd_idct4x4_add(dqcoeff, dst, stride, eob, xd->bd); in inverse_transform_block_inter()
203 vp9_highbd_idct8x8_add(dqcoeff, dst, stride, eob, xd->bd); in inverse_transform_block_inter()
206 vp9_highbd_idct16x16_add(dqcoeff, dst, stride, eob, xd->bd); in inverse_transform_block_inter()
209 vp9_highbd_idct32x32_add(dqcoeff, dst, stride, eob, xd->bd); in inverse_transform_block_inter()
216 if (xd->lossless) { in inverse_transform_block_inter()
[all …]
Dvp9_detokenize.c48 static int decode_coefs(const MACROBLOCKD *xd, in decode_coefs() argument
53 FRAME_COUNTS *counts = xd->counts; in decode_coefs()
55 const FRAME_CONTEXT *const fc = xd->fc; in decode_coefs()
56 const int ref = is_inter_block(&xd->mi[0]->mbmi); in decode_coefs()
81 if (xd->bd > VPX_BITS_8) { in decode_coefs()
82 if (xd->bd == VPX_BITS_10) { in decode_coefs()
168 switch (xd->bd) { in decode_coefs()
192 xd->bd); in decode_coefs()
211 void dec_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, in dec_set_contexts() argument
219 if (has_eob && xd->mb_to_right_edge < 0) { in dec_set_contexts()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c43 const MACROBLOCKD *xd, in mv_refs_rt() argument
66 const MODE_INFO *const candidate_mi = xd->mi[mv_ref->col + mv_ref->row * in mv_refs_rt()
67 xd->mi_stride]; in mv_refs_rt()
87 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row * in mv_refs_rt()
88 xd->mi_stride]->mbmi; in mv_refs_rt()
103 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row in mv_refs_rt()
104 * xd->mi_stride]->mbmi; in mv_refs_rt()
119 clamp_mv_ref(&mv_ref_list[i].as_mv, xd); in mv_refs_rt()
128 MACROBLOCKD *xd = &x->e_mbd; in combined_motion_search() local
129 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; in combined_motion_search()
[all …]
Dvp9_mbgraph.c31 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_iteration() local
69 xd->mi[0]->mbmi.mode = NEWMV; in do_16x16_motion_iteration()
70 xd->mi[0]->mbmi.mv[0].as_mv = *dst_mv; in do_16x16_motion_iteration()
72 vp9_build_inter_predictors_sby(xd, mb_row, mb_col, BLOCK_16X16); in do_16x16_motion_iteration()
81 xd->plane[0].dst.buf, xd->plane[0].dst.stride); in do_16x16_motion_iteration()
87 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_search() local
94 xd->plane[0].pre[0].buf, xd->plane[0].pre[0].stride); in do_16x16_motion_search()
124 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_zerozero_search() local
130 xd->plane[0].pre[0].buf, xd->plane[0].pre[0].stride); in do_16x16_zerozero_search()
138 MACROBLOCKD *const xd = &x->e_mbd; in find_best_16x16_intra() local
[all …]
Dvp9_rdopt.c158 MACROBLOCK *x, MACROBLOCKD *xd, in model_rd_for_sb() argument
167 const int ref = xd->mi[0]->mbmi.ref_frame[0]; in model_rd_for_sb()
178 (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) ? in model_rd_for_sb()
179 xd->bd - 5 : in model_rd_for_sb()
187 struct macroblockd_plane *const pd = &xd->plane[i]; in model_rd_for_sb()
340 MACROBLOCKD *const xd = &x->e_mbd; in cost_coeffs() local
341 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; in cost_coeffs()
343 const struct macroblockd_plane *pd = &xd->plane[plane]; in cost_coeffs()
354 const int16_t *cat6_high_cost = vp9_get_high_cost_table(xd->bd); in cost_coeffs()
424 MACROBLOCKD* const xd = &x->e_mbd; in dist_block() local
[all …]
Dvp9_encodeframe.c174 MACROBLOCKD *const xd, in set_mode_info_offsets() argument
177 const int idx_str = xd->mi_stride * mi_row + mi_col; in set_mode_info_offsets()
178 xd->mi = cm->mi_grid_visible + idx_str; in set_mode_info_offsets()
179 xd->mi[0] = cm->mi + idx_str; in set_mode_info_offsets()
187 MACROBLOCKD *const xd = &x->e_mbd; in set_offsets() local
193 set_skip_context(xd, mi_row, mi_col); in set_offsets()
195 set_mode_info_offsets(cm, x, xd, mi_row, mi_col); in set_offsets()
197 mbmi = &xd->mi[0]->mbmi; in set_offsets()
200 vp9_setup_dst_planes(xd->plane, get_frame_new_buffer(cm), mi_row, mi_col); in set_offsets()
211 set_mi_row_col(xd, tile, mi_row, mi_height, mi_col, mi_width, in set_offsets()
[all …]
Dvp9_segmentation.c109 static void count_segs(const VP9_COMMON *cm, MACROBLOCKD *xd, in count_segs() argument
120 xd->mi = mi; in count_segs()
121 segment_id = xd->mi[0]->mbmi.segment_id; in count_segs()
123 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
130 const BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; in count_segs()
135 const int pred_context = vp9_get_pred_context_seg_id(xd); in count_segs()
139 xd->mi[0]->mbmi.seg_id_predicted = pred_flag; in count_segs()
148 static void count_segs_sb(const VP9_COMMON *cm, MACROBLOCKD *xd, in count_segs_sb() argument
166 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb()
169 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb()
[all …]

123456