Searched refs:target_bps (Results 1 – 11 of 11) sorted by relevance
/external/flac/src/plugin_common/ |
D | dither.c | 58 static FLAC__int32 linear_dither(uint32_t source_bps, uint32_t target_bps, FLAC__int32 sample, dith… in linear_dither() argument 64 FLAC__ASSERT(target_bps <= 24); in linear_dither() 65 FLAC__ASSERT(target_bps <= source_bps); in linear_dither() 74 output = sample + (1L << (source_bps - target_bps - 1)); in linear_dither() 76 scalebits = source_bps - target_bps; in linear_dither() 109 … const input[], uint32_t wide_samples, uint32_t channels, uint32_t source_bps, uint32_t target_bps) in FLAC__plugin_common__pack_pcm_signed_big_endian() argument 116 const uint32_t bytes_per_sample = target_bps / 8; in FLAC__plugin_common__pack_pcm_signed_big_endian() 121 FLAC__ASSERT(target_bps <= 24); in FLAC__plugin_common__pack_pcm_signed_big_endian() 122 FLAC__ASSERT(target_bps <= source_bps); in FLAC__plugin_common__pack_pcm_signed_big_endian() 124 FLAC__ASSERT((target_bps & 7) == 0); in FLAC__plugin_common__pack_pcm_signed_big_endian() [all …]
|
D | dither.h | 27 …const input[], uint32_t wide_samples, uint32_t channels, uint32_t source_bps, uint32_t target_bps); 28 …const input[], uint32_t wide_samples, uint32_t channels, uint32_t source_bps, uint32_t target_bps);
|
/external/webrtc/modules/audio_coding/codecs/isac/ |
D | audio_encoder_isac_t_impl.h | 85 void AudioEncoderIsacT<T>::SetTargetBitrate(int target_bps) { in SetTargetBitrate() argument 88 SetTargetBitrate(target_bps, in SetTargetBitrate() 93 void AudioEncoderIsacT<T>::OnReceivedTargetAudioBitrate(int target_bps) { in OnReceivedTargetAudioBitrate() argument 96 SetTargetBitrate(target_bps, in OnReceivedTargetAudioBitrate() 176 void AudioEncoderIsacT<T>::SetTargetBitrate(int target_bps, in SetTargetBitrate() argument 181 target_bps -= overhead_rate.bps(); in SetTargetBitrate() 183 target_bps = rtc::SafeClamp(target_bps, kMinBitrateBps, in SetTargetBitrate() 185 int result = T::Control(isac_state_, target_bps, config_.frame_size_ms); in SetTargetBitrate() 187 config_.bit_rate = target_bps; in SetTargetBitrate()
|
D | audio_encoder_isac_t.h | 52 void SetTargetBitrate(int target_bps) override; 53 void OnReceivedTargetAudioBitrate(int target_bps) override; 77 void SetTargetBitrate(int target_bps, bool subtract_per_packet_overhead);
|
/external/flac/src/share/replaygain_synthesis/ |
D | replaygain_synthesis.c | 301 …_samples, uint32_t channels, const uint32_t source_bps, const uint32_t target_bps, const double sc… in FLAC__replaygain_synthesis__apply_gain() argument 338 const FLAC__int32 conv_shift = 32 - target_bps; in FLAC__replaygain_synthesis__apply_gain() 339 const FLAC__int64 hard_clip_factor = hard_clip_factors_[target_bps]; in FLAC__replaygain_synthesis__apply_gain() 352 const uint32_t bytes_per_sample = target_bps / 8; in FLAC__replaygain_synthesis__apply_gain() 358 const FLAC__uint32 twiggle = 1u << (target_bps - 1); in FLAC__replaygain_synthesis__apply_gain() 362 FLAC__ASSERT(target_bps >= 4); in FLAC__replaygain_synthesis__apply_gain() 364 FLAC__ASSERT(target_bps < 32); in FLAC__replaygain_synthesis__apply_gain() 365 FLAC__ASSERT((target_bps & 7) == 0); in FLAC__replaygain_synthesis__apply_gain() 396 switch(target_bps) { in FLAC__replaygain_synthesis__apply_gain() 409 switch(target_bps) { in FLAC__replaygain_synthesis__apply_gain() [all …]
|
/external/webrtc/api/audio_codecs/ |
D | audio_encoder.h | 190 RTC_DEPRECATED virtual void SetTargetBitrate(int target_bps); 217 virtual void OnReceivedTargetAudioBitrate(int target_bps);
|
D | audio_encoder.cc | 67 void AudioEncoder::SetTargetBitrate(int target_bps) {} in SetTargetBitrate() argument
|
/external/flac/include/share/ |
D | replaygain_synthesis.h | 50 …_samples, uint32_t channels, const uint32_t source_bps, const uint32_t target_bps, const double sc…
|
/external/webrtc/modules/video_coding/codecs/h264/ |
D | h264_encoder_impl.cc | 265 configurations_[i].target_bps = codec_.startBitrate * 1000; in InitEncode() 350 configurations_[i].target_bps = in SetRates() 354 if (configurations_[i].target_bps) { in SetRates() 361 target_bitrate.iBitrate = configurations_[i].target_bps; in SetRates() 544 encoder_params.iTargetBitrate = configurations_[i].target_bps; in CreateEncoderParams()
|
D | h264_encoder_impl.h | 47 uint32_t target_bps = 0; member
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus.h | 143 void SetTargetBitrate(int target_bps) override;
|