Lines Matching refs:mi_rows
62 CYCLIC_REFRESH *av1_cyclic_refresh_alloc(int mi_rows, int mi_cols) { in av1_cyclic_refresh_alloc() argument
67 cr->map = aom_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in av1_cyclic_refresh_alloc()
72 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); in av1_cyclic_refresh_alloc()
208 const int ymis = AOMMIN(cm->mi_rows - mi_row, bh); in av1_cyclic_refresh_update_segment()
259 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) in av1_cyclic_refresh_postencode()
296 memset(seg_map, CR_SEGMENT_ID_BASE, cm->mi_rows * cm->mi_cols); in cyclic_refresh_update_map()
300 (cm->mi_rows + cm->seq_params.mib_size - 1) / cm->seq_params.mib_size; in cyclic_refresh_update_map()
303 block_count = cr->percent_refresh * cm->mi_rows * cm->mi_cols / 100; in cyclic_refresh_update_map()
322 assert(mi_row >= 0 && mi_row < cm->mi_rows); in cyclic_refresh_update_map()
327 ymis = AOMMIN(cm->mi_rows - mi_row, cm->seq_params.mib_size); in cyclic_refresh_update_map()
415 target_refresh = cr->percent_refresh * cm->mi_rows * cm->mi_cols / 100; in av1_cyclic_refresh_update_parameters()
436 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in av1_cyclic_refresh_setup()
446 memset(seg_map, 0, cm->mi_rows * cm->mi_cols); in av1_cyclic_refresh_setup()
450 cm->mi_rows * cm->mi_cols * sizeof(*cr->last_coded_q_map)); in av1_cyclic_refresh_setup()
519 memset(cr->map, 0, cm->mi_rows * cm->mi_cols); in av1_cyclic_refresh_reset_resize()