Searched refs:min_num_pixels (Results 1 – 1 of 1) sorted by relevance
707 int min_num_pixels = INT_MAX; in AdaptToMinimumFormat() local712 (encoder_desired_num_pixels_ < min_num_pixels)) { in AdaptToMinimumFormat()714 min_num_pixels = encoder_desired_num_pixels_; in AdaptToMinimumFormat()718 (cpu_desired_num_pixels_ <= min_num_pixels)) { in AdaptToMinimumFormat()719 if (cpu_desired_num_pixels_ < min_num_pixels) { in AdaptToMinimumFormat()724 min_num_pixels = cpu_desired_num_pixels_; in AdaptToMinimumFormat()727 if (!input.IsSize0x0() && min_num_pixels != INT_MAX) { in AdaptToMinimumFormat()728 float scale = FindClosestScale(input.width, input.height, min_num_pixels); in AdaptToMinimumFormat()729 min_num_pixels = static_cast<int>(input.width * scale + .5f) * in AdaptToMinimumFormat()733 if (view_desired_num_pixels_ <= min_num_pixels) { in AdaptToMinimumFormat()[all …]