Home
last modified time | relevance | path

Searched refs:min_num_pixels (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideoadapter.cc707 int min_num_pixels = INT_MAX; in AdaptToMinimumFormat() local
712 (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 …]