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/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/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp190 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()
Ds_tmp3dec_file.h87 int32 num_channels; member
/frameworks/av/media/codecs/mp3dec/test/
DMp3DecoderTest.cpp135 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()
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.cpp77 uint16_t num_channels; member
151 switch (chunkFormat->num_channels) { in createBufferQueueAudioPlayer()
165 chunkFormat->num_channels, in createBufferQueueAudioPlayer()
/frameworks/av/media/codecs/mp3dec/include/
Dpvmp3decoder_api.h183 int16 num_channels; member
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp366 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/
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/extractors/mp4/
DMPEG4Extractor.cpp1350 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/
DESQueue.cpp1089 unsigned num_channels = bits.getBits(3); in dequeueAccessUnitPCMAudio() local
1095 if (num_channels != 1u) { in dequeueAccessUnitPCMAudio()