Home
last modified time | relevance | path

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

/frameworks/av/media/module/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/module/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/module/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/module/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/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/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/module/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp210 int sampling_rate = kSamplingRateV1[sampling_rate_index]; in parseHeader() local
212 sampling_rate /= 2; in parseHeader()
214 sampling_rate /= 4; in parseHeader()
241 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in parseHeader()
287 *frame_size = 144000 * bitrate / sampling_rate + padding; in parseHeader()
291 *frame_size = tmp * bitrate / sampling_rate + padding; in parseHeader()
296 *out_sampling_rate = sampling_rate; in parseHeader()
/frameworks/av/media/libeffects/loudness/common/core/
Dbasic_types.h103 void Set(int number_samples, int sampling_rate, int16 *data);
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp299 int32_t *sampling_rate /* out */ in MakeAACCodecSpecificData() argument
308 *sampling_rate = kSamplingFreq[sampling_freq_index]; in MakeAACCodecSpecificData()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp435 const uint32_t sampling_rate = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.samplingRate)); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() local
445 return sp<AudioIoDescriptor>::make(io_handle, patch, isInput, sampling_rate, format, in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp986 int32_t sampling_rate; in setParameter() local
987 if (safe_strtoi32(value.c_str(), &sampling_rate)) { in setParameter()
988 return setParamAudioSamplingRate(sampling_rate); in setParameter()
/frameworks/proto_logging/stats/
Datoms.proto12675 optional int32 sampling_rate = 12; field
19460 optional float sampling_rate = 2; field