Home
last modified time | relevance | path

Searched refs:nChannels (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Audio.h180 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
225 OMX_U32 nChannels; /**< Number of channels */ member
299 OMX_U32 nChannels; /**< Number of channels */ member
322 OMX_U32 nChannels; /**< Number of channels */ member
351 OMX_U32 nChannels; /**< Number of channels */ member
388 OMX_U16 nChannels; /**< Number of channels */ member
421 OMX_U32 nChannels; /**< Number of channels */ member
447 OMX_U32 nChannels; /**< Number of channels */ member
466 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
491 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
DOMX_AudioExt.h58 OMX_U32 nChannels; /**< Number of channels */ member
67 OMX_U32 nChannels; /**< Number of channels */ member
76 OMX_U32 nChannels; /**< Number of channels */ member
85 OMX_U32 nChannels; /**< Number of channels */ member
/frameworks/av/media/libeffects/testlibs/
DAudioEqualizer.cpp39 int nChannels, int sampleRate, in CreateInstance() argument
44 pMem, nBands, nChannels, sampleRate, nPresets); in CreateInstance()
54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate, in CreateInstance()
58 void AudioEqualizer::configure(int nChannels, int sampleRate) { in configure() argument
59 ALOGV("AudioEqualizer::configure(nChannels=%d, sampleRate=%d)", nChannels, in configure()
61 mpLowShelf->configure(nChannels, sampleRate); in configure()
63 mpPeakingFilters[i].configure(nChannels, sampleRate); in configure()
65 mpHighShelf->configure(nChannels, sampleRate); in configure()
287 AudioEqualizer::AudioEqualizer(void * pMem, int nBands, int nChannels, in AudioEqualizer() argument
299 nChannels, sampleRate); in AudioEqualizer()
[all …]
DAudioShelvingFilter.cpp49 AudioShelvingFilter::AudioShelvingFilter(ShelfType type, int nChannels, in AudioShelvingFilter() argument
52 mBiquad(nChannels, sampleRate) { in AudioShelvingFilter()
53 configure(nChannels, sampleRate); in AudioShelvingFilter()
56 void AudioShelvingFilter::configure(int nChannels, int sampleRate) { in configure() argument
59 mBiquad.configure(nChannels, sampleRate); in configure()
DAudioPeakingFilter.cpp44 AudioPeakingFilter::AudioPeakingFilter(int nChannels, int sampleRate) in AudioPeakingFilter() argument
45 : mBiquad(nChannels, sampleRate) { in AudioPeakingFilter()
46 configure(nChannels, sampleRate); in AudioPeakingFilter()
50 void AudioPeakingFilter::configure(int nChannels, int sampleRate) { in configure() argument
53 mBiquad.configure(nChannels, sampleRate); in configure()
DAudioEqualizer.h80 int nChannels,
89 void configure(int nChannels, int sampleRate);
240 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate,
DAudioBiquadFilter.cpp28 AudioBiquadFilter::AudioBiquadFilter(int nChannels, int sampleRate) { in AudioBiquadFilter() argument
29 configure(nChannels, sampleRate); in AudioBiquadFilter()
33 void AudioBiquadFilter::configure(int nChannels, int sampleRate) { in configure() argument
34 assert(nChannels > 0 && nChannels <= MAX_CHANNELS); in configure()
36 mNumChannels = nChannels; in configure()
DAudioFormatAdapter.h59 void configure(T & processor, int nChannels, uint8_t pcmFormat, in configure() argument
62 mNumChannels = nChannels; in configure()
65 mMaxSamplesPerCall = bufSize / nChannels; in configure()
DAudioShelvingFilter.h51 AudioShelvingFilter(ShelfType type, int nChannels, int sampleRate);
57 void configure(int nChannels, int sampleRate);
DAudioPeakingFilter.h44 AudioPeakingFilter(int nChannels, int sampleRate);
50 void configure(int nChannels, int sampleRate);
DAudioBiquadFilter.h45 AudioBiquadFilter(int nChannels, int sampleRate);
50 void configure(int nChannels, int sampleRate);
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp240 int32_t nChannels, int32_t nSampleRate) { in setupConfigParam() argument
243 C2StreamChannelCountInfo::input channelCountInfo(0u, nChannels); in setupConfigParam()
285 int32_t samplesPerFrame, int32_t nChannels, in encodeNFrames() argument
292 int bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames()
390 int32_t nChannels = 2; in TEST_P() local
394 nChannels = 2; in TEST_P()
398 nChannels = 2; in TEST_P()
402 nChannels = 2; in TEST_P()
406 nChannels = 1; in TEST_P()
410 nChannels = 1; in TEST_P()
[all …]
/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.cpp129 unsigned nChannels, in copyTo16Signed() argument
134 for (unsigned c = 0; c < nChannels; ++c) { in copyTo16Signed()
141 for (unsigned c = 0; c < nChannels; ++c) { in copyTo16Signed()
152 unsigned nChannels, in copyToFloat() argument
156 for (unsigned c = 0; c < nChannels; ++c) { in copyToFloat()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp116 int32_t nChannels, samplerate; in audioTrack() local
119 if (!md->findInt32(kKeyChannelCount, &nChannels) in audioTrack()
137 header.channels = nChannels; in audioTrack()
138 header.num_streams = nChannels; in audioTrack()
147 header.channel_mapping = ((nChannels > 8) ? 255 : (nChannels > 2)); in audioTrack()
172 sp<WebmElement> entry = WebmElement::AudioTrackEntry("A_OPUS", nChannels, samplerate, in audioTrack()
211 sp<WebmElement> entry = WebmElement::AudioTrackEntry("A_VORBIS", nChannels, samplerate, in audioTrack()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp155 amrParams->nChannels = 1; in internalGetParameter()
184 pcmParams->nChannels = 1; in internalGetParameter()
252 if (amrParams->nChannels != 1 in internalSetParameter()
283 if (pcmParams->nChannels != 1 in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp162 pcmParams->nChannels = mNumChannels; in internalGetParameter()
189 if (pcmParams->nChannels < 1 || pcmParams->nChannels > MAX_CHANNEL_COUNT) { in internalSetParameter()
194 mNumChannels = pcmParams->nChannels; in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp177 aacParams->nChannels = mNumChannels; in internalGetParameter()
240 pcmParams->nChannels = mNumChannels; in internalGetParameter()
332 mNumChannels = aacParams->nChannels; in internalSetParameter()
375 mNumChannels = pcmParams->nChannels; in internalSetParameter()
389 static CHANNEL_MODE getChannelMode(OMX_U32 nChannels) { in getChannelMode() argument
391 switch (nChannels) { in getChannelMode()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp146 … void (*mCopy)(int16_t *dst, const int * src[kMaxChannels], unsigned nSamples, unsigned nChannels);
409 unsigned nChannels, in copyTo16Signed() argument
414 for (unsigned c = 0; c < nChannels; ++c) { in copyTo16Signed()
421 for (unsigned c = 0; c < nChannels; ++c) { in copyTo16Signed()
432 unsigned nChannels, in copyToFloat() argument
436 for (unsigned c = 0; c < nChannels; ++c) { in copyToFloat()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp206 pcmParams->nChannels = mNumChannels; in internalGetParameter()
225 flacParams->nChannels = mNumChannels; in internalGetParameter()
275 if (pcmParams->nChannels < 1 || pcmParams->nChannels > kMaxChannels) { in internalSetParameter()
279 mNumChannels = pcmParams->nChannels; in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp173 flacParams->nChannels = mStreamInfo.channels; in internalGetParameter()
176 flacParams->nChannels = 2; in internalGetParameter()
211 pcmParams->nChannels = mStreamInfo.channels; in internalGetParameter()
214 pcmParams->nChannels = 2; in internalGetParameter()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp190 amrParams->nChannels = 1; in internalGetParameter()
222 pcmParams->nChannels = 1; in internalGetParameter()
290 if (amrParams->nChannels != 1 in internalSetParameter()
330 if (pcmParams->nChannels != 1 in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/common/include/
DvoAAC.h47 short nChannels; /*! number of channels on input (1,2) */ member
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp176 opusParams->nChannels = 1; in internalGetParameter()
178 opusParams->nChannels = mHeader->channels; in internalGetParameter()
207 pcmParams->nChannels = 1; in internalGetParameter()
209 pcmParams->nChannels = mHeader->channels; in internalGetParameter()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp178 vorbisParams->nChannels = kDefaultChannelCount; in internalGetParameter()
181 vorbisParams->nChannels = mVi->channels; in internalGetParameter()
212 pcmParams->nChannels = kDefaultChannelCount; in internalGetParameter()
215 pcmParams->nChannels = mVi->channels; in internalGetParameter()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp182 pcmParams->nChannels = mNumChannels; in internalGetParameter()
201 mp3Params->nChannels = mNumChannels; in internalGetParameter()
271 mNumChannels = pcmParams->nChannels; in internalSetParameter()

12