Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp60 int sampling_rate = kSamplingRateV1[sampling_rate_index]; in parseMp3Header() local
62 sampling_rate /= 2; in parseMp3Header()
64 sampling_rate /= 4; in parseMp3Header()
81 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in parseMp3Header()
111 *frame_size = 144000 * bitrate / sampling_rate + padding; in parseMp3Header()
114 *frame_size = tmp * bitrate / sampling_rate + padding; in parseMp3Header()
119 *out_sampling_rate = sampling_rate; in parseMp3Header()
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
Dmp3reader.cpp92 int sampling_rate = kSamplingRateV1[sampling_rate_index]; in parseHeader() local
94 sampling_rate /= 2; in parseHeader()
96 sampling_rate /= 4; in parseHeader()
123 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in parseHeader()
169 *frame_size = 144000 * bitrate / sampling_rate + padding; in parseHeader()
173 *frame_size = tmp * bitrate / sampling_rate + padding; in parseHeader()
178 *out_sampling_rate = sampling_rate; in parseHeader()
/frameworks/av/cmds/stagefright/
DWaveWriter.h26 uint16_t num_channels, uint32_t sampling_rate) in WaveWriter() argument
31 write_u32(sampling_rate); in WaveWriter()
32 write_u32(sampling_rate * num_channels * 2); in WaveWriter()
/frameworks/av/media/extractors/mp3/
DXINGSeeker.cpp95 int sampling_rate = 0; in CreateFromSource() local
98 if (!GetMPEGAudioFrameSize(header, &xingframesize, &sampling_rate, &num_channels, in CreateFromSource()
148 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate; in CreateFromSource()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp672 int sampling_rate = kSamplingRateV1[sampling_rate_index]; in GetMPEGAudioFrameSize() local
674 sampling_rate /= 2; in GetMPEGAudioFrameSize()
676 sampling_rate /= 4; in GetMPEGAudioFrameSize()
703 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in GetMPEGAudioFrameSize()
749 *frame_size = 144000 * bitrate / sampling_rate + padding; in GetMPEGAudioFrameSize()
753 *frame_size = tmp * bitrate / sampling_rate + padding; in GetMPEGAudioFrameSize()
758 *out_sampling_rate = sampling_rate; in GetMPEGAudioFrameSize()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp192 int sampling_rate = kSamplingRateV1[sampling_rate_index]; in parseMp3Header() local
194 sampling_rate /= 2; in parseMp3Header()
196 sampling_rate /= 4; in parseMp3Header()
217 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in parseMp3Header()
257 *frame_size = 144000 * bitrate / sampling_rate + padding; in parseMp3Header()
260 *frame_size = tmp * bitrate / sampling_rate + padding; in parseMp3Header()
265 *out_sampling_rate = sampling_rate; in parseMp3Header()
/frameworks/av/media/libeffects/loudness/dsp/core/
Ddynamic_range_compression.cpp55 float target_gain, float sampling_rate) { in Initialize() argument
57 sampling_rate_ = sampling_rate; in Initialize()
Ddynamic_range_compression.h52 bool Initialize(float target_gain, float sampling_rate);
/frameworks/av/media/libeffects/loudness/common/core/
Dbasic_types.h103 void Set(int number_samples, int sampling_rate, int16 *data);
/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp128 int32_t *sampling_rate /* out */ in MakeAACCodecSpecificData() argument
137 *sampling_rate = kSamplingFreq[sampling_freq_index]; in MakeAACCodecSpecificData()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp803 int32_t sampling_rate; in setParameter() local
804 if (safe_strtoi32(value.string(), &sampling_rate)) { in setParameter()
805 return setParamAudioSamplingRate(sampling_rate); in setParameter()