Home
last modified time | relevance | path

Searched refs:maxBitrate (Results 1 – 25 of 47) sorted by relevance

12

/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator_unittest.cc60 codec_.maxBitrate = kLegacyScreenshareMaxBitrateKbps; in SimulcastRateAllocatorTest()
101 codec_.simulcastStream[2].maxBitrate = 4000; in SetupCodec3SL3TL()
113 codec_.simulcastStream[1].maxBitrate = 1000; in SetupCodec2SL3TL()
125 codec_.simulcastStream[0].maxBitrate = 500; in SetupCodec1SL3TL()
132 codec_.maxBitrate = 0; in SetupCodec3TL()
159 codec_.simulcastStream[layer_index].maxBitrate); in MaxRate()
177 uint32_t expected[] = {codec_.maxBitrate}; in TEST_F()
179 ExpectEqual(expected, GetAllocation(codec_.maxBitrate + 1)); in TEST_F()
186 codec_.maxBitrate = 0; in TEST_F()
195 for (uint32_t bitrate = codec_.minBitrate; bitrate <= codec_.maxBitrate; in TEST_F()
[all …]
Dsimulcast_rate_allocator.cc89 if (codec_.maxBitrate) { in DistributeAllocationToSimulcastLayers()
90 DataRate max_rate = DataRate::KilobitsPerSec(codec_.maxBitrate); in DistributeAllocationToSimulcastLayers()
113 return std::tie(codec_.simulcastStream[a].maxBitrate) < in DistributeAllocationToSimulcastLayers()
114 std::tie(codec_.simulcastStream[b].maxBitrate); in DistributeAllocationToSimulcastLayers()
201 DataRate::KilobitsPerSec(stream.maxBitrate) - initial_layer_rate); in DistributeAllocationToSimulcastLayers()
247 max_bitrate_kbps = codec_.maxBitrate; in DistributeAllocationToTemporalLayers()
249 max_bitrate_kbps = codec_.simulcastStream[simulcast_id].maxBitrate; in DistributeAllocationToTemporalLayers()
Dsimulcast_utility.cc24 bitrate_sum += codec.simulcastStream[i].maxBitrate; in SumStreamMaxBitrate()
93 return (codec.numberOfSimulcastStreams == 0 && codec.maxBitrate == 1000) || in IsConferenceModeScreenshare()
95 codec.simulcastStream[0].maxBitrate == 1000 && in IsConferenceModeScreenshare()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DBitRateBox.java43 private long maxBitrate; field in BitRateBox
57 maxBitrate = IsoTypeReader.readUInt32(content); in _parseDetails()
64 IsoTypeWriter.writeUInt32(byteBuffer, maxBitrate); in getContent()
77 return maxBitrate; in getMaxBitrate()
80 public void setMaxBitrate(long maxBitrate) { in setMaxBitrate() argument
81 this.maxBitrate = maxBitrate; in setMaxBitrate()
DHintMediaHeaderBox.java33 private long maxBitrate; field in HintMediaHeaderBox
50 return maxBitrate; in getMaxBitrate()
66 maxBitrate = IsoTypeReader.readUInt32(content); in _parseDetails()
77 IsoTypeWriter.writeUInt32(byteBuffer, maxBitrate); in getContent()
87 ", maxBitrate=" + maxBitrate + in toString()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCVideoEncoderSettings+Private.mm27 self.maxBitrate = videoCodec->maxBitrate;
43 videoCodec.maxBitrate = self.maxBitrate;
45 videoCodec.maxBitrate = self.maxBitrate;
/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator_unittest.cc151 layers[0].maxBitrate + layers[1].maxBitrate + layers[2].maxBitrate); in TEST()
152 EXPECT_EQ(allocation.GetSpatialLayerSum(0) / 1000, layers[0].maxBitrate); in TEST()
153 EXPECT_EQ(allocation.GetSpatialLayerSum(1) / 1000, layers[1].maxBitrate); in TEST()
154 EXPECT_EQ(allocation.GetSpatialLayerSum(2) / 1000, layers[2].maxBitrate); in TEST()
286 DataRate::KilobitsPerSec(codec.spatialLayers[0].maxBitrate + in TEST_P()
287 codec.spatialLayers[1].maxBitrate + in TEST_P()
288 codec.spatialLayers[2].maxBitrate)); in TEST_P()
293 DataRate::KilobitsPerSec(codec.spatialLayers[0].maxBitrate)); in TEST_P()
352 DataRate::KilobitsPerSec(codec.spatialLayers[0].maxBitrate); in TEST_P()
356 codec.spatialLayers[1].maxBitrate) in TEST_P()
[all …]
Dsvc_rate_allocator.cc68 codec.spatialLayers[first_active_layer + sl_idx].maxBitrate); in AdjustAndVerify()
139 codec.spatialLayers[first_active_layer + i].maxBitrate); in FindLayerTogglingThreshold()
188 RTC_DCHECK_GT(codec.spatialLayers[layer_idx].maxBitrate, 0); in SvcRateAllocator()
189 RTC_DCHECK_GE(codec.spatialLayers[layer_idx].maxBitrate, in SvcRateAllocator()
193 RTC_DCHECK_GE(codec.spatialLayers[layer_idx].maxBitrate, in SvcRateAllocator()
202 if (codec_.maxBitrate != 0) { in Allocate()
204 std::min(total_bitrate, DataRate::KilobitsPerSec(codec_.maxBitrate)); in Allocate()
360 DataRate::KilobitsPerSec(codec_.spatialLayers[sl_idx - 1].maxBitrate)); in GetAllocationScreenSharing()
392 codec.spatialLayers[first_active_layer + sl_idx].maxBitrate); in GetMaxBitrate()
395 if (codec.maxBitrate != 0) { in GetMaxBitrate()
[all …]
Dsvc_config_unittest.cc94 EXPECT_LE(layer.minBitrate, layer.maxBitrate); in TEST()
96 EXPECT_LE(layer.targetBitrate, layer.maxBitrate); in TEST()
112 EXPECT_LE(layer.minBitrate, layer.maxBitrate); in TEST()
114 EXPECT_LE(layer.targetBitrate, layer.maxBitrate); in TEST()
Dsvc_config.cc51 spatial_layer.maxBitrate = in ConfigureSvcScreenSharing()
117 spatial_layer.maxBitrate = in ConfigureSvcNormalVideo()
120 (spatial_layer.minBitrate + spatial_layer.maxBitrate) / 2; in ConfigureSvcNormalVideo()
134 spatial_layers[0].maxBitrate *= 1.1; in ConfigureSvcNormalVideo()
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer.cc111 sim_stream->maxBitrate = streams[i].max_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
124 video_codec.maxBitrate += streams[i].max_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
130 if (video_codec.maxBitrate == 0) { in VideoEncoderConfigToVideoCodec()
132 video_codec.maxBitrate = in VideoEncoderConfigToVideoCodec()
136 if (video_codec.maxBitrate < kEncoderMinBitrateKbps) in VideoEncoderConfigToVideoCodec()
137 video_codec.maxBitrate = kEncoderMinBitrateKbps; in VideoEncoderConfigToVideoCodec()
206 spatial_layers.back().targetBitrate = video_codec.maxBitrate; in VideoEncoderConfigToVideoCodec()
207 spatial_layers.back().maxBitrate = video_codec.maxBitrate; in VideoEncoderConfigToVideoCodec()
/external/webrtc/api/video_codecs/
Dvideo_codec.cc63 maxBitrate == other.maxBitrate && in operator ==()
75 maxBitrate(0), in VideoCodec()
Dvideo_codec.h113 unsigned int maxBitrate; // kilobits/sec. variable
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_encoder.cc114 if (codec_settings.maxBitrate > 0 && in VerifyCodecSettings()
115 codec_settings.minBitrate > codec_settings.maxBitrate) { in VerifyCodecSettings()
118 if (codec_settings.maxBitrate > 0 && in VerifyCodecSettings()
119 codec_settings.startBitrate > codec_settings.maxBitrate) { in VerifyCodecSettings()
187 cfg_.rc_target_bitrate = encoder_settings_.maxBitrate; // kilobits/sec. in InitEncode()
555 if (encoder_settings_.maxBitrate > 0) in SetRates()
556 RTC_DCHECK_LE(rc_target_bitrate_kbps, encoder_settings_.maxBitrate); in SetRates()
Dlibaom_av1_encoder_unittest.cc35 codec_settings.maxBitrate = 1000; in DefaultCodecSettings()
/external/webrtc/media/engine/
Dsimulcast_encoder_adapter.cc59 bitrate_sum += codec.simulcastStream[i].maxBitrate; in SumStreamMaxBitrate()
93 if (inst->maxBitrate > 0 && inst->startBitrate > inst->maxBitrate) { in VerifyCodec()
108 return std::tie(a.height, a.width, a.maxBitrate, a.maxFramerate) < in StreamResolutionCompare()
109 std::tie(b.height, b.width, b.maxBitrate, b.maxFramerate); in StreamResolutionCompare()
585 stream_codec->maxBitrate = inst.simulcastStream[stream_index].maxBitrate; in PopulateStreamCodec()
/external/webrtc/test/pc/e2e/analyzer/video/
Dquality_analyzing_video_encoder.cc34 uint32_t max_bitrate = codec.maxBitrate; in GetMinMaxBitratesBps()
40 std::min(max_bitrate, codec.simulcastStream[spatial_idx].maxBitrate); in GetMinMaxBitratesBps()
47 std::min(max_bitrate, codec.spatialLayers[spatial_idx].maxBitrate); in GetMinMaxBitratesBps()
/external/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc489 codec_settings_.maxBitrate = 1000; in TEST_F()
523 codec_settings_.maxBitrate = 1000; in TEST_F()
613 codec_settings_.simulcastStream[0].maxBitrate = 100; in TEST_F()
631 codec_settings_.simulcastStream[0].maxBitrate = 100; in TEST_F()
653 codec_settings_.simulcastStream[0].maxBitrate = in TEST_F()
674 codec_settings_.simulcastStream[i].maxBitrate = 30; in TEST_F()
/external/webrtc/examples/objc/AppRTCMobile/
DARDSettingsStore.h39 - (nullable NSNumber *)maxBitrate;
/external/webrtc/sdk/objc/base/
DRTCVideoEncoderSettings.h32 @property(nonatomic, assign) unsigned int maxBitrate;
DRTCVideoEncoderSettings.m19 @synthesize maxBitrate = _maxBitrate;
/external/webrtc/
Dcommon_types.h59 unsigned int maxBitrate; // kilobits/sec. member
/external/webrtc/test/
Dvideo_codec_settings.h36 settings->maxBitrate = 0; in CodecSettings()
/external/webrtc/video/
Dvideo_stream_encoder.cc718 << " max_kbps: " << codec.simulcastStream[i].maxBitrate in ReconfigureEncoder()
734 << " max_kbps: " << codec.spatialLayers[i].maxBitrate in ReconfigureEncoder()
745 codec.startBitrate = std::min(codec.startBitrate, codec.maxBitrate); in ReconfigureEncoder()
764 if (codec.maxBitrate == 0) { in ReconfigureEncoder()
766 codec.maxBitrate = in ReconfigureEncoder()
770 if (codec.startBitrate > codec.maxBitrate) { in ReconfigureEncoder()
773 codec.maxBitrate = codec.startBitrate; in ReconfigureEncoder()
777 if (codec.startBitrate > codec.maxBitrate) { in ReconfigureEncoder()
778 codec.startBitrate = codec.maxBitrate; in ReconfigureEncoder()
834 RTC_LOG(LS_VERBOSE) << " max bitrate " << codec.maxBitrate in ReconfigureEncoder()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_encoder_impl_unittest.cc38 codec_settings->maxBitrate = 4000; in SetDefaultSettings()

12