Home
last modified time | relevance | path

Searched refs:num_channels (Results 1 – 13 of 13) 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/ex/variablespeed/jni/
Dsola_time_scaler.h46 void Init(int sample_rate, int num_channels) { in Init() argument
48 num_channels_ = num_channels; in Init()
89 void Init(double sample_rate, int num_channels, double initial_speed,
125 int num_channels() const { return num_channels_; } in num_channels() function
Dring_buffer.cc23 void RingBuffer::Init(int size, int num_channels, int num_readers) { in Init() argument
25 num_channels_ = num_channels; in Init()
Dring_buffer.h44 void Init(int size, int num_channels, int num_readers);
Dsola_time_scaler.cc81 int num_channels, in Init() argument
88 num_channels_ = num_channels; in Init()
/frameworks/av/media/libstagefright/
DXINGSeeker.cpp95 int num_channels; in CreateFromSource() local
97 if (!GetMPEGAudioFrameSize(header, &xingframesize, &sampling_rate, &num_channels, in CreateFromSource()
107 if (num_channels != 1) offset += 32; in CreateFromSource()
110 if (num_channels != 1) offset += 17; in CreateFromSource()
DMP3Extractor.cpp148 int sample_rate, num_channels, bitrate; in Resync() local
151 &sample_rate, &num_channels, &bitrate)) { in Resync()
288 int num_channels; in MP3Extractor() local
291 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor()
313 mMeta->setInt32(kKeyChannelCount, num_channels); in MP3Extractor()
DMPEG4Extractor.cpp916 uint32_t num_channels = 0; in parseChunk() local
918 if (AdjustChannelsAndRate(original_fourcc, &num_channels, &sample_rate)) { in parseChunk()
919 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels); in parseChunk()
1174 uint32_t num_channels = U16_AT(&buffer[16]); in parseChunk() local
1182 AdjustChannelsAndRate(chunk_type, &num_channels, &sample_rate); in parseChunk()
1185 chunk, num_channels, sample_size, sample_rate); in parseChunk()
1186 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels); in parseChunk()
/frameworks/av/media/libstagefright/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()
362 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder()
405 if (pVars->num_channels == 2) in pvmp3_framedecoder()
441 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder()
490 pVars->num_channels, in pvmp3_framedecoder()
497 ptrOutBuffer += pVars->num_channels * SUBBANDS_NUMBER * FILTERBANK_BANDS; in pvmp3_framedecoder()
659 pVars->num_channels = 0; in pvmp3_InitDecoder()
Ds_tmp3dec_file.h87 int32 num_channels; member
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
Dpvmp3decoder_api.h183 int16 num_channels; member
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp273 || mConfig->num_channels != mNumChannels) { in onQueueFilled()
275 mNumChannels = mConfig->num_channels; in onQueueFilled()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp354 unsigned num_channels = bits.getBits(3); in dequeueAccessUnitPCMAudio() local
357 CHECK_EQ(num_channels, 1u); // stereo! in dequeueAccessUnitPCMAudio()