Searched refs:sampling_rate (Results 1 – 12 of 12) sorted by relevance
/frameworks/av/media/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/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/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/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/libstagefright/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/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/libeffects/loudness/common/core/ |
D | basic_types.h | 103 void Set(int number_samples, int sampling_rate, int16 *data);
|
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 128 int32_t *sampling_rate /* out */ in MakeAACCodecSpecificData() argument 137 *sampling_rate = kSamplingFreq[sampling_freq_index]; in MakeAACCodecSpecificData()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 972 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/ |
D | atoms.proto | 10203 optional int32 sampling_rate = 12; field 15580 optional float sampling_rate = 2; field
|