Searched refs:target_pixel_count (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/media/base/ |
D | video_broadcaster.cc | 119 if (sink.wants.target_pixel_count && in UpdateWants() 120 (!wants.target_pixel_count || in UpdateWants() 121 (*sink.wants.target_pixel_count < *wants.target_pixel_count))) { in UpdateWants() 122 wants.target_pixel_count = sink.wants.target_pixel_count; in UpdateWants() 132 if (wants.target_pixel_count && in UpdateWants() 133 *wants.target_pixel_count >= wants.max_pixel_count) { in UpdateWants() 134 wants.target_pixel_count.emplace(wants.max_pixel_count); in UpdateWants()
|
D | video_broadcaster_unittest.cc | 120 EXPECT_TRUE(!broadcaster.wants().target_pixel_count); in TEST() 124 wants1.target_pixel_count = 1280 * 720; in TEST() 127 EXPECT_EQ(1280 * 720, *broadcaster.wants().target_pixel_count); in TEST() 131 wants2.target_pixel_count = 640 * 360; in TEST() 133 EXPECT_EQ(640 * 360, *broadcaster.wants().target_pixel_count); in TEST() 136 EXPECT_EQ(1280 * 720, *broadcaster.wants().target_pixel_count); in TEST()
|
D | video_adapter.cc | 213 int target_pixel_count = in AdaptFrameResolution() local 251 FindScale(*cropped_width, *cropped_height, target_pixel_count, in AdaptFrameResolution() 345 sink_wants.target_pixel_count.value_or( in OnSinkWants()
|
D | video_adapter_unittest.cc | 32 rtc::VideoSinkWants BuildSinkWants(absl::optional<int> target_pixel_count, in BuildSinkWants() argument 37 wants.target_pixel_count = target_pixel_count; in BuildSinkWants()
|
/external/webrtc/video/ |
D | video_source_sink_controller.cc | 30 << (wants.target_pixel_count.has_value() in WantsToString() 31 ? std::to_string(wants.target_pixel_count.value()) in WantsToString() 137 wants.target_pixel_count = in CurrentSettingsToSinkWants()
|
D | video_source_sink_controller_unittest.cc | 70 EXPECT_EQ(wants.target_pixel_count, absl::nullopt); in TEST() 94 EXPECT_EQ(wants.target_pixel_count, 200); in TEST()
|
D | video_stream_encoder_unittest.cc | 233 Field("target_pixel_count", &rtc::VideoSinkWants::target_pixel_count, in ResolutionMax() 2012 EXPECT_FALSE(video_source_.sink_wants().target_pixel_count); in TEST_F() 2039 EXPECT_FALSE(video_source_.sink_wants().target_pixel_count); in TEST_F() 2064 EXPECT_FALSE(video_source_.sink_wants().target_pixel_count); in TEST_F() 2115 EXPECT_FALSE(video_source_.sink_wants().target_pixel_count); in TEST_F() 2147 EXPECT_FALSE(new_video_source.sink_wants().target_pixel_count); in TEST_F() 2183 EXPECT_FALSE(new_video_source.sink_wants().target_pixel_count); in TEST_F() 2195 EXPECT_FALSE(new_video_source.sink_wants().target_pixel_count); in TEST_F()
|
/external/webrtc/api/video/ |
D | video_source_interface.h | 42 absl::optional<int> target_pixel_count; member
|
/external/webrtc/call/ |
D | call_perf_tests.cc | 570 << wants.target_pixel_count.value_or(-1) in TEST_F() 582 << wants.target_pixel_count.value_or(-1) in TEST_F() 590 !wants.target_pixel_count) { in TEST_F() 596 << wants.target_pixel_count.value_or(-1) in TEST_F() 603 << wants.target_pixel_count.value_or(-1) in TEST_F()
|