Home
last modified time | relevance | path

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

/frameworks/av/cmds/stagefright/
DWaveWriter.h26 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/module/extractors/mp3/
DXINGSeeker.cpp96 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()
DMP3Extractor.cpp146 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/module/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp380 pVars->num_channels = (info->mode == MPG_MD_MONO) ? 1 : 2; in pvmp3_framedecoder()
381 pExt->num_channels = pVars->num_channels; in pvmp3_framedecoder()
561 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder()
604 if (pVars->num_channels == 2) in pvmp3_framedecoder()
640 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder()
689 pVars->num_channels, in pvmp3_framedecoder()
696 ptrOutBuffer += pVars->num_channels * SUBBANDS_NUMBER * FILTERBANK_BANDS; in pvmp3_framedecoder()
Ds_tmp3dec_file.h87 int32 num_channels; member
/frameworks/av/media/module/codecs/mp3dec/test/
DMp3DecoderTest.cpp132 ASSERT_EQ(sfInfo.channels, mConfig->num_channels) << "Number of channels does not match"; in TEST_P()
160 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()
Dmp3reader.cpp294 uint32_t sample_rate, num_channels, bitrate; in resync() local
297 &sample_rate, &num_channels, &bitrate)) { in resync()
/frameworks/base/cmds/bootanimation/
Daudioplay.cpp79 uint16_t num_channels; member
153 switch (chunkFormat->num_channels) { in createBufferQueueAudioPlayer()
167 chunkFormat->num_channels, in createBufferQueueAudioPlayer()
/frameworks/av/media/module/codecs/mp3dec/include/
Dpvmp3decoder_api.h183 int16 num_channels; member
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp373 int32_t numChannels = mConfig->num_channels; in process()
438 || mConfig->num_channels != numChannels) { in process()
441 numChannels, mConfig->num_channels); in process()
443 numChannels = mConfig->num_channels; in process()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp399 || mConfig->num_channels != mNumChannels) { in onQueueFilled()
401 mNumChannels = mConfig->num_channels; in onQueueFilled()
/frameworks/opt/net/wifi/libwifi_hal/
Dhal_tool.cpp157 int* num_channels) { in wifi_get_valid_channels_stub() argument
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp1363 uint32_t num_channels = 0; in parseChunk() local
1365 if (AdjustChannelsAndRate(original_fourcc, &num_channels, &sample_rate)) { in parseChunk()
1367 AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in parseChunk()
1853 uint32_t num_channels = U16_AT(&buffer[16]); in parseChunk() local
1886 num_channels = U32_AT(&v2buffer[12]); // num audio channels in parseChunk()
1901 AdjustChannelsAndRate(chunk_type, &num_channels, &sample_rate); in parseChunk()
1913 chunk, num_channels, sample_size, sample_rate); in parseChunk()
1914 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in parseChunk()
/frameworks/av/media/module/mpeg2ts/
DESQueue.cpp1695 unsigned num_channels = bits.getBits(3); in dequeueAccessUnitPCMAudio() local
1701 if (num_channels != 1u) { in dequeueAccessUnitPCMAudio()