Lines Matching refs:max_pixel_count
198 int max_pixel_count = resolution_request_max_pixel_count_; in AdaptFrameResolution() local
206 max_pixel_count = std::min(max_pixel_count, *max_landscape_pixel_count_); in AdaptFrameResolution()
210 max_pixel_count = std::min(max_pixel_count, *max_portrait_pixel_count_); in AdaptFrameResolution()
214 std::min(resolution_request_target_pixel_count_, max_pixel_count); in AdaptFrameResolution()
217 if (max_pixel_count <= 0 || !KeepFrame(in_timestamp_ns)) { in AdaptFrameResolution()
252 max_pixel_count, variable_start_scale_factor_); in AdaptFrameResolution()
295 absl::optional<int> max_pixel_count; in OnOutputFormatRequest() local
299 max_pixel_count = format->width * format->height; in OnOutputFormatRequest()
303 OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
308 const absl::optional<int>& max_pixel_count, in OnOutputFormatRequest() argument
322 OnOutputFormatRequest(target_landscape_aspect_ratio, max_pixel_count, in OnOutputFormatRequest()
323 target_portrait_aspect_ratio, max_pixel_count, max_fps); in OnOutputFormatRequest()
343 resolution_request_max_pixel_count_ = sink_wants.max_pixel_count; in OnSinkWants()