Searched refs:min_num_pixels (Results 1 – 1 of 1) sorted by relevance
632 int min_num_pixels = INT_MAX; in AdaptToMinimumFormat() local637 (encoder_desired_num_pixels_ < min_num_pixels)) { in AdaptToMinimumFormat()639 min_num_pixels = encoder_desired_num_pixels_; in AdaptToMinimumFormat()643 (cpu_desired_num_pixels_ <= min_num_pixels)) { in AdaptToMinimumFormat()644 if (cpu_desired_num_pixels_ < min_num_pixels) { in AdaptToMinimumFormat()649 min_num_pixels = cpu_desired_num_pixels_; in AdaptToMinimumFormat()652 if (!input.IsSize0x0() && min_num_pixels != INT_MAX) { in AdaptToMinimumFormat()653 float scale = FindClosestScale(input.width, input.height, min_num_pixels); in AdaptToMinimumFormat()654 min_num_pixels = static_cast<int>(input.width * scale + .5f) * in AdaptToMinimumFormat()658 if (view_desired_num_pixels_ <= min_num_pixels) { in AdaptToMinimumFormat()[all …]