Home
last modified time | relevance | path

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

/frameworks/av/media/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/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/codec2/components/mp3/
DC2SoftMp3Dec.cpp193 int sampling_rate = kSamplingRateV1[sampling_rate_index]; in parseMp3Header() local
195 sampling_rate /= 2; in parseMp3Header()
197 sampling_rate /= 4; in parseMp3Header()
218 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in parseMp3Header()
258 *frame_size = 144000 * bitrate / sampling_rate + padding; in parseMp3Header()
261 *frame_size = tmp * bitrate / sampling_rate + padding; in parseMp3Header()
266 *out_sampling_rate = sampling_rate; in parseMp3Header()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp685 int sampling_rate = kSamplingRateV1[sampling_rate_index]; in GetMPEGAudioFrameSize() local
687 sampling_rate /= 2; in GetMPEGAudioFrameSize()
689 sampling_rate /= 4; in GetMPEGAudioFrameSize()
716 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in GetMPEGAudioFrameSize()
762 *frame_size = 144000 * bitrate / sampling_rate + padding; in GetMPEGAudioFrameSize()
766 *frame_size = tmp * bitrate / sampling_rate + padding; in GetMPEGAudioFrameSize()
771 *out_sampling_rate = sampling_rate; in GetMPEGAudioFrameSize()
/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.cpp972 int32_t sampling_rate; in setParameter() local
973 if (safe_strtoi32(value.string(), &sampling_rate)) { in setParameter()
974 return setParamAudioSamplingRate(sampling_rate); in setParameter()
/frameworks/proto_logging/stats/
Datoms.proto10203 optional int32 sampling_rate = 12; field
15580 optional float sampling_rate = 2; field