/frameworks/av/media/module/codecs/mp3dec/fuzzer/ |
D | mp3_dec_fuzzer.cpp | 60 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/ |
D | mp3reader.cpp | 92 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/ |
D | WaveWriter.h | 26 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/ |
D | XINGSeeker.cpp | 95 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/ |
D | avc_utils.cpp | 685 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/ |
D | C2SoftMp3Dec.cpp | 193 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/ |
D | dynamic_range_compression.cpp | 55 float target_gain, float sampling_rate) { in Initialize() argument 57 sampling_rate_ = sampling_rate; in Initialize()
|
D | dynamic_range_compression.h | 52 bool Initialize(float target_gain, float sampling_rate);
|
/frameworks/av/media/module/codecs/mp3dec/src/ |
D | pvmp3_framedecoder.cpp | 210 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/ |
D | basic_types.h | 103 void Set(int number_samples, int sampling_rate, int16 *data);
|
/frameworks/av/media/module/metadatautils/ |
D | MetaDataUtils.cpp | 299 int32_t *sampling_rate /* out */ in MakeAACCodecSpecificData() argument 308 *sampling_rate = kSamplingFreq[sampling_freq_index]; in MakeAACCodecSpecificData()
|
/frameworks/av/media/libaudioclient/ |
D | AidlConversion.cpp | 435 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/ |
D | StagefrightRecorder.cpp | 986 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/ |
D | atoms.proto | 12675 optional int32 sampling_rate = 12; field 19460 optional float sampling_rate = 2; field
|