Lines Matching refs:cm
191 VP9_COMMON *cm = &cpi->common;
197 xd->plane[0].dst.buf = get_frame_new_buffer(cm)->y_buffer + mb_y_offset;
198 xd->plane[0].dst.stride = get_frame_new_buffer(cm)->y_stride;
245 VP9_COMMON *const cm = &cpi->common;
257 x->mv_row_max = (cm->mb_rows - 1) * 8 + BORDER_MV_PIXELS_B16;
267 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) {
278 x->mv_col_max = (cm->mb_cols - 1) * 8 + BORDER_MV_PIXELS_B16;
281 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) {
308 offset += cm->mb_cols;
314 VP9_COMMON *const cm = &cpi->common;
322 CHECK_MEM_ERROR(cm, arf_not_zz,
323 vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz),
334 for (offset = 0, mb_row = 0; mb_row < cm->mb_rows;
335 offset += cm->mb_cols, mb_row++) {
336 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) {
355 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) {
356 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) {
359 if (arf_not_zz[mi_row/2*cm->mb_cols + mi_col/2]) {
361 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0;
363 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1;
373 if (cm->MBs)
374 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols);
393 VP9_COMMON *const cm = &cpi->common;
396 &cm->yv12_fb[cm->ref_frame_map[cpi->gld_fb_idx]];
411 cm->mb_rows * cm->mb_cols *