/frameworks/av/cmds/stagefright/ |
D | WaveWriter.h | 26 uint16_t num_channels, uint32_t sampling_rate) in WaveWriter() argument 30 write_u16(num_channels); in WaveWriter() 32 write_u32(sampling_rate * num_channels * 2); in WaveWriter() 33 write_u16(num_channels * 2); in WaveWriter()
|
/frameworks/av/media/extractors/mp3/ |
D | XINGSeeker.cpp | 96 int num_channels; in CreateFromSource() local 98 if (!GetMPEGAudioFrameSize(header, &xingframesize, &sampling_rate, &num_channels, in CreateFromSource() 106 if (num_channels != 1) offset += 32; in CreateFromSource() 109 if (num_channels != 1) offset += 17; in CreateFromSource()
|
D | MP3Extractor.cpp | 146 int sample_rate, num_channels, bitrate; in Resync() local 149 &sample_rate, &num_channels, &bitrate)) { in Resync() 302 int num_channels; in MP3Extractor() local 305 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor() 317 int num_channels; in MP3Extractor() local 320 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor() 342 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in MP3Extractor()
|
/frameworks/av/media/codecs/mp3dec/src/ |
D | pvmp3_framedecoder.cpp | 190 pVars->num_channels = (info->mode == MPG_MD_MONO) ? 1 : 2; in pvmp3_framedecoder() 191 pExt->num_channels = pVars->num_channels; in pvmp3_framedecoder() 371 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder() 414 if (pVars->num_channels == 2) in pvmp3_framedecoder() 450 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder() 499 pVars->num_channels, in pvmp3_framedecoder() 506 ptrOutBuffer += pVars->num_channels * SUBBANDS_NUMBER * FILTERBANK_BANDS; in pvmp3_framedecoder()
|
D | s_tmp3dec_file.h | 87 int32 num_channels; member
|
/frameworks/av/media/codecs/mp3dec/test/ |
D | Mp3DecoderTest.cpp | 135 ASSERT_EQ(sfInfo.channels, mConfig->num_channels) << "Number of channels does not match"; in TEST_P() 167 ASSERT_EQ(sfInfo.channels, mConfig->num_channels) << "Number of channels does not match"; in TEST_P() 174 ASSERT_EQ(sfInfo.channels, mConfig->num_channels) << "Number of channels does not match"; in TEST_P()
|
D | mp3reader.cpp | 294 uint32_t sample_rate, num_channels, bitrate; in resync() local 297 &sample_rate, &num_channels, &bitrate)) { in resync()
|
/frameworks/base/cmds/bootanimation/ |
D | audioplay.cpp | 77 uint16_t num_channels; member 151 switch (chunkFormat->num_channels) { in createBufferQueueAudioPlayer() 165 chunkFormat->num_channels, in createBufferQueueAudioPlayer()
|
/frameworks/av/media/codecs/mp3dec/include/ |
D | pvmp3decoder_api.h | 183 int16 num_channels; member
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 366 int32_t numChannels = mConfig->num_channels; in process() 431 || mConfig->num_channels != numChannels) { in process() 434 numChannels, mConfig->num_channels); in process() 436 numChannels = mConfig->num_channels; in process()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 399 || mConfig->num_channels != mNumChannels) { in onQueueFilled() 401 mNumChannels = mConfig->num_channels; in onQueueFilled()
|
/frameworks/opt/net/wifi/libwifi_hal/ |
D | hal_tool.cpp | 157 int* num_channels) { in wifi_get_valid_channels_stub() argument
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 1350 uint32_t num_channels = 0; in parseChunk() local 1352 if (AdjustChannelsAndRate(original_fourcc, &num_channels, &sample_rate)) { in parseChunk() 1354 AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in parseChunk() 1835 uint32_t num_channels = U16_AT(&buffer[16]); in parseChunk() local 1868 num_channels = U32_AT(&v2buffer[12]); // num audio channels in parseChunk() 1883 AdjustChannelsAndRate(chunk_type, &num_channels, &sample_rate); in parseChunk() 1895 chunk, num_channels, sample_size, sample_rate); in parseChunk() 1896 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in parseChunk()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 1089 unsigned num_channels = bits.getBits(3); in dequeueAccessUnitPCMAudio() local 1095 if (num_channels != 1u) { in dequeueAccessUnitPCMAudio()
|