Home
last modified time | relevance | path

Searched refs:mStreamInfo (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp79 mStreamInfo(NULL), in SoftAAC2()
141 mStreamInfo = aacDecoder_GetStreamInfo(mAACDecoder); in initDecoder()
142 if (mStreamInfo != NULL) { in initDecoder()
164 mDrcWrap.submitStreamData(mStreamInfo); in initDecoder()
294 aacParams->nChannels = mStreamInfo->numChannels; in internalGetParameter()
295 aacParams->nSampleRate = mStreamInfo->sampleRate; in internalGetParameter()
296 aacParams->nFrameLength = mStreamInfo->frameSize; in internalGetParameter()
331 pcmParams->nChannels = mStreamInfo->numChannels; in internalGetParameter()
332 pcmParams->nSamplingRate = mStreamInfo->sampleRate; in internalGetParameter()
675 if (mStreamInfo->sampleRate && mStreamInfo->numChannels) { in onQueueFilled()
[all …]
DSoftAAC2.h55 CStreamInfo *mStreamInfo; member
/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.h39 return mStreamInfo; in getStreamInfo()
54 return mStreamInfo.max_blocksize; in getMaxBlockSize()
57 return mStreamInfo.sample_rate; in getSampleRate()
60 return mStreamInfo.channels; in getChannels()
63 return mStreamInfo.bits_per_sample; in getBitsPerSample()
66 return mStreamInfo.total_samples; in getTotalSamples()
80 FLAC__StreamMetadata_StreamInfo mStreamInfo; variable
DFLACDecoder.cpp75 mStreamInfo = metadata->data.stream_info; in metadataCallback()
183 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in FLACDecoder()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp264 mStreamInfo(nullptr), in C2SoftAacDec()
289 mStreamInfo->sampleRate = 0; // TODO: mStreamInfo is read only in onStop()
316 mStreamInfo = aacDecoder_GetStreamInfo(mAACDecoder); in initDecoder()
317 if (mStreamInfo != nullptr) { in initDecoder()
337 mDrcWrap.submitStreamData(mStreamInfo); in initDecoder()
471 >= mStreamInfo->frameSize * mStreamInfo->numChannels) { in drainRingBuffer()
474 int samplesize __unused = mStreamInfo->numChannels * sizeof(int16_t); in drainRingBuffer()
478 int numSamples = numFrames * (mStreamInfo->frameSize * mStreamInfo->numChannels); in drainRingBuffer()
672 INT prevSampleRate = mStreamInfo->sampleRate; in process()
673 INT prevNumChannels = mStreamInfo->numChannels; in process()
[all …]
DC2SoftAacDec.h55 CStreamInfo *mStreamInfo; member
/frameworks/av/media/libstagefright/flac/dec/test/
DFlacDecoderTest.cpp62 FLAC__StreamMetadata_StreamInfo mStreamInfo; member in FLACDecoderTest
87 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in processFlacDecoder()
125 mStreamInfo = mFLACDecoder->getStreamInfo(); in processFlacDecoder()
126 if (mStreamInfo.sample_rate && mStreamInfo.max_blocksize && mStreamInfo.channels) { in processFlacDecoder()
131 mStreamInfo.sample_rate, mStreamInfo.channels, in processFlacDecoder()
132 (int32_t)mStreamInfo.total_samples, mStreamInfo.max_blocksize); in processFlacDecoder()
144 ? mStreamInfo.max_blocksize * mStreamInfo.channels * sampleSize in processFlacDecoder()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp126 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in onStop()
159 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in initDecoder()
242 mStreamInfo = mFLACDecoder->getStreamInfo(); in process()
243 if (mStreamInfo.sample_rate && mStreamInfo.max_blocksize && in process()
244 mStreamInfo.channels) { in process()
247 0u, mStreamInfo.sample_rate); in process()
249 0u, mStreamInfo.channels); in process()
267 " %d block size", mStreamInfo.sample_rate, mStreamInfo.channels, in process()
268 (int)mStreamInfo.total_samples, mStreamInfo.max_blocksize); in process()
276 mStreamInfo.max_blocksize * mStreamInfo.channels * sampleSize in process()
DC2SoftFlacDec.h53 FLAC__StreamMetadata_StreamInfo mStreamInfo; member
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp55 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in SoftFlacDecoder()
173 flacParams->nChannels = mStreamInfo.channels; in internalGetParameter()
174 flacParams->nSampleRate = mStreamInfo.sample_rate; in internalGetParameter()
211 pcmParams->nChannels = mStreamInfo.channels; in internalGetParameter()
212 pcmParams->nSamplingRate = mStreamInfo.sample_rate; in internalGetParameter()
376 mStreamInfo = mFLACDecoder->getStreamInfo(); in onQueueFilled()
381 if (mStreamInfo.sample_rate && mStreamInfo.channels) { in onQueueFilled()
383 mStreamInfo.sample_rate, mStreamInfo.channels); in onQueueFilled()
453 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in onReset()
477 mStreamInfo.max_blocksize * mStreamInfo.channels * sizeof(float); in onPortEnableCompleted()
DSoftFlacDecoder.h58 FLAC__StreamMetadata_StreamInfo mStreamInfo; member
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp108 for(size_t i=0 ; i < mp->mStreamInfo.mStreamInfoTable.size() ; i++) { in player_handleMediaPlayerEventNotifications()
109 if (XA_DOMAINTYPE_VIDEO == mp->mStreamInfo.mStreamInfoTable.itemAt(i).domain) { in player_handleMediaPlayerEventNotifications()
110 mp->mStreamInfo.mStreamInfoTable.removeAt(i); in player_handleMediaPlayerEventNotifications()
123 StreamInfo &contInfo = mp->mStreamInfo.mStreamInfoTable.editItemAt(0); in player_handleMediaPlayerEventNotifications()
125 ssize_t index = mp->mStreamInfo.mStreamInfoTable.add(streamInfo); in player_handleMediaPlayerEventNotifications()
128 xaStreamEventChangeCallback callback = mp->mStreamInfo.mCallback; in player_handleMediaPlayerEventNotifications()
129 void* callbackPContext = mp->mStreamInfo.mContext; in player_handleMediaPlayerEventNotifications()
136 (*callback)(&mp->mStreamInfo.mItf, XA_STREAMCBEVENT_PROPERTYCHANGE /*eventId*/, in player_handleMediaPlayerEventNotifications()
142 /*p1*/ &mp->mStreamInfo.mItf, in player_handleMediaPlayerEventNotifications()
149 callback, &mp->mStreamInfo.mItf, callbackPContext); in player_handleMediaPlayerEventNotifications()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp113 return mStreamInfo.max_blocksize; in getMaxBlockSize()
116 return mStreamInfo.sample_rate; in getSampleRate()
119 return mStreamInfo.channels; in getChannels()
122 return mStreamInfo.bits_per_sample; in getBitsPerSample()
125 return mStreamInfo.total_samples; in getTotalSamples()
158 FLAC__StreamMetadata_StreamInfo mStreamInfo; member in android::FLACParser
364 mStreamInfo = metadata->data.stream_info; in metadataCallback()
467 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in FLACParser()
/frameworks/wilhelm/src/
Dclasses.h332 IStreamInformation mStreamInfo; member
Dclasses.cpp418 {MPH_XASTREAMINFORMATION, INTERFACE_EXPLICIT, offsetof(CMediaPlayer, mStreamInfo)},
/frameworks/wilhelm/src/itf/
DIEngine.cpp1211 &thiz->mStreamInfo.mStreamInfoTable.itemAt(0).containerInfo; in IEngine_CreateMediaPlayer()