Searched refs:max_rows (Results 1 – 1 of 1) sorted by relevance
1030 int row_width, max_rows; in wprint_image_compute_rows_to_cache() local1067 max_rows = (available_mem / row_width); in wprint_image_compute_rows_to_cache()1069 if (max_rows > 0xf) { in wprint_image_compute_rows_to_cache()1070 max_rows &= ~0xf; in wprint_image_compute_rows_to_cache()1074 row_width, output_mem, max_rows); in wprint_image_compute_rows_to_cache()1077 if (max_rows > (MAX(width, height))) { in wprint_image_compute_rows_to_cache()1078 max_rows = MAX(width, height); in wprint_image_compute_rows_to_cache()1081 image_info->output_cache = (unsigned char **) malloc(sizeof(unsigned char *) * max_rows); in wprint_image_compute_rows_to_cache()1082 for (i = 0; i < max_rows; i++) { in wprint_image_compute_rows_to_cache()1086 max_rows = MIN(max_rows, height); in wprint_image_compute_rows_to_cache()[all …]