/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
ARDBitrateTracker.m | 20 @synthesize bitrate = _bitrate; 22 + (NSString *)bitrateStringForBitrate:(double)bitrate { 23 if (bitrate > 1e6) { 24 return [NSString stringWithFormat:@"%.2fMbps", bitrate * 1e-6]; 25 } else if (bitrate > 1e3) { 26 return [NSString stringWithFormat:@"%.0fKbps", bitrate * 1e-3]; 28 return [NSString stringWithFormat:@"%.0fbps", bitrate];
|
ARDBitrateTracker.h | 13 /** Class used to estimate bitrate based on byte count. It is expected that 15 * byte count is updated, and measures the bitrate based on the byte difference 20 /** The bitrate in bits per second. */ 21 @property(nonatomic, readonly) double bitrate; variable 22 /** The bitrate as a formatted string in bps, Kbps or Mbps. */ 25 /** Converts the bitrate to a readable format in bps, Kbps or Mbps. */ 26 + (NSString *)bitrateStringForBitrate:(double)bitrate; 27 /** Updates the tracked bitrate with the new byte count. */
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
rate_statistics_unittest.cc | 55 uint32_t bitrate = stats_.Rate(now_ms); local 56 EXPECT_EQ(0u, bitrate); 61 if (new_bitrate != bitrate) { 62 // New bitrate must be higher than previous one. 63 EXPECT_GT(new_bitrate, bitrate); 66 EXPECT_NEAR(8000000u, bitrate, 80000u); 69 bitrate = new_bitrate; 74 bitrate = stats_.Rate(now_ms); 75 EXPECT_NEAR(8000000u, bitrate, 80000u); 81 if (new_bitrate != bitrate) { [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
VideoQuality.java | 19 long bitrate; field in class:VideoQuality
|
AudioQuality.java | 21 long bitrate; field in class:AudioQuality
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/include/mock/ |
mock_remote_bitrate_observer.h | 24 void(const std::vector<unsigned int>& ssrcs, unsigned int bitrate));
|
/external/aac/libAACenc/src/ |
bandwidth.h | 99 INT bitrate,
|
/external/webrtc/webrtc/modules/bitrate_controller/ |
bitrate_controller_impl.cc | 30 void OnReceivedEstimatedBitrate(uint32_t bitrate) override { 31 owner_->OnReceivedEstimatedBitrate(bitrate); 97 // user must be ready to accept a bitrate update when it constructs the 137 void BitrateControllerImpl::OnReceivedEstimatedBitrate(uint32_t bitrate) { 141 bitrate); 181 uint32_t bitrate; local 184 if (GetNetworkParameters(&bitrate, &fraction_loss, &rtt)) 185 observer_->OnNetworkChanged(bitrate, fraction_loss, rtt); 188 bool BitrateControllerImpl::GetNetworkParameters(uint32_t* bitrate, 194 *bitrate = current_bitrate 214 int bitrate; local [all...] |
send_side_bandwidth_estimation_unittest.cc | 33 int bitrate; local 36 bwe.CurrentEstimate(&bitrate, &fraction_loss, &rtt); 37 EXPECT_EQ(kRembBps, bitrate); 43 bitrate = 0; 44 bwe.CurrentEstimate(&bitrate, &fraction_loss, &rtt); 45 EXPECT_EQ(kRembBps, bitrate); 67 // Signal heavy loss to go down in bitrate. 75 // Verify that the obtained bitrate isn't hitting the min bitrate, or this 77 // loss rates so that it doesn't hit min bitrate after one bitrate update [all...] |
send_side_bandwidth_estimation.cc | 68 void SendSideBandwidthEstimation::SetSendBitrate(int bitrate) { 69 RTC_DCHECK_GT(bitrate, 0); 70 bitrate_ = bitrate; 72 // Clear last sent bitrate history so the new value can be used directly 93 void SendSideBandwidthEstimation::CurrentEstimate(int* bitrate, 96 *bitrate = bitrate_; 177 // packet loss reported, to allow startup bitrate probing. 186 // Only start updating bitrate when receiving receiver blocks. 191 // Loss < 2%: Increase rate by 8% of the min bitrate in the last 193 // Note that by remembering the bitrate over the last second one ca [all...] |
bitrate_controller_impl.h | 53 void OnReceivedEstimatedBitrate(uint32_t bitrate); 63 bool GetNetworkParameters(uint32_t* bitrate, 67 void OnNetworkChanged(uint32_t bitrate,
|
send_side_bandwidth_estimation.h | 10 * FEC and NACK added bitrate is handled outside class 30 void CurrentEstimate(int* bitrate, uint8_t* loss, int64_t* rtt) const; 44 void SetSendBitrate(int bitrate); 57 // Returns the input bitrate capped to the thresholds defined by the max, 59 uint32_t CapBitrateToThresholds(int64_t now_ms, uint32_t bitrate); 63 // min bitrate used during last kBweIncreaseIntervalMs.
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
bitenc.h | 34 Word32 bitrate; member in struct:BITSTREAMENCODER_INIT
|
psy_configuration.h | 94 Word16 InitPsyConfigurationLong(Word32 bitrate, 99 Word16 InitPsyConfigurationShort(Word32 bitrate,
|
tns_func.h | 31 Word16 InitTnsConfigurationLong(Word32 bitrate, 38 Word16 InitTnsConfigurationShort(Word32 bitrate,
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
mp3reader.cpp | 81 // Disallow "free" bitrate. 114 int bitrate = local 120 *out_bitrate = bitrate; 123 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; 146 int bitrate; local 148 bitrate = (layer == 2 /* L2 */) 158 bitrate = kBitrateV2[bitrate_index - 1]; 165 *out_bitrate = bitrate; 169 *frame_size = 144000 * bitrate / sampling_rate + padding; 173 *frame_size = tmp * bitrate / sampling_rate + padding 294 uint32_t sample_rate, num_channels, bitrate; local 379 uint32_t bitrate; local [all...] |
/external/webrtc/webrtc/call/ |
bitrate_allocator.h | 35 // Returns actual bitrate allocated (might be higher than target_bitrate if 41 // Set the start and max send bitrate used by the bandwidth management. 44 // |min_bitrate_bps| = 0 equals no min bitrate. 45 // |max_bitrate_bps| = 0 equals no max bitrate. 46 // Returns bitrate allocated for the bitrate observer. 56 // This method controls the behavior when the available bitrate is lower than 57 // the minimum bitrate, or the sum of minimum bitrates. 58 // When true, the bitrate will never be set lower than the minimum bitrate(s) [all...] |
bitrate_allocator.cc | 21 // Allow packets to be transmitted in up to 2 times max video bitrate if the 35 uint32_t BitrateAllocator::OnNetworkChanged(uint32_t bitrate, 39 last_bitrate_bps_ = bitrate; 72 // Allow the max bitrate to be exceeded for FEC and retransmissions. 74 // properly allocate bitrate. The allocator should instead distribute any 75 // extra bitrate after all streams have maxed out. 137 uint32_t bitrate, 142 (bitrate - sum_min_bitrates) / number_of_observers; 143 // Use map to sort list based on max bitrate. 175 uint32_t bitrate) { [all...] |
/external/webrtc/talk/media/base/ |
codec.cc | 169 int bitrate, 173 bitrate(bitrate), 177 AudioCodec::AudioCodec() : Codec(), bitrate(0), channels(0) { 184 bitrate = c.bitrate; 190 return bitrate == c.bitrate && channels == c.channels && Codec::operator==(c); 195 // If a nonzero bitrate is specified, it must match the actual bitrate, [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
RTPencode.cc | 89 int* bitrate, 93 int bitrate, 106 int bitrate, 285 int bitrate = 0; local 331 printf("%s PCMfile RTPfile frameLen codec useVAD bitrate\n", argv[0]); 459 printf("bitrate : Codec bitrate in bps (only applies to vbr " 488 &bitrate, &useRed); 535 bitrate = 32000; 536 printf("Running iSAC at default bitrate of 32000 bps (to specify [all...] |
/external/speex/include/speex/ |
speex_header.h | 68 spx_int32_t bitrate; /**< Bit-rate used */ member in struct:SpeexHeader
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
opus_test.h | 36 int bitrate,
|
/external/webrtc/webrtc/video/ |
vie_remb.h | 49 // Called every time there is a new bitrate estimate for a receive channel 50 // group. This call will trigger a new RTCP REMB packet if the bitrate 55 unsigned int bitrate); 73 // The last bitrate update.
|
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
audio_parser.h | 47 int *version, int *layer, int *crc, int *bitrate,
|
/external/libnfc-nci/halimpl/pn54x/inc/ |
phNxpNciHal_SelfTest.h | 129 phNxpNfc_Tech_t tech, phNxpNfc_Bitrate_t bitrate); 131 NFCSTATUS phNxpNciHal_PrbsTestStart (phNxpNfc_Tech_t tech, phNxpNfc_Bitrate_t bitrate);
|