Home
last modified time | relevance | path

Searched refs:target_bps (Results 1 – 11 of 11) sorted by relevance

/external/flac/src/plugin_common/
Ddither.c58 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 …]
Ddither.h27 …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/
Daudio_encoder_isac_t_impl.h85 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()
Daudio_encoder_isac_t.h52 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/
Dreplaygain_synthesis.c301 …_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/
Daudio_encoder.h190 RTC_DEPRECATED virtual void SetTargetBitrate(int target_bps);
217 virtual void OnReceivedTargetAudioBitrate(int target_bps);
Daudio_encoder.cc67 void AudioEncoder::SetTargetBitrate(int target_bps) {} in SetTargetBitrate() argument
/external/flac/include/share/
Dreplaygain_synthesis.h50 …_samples, uint32_t channels, const uint32_t source_bps, const uint32_t target_bps, const double sc…
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_encoder_impl.cc265 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()
Dh264_encoder_impl.h47 uint32_t target_bps = 0; member
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.h143 void SetTargetBitrate(int target_bps) override;