Lines Matching refs:mi_cols
250 x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); in set_mode_info_offsets()
274 mv_limits->col_max = (cm->mi_cols - mi_col) * MI_SIZE + VP9_INTERP_EXTEND; in set_offsets()
279 cm->mi_cols); in set_offsets()
296 VPXMIN(num_8x8_blocks_wide_lookup[bsize], cm->mi_cols - mi_col); in duplicate_mode_info_in_sb()
310 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { in set_block_size()
465 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
482 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
503 if (mi_col + block_width / 2 < cm->mi_cols) { in set_vt_partitioning()
764 if (!low_res && (mi_col >= 8 && mi_col + 8 < cm->mi_cols && mi_row >= 8 && in skin_sb_split()
773 const int block_index = mi_row * cm->mi_cols + mi_col; in skin_sb_split()
776 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); in skin_sb_split()
782 int bl_index = block_index + i * cm->mi_cols + j; in skin_sb_split()
844 if (cm->mi_cols <= mi_col + idx[i][1] || in set_low_temp_var_flag()
885 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in copy_partitioning_helper()
958 const int has_cols = (mi_col_high + bs_high) < cm->mi_cols; in scale_partitioning_svc()
970 if (mi_row_high >= cm->mi_rows || mi_col_high >= cm->mi_cols) return 0; in scale_partitioning_svc()
972 mi_col >= svc->mi_cols[svc->spatial_layer_id - 1]) in scale_partitioning_svc()
1061 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in update_partition_svc()
1075 if ((mi_row + xx < cm->mi_rows) && (mi_col + yy < cm->mi_cols)) in update_partition_svc()
1087 if (mi_col + bs < cm->mi_cols) prev_part[start_pos + bs] = subsize; in update_partition_svc()
1111 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in update_prev_partition_helper()
1128 if (mi_col + bs < cm->mi_cols) prev_part[start_pos + bs] = subsize; in update_prev_partition_helper()
1304 int sb_offset2 = ((cm->mi_cols + 7) >> 3) * (mi_row >> 3) + (mi_col >> 3); in choose_partitioning()
1369 bsize = BLOCK_32X32 + (mi_col + 4 < cm->mi_cols) * 2 + in choose_partitioning()
1469 if (mi_col + block_width / 2 < cm->mi_cols && in choose_partitioning()
1657 if (mi_col + 8 > cm->mi_cols || mi_row + 8 > cm->mi_rows || in choose_partitioning()
1740 const int x_mis = VPXMIN(bw, cm->mi_cols - mi_col); in update_state()
1742 MV_REF *const frame_mvs = cm->cur_frame->mvs + mi_row * cm->mi_cols + mi_col; in update_state()
1842 MV_REF *const frame_mv = frame_mvs + h * cm->mi_cols; in update_state()
2183 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in encode_sb()
2205 if (mi_col + hbs < cm->mi_cols && bsize > BLOCK_8X8) { in encode_sb()
2437 const int x_mis = VPXMIN(bw, cm->mi_cols - mi_col); in update_state_rt()
2475 cm->cur_frame->mvs + mi_row * cm->mi_cols + mi_col; in update_state_rt()
2479 MV_REF *const frame_mv = frame_mvs + h * cm->mi_cols; in update_state_rt()
2522 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in encode_sb_rt()
2546 if (mi_col + hbs < cm->mi_cols && bsize > BLOCK_8X8) { in encode_sb_rt()
2602 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in rd_use_partition()
2642 mi_col + (mi_step >> 1) < cm->mi_cols) { in rd_use_partition()
2694 mi_col + (mi_step >> 1) < cm->mi_cols) { in rd_use_partition()
2728 if ((mi_row + y_idx >= cm->mi_rows) || (mi_col + x_idx >= cm->mi_cols)) in rd_use_partition()
2758 (mi_col + mi_step < cm->mi_cols || in rd_use_partition()
2759 mi_col + (mi_step >> 1) == cm->mi_cols)) { in rd_use_partition()
2774 if ((mi_row + y_idx >= cm->mi_rows) || (mi_col + x_idx >= cm->mi_cols)) in rd_use_partition()
3615 if (row >= cpi->common.mi_rows || col >= cpi->common.mi_cols) continue; in get_rdmult_delta()
3666 const int force_vert_split = (mi_col + mi_step >= cm->mi_cols); in rd_pick_partition()
3825 mi_col + num_8x8_blocks_wide_lookup[bsize] <= cm->mi_cols; in rd_pick_partition()
3992 if (mi_row + y_idx >= cm->mi_rows || mi_col + x_idx >= cm->mi_cols) in rd_pick_partition()
4152 if (sum_rdc.rdcost < best_rdc.rdcost && mi_col + mi_step < cm->mi_cols && in rd_pick_partition()
4310 const int aligned_mi_cols = mi_cols_aligned_to_sb(cm->mi_cols); in init_encode_frame_mb_context()
4342 for (mi_col = 0; mi_col < cm->mi_cols; ++mi_col) { in reset_skip_tx_size()
4488 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in fill_mode_info_sb()
4503 if (mi_col + hbs < cm->mi_cols) { in fill_mode_info_sb()
4643 const int force_vert_split = (mi_col + ms >= cm->mi_cols); in nonrd_pick_partition()
4754 if (mi_row + y_idx >= cm->mi_rows || mi_col + x_idx >= cm->mi_cols) in nonrd_pick_partition()
4836 if (sum_rdc.rdcost < best_rdc.rdcost && mi_col + ms < cm->mi_cols) { in nonrd_pick_partition()
4909 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in nonrd_select_partition()
4949 if (mi_col + hbs < cm->mi_cols) { in nonrd_select_partition()
5039 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in nonrd_use_partition()
5071 if (mi_col + hbs < cm->mi_cols && bsize > BLOCK_8X8) { in nonrd_use_partition()
5148 const BLOCK_SIZE bsize = BLOCK_32X32 + (mi_col + 4 < cm->mi_cols) * 2 + in get_estimated_pred()
5310 int sb_offset2 = ((cm->mi_cols + 7) >> 3) * (mi_row >> 3) + (mi_col >> 3); in encode_nonrd_sb_row()
5391 int sboffset = ((cm->mi_cols + 7) >> 3) * (mi_row >> 3) + (mi_col >> 3); in encode_nonrd_sb_row()
5752 for (col = 0; col < cm->mi_cols; ++col) { in encode_frame_internal()
5833 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++, mi_8x8++) { in compute_frame_aq_offset()
5842 return sum_delta / (cm->mi_rows * cm->mi_cols); in compute_frame_aq_offset()
6055 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); in update_zeromv_cnt()
6057 const int block_index = mi_row * cm->mi_cols + mi_col; in update_zeromv_cnt()
6061 int map_offset = block_index + y * cm->mi_cols + x; in update_zeromv_cnt()