/external/libaom/libaom/av1/common/ |
D | pred_common.h | 46 const MACROBLOCKD *const xd, in av1_get_spatial_seg_pred() argument 51 const int mi_row = xd->mi_row; in av1_get_spatial_seg_pred() 52 const int mi_col = xd->mi_col; in av1_get_spatial_seg_pred() 55 if ((xd->up_available) && (xd->left_available)) { in av1_get_spatial_seg_pred() 59 if (xd->up_available) { in av1_get_spatial_seg_pred() 63 if (xd->left_available) { in av1_get_spatial_seg_pred() 90 static INLINE int av1_get_pred_context_seg_id(const MACROBLOCKD *xd) { in av1_get_pred_context_seg_id() argument 91 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in av1_get_pred_context_seg_id() 92 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in av1_get_pred_context_seg_id() 100 const MACROBLOCKD *xd) { in get_comp_index_context() argument [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 | av1_common_int.h | 933 MACROBLOCKD *xd) { in av1_init_above_context() argument 935 xd->above_entropy_context[i] = above_contexts->entropy[i][tile_row]; in av1_init_above_context() 937 xd->above_partition_context = above_contexts->partition[tile_row]; in av1_init_above_context() 938 xd->above_txfm_context = above_contexts->txfm[tile_row]; in av1_init_above_context() 941 static INLINE void av1_init_macroblockd(AV1_COMMON *cm, MACROBLOCKD *xd, in av1_init_macroblockd() argument 947 xd->plane[i].dqcoeff = dqcoeff; in av1_init_macroblockd() 949 if (xd->plane[i].plane_type == PLANE_TYPE_Y) { in av1_init_macroblockd() 950 memcpy(xd->plane[i].seg_dequant_QTX, quant_params->y_dequant_QTX, in av1_init_macroblockd() 952 memcpy(xd->plane[i].seg_iqmatrix, quant_params->y_iqmatrix, in av1_init_macroblockd() 957 memcpy(xd->plane[i].seg_dequant_QTX, quant_params->u_dequant_QTX, in av1_init_macroblockd() [all …]
|
D | obmc.h | 15 typedef void (*overlappable_nb_visitor_t)(MACROBLOCKD *xd, int rel_mi_row, 21 MACROBLOCKD *xd, int nb_max, in foreach_overlappable_nb_above() argument 24 if (!xd->up_available) return; in foreach_overlappable_nb_above() 28 const int mi_col = xd->mi_col; in foreach_overlappable_nb_above() 31 MB_MODE_INFO **prev_row_mi = xd->mi - mi_col - 1 * xd->mi_stride; in foreach_overlappable_nb_above() 32 const int end_col = AOMMIN(mi_col + xd->width, cm->mi_params.mi_cols); in foreach_overlappable_nb_above() 51 fun(xd, 0, above_mi_col - mi_col, AOMMIN(xd->width, mi_step), 0, in foreach_overlappable_nb_above() 58 MACROBLOCKD *xd, int nb_max, in foreach_overlappable_nb_left() argument 61 if (!xd->left_available) return; in foreach_overlappable_nb_left() 67 const int mi_row = xd->mi_row; in foreach_overlappable_nb_left() [all …]
|
D | blockd.c | 31 void av1_set_entropy_contexts(const MACROBLOCKD *xd, in av1_set_entropy_contexts() argument 41 if (has_eob && xd->mb_to_right_edge < 0) { in av1_set_entropy_contexts() 42 const int blocks_wide = max_block_wide(xd, plane_bsize, plane); in av1_set_entropy_contexts() 51 if (has_eob && xd->mb_to_bottom_edge < 0) { in av1_set_entropy_contexts() 52 const int blocks_high = max_block_high(xd, plane_bsize, plane); in av1_set_entropy_contexts() 60 void av1_reset_entropy_context(MACROBLOCKD *xd, BLOCK_SIZE bsize, in av1_reset_entropy_context() argument 63 const int nplanes = 1 + (num_planes - 1) * xd->is_chroma_ref; in av1_reset_entropy_context() 65 struct macroblockd_plane *const pd = &xd->plane[i]; in av1_reset_entropy_context() 75 void av1_reset_loop_filter_delta(MACROBLOCKD *xd, int num_planes) { in av1_reset_loop_filter_delta() argument 76 xd->delta_lf_from_base = 0; in av1_reset_loop_filter_delta() [all …]
|
D | reconinter.c | 99 const MACROBLOCKD *xd, const MB_MODE_INFO *mi) { in av1_init_warp_params() argument 103 if (xd->cur_frame_force_integer_mv) return; in av1_init_warp_params() 105 if (av1_allow_warp(mi, warp_types, &xd->global_motion[mi->ref_frame[ref]], 0, in av1_init_warp_params() 707 InterPredParams *inter_pred_params, MACROBLOCKD *xd, int mi_x, int mi_y, in av1_build_one_inter_predictor() argument 712 calc_subpel_params_func(src_mv, inter_pred_params, xd, mi_x, mi_y, ref, &src, in av1_build_one_inter_predictor() 731 static bool is_sub8x8_inter(const MACROBLOCKD *xd, int plane, BLOCK_SIZE bsize, in is_sub8x8_inter() argument 737 const struct macroblockd_plane *const pd = &xd->plane[plane]; in is_sub8x8_inter() 754 const MB_MODE_INFO *this_mbmi = xd->mi[row * xd->mi_stride + col]; in is_sub8x8_inter() 763 const AV1_COMMON *cm, MACROBLOCKD *xd, int plane, const MB_MODE_INFO *mi, in build_inter_predictors_sub8x8() argument 767 struct macroblockd_plane *const pd = &xd->plane[plane]; in build_inter_predictors_sub8x8() [all …]
|
D | mvref_common.c | 143 const AV1_COMMON *cm, const MACROBLOCKD *xd, int mi_col, in scan_row_mbmi() argument 148 int end_mi = AOMMIN(xd->width, cm->mi_params.mi_cols - mi_col); in scan_row_mbmi() 156 if ((mi_col & 0x01) && xd->width < width_8x8) --col_offset; in scan_row_mbmi() 158 const int use_step_16 = (xd->width >= 16); in scan_row_mbmi() 159 MB_MODE_INFO **const candidate_mi0 = xd->mi + row_offset * xd->mi_stride; in scan_row_mbmi() 165 int len = AOMMIN(xd->width, n4_w); in scan_row_mbmi() 172 if (xd->width >= width_8x8 && xd->width <= n4_w) { in scan_row_mbmi() 190 const AV1_COMMON *cm, const MACROBLOCKD *xd, int mi_row, in scan_col_mbmi() argument 195 int end_mi = AOMMIN(xd->height, cm->mi_params.mi_rows - mi_row); in scan_col_mbmi() 203 if ((mi_row & 0x01) && xd->height < 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 | 33 MACROBLOCKD *xd, int mi_x, int mi_y, int ref, in enc_calc_subpel_params() argument 38 (void)xd; in enc_calc_subpel_params() 81 static void enc_build_inter_predictors(const AV1_COMMON *cm, MACROBLOCKD *xd, in enc_build_inter_predictors() argument 84 av1_build_inter_predictors(cm, xd, plane, mi, 0 /* build_for_obmc */, bw, bh, in enc_build_inter_predictors() 88 void av1_enc_build_inter_predictor_y(MACROBLOCKD *xd, int mi_row, int mi_col) { in av1_enc_build_inter_predictor_y() argument 91 struct macroblockd_plane *const pd = &xd->plane[AOM_PLANE_Y]; in av1_enc_build_inter_predictor_y() 96 const MV mv = xd->mi[0]->mv[0].as_mv; in av1_enc_build_inter_predictor_y() 97 const struct scale_factors *const sf = xd->block_ref_scale_factors[0]; in av1_enc_build_inter_predictor_y() 100 pd->subsampling_x, pd->subsampling_y, xd->bd, in av1_enc_build_inter_predictor_y() 101 is_cur_buf_hbd(xd), false, sf, pd->pre, in av1_enc_build_inter_predictor_y() [all …]
|
D | motion_search_facade.c | 44 MACROBLOCKD *xd = &x->e_mbd; in av1_single_motion_search() local 48 MB_MODE_INFO *mbmi = xd->mi[0]; in av1_single_motion_search() 54 const int mi_row = xd->mi_row; in av1_single_motion_search() 55 const int mi_col = xd->mi_col; in av1_single_motion_search() 63 backup_yv12[i] = xd->plane[i].pre[ref_idx]; in av1_single_motion_search() 65 av1_setup_pre_planes(xd, ref_idx, scaled_ref_frame, mi_row, mi_col, NULL, in av1_single_motion_search() 112 xd->plane[j].pre[ref_idx] = backup_yv12[j]; in av1_single_motion_search() 247 xd->plane[i].pre[ref_idx] = backup_yv12[i]; in av1_single_motion_search() 313 xd, cm, &ms_params, subpel_start_mv, &best_mv->as_mv, &dis, in av1_single_motion_search() 322 xd, cm, &ms_params, subpel_start_mv, &this_best_mv, &dis, in av1_single_motion_search() [all …]
|
D | encodemb.c | 38 void av1_subtract_block(const MACROBLOCKD *xd, int rows, int cols, in av1_subtract_block() argument 44 if (is_cur_buf_hbd(xd)) { in av1_subtract_block() 46 pred8, pred_stride, xd->bd); in av1_subtract_block() 50 (void)xd; in av1_subtract_block() 57 MACROBLOCKD *const xd = &x->e_mbd; in av1_subtract_txb() local 69 av1_subtract_block(xd, tx1d_height, tx1d_width, src_diff, diff_stride, src, in av1_subtract_txb() 79 const MACROBLOCKD *xd = &x->e_mbd; in av1_subtract_plane() local 81 av1_subtract_block(xd, bh, bw, p->src_diff, bw, p->src.buf, p->src.stride, in av1_subtract_plane() 89 MACROBLOCKD *const xd = &x->e_mbd; in av1_optimize_b() local 92 const int segment_id = xd->mi[0]->segment_id; in av1_optimize_b() [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 | 339 MACROBLOCKD *const xd) { in set_partition_probs() argument 340 xd->partition_probs = in set_partition_probs() 346 static INLINE void vp9_init_macroblockd(VP9_COMMON *cm, MACROBLOCKD *xd, in vp9_init_macroblockd() argument 351 xd->plane[i].dqcoeff = dqcoeff; in vp9_init_macroblockd() 352 xd->above_context[i] = in vp9_init_macroblockd() 357 memcpy(xd->plane[i].seg_dequant, cm->y_dequant, sizeof(cm->y_dequant)); in vp9_init_macroblockd() 359 memcpy(xd->plane[i].seg_dequant, cm->uv_dequant, sizeof(cm->uv_dequant)); in vp9_init_macroblockd() 361 xd->fc = cm->fc; in vp9_init_macroblockd() 364 xd->above_seg_context = cm->above_seg_context; in vp9_init_macroblockd() 365 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 | 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 | 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 | 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 40 const int skip = xd->mi[0]->skip; in read_cdef() 50 const int mi_row_in_sb = (xd->mi_row & sb_mask); in read_cdef() 51 const int mi_col_in_sb = (xd->mi_col & sb_mask); in read_cdef() 53 xd->cdef_transmitted[0] = xd->cdef_transmitted[1] = in read_cdef() 54 xd->cdef_transmitted[2] = xd->cdef_transmitted[3] = false; in read_cdef() 62 const int cdef_unit_row_in_sb = ((xd->mi_row & index_mask) != 0); in read_cdef() 63 const int cdef_unit_col_in_sb = ((xd->mi_col & index_mask) != 0); in read_cdef() 69 if (!xd->cdef_transmitted[index] && !skip) { in read_cdef() 75 get_mi_grid_idx(mi_params, xd->mi_row & first_block_mask, in read_cdef() [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 | 168 static void inverse_transform_block_inter(MACROBLOCKD *xd, int plane, in inverse_transform_block_inter() argument 171 struct macroblockd_plane *const pd = &xd->plane[plane]; in inverse_transform_block_inter() 175 if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) { in inverse_transform_block_inter() 177 if (xd->lossless) { in inverse_transform_block_inter() 178 vp9_highbd_iwht4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 182 vp9_highbd_idct4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 185 vp9_highbd_idct8x8_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 188 vp9_highbd_idct16x16_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 191 vp9_highbd_idct32x32_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 197 if (xd->lossless) { in inverse_transform_block_inter() [all …]
|
/external/libaom/libaom/test/ |
D | intrabc_test.cc | 145 MACROBLOCKD xd; in TEST() local 146 memset(&xd, 0, sizeof(xd)); in TEST() 147 xd.tile.mi_row_start = 8 * MAX_MIB_SIZE; in TEST() 148 xd.tile.mi_row_end = 16 * MAX_MIB_SIZE; in TEST() 149 xd.tile.mi_col_start = 24 * MAX_MIB_SIZE; in TEST() 150 xd.tile.mi_col_end = xd.tile.mi_col_start + kTileMaxMibWidth * MAX_MIB_SIZE; in TEST() 151 xd.plane[1].subsampling_x = 1; in TEST() 152 xd.plane[1].subsampling_y = 1; in TEST() 153 xd.plane[2].subsampling_x = 1; in TEST() 154 xd.plane[2].subsampling_y = 1; in TEST() [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 …]
|