Searched refs:available_mem (Results 1 – 1 of 1) sorted by relevance
1032 int available_mem = MAX_DECODE_MEM; in wprint_image_compute_rows_to_cache() local1052 available_mem -= (wprint_image_get_output_buff_size(image_info) * in wprint_image_compute_rows_to_cache()1056 available_mem -= BYTES_PER_PIXEL( in wprint_image_compute_rows_to_cache()1058 available_mem -= image_info->mixed_memory_needed; in wprint_image_compute_rows_to_cache()1062 available_mem = MAX(available_mem, MIN_DECODE_MEM); in wprint_image_compute_rows_to_cache()1064 LOGD("wprint_image_compute_rows_to_cache(): %d bytes available for row caching", available_mem); in wprint_image_compute_rows_to_cache()1067 max_rows = (available_mem / row_width); in wprint_image_compute_rows_to_cache()