Searched refs:target_aspect_ratio (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/media/base/ |
D | video_adapter.cc | 202 absl::optional<std::pair<int, int>> target_aspect_ratio; in AdaptFrameResolution() local 204 target_aspect_ratio = target_landscape_aspect_ratio_; in AdaptFrameResolution() 208 target_aspect_ratio = target_portrait_aspect_ratio_; in AdaptFrameResolution() 237 if (!target_aspect_ratio || target_aspect_ratio->first <= 0 || in AdaptFrameResolution() 238 target_aspect_ratio->second <= 0) { in AdaptFrameResolution() 243 target_aspect_ratio->first / in AdaptFrameResolution() 244 static_cast<float>(target_aspect_ratio->second); in AdaptFrameResolution() 294 absl::optional<std::pair<int, int>> target_aspect_ratio; in OnOutputFormatRequest() local 298 target_aspect_ratio = std::make_pair(format->width, format->height); in OnOutputFormatRequest() 303 OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest() [all …]
|
D | video_adapter.h | 72 const absl::optional<std::pair<int, int>>& target_aspect_ratio,
|
D | video_adapter_unittest.cc | 126 absl::optional<std::pair<int, int>> target_aspect_ratio = in OnOutputFormatRequest() local 130 adapter_.OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, in OnOutputFormatRequest()
|