Home
last modified time | relevance | path

Searched refs:VideoBitrateAllocation (Results 1 – 25 of 72) sorted by relevance

123

/external/webrtc/api/video/
Dvideo_bitrate_allocation.cc21 VideoBitrateAllocation::VideoBitrateAllocation() in VideoBitrateAllocation() function in webrtc::VideoBitrateAllocation
24 bool VideoBitrateAllocation::SetBitrate(size_t spatial_index, in SetBitrate()
45 bool VideoBitrateAllocation::HasBitrate(size_t spatial_index, in HasBitrate()
52 uint32_t VideoBitrateAllocation::GetBitrate(size_t spatial_index, in GetBitrate()
61 bool VideoBitrateAllocation::IsSpatialLayerUsed(size_t spatial_index) const { in IsSpatialLayerUsed()
71 uint32_t VideoBitrateAllocation::GetSpatialLayerSum( in GetSpatialLayerSum()
77 uint32_t VideoBitrateAllocation::GetTemporalLayerSum( in GetTemporalLayerSum()
89 std::vector<uint32_t> VideoBitrateAllocation::GetTemporalLayerAllocation( in GetTemporalLayerAllocation()
110 std::vector<absl::optional<VideoBitrateAllocation>>
111 VideoBitrateAllocation::GetSimulcastAllocations() const { in GetSimulcastAllocations()
[all …]
Dvideo_bitrate_allocation.h32 class RTC_EXPORT VideoBitrateAllocation {
36 VideoBitrateAllocation();
67 std::vector<absl::optional<VideoBitrateAllocation>> GetSimulcastAllocations()
76 bool operator==(const VideoBitrateAllocation& other) const;
77 inline bool operator!=(const VideoBitrateAllocation& other) const {
Dvideo_bitrate_allocator.h38 virtual VideoBitrateAllocation GetAllocation(uint32_t total_bitrate_bps,
41 virtual VideoBitrateAllocation Allocate(
51 const VideoBitrateAllocation& allocation) = 0;
Dvideo_bitrate_allocator.cc39 VideoBitrateAllocation VideoBitrateAllocator::GetAllocation( in GetAllocation()
47 VideoBitrateAllocation VideoBitrateAllocator::Allocate( in Allocate()
/external/webrtc/api/video/test/
Dvideo_bitrate_allocation_unittest.cc19 TEST(VideoBitrateAllocation, SimulcastTargetBitrate) { in TEST() argument
20 VideoBitrateAllocation bitrate; in TEST()
26 VideoBitrateAllocation layer0_bitrate; in TEST()
30 VideoBitrateAllocation layer1_bitrate; in TEST()
34 std::vector<absl::optional<VideoBitrateAllocation>> layer_allocations = in TEST()
41 TEST(VideoBitrateAllocation, SimulcastTargetBitrateWithInactiveStream) { in TEST() argument
43 VideoBitrateAllocation bitrate; in TEST()
49 VideoBitrateAllocation layer0_bitrate; in TEST()
53 VideoBitrateAllocation layer2_bitrate; in TEST()
57 std::vector<absl::optional<VideoBitrateAllocation>> layer_allocations = in TEST()
/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator.h33 VideoBitrateAllocation Allocate(
45 VideoBitrateAllocation* allocated_bitrates);
47 VideoBitrateAllocation* allocated_bitrates) const;
Dsimulcast_rate_allocator_unittest.cc76 const VideoBitrateAllocation& actual) { in ExpectEqual()
136 VideoBitrateAllocation GetAllocation(uint32_t target_bitrate) { in GetAllocation()
141 VideoBitrateAllocation GetAllocation(DataRate target_rate, in GetAllocation()
184 const uint32_t kMax = VideoBitrateAllocation::kMaxBitrateBps / 1000; in TEST_F()
283 const VideoBitrateAllocation alloc = GetAllocation(kMinBitrateKbps); in TEST_F()
300 const VideoBitrateAllocation alloc = GetAllocation(kMinBitrateKbps); in TEST_F()
564 const VideoBitrateAllocation alloc = GetAllocation(bitrate); in TEST_F()
676 VideoBitrateAllocation allocation = in TEST_P()
694 VideoBitrateAllocation allocation = in TEST_P()
712 VideoBitrateAllocation allocation = in TEST_F()
[all …]
Dsimulcast_rate_allocator.cc68 VideoBitrateAllocation SimulcastRateAllocator::Allocate( in Allocate()
70 VideoBitrateAllocation allocated_bitrates; in Allocate()
85 VideoBitrateAllocation* allocated_bitrates) { in DistributeAllocationToSimulcastLayers()
209 VideoBitrateAllocation* allocated_bitrates_bps) const { in DistributeAllocationToTemporalLayers()
/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator.h30 VideoBitrateAllocation Allocate(
39 VideoBitrateAllocation GetAllocationNormalVideo(
44 VideoBitrateAllocation GetAllocationScreenSharing(
Dsvc_rate_allocator_unittest.cc59 VideoBitrateAllocation allocation = in TEST()
70 VideoBitrateAllocation allocation = in TEST()
82 VideoBitrateAllocation allocation = in TEST()
97 VideoBitrateAllocation allocation = allocator.Allocate( in TEST()
114 VideoBitrateAllocation allocation = in TEST()
131 VideoBitrateAllocation allocation = in TEST()
147 VideoBitrateAllocation allocation = allocator.Allocate( in TEST()
165 VideoBitrateAllocation allocation = allocator.Allocate( in TEST()
186 VideoBitrateAllocation allocation = allocator.Allocate( in TEST()
211 VideoBitrateAllocation allocation = allocator.Allocate( in TEST()
[all …]
Dsvc_rate_allocator.cc199 VideoBitrateAllocation SvcRateAllocator::Allocate( in Allocate()
210 VideoBitrateAllocation bitrate_allocation; in Allocate()
220 return VideoBitrateAllocation(); // All layers are deactivated. in Allocate()
250 VideoBitrateAllocation allocation; in Allocate()
262 VideoBitrateAllocation SvcRateAllocator::GetAllocationNormalVideo( in GetAllocationNormalVideo()
280 VideoBitrateAllocation bitrate_allocation; in GetAllocationNormalVideo()
321 VideoBitrateAllocation SvcRateAllocator::GetAllocationScreenSharing( in GetAllocationScreenSharing()
325 VideoBitrateAllocation bitrate_allocation; in GetAllocationScreenSharing()
Dvp9_impl.h79 bool SetSvcRates(const VideoBitrateAllocation& bitrate_allocation);
133 VideoBitrateAllocation current_bitrate_allocation_;
/external/webrtc/video/
Dencoder_bitrate_adjuster_unittest.cc194 void ExpectNear(const VideoBitrateAllocation& expected_allocation, in ExpectNear()
195 const VideoBitrateAllocation& actual_allocation, in ExpectNear()
214 VideoBitrateAllocation MultiplyAllocation( in MultiplyAllocation()
215 const VideoBitrateAllocation& allocation, in MultiplyAllocation()
217 VideoBitrateAllocation multiplied_allocation; in MultiplyAllocation()
234 VideoBitrateAllocation current_input_allocation_;
235 VideoBitrateAllocation current_adjusted_allocation_;
387 VideoBitrateAllocation expected_allocation; in TEST_F()
430 VideoBitrateAllocation expected_allocation; in TEST_F()
Dframe_encode_metadata_writer_unittest.cc84 VideoBitrateAllocation bitrate_allocation; in GetTimingFrames()
210 VideoBitrateAllocation bitrate_allocation; in TEST()
252 VideoBitrateAllocation bitrate_allocation; in TEST()
287 VideoBitrateAllocation bitrate_allocation; in TEST()
344 VideoBitrateAllocation bitrate_allocation; in TEST()
369 VideoBitrateAllocation bitrate_allocation; in TEST()
395 VideoBitrateAllocation bitrate_allocation; in TEST()
419 VideoBitrateAllocation bitrate_allocation; in TEST()
446 VideoBitrateAllocation bitrate_allocation; in TEST()
Dvideo_send_stream_impl.h135 const VideoBitrateAllocation& allocation) override;
194 VideoBitrateAllocation last_sent_allocation;
195 absl::optional<VideoBitrateAllocation> throttled_allocation;
Dencoder_bitrate_adjuster.h42 VideoBitrateAllocation AdjustRateAllocation(
Dvideo_send_stream_impl_unittest.cc81 (const VideoBitrateAllocation&),
445 VideoBitrateAllocation alloc; in TEST_F()
500 VideoBitrateAllocation alloc; in TEST_F()
511 VideoBitrateAllocation updated_alloc = alloc; in TEST_F()
559 VideoBitrateAllocation alloc; in TEST_F()
572 VideoBitrateAllocation updated_alloc = alloc; in TEST_F()
604 VideoBitrateAllocation alloc; in TEST_F()
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer_unittest.cc154 VideoBitrateAllocation bitrate_allocation = in TEST_F()
169 VideoBitrateAllocation bitrate_allocation = in TEST_F()
184 VideoBitrateAllocation bitrate_allocation = in TEST_F()
204 VideoBitrateAllocation bitrate_allocation = in TEST_F()
229 VideoBitrateAllocation bitrate_allocation = in TEST_F()
253 VideoBitrateAllocation bitrate_allocation = bitrate_allocator_->Allocate( in TEST_F()
/external/webrtc/call/
Drtp_video_sender_interface.h28 class VideoBitrateAllocation; variable
52 const VideoBitrateAllocation& bitrate) = 0;
/external/webrtc/api/video_codecs/
Dvideo_encoder.h254 RateControlParameters(const VideoBitrateAllocation& bitrate,
256 RateControlParameters(const VideoBitrateAllocation& bitrate,
263 VideoBitrateAllocation bitrate;
Dvideo_encoder.cc249 : bitrate(VideoBitrateAllocation()), in RateControlParameters()
254 const VideoBitrateAllocation& bitrate, in RateControlParameters()
261 const VideoBitrateAllocation& bitrate, in RateControlParameters()
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_sender.h153 void SetVideoBitrateAllocation(const VideoBitrateAllocation& bitrate)
275 VideoBitrateAllocation video_bitrate_allocation_
282 absl::optional<VideoBitrateAllocation> CheckAndUpdateLayerStructure(
283 const VideoBitrateAllocation& bitrate) const
/external/webrtc/api/test/
Dmock_video_bitrate_allocator.h20 MOCK_METHOD(VideoBitrateAllocation,
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc280 VideoBitrateAllocation bitrate_allocation; in TEST_F()
339 VideoBitrateAllocation bitrate_allocation; in TEST_F()
491 VideoBitrateAllocation bitrate_allocation; in TEST_F()
607 VideoBitrateAllocation bitrate_allocation; in TEST_F()
644 VideoBitrateAllocation bitrate_allocation; in TEST_F()
728 VideoBitrateAllocation bitrate_allocation; in TEST_F()
786 VideoBitrateAllocation bitrate_allocation; in TEST_F()
836 VideoBitrateAllocation bitrate_allocation; in TEST_F()
908 VideoBitrateAllocation bitrate_allocation; in TEST_F()
995 VideoBitrateAllocation bitrate_allocation; in TEST_F()
[all …]
/external/webrtc/modules/video_coding/codecs/av1/
Dscalability_structure_l1t2.h33 void OnRatesUpdated(const VideoBitrateAllocation& bitrates) override;

123