Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp80 mStreamInfo(NULL), in SoftAAC2()
142 mStreamInfo = aacDecoder_GetStreamInfo(mAACDecoder); in initDecoder()
143 if (mStreamInfo != NULL) { in initDecoder()
165 mDrcWrap.submitStreamData(mStreamInfo); in initDecoder()
304 aacParams->nChannels = mStreamInfo->numChannels; in internalGetParameter()
305 aacParams->nSampleRate = mStreamInfo->sampleRate; in internalGetParameter()
306 aacParams->nFrameLength = mStreamInfo->frameSize; in internalGetParameter()
341 pcmParams->nChannels = mStreamInfo->numChannels; in internalGetParameter()
342 pcmParams->nSamplingRate = mStreamInfo->sampleRate; in internalGetParameter()
716 if (mStreamInfo->sampleRate && mStreamInfo->numChannels) { in onQueueFilled()
[all …]
DSoftAAC2.h55 CStreamInfo *mStreamInfo; member
/frameworks/av/media/module/codecs/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/module/codecs/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/aac/
DC2SoftAacDec.cpp275 mStreamInfo(nullptr), in C2SoftAacDec()
328 mStreamInfo = aacDecoder_GetStreamInfo(mAACDecoder); in initDecoder()
329 if (mStreamInfo != nullptr) { in initDecoder()
349 mDrcWrap.submitStreamData(mStreamInfo); in initDecoder()
483 >= mStreamInfo->frameSize * mStreamInfo->numChannels) { in drainRingBuffer()
486 int samplesize __unused = mStreamInfo->numChannels * sizeof(int16_t); in drainRingBuffer()
490 int numSamples = numFrames * (mStreamInfo->frameSize * mStreamInfo->numChannels); in drainRingBuffer()
684 INT prevSampleRate = mStreamInfo->sampleRate; in process()
685 INT prevNumChannels = mStreamInfo->numChannels; in process()
686 INT prevOutLoudness = mStreamInfo->outputLoudness; in process()
[all …]
DC2SoftAacDec.h55 CStreamInfo *mStreamInfo; member
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp126 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in onStop()
159 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in initDecoder()
247 mStreamInfo = mFLACDecoder->getStreamInfo(); in process()
248 if (mStreamInfo.sample_rate && mStreamInfo.max_blocksize && in process()
249 mStreamInfo.channels) { in process()
252 0u, mStreamInfo.sample_rate); in process()
254 0u, mStreamInfo.channels); in process()
272 " %d block size", mStreamInfo.sample_rate, mStreamInfo.channels, in process()
273 (int)mStreamInfo.total_samples, mStreamInfo.max_blocksize); in process()
281 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/base/core/java/android/hardware/camera2/
DMultiResolutionImageReader.java157 mStreamInfo = new MultiResolutionStreamInfo[numImageReaders]; in MultiResolutionImageReader()
162 mStreamInfo[index] = streamInfo; in MultiResolutionImageReader()
297 return mStreamInfo[i]; in getStreamInfoForImageReader()
307 private final MultiResolutionStreamInfo[] mStreamInfo; field in MultiResolutionImageReader
/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/module/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.h334 IStreamInformation mStreamInfo; member
Dclasses.cpp418 {MPH_XASTREAMINFORMATION, INTERFACE_EXPLICIT, offsetof(CMediaPlayer, mStreamInfo)},
/frameworks/wilhelm/src/itf/
DIEngine.cpp1212 &thiz->mStreamInfo.mStreamInfoTable.itemAt(0).containerInfo; in IEngine_CreateMediaPlayer()