Home
last modified time | relevance | path

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

/external/webrtc/call/adaptation/
Dvideo_stream_adapter.cc61 int GetIncreasedMaxPixelsWanted(int target_pixels) { in GetIncreasedMaxPixelsWanted() argument
62 if (target_pixels == std::numeric_limits<int>::max()) in GetIncreasedMaxPixelsWanted()
73 RTC_DCHECK(target_pixels != std::numeric_limits<int>::max()); in GetIncreasedMaxPixelsWanted()
74 return (target_pixels * 12) / 5; in GetIncreasedMaxPixelsWanted()
77 bool CanDecreaseResolutionTo(int target_pixels, in CanDecreaseResolutionTo() argument
83 return target_pixels < max_pixels_per_frame && in CanDecreaseResolutionTo()
84 target_pixels >= input_state.min_pixels_per_frame(); in CanDecreaseResolutionTo()
87 bool CanIncreaseResolutionTo(int target_pixels, in CanIncreaseResolutionTo() argument
89 int max_pixels_wanted = GetIncreasedMaxPixelsWanted(target_pixels); in CanIncreaseResolutionTo()
470 int target_pixels = in DecreaseResolution() local
[all …]
/external/webrtc/media/base/
Dvideo_adapter.cc58 int target_pixels, in FindScale() argument
62 RTC_DCHECK_GT(target_pixels, 0); in FindScale()
64 RTC_DCHECK_GE(max_pixels, target_pixels); in FindScale()
69 if (target_pixels >= input_pixels) in FindScale()
92 min_pixel_diff = std::abs(input_pixels - target_pixels); in FindScale()
99 while (current_scale.scale_pixel_count(input_pixels) > target_pixels) { in FindScale()
113 int diff = std::abs(target_pixels - output_pixels); in FindScale()