Home | History | Annotate | Download | only in encoder

Lines Matching defs:xd

281   MACROBLOCKD *xd = &x->e_mbd;
300 xd->up_available = (mb_row != 0);
306 xd->plane[0].dst.buf = new_yv12->y_buffer + recon_yoffset;
307 xd->left_available = (mb_col != 0);
369 MACROBLOCKD *const xd = &x->e_mbd;
371 struct macroblockd_plane *const pd = xd->plane;
373 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi;
374 MODE_INFO *mi_addr = xd->mi_8x8[0];
408 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > x_idx
409 && (xd->mb_to_bottom_edge >> (3 + MI_SIZE_LOG2)) + mi_height > y)
410 xd->mi_8x8[x_idx + y * mis] = mi_addr;
478 const int ctx = vp9_get_pred_context_switchable_interp(xd);
509 MACROBLOCKD *const xd = &x->e_mbd;
512 const int idx_str = xd->mode_info_stride * mi_row + mi_col;
520 set_skip_context(xd
526 xd->mi_8x8 = cm->mi_grid_visible + idx_str;
527 xd->prev_mi_8x8 = cm->prev_mi_grid_visible + idx_str;
531 xd->last_mi = cm->prev_mi ? xd->prev_mi_8x8[0] : NULL;
533 xd->mi_8x8[0] = cm->mi + idx_str;
535 mbmi = &xd->mi_8x8[0]->mbmi;
538 setup_dst_planes(xd, &cm->yv12_fb[dst_fb_idx], mi_row, mi_col);
549 set_mi_row_col(xd, tile, mi_row, mi_height, mi_col, mi_width,
598 MACROBLOCKD *const xd = &x->e_mbd;
600 struct macroblockd_plane *const pd = xd->plane;
622 xd->mi_8x8[0]->mbmi.sb_type = bsize;
634 xd->mi_8x8[0]->mbmi.skip_coeff = 0;
646 xd->mi_8x8[0]->mbmi.segment_id = vp9_vaq_segment_id(energy);
685 MACROBLOCKD *const xd = &x->e_mbd;
686 MODE_INFO *mi = xd->mi_8x8[0];
694 cpi->intra_inter_count[vp9_get_pred_context_intra_inter(xd)]
702 cpi->comp_inter_count[vp9_get_pred_context_comp_inter_inter(cm, xd)]
706 cpi->comp_ref_count[vp9_get_pred_context_comp_ref_p(cm, xd)]
709 cpi->single_ref_count[vp9_get_pred_context_single_ref_p1(xd)][0]
712 cpi->single_ref_count[vp9_get_pred_context_single_ref_p2(xd)][1]
741 MACROBLOCKD *const xd = &x->e_mbd;
749 cpi->above_context[p] + ((mi_col * 2) >> xd->plane[p].subsampling_x),
752 xd->plane[p].subsampling_x);
755 + ((mi_row & MI_MASK) * 2 >> xd->plane[p].subsampling_y),
758 xd->plane[p].subsampling_y);
771 const MACROBLOCKD *const xd = &x->e_mbd;
782 cpi->above_context[p] + (mi_col * 2 >> xd->plane[p].subsampling_x),
784 xd->plane[p].subsampling_x);
788 + ((mi_row & MI_MASK) * 2 >> xd->plane[p].subsampling_y),
790 xd->plane[p].subsampling_y);
1294 MACROBLOCKD *const xd = &cpi->mb.e_mbd;
1308 index += xd->mode_info_stride;
1319 MACROBLOCKD *const xd = &cpi->mb.e_mbd;
1320 MODE_INFO ** mi_8x8 = xd->mi_8x8;
1321 MODE_INFO ** prev_mi_8x8 = xd->prev_mi_8x8;
1323 const int left_in_image = xd->left_available && mi_8x8[-1];
1324 const int above_in_image = xd->up_available &&
1325 mi_8x8[-xd->mode_info_stride];
1361 above_sb64_mi_8x8 = &mi_8x8[-xd->mode_info_stride * MI_BLOCK_SIZE];
1864 MACROBLOCKD *const xd = &x->e_mbd;
1870 xd->mode_info_stride = cm->mode_info_stride;
1880 setup_pre_planes(xd, 0, &cm->yv12_fb[cm->ref_frame_map[cpi->lst_fb_idx]],
1882 setup_dst_planes(xd, get_frame_new_buffer(cm), 0, 0);
1886 xd->mi_8x8[0]->mbmi.mode = DC_PRED;
1887 xd->mi_8x8[0]->mbmi.uv_mode = DC_PRED;
1935 MACROBLOCKD * const xd = &x->e_mbd;
1954 xd->mi_8x8 = cm->mi_grid_visible;
1956 xd->mi_8x8[0] = cm->mi;
1958 xd->last_mi = cm->prev_mi;
2410 MACROBLOCKD * const xd = &x->e_mbd;
2411 MODE_INFO **mi_8x8 = xd->mi_8x8;
2434 vp9_setup_interp_filters(xd, mbmi->interp_filter, cm);
2480 setup_pre_planes(xd, 0, ref_fb, mi_row, mi_col,
2481 &xd->scale_factor[0]);
2482 setup_pre_planes(xd, 1, second_ref_fb, mi_row, mi_col,
2483 &xd->scale_factor[1]);
2485 vp9_build_inter_predictors_sb(xd, mi_row, mi_col, MAX(bsize, BLOCK_8X8));
2494 int mb_skip_context = xd->left_available ? mi_8x8[-1]->mbmi.skip_coeff : 0;
2500 reset_skip_context(xd, MAX(bsize, BLOCK_8X8));
2509 const uint8_t context = vp9_get_pred_context_tx_size(xd);