Searched refs:available_mem (Results 1 – 1 of 1) sorted by relevance
999 int available_mem = MAX_DECODE_MEM; in wprint_image_compute_rows_to_cache() local1019 available_mem -= (wprint_image_get_output_buff_size(image_info) * in wprint_image_compute_rows_to_cache()1023 available_mem -= BYTES_PER_PIXEL( in wprint_image_compute_rows_to_cache()1025 available_mem -= image_info->mixed_memory_needed; in wprint_image_compute_rows_to_cache()1029 available_mem = MAX(available_mem, MIN_DECODE_MEM); in wprint_image_compute_rows_to_cache()1031 LOGD("wprint_image_compute_rows_to_cache(): %d bytes available for row caching", available_mem); in wprint_image_compute_rows_to_cache()1034 max_rows = (available_mem / row_width); in wprint_image_compute_rows_to_cache()