Searched defs:channels (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/include/media/
H A DAudioSystem.h155 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channels(0), frameCount(0), latency(0) {}
159 int32_t channels; member in class:android::AudioSystem::OutputDescriptor
H A DMediaProfiles.h102 * aud.ch - number of audio channels
175 * enc.aud.ch.min - min number of channels
176 * enc.aud.ch.max - max number of channels
242 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) argument
246 mChannels(channels) {}
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dstat_bits.c181 Word16 channels,
193 switch (channels) {
179 countStaticBitdemand(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PSY_OUT_ELEMENT *psyOutElement, Word16 channels, Word16 adtsUsed) argument
H A Dpsy_main.c189 Word16 channels,
194 Word32 channelBitRate = bitRate/channels;
203 err = InitTnsConfigurationLong(bitRate, sampleRate, channels,
213 err = InitTnsConfigurationShort(bitRate, sampleRate, channels,
218 for(ch=0;ch < channels;ch++){
221 bitRate, channels);
257 Word16 ch; /* counts through channels */
260 Word16 channels; local
263 channels = elemInfo->nChannelsInEl;
267 for(ch = 0; ch < channels; c
186 psyMainInit(PSY_KERNEL *hPsy, Word32 sampleRate, Word32 bitRate, Word16 channels, Word16 tnsMask, Word16 bandwidth) argument
[all...]
H A Dtns.c135 Word16 channels, /*!< number of channels */
147 if ( sub(channels,2) == 0 ) {
202 Word16 channels, /*!< number of channels */
213 if ( sub(channels,2) == 0 ) {
133 InitTnsConfigurationLong(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_LONG *pC, Word16 active) argument
200 InitTnsConfigurationShort(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_SHORT *pC, Word16 active) argument
/frameworks/av/libvideoeditor/vss/src/
H A DM4VSS3GPP_Clip.c199 static const char* channelToStringAndFileExt(int channels) { argument
200 switch (channels) {
206 M4OSA_TRACE1_1("Unsupported %d channels", channels);
/frameworks/wilhelm/tests/examples/
H A DslesTestFeedback.cpp37 static SLuint32 channels = 1; // -c# variable
206 channels = atoi(&arg[2]);
207 if (channels < 1 || channels > 2) {
209 (unsigned) channels);
210 channels = 2;
250 bufSizeInBytes = channels * bufSizeInFrames * sizeof(short);
302 pcm.numChannels = channels;
306 pcm.channelMask = channels == 1 ? SL_SPEAKER_FRONT_CENTER :
/frameworks/av/media/libmedia/
H A DSoundPool.cpp55 ALOGW_IF(maxChannels != mMaxChannels, "App requested %d channels", maxChannels);
605 uint32_t channels = (numChannels == 2) ? local
611 channels, sample->getIMemory(), AUDIO_OUTPUT_FLAG_NONE, callback, userData);
614 channels, frameCount, AUDIO_OUTPUT_FLAG_FAST, callback, userData,
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp169 jint source, jint sampleRateInHertz, jint channels,
173 //ALOGV("sampleRate=%d, audioFormat=%d, channels=%x, buffSizeInBytes=%d",
174 // sampleRateInHertz, audioFormat, channels, buffSizeInBytes);
176 if (!audio_is_input_channel(channels)) {
180 uint32_t nbChannels = popcount(channels);
243 channels,
168 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint source, jint sampleRateInHertz, jint channels, jint audioFormat, jint buffSizeInBytes, jintArray jSession) argument
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc67 // Used to read the sample rate and channels from the decoding stream during
249 SLuint32 channels = *(reinterpret_cast<SLuint32*>(value->data)); local
250 LOGD("channels: %d", channels);
251 *channelsOut = channels;
334 // data to determine the sample rate and number of channels.
336 LOGD("set varaible speed called, sample rate and channels not ready yet");
388 size_t channels; local
391 channels = mChannels;
393 size_t frameSizeInBytes = kSampleSizeInBytes * channels;
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp328 status_t StagefrightRecorder::setParamAudioNumberOfChannels(int32_t channels) { argument
329 ALOGV("setParamAudioNumberOfChannels: %d", channels);
330 if (channels <= 0 || channels >= 3) {
331 ALOGE("Invalid number of audio channels: %d", channels);
335 // Additional check on the number of channels will be performed later.
336 mAudioChannels = channels;
625 } else if (key == "audio-param-number-of-channels") {
1212 ALOGW("Intended number of audio channels (
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp247 jint channels,
1898 fid = pEnv->GetFieldID(audioSettingClazz,"channels","I");
3394 M4OSA_UInt32 channels,
3427 "Audio Graph samplesPerValue %d channels %d", samplesPerValue, channels);
3461 samplesCountInBytes = (samplesPerValue * sizeof(M4OSA_UInt16) * channels);
3606 jint frameDuration, jint channels,
3645 pStringOutAudioGraphFile, frameDuration, channels, samplesCount);
3651 (M4OSA_UInt32) channels,
3391 M4MA_generateAudioGraphFile(JNIEnv* pEnv, M4OSA_Char* pInputFileURL, M4OSA_Char* pOutFileURL, M4OSA_UInt32 samplesPerValue, M4OSA_UInt32 channels, M4OSA_UInt32 frameDuration, ManualEditContext* pContext) argument
3603 videoEditor_generateAudioWaveFormSync(JNIEnv* pEnv, jobject thiz, jstring pcmfilePath, jstring outGraphfilePath, jint frameDuration, jint channels, jint samplesCount) argument
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java1439 int channels; field in class:MediaArtistNativeHelper.AudioSettings
1441 /** < Number of channels (1=mono, 2=stereo) of BGM clip */
1566 * Number of audio channels in output clip. Use <code>0</code> for none,
1691 * Number of audio channels in the media.
2744 mAudioSettings.channels = mAudioProperties.audioChannels;
3878 * @param audioChannels The number of audio channels
4028 int frameDuration, int channels, int sampleCount);
4027 nativeGenerateAudioGraph(String pcmFilePath, String outGraphPath, int frameDuration, int channels, int sampleCount) argument
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h3102 XAuint32 channels; member in struct:XAAudioStreamInformation_
3128 XAuint32 channels; member in struct:XAMIDIStreamInformation_

Completed in 214 milliseconds