/external/libaom/libaom/av1/common/ |
D | pred_common.h | 44 const MACROBLOCKD *const xd, in av1_get_spatial_seg_pred() argument 50 if ((xd->up_available) && (xd->left_available)) { in av1_get_spatial_seg_pred() 54 if (xd->up_available) { in av1_get_spatial_seg_pred() 58 if (xd->left_available) { in av1_get_spatial_seg_pred() 85 static INLINE int av1_get_pred_context_seg_id(const MACROBLOCKD *xd) { in av1_get_pred_context_seg_id() argument 86 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in av1_get_pred_context_seg_id() 87 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in av1_get_pred_context_seg_id() 95 const MACROBLOCKD *xd) { in get_comp_index_context() argument 96 MB_MODE_INFO *mbmi = xd->mi[0]; in get_comp_index_context() 110 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in get_comp_index_context() [all …]
|
D | pred_common.c | 20 const MACROBLOCKD *xd, int dir, in get_ref_filter_type() argument 22 (void)xd; in get_ref_filter_type() 30 int av1_get_pred_context_switchable_interp(const MACROBLOCKD *xd, int dir) { in av1_get_pred_context_switchable_interp() argument 31 const MB_MODE_INFO *const mbmi = xd->mi[0]; in av1_get_pred_context_switchable_interp() 44 if (xd->left_available) in av1_get_pred_context_switchable_interp() 45 left_type = get_ref_filter_type(xd->mi[-1], xd, dir, ref_frame); in av1_get_pred_context_switchable_interp() 47 if (xd->up_available) in av1_get_pred_context_switchable_interp() 49 get_ref_filter_type(xd->mi[-xd->mi_stride], xd, dir, ref_frame); in av1_get_pred_context_switchable_interp() 73 int av1_get_palette_cache(const MACROBLOCKD *const xd, int plane, in av1_get_palette_cache() argument 75 const int row = -xd->mb_to_top_edge >> 3; in av1_get_palette_cache() [all …]
|
D | onyxc_int.h | 748 static INLINE void av1_init_above_context(AV1_COMMON *cm, MACROBLOCKD *xd, in av1_init_above_context() argument 752 xd->above_context[i] = cm->above_context[i][tile_row]; in av1_init_above_context() 754 xd->above_seg_context = cm->above_seg_context[tile_row]; in av1_init_above_context() 755 xd->above_txfm_context = cm->above_txfm_context[tile_row]; in av1_init_above_context() 758 static INLINE void av1_init_macroblockd(AV1_COMMON *cm, MACROBLOCKD *xd, in av1_init_macroblockd() argument 762 xd->plane[i].dqcoeff = dqcoeff; in av1_init_macroblockd() 764 if (xd->plane[i].plane_type == PLANE_TYPE_Y) { in av1_init_macroblockd() 765 memcpy(xd->plane[i].seg_dequant_QTX, cm->y_dequant_QTX, in av1_init_macroblockd() 767 memcpy(xd->plane[i].seg_iqmatrix, cm->y_iqmatrix, sizeof(cm->y_iqmatrix)); in av1_init_macroblockd() 771 memcpy(xd->plane[i].seg_dequant_QTX, cm->u_dequant_QTX, in av1_init_macroblockd() [all …]
|
D | blockd.c | 31 void av1_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, in av1_set_contexts() argument 40 if (has_eob && xd->mb_to_right_edge < 0) { in av1_set_contexts() 41 const int blocks_wide = max_block_wide(xd, plane_bsize, plane); in av1_set_contexts() 50 if (has_eob && xd->mb_to_bottom_edge < 0) { in av1_set_contexts() 51 const int blocks_high = max_block_high(xd, plane_bsize, plane); in av1_set_contexts() 59 void av1_reset_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col, in av1_reset_skip_context() argument 65 is_chroma_reference(mi_row, mi_col, bsize, xd->plane[1].subsampling_x, in av1_reset_skip_context() 66 xd->plane[1].subsampling_y); in av1_reset_skip_context() 69 struct macroblockd_plane *const pd = &xd->plane[i]; in av1_reset_skip_context() 79 void av1_reset_loop_filter_delta(MACROBLOCKD *xd, int num_planes) { in av1_reset_loop_filter_delta() argument [all …]
|
D | obmc.h | 15 typedef void (*overlappable_nb_visitor_t)(MACROBLOCKD *xd, int rel_mi_pos, 21 MACROBLOCKD *xd, int mi_col, in foreach_overlappable_nb_above() argument 26 if (!xd->up_available) return; in foreach_overlappable_nb_above() 32 MB_MODE_INFO **prev_row_mi = xd->mi - mi_col - 1 * xd->mi_stride; in foreach_overlappable_nb_above() 33 const int end_col = AOMMIN(mi_col + xd->n4_w, cm->mi_cols); in foreach_overlappable_nb_above() 52 fun(xd, above_mi_col - mi_col, AOMMIN(xd->n4_w, mi_step), *above_mi, in foreach_overlappable_nb_above() 59 MACROBLOCKD *xd, int mi_row, in foreach_overlappable_nb_left() argument 64 if (!xd->left_available) return; in foreach_overlappable_nb_left() 70 MB_MODE_INFO **prev_col_mi = xd->mi - 1 - mi_row * xd->mi_stride; in foreach_overlappable_nb_left() 71 const int end_row = AOMMIN(mi_row + xd->n4_h, cm->mi_rows); in foreach_overlappable_nb_left() [all …]
|
D | reconinter.c | 70 const MACROBLOCKD *xd, int can_use_previous) { in av1_make_inter_predictor() argument 72 assert_motion_mode_valid(mi->motion_mode, xd->global_motion, xd, mi, in av1_make_inter_predictor() 79 av1_allow_warp(mi, warp_types, &xd->global_motion[mi->ref_frame[ref]], in av1_make_inter_predictor() 84 if (do_warp && xd->cur_frame_force_integer_mv == 0) { in av1_make_inter_predictor() 85 const struct macroblockd_plane *const pd = &xd->plane[plane]; in av1_make_inter_predictor() 87 av1_warp_plane(&final_warp_params, is_cur_buf_hbd(xd), xd->bd, in av1_make_inter_predictor() 91 } else if (is_cur_buf_hbd(xd)) { in av1_make_inter_predictor() 94 xd->bd); in av1_make_inter_predictor() 564 int w, ConvolveParams *conv_params, MACROBLOCKD *xd) { in build_masked_compound_no_round() argument 570 if (is_cur_buf_hbd(xd)) { in build_masked_compound_no_round() [all …]
|
D | mvref_common.c | 140 static void scan_row_mbmi(const AV1_COMMON *cm, const MACROBLOCKD *xd, in scan_row_mbmi() argument 147 int end_mi = AOMMIN(xd->n4_w, cm->mi_cols - mi_col); in scan_row_mbmi() 156 if ((mi_col & 0x01) && xd->n4_w < n8_w_8) --col_offset; in scan_row_mbmi() 158 const int use_step_16 = (xd->n4_w >= 16); in scan_row_mbmi() 159 MB_MODE_INFO **const candidate_mi0 = xd->mi + row_offset * xd->mi_stride; in scan_row_mbmi() 166 int len = AOMMIN(xd->n4_w, n4_w); in scan_row_mbmi() 173 if (xd->n4_w >= n8_w_8 && xd->n4_w <= n4_w) { in scan_row_mbmi() 190 static void scan_col_mbmi(const AV1_COMMON *cm, const MACROBLOCKD *xd, in scan_col_mbmi() argument 197 int end_mi = AOMMIN(xd->n4_h, cm->mi_rows - mi_row); in scan_col_mbmi() 205 if ((mi_row & 0x01) && xd->n4_h < n8_h_8) --row_offset; in scan_col_mbmi() [all …]
|
/external/libvpx/libvpx/vp8/decoder/ |
D | threading.c | 40 static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, in setup_decoding_thread_data() argument 47 mbd->subpixel_predict = xd->subpixel_predict; in setup_decoding_thread_data() 48 mbd->subpixel_predict8x4 = xd->subpixel_predict8x4; in setup_decoding_thread_data() 49 mbd->subpixel_predict8x8 = xd->subpixel_predict8x8; in setup_decoding_thread_data() 50 mbd->subpixel_predict16x16 = xd->subpixel_predict16x16; in setup_decoding_thread_data() 53 mbd->pre = xd->pre; in setup_decoding_thread_data() 54 mbd->dst = xd->dst; in setup_decoding_thread_data() 56 mbd->segmentation_enabled = xd->segmentation_enabled; in setup_decoding_thread_data() 57 mbd->mb_segement_abs_delta = xd->mb_segement_abs_delta; in setup_decoding_thread_data() 58 memcpy(mbd->segment_feature_data, xd->segment_feature_data, in setup_decoding_thread_data() [all …]
|
D | decodeframe.c | 57 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) { in vp8_mb_init_dequantizer() argument 60 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; in vp8_mb_init_dequantizer() 64 if (xd->segmentation_enabled) { in vp8_mb_init_dequantizer() 66 if (xd->mb_segement_abs_delta == SEGMENT_ABSDATA) { in vp8_mb_init_dequantizer() 67 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer() 72 xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer() 82 xd->dequant_y1_dc[0] = 1; in vp8_mb_init_dequantizer() 83 xd->dequant_y1[0] = pc->Y1dequant[QIndex][0]; in vp8_mb_init_dequantizer() 84 xd->dequant_y2[0] = pc->Y2dequant[QIndex][0]; in vp8_mb_init_dequantizer() 85 xd->dequant_uv[0] = pc->UVdequant[QIndex][0]; in vp8_mb_init_dequantizer() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | reconinter_enc.c | 32 MACROBLOCKD *xd, const struct scale_factors *const sf, const MV mv, in calc_subpel_params() argument 36 struct macroblockd_plane *const pd = &xd->plane[plane]; in calc_subpel_params() 66 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in calc_subpel_params() 75 static INLINE void build_inter_predictors(const AV1_COMMON *cm, MACROBLOCKD *xd, in build_inter_predictors() argument 79 struct macroblockd_plane *const pd = &xd->plane[plane]; in build_inter_predictors() 86 const WarpedMotionParams *const wm = &xd->global_motion[mi->ref_frame[ref]]; in build_inter_predictors() 113 const MB_MODE_INFO *this_mbmi = xd->mi[row * xd->mi_stride + col]; in build_inter_predictors() 135 MB_MODE_INFO *this_mbmi = xd->mi[row * xd->mi_stride + col]; in build_inter_predictors() 140 0, plane, xd->tmp_conv_dst, tmp_dst_stride, is_compound, xd->bd); in build_inter_predictors() 173 calc_subpel_params(xd, sf, mv, plane, pre_x, pre_y, x, y, pre_buf, &pre, in build_inter_predictors() [all …]
|
D | encodemb.c | 41 static void subtract_block(const MACROBLOCKD *xd, int rows, int cols, in subtract_block() argument 46 if (is_cur_buf_hbd(xd)) { in subtract_block() 48 src_stride, pred8, pred_stride, xd->bd); in subtract_block() 57 if (is_cur_buf_hbd(xd)) { in subtract_block() 59 pred8, pred_stride, xd->bd); in subtract_block() 68 MACROBLOCKD *const xd = &x->e_mbd; in av1_subtract_txb() local 82 subtract_block(xd, tx1d_height, tx1d_width, src_diff, diff_stride, src, in av1_subtract_txb() 93 const MACROBLOCKD *xd = &x->e_mbd; in av1_subtract_plane() local 95 subtract_block(xd, bh, bw, p->src_diff, bw, p->src.buf, p->src.stride, in av1_subtract_plane() 103 MACROBLOCKD *const xd = &mb->e_mbd; in av1_optimize_b() local [all …]
|
D | mbgraph.c | 30 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_iteration() local 66 if (has_second_ref(xd->mi[0])) in do_16x16_motion_iteration() 67 xd->mi[0]->mode = NEW_NEWMV; in do_16x16_motion_iteration() 69 xd->mi[0]->mode = NEWMV; in do_16x16_motion_iteration() 71 xd->mi[0]->mv[0] = x->best_mv; in do_16x16_motion_iteration() 72 xd->mi[0]->ref_frame[1] = NONE_FRAME; in do_16x16_motion_iteration() 74 av1_enc_build_inter_predictor(&cpi->common, xd, mb_row, mb_col, NULL, 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() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.h | 41 static INLINE int vp9_get_pred_context_seg_id(const MACROBLOCKD *xd) { in vp9_get_pred_context_seg_id() argument 42 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_pred_context_seg_id() 43 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 …]
|
D | vp9_onyxc_int.h | 319 MACROBLOCKD *const xd) { in set_partition_probs() argument 320 xd->partition_probs = in set_partition_probs() 326 static INLINE void vp9_init_macroblockd(VP9_COMMON *cm, MACROBLOCKD *xd, in vp9_init_macroblockd() argument 331 xd->plane[i].dqcoeff = dqcoeff; in vp9_init_macroblockd() 332 xd->above_context[i] = in vp9_init_macroblockd() 337 memcpy(xd->plane[i].seg_dequant, cm->y_dequant, sizeof(cm->y_dequant)); in vp9_init_macroblockd() 339 memcpy(xd->plane[i].seg_dequant, cm->uv_dequant, sizeof(cm->uv_dequant)); in vp9_init_macroblockd() 341 xd->fc = cm->fc; in vp9_init_macroblockd() 344 xd->above_seg_context = cm->above_seg_context; in vp9_init_macroblockd() 345 xd->mi_stride = cm->mi_stride; in vp9_init_macroblockd() [all …]
|
D | vp9_blockd.c | 38 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, in vp9_foreach_transformed_block_in_plane() argument 40 const struct macroblockd_plane *const pd = &xd->plane[plane]; in vp9_foreach_transformed_block_in_plane() 41 const MODE_INFO *mi = xd->mi[0]; in vp9_foreach_transformed_block_in_plane() 56 num_4x4_w + (xd->mb_to_right_edge >= 0 in vp9_foreach_transformed_block_in_plane() 58 : xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_foreach_transformed_block_in_plane() 60 num_4x4_h + (xd->mb_to_bottom_edge >= 0 in vp9_foreach_transformed_block_in_plane() 62 : xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_foreach_transformed_block_in_plane() 77 void vp9_foreach_transformed_block(const MACROBLOCKD *const xd, in vp9_foreach_transformed_block() argument 84 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, visit, arg); in vp9_foreach_transformed_block() 87 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, in vp9_set_contexts() argument [all …]
|
D | vp9_reconinter.c | 90 MV clamp_mv_to_umv_border_sb(const MACROBLOCKD *xd, const MV *src_mv, int bw, in clamp_mv_to_umv_border_sb() argument 104 clamp_mv(&clamped_mv, xd->mb_to_left_edge * (1 << (1 - ss_x)) - spel_left, in clamp_mv_to_umv_border_sb() 105 xd->mb_to_right_edge * (1 << (1 - ss_x)) + spel_right, in clamp_mv_to_umv_border_sb() 106 xd->mb_to_top_edge * (1 << (1 - ss_y)) - spel_top, in clamp_mv_to_umv_border_sb() 107 xd->mb_to_bottom_edge * (1 << (1 - ss_y)) + spel_bottom); in clamp_mv_to_umv_border_sb() 126 static void build_inter_predictors(MACROBLOCKD *xd, int plane, int block, in build_inter_predictors() argument 129 struct macroblockd_plane *const pd = &xd->plane[plane]; in build_inter_predictors() 130 const MODE_INFO *mi = xd->mi[0]; in build_inter_predictors() 136 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; in build_inter_predictors() 150 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in build_inter_predictors() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | encodeframe.c | 236 MACROBLOCKD *xd = &x->e_mbd; in build_activity_map() local 253 xd->up_available = (mb_row != 0); in build_activity_map() 259 xd->dst.y_buffer = new_yv12->y_buffer + recon_yoffset; in build_activity_map() 260 xd->left_available = (mb_col != 0); in build_activity_map() 287 vp8_extend_mb_row(new_yv12, xd->dst.y_buffer + 16, xd->dst.u_buffer + 8, in build_activity_map() 288 xd->dst.v_buffer + 8); in build_activity_map() 326 MACROBLOCK *x, MACROBLOCKD *xd, TOKENEXTRA **tp, in encode_mb_row() argument 363 xd->above_context = cm->above_context; in encode_mb_row() 365 xd->up_available = (mb_row != 0); in encode_mb_row() 375 xd->mb_to_top_edge = -((mb_row * 16) << 3); in encode_mb_row() [all …]
|
D | encodeintra.c | 74 MACROBLOCKD *xd = &mb->e_mbd; in vp8_encode_intra4x4mby() local 75 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); in vp8_encode_intra4x4mby() 83 MACROBLOCKD *xd = &x->e_mbd; in vp8_encode_intra16x16mby() local 85 vp8_build_intra_predictors_mby_s(xd, xd->dst.y_buffer - xd->dst.y_stride, in vp8_encode_intra16x16mby() 86 xd->dst.y_buffer - 1, xd->dst.y_stride, in vp8_encode_intra16x16mby() 87 xd->dst.y_buffer, xd->dst.y_stride); in vp8_encode_intra16x16mby() 89 vp8_subtract_mby(x->src_diff, *(b->base_src), b->src_stride, xd->dst.y_buffer, in vp8_encode_intra16x16mby() 90 xd->dst.y_stride); in vp8_encode_intra16x16mby() 100 MACROBLOCKD *xd = &x->e_mbd; in vp8_encode_intra16x16mbuv() local 102 vp8_build_intra_predictors_mbuv_s(xd, xd->dst.u_buffer - xd->dst.uv_stride, in vp8_encode_intra16x16mbuv() [all …]
|
D | ethreading.c | 58 MACROBLOCKD *xd = &x->e_mbd; in thread_encoding_proc() local 71 xd->mode_info_context = cm->mi + cm->mode_info_stride * (ithread + 1); in thread_encoding_proc() 72 xd->mode_info_stride = cm->mode_info_stride; in thread_encoding_proc() 96 xd->above_context = cm->above_context; in thread_encoding_proc() 97 xd->left_context = &mb_row_left_context; in thread_encoding_proc() 101 xd->up_available = (mb_row != 0); in thread_encoding_proc() 126 xd->mb_to_left_edge = -((mb_col * 16) << 3); in thread_encoding_proc() 127 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in thread_encoding_proc() 128 xd->mb_to_top_edge = -((mb_row * 16) << 3); in thread_encoding_proc() 129 xd->mb_to_bottom_edge = ((cm->mb_rows - 1 - mb_row) * 16) << 3; in thread_encoding_proc() [all …]
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 39 static void read_cdef(AV1_COMMON *cm, aom_reader *r, MACROBLOCKD *const xd, in read_cdef() argument 41 MB_MODE_INFO *const mbmi = xd->mi[0]; in read_cdef() 50 xd->cdef_preset[0] = xd->cdef_preset[1] = xd->cdef_preset[2] = in read_cdef() 51 xd->cdef_preset[3] = -1; in read_cdef() 60 ->cdef_strength = xd->cdef_preset[index] = in read_cdef() 61 xd->cdef_preset[index] == -1 && !mbmi->skip in read_cdef() 63 : xd->cdef_preset[index]; in read_cdef() 66 static int read_delta_qindex(AV1_COMMON *cm, const MACROBLOCKD *xd, in read_delta_qindex() argument 74 FRAME_CONTEXT *ec_ctx = xd->tile_ctx; in read_delta_qindex() 151 static INTERINTRA_MODE read_interintra_mode(MACROBLOCKD *xd, aom_reader *r, in read_interintra_mode() argument [all …]
|
D | decodeframe.c | 121 MACROBLOCKD *xd, 154 static void inverse_transform_block(MACROBLOCKD *xd, int plane, in inverse_transform_block() argument 158 struct macroblockd_plane *const pd = &xd->plane[plane]; in inverse_transform_block() 159 tran_low_t *const dqcoeff = pd->dqcoeff_block + xd->cb_offset[plane]; in inverse_transform_block() 160 eob_info *eob_data = pd->eob_data + xd->txb_offset[plane]; in inverse_transform_block() 163 av1_inverse_transform_block(xd, dqcoeff, plane, tx_type, tx_size, dst, stride, in inverse_transform_block() 169 MACROBLOCKD *const xd, in read_coeffs_tx_intra_block() argument 173 MB_MODE_INFO *mbmi = xd->mi[0]; in read_coeffs_tx_intra_block() 179 av1_read_coeffs_txb_facade(cm, xd, r, plane, row, col, tx_size); in read_coeffs_tx_intra_block() 189 static void decode_block_void(const AV1_COMMON *const cm, MACROBLOCKD *const xd, in decode_block_void() argument [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | invtrans.h | 36 static INLINE void vp8_inverse_transform_mby(MACROBLOCKD *xd) { in vp8_inverse_transform_mby() argument 37 short *DQC = xd->dequant_y1; in vp8_inverse_transform_mby() 39 if (xd->mode_info_context->mbmi.mode != SPLITMV) { in vp8_inverse_transform_mby() 41 if (xd->eobs[24] > 1) { in vp8_inverse_transform_mby() 42 vp8_short_inv_walsh4x4(&xd->block[24].dqcoeff[0], xd->qcoeff); in vp8_inverse_transform_mby() 44 vp8_short_inv_walsh4x4_1(&xd->block[24].dqcoeff[0], xd->qcoeff); in vp8_inverse_transform_mby() 46 eob_adjust(xd->eobs, xd->qcoeff); in vp8_inverse_transform_mby() 48 DQC = xd->dequant_y1_dc; in vp8_inverse_transform_mby() 50 vp8_dequant_idct_add_y_block(xd->qcoeff, DQC, xd->dst.y_buffer, in vp8_inverse_transform_mby() 51 xd->dst.y_stride, xd->eobs); in vp8_inverse_transform_mby()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 31 static PREDICTION_MODE read_intra_mode_y(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_y() argument 35 FRAME_COUNTS *counts = xd->counts; in read_intra_mode_y() 40 static PREDICTION_MODE read_intra_mode_uv(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_uv() argument 45 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() 64 static TX_SIZE read_selected_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_selected_tx_size() argument 66 FRAME_COUNTS *counts = xd->counts; in read_selected_tx_size() 67 const int ctx = get_tx_size_context(xd); in read_selected_tx_size() 80 static INLINE TX_SIZE read_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_tx_size() argument [all …]
|
D | vp9_decodeframe.c | 164 static void inverse_transform_block_inter(MACROBLOCKD *xd, int plane, in inverse_transform_block_inter() argument 167 struct macroblockd_plane *const pd = &xd->plane[plane]; in inverse_transform_block_inter() 171 if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) { in inverse_transform_block_inter() 173 if (xd->lossless) { in inverse_transform_block_inter() 174 vp9_highbd_iwht4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 178 vp9_highbd_idct4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 181 vp9_highbd_idct8x8_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 184 vp9_highbd_idct16x16_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 187 vp9_highbd_idct32x32_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 193 if (xd->lossless) { in inverse_transform_block_inter() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mbgraph.c | 29 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_iteration() local 68 xd->mi[0]->mode = NEWMV; in do_16x16_motion_iteration() 69 xd->mi[0]->mv[0].as_mv = *dst_mv; in do_16x16_motion_iteration() 71 vp9_build_inter_predictors_sby(xd, mb_row, mb_col, BLOCK_16X16); in do_16x16_motion_iteration() 74 xd->plane[0].dst.buf, xd->plane[0].dst.stride); in do_16x16_motion_iteration() 80 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_motion_search() local 87 xd->plane[0].pre[0].buf, xd->plane[0].pre[0].stride); in do_16x16_motion_search() 117 MACROBLOCKD *const xd = &x->e_mbd; in do_16x16_zerozero_search() local 123 xd->plane[0].pre[0].buf, xd->plane[0].pre[0].stride); in do_16x16_zerozero_search() 131 MACROBLOCKD *const xd = &x->e_mbd; in find_best_16x16_intra() local [all …]
|