Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libstagefright/codecs/aacdec/
H A DSoftAAC2.cpp80 mStreamInfo(NULL), in SoftAAC2()
716 if (mStreamInfo->sampleRate && mStreamInfo->numChannels) { in onQueueFilled()
827 (mStreamInfo->frameSize * mStreamInfo->numChannels)) { in onQueueFilled()
858 mStreamInfo->frameSize * sizeof(int16_t) * mStreamInfo->numChannels; in onQueueFilled()
862 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in onQueueFilled()
873 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in onQueueFilled()
917 if (!mStreamInfo->sampleRate || !mStreamInfo->numChannels) { in onQueueFilled()
958 int32_t outputDelay = mStreamInfo->outputDelay * mStreamInfo->numChannels; in onQueueFilled()
1001 >= mStreamInfo->frameSize * mStreamInfo->numChannels) { in onQueueFilled()
1154 if (avail > mStreamInfo->frameSize * mStreamInfo->numChannels) { in onPortFlushCompleted()
[all …]
H A DSoftAAC2.h55 CStreamInfo *mStreamInfo; member
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCameraStream.cpp80 if (stream->mStreamInfo != NULL in get_bufs()
356 mStreamInfo(NULL), in QCameraStream()
543 mStreamInfo = NULL; in releaseStreamInfoBuf()
1282 if ((mStreamInfo != NULL) in bufDone()
2346 if (mStreamInfo != NULL && (mStreamInfo->stream_type == type)) { in isTypeOf()
2366 if (mStreamInfo != NULL && in isOrignalTypeOf()
2372 mStreamInfo != NULL && in isOrignalTypeOf()
2393 if (mStreamInfo != NULL) { in getMyType()
2411 if (mStreamInfo != NULL) { in getMyOriginalType()
2440 if (NULL == mStreamInfo) { in getFrameOffset()
[all …]
H A DQCameraStream.h167 cam_stream_info_t *mStreamInfo; // ptr to stream info buf variable
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL3/
H A DQCamera3Stream.cpp287 mStreamInfo(NULL), in QCamera3Stream()
411 mStreamInfo = in init()
433 mStreamInfo->stream_type, mStreamInfo->pp_config.feature_mask); in init()
492 mStreamInfo->fmt); in init()
517 mStreamInfo = NULL; in init()
1181 if (mStreamInfo != NULL) { in getFrameDimension()
1182 dim = mStreamInfo->dim; in getFrameDimension()
1202 if (mStreamInfo != NULL) { in getFormat()
1203 fmt = mStreamInfo->fmt; in getFormat()
1219 if (mStreamInfo != NULL) { in getMyServerID()
[all …]
H A DQCamera3Stream.h98 cam_stream_info_t* getStreamInfo() const {return mStreamInfo; }; in getStreamInfo()
102 void setBufStride(uint32_t stride) {mStreamInfo->buf_stride = stride;} in setBufStride()
109 cam_stream_info_t *mStreamInfo; // ptr to stream info buf variable
H A DQCamera3HWI.cpp721 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
741 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
3530 it != mStreamInfo.end(); it++) { in deriveMinFrameDuration()
9071 it != mStreamInfo.end();) { in cleanAndSortStreamInfo()
9076 it = mStreamInfo.erase(it); in cleanAndSortStreamInfo()
9084 it != mStreamInfo.end();) { in cleanAndSortStreamInfo()
9089 it = mStreamInfo.erase(it); in cleanAndSortStreamInfo()
9095 it != mStreamInfo.end();) { in cleanAndSortStreamInfo()
9097 it = mStreamInfo.erase(it); in cleanAndSortStreamInfo()
9100 mStreamInfo = newStreamInfo; in cleanAndSortStreamInfo()
[all …]
H A DQCamera3HWI.h685 List<stream_info_t*> mStreamInfo; variable
/aosp12/frameworks/av/media/codec2/components/aac/
H A DC2SoftAacDec.cpp268 mStreamInfo(nullptr), in C2SoftAacDec()
475 >= mStreamInfo->frameSize * mStreamInfo->numChannels) { in drainRingBuffer()
738 (mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
770 mStreamInfo->frameSize * sizeof(int16_t) * mStreamInfo->numChannels; in process()
774 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
785 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
818 if (!mStreamInfo->sampleRate || !mStreamInfo->numChannels) { in process()
920 int32_t outputDelay = mStreamInfo->outputDelay * mStreamInfo->numChannels; in process()
922 size_t numSamplesInOutput = mStreamInfo->frameSize * mStreamInfo->numChannels; in process()
1016 if (avail > mStreamInfo->frameSize * mStreamInfo->numChannels) { in onFlush_sm()
[all …]
H A DC2SoftAacDec.h55 CStreamInfo *mStreamInfo; member
/aosp12/frameworks/av/media/libstagefright/flac/dec/
H A 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
H A DFLACDecoder.cpp75 mStreamInfo = metadata->data.stream_info; in metadataCallback()
183 memset(&mStreamInfo, 0, sizeof(mStreamInfo)); in FLACDecoder()
/aosp12/frameworks/av/media/libstagefright/flac/dec/test/
H A 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()
/aosp12/frameworks/av/media/codec2/components/flac/
H A 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()
H A DC2SoftFlacDec.h53 FLAC__StreamMetadata_StreamInfo mStreamInfo; member
/aosp12/frameworks/av/media/libstagefright/codecs/flac/dec/
H A 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()
H A DSoftFlacDecoder.h58 FLAC__StreamMetadata_StreamInfo mStreamInfo; member
/aosp12/frameworks/base/core/java/android/hardware/camera2/
H A 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
/aosp12/frameworks/wilhelm/src/android/
H A 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()
/aosp12/frameworks/av/media/extractors/flac/
H A 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()
/aosp12/frameworks/wilhelm/src/
H A Dclasses.h332 IStreamInformation mStreamInfo; member
H A Dclasses.cpp418 {MPH_XASTREAMINFORMATION, INTERFACE_EXPLICIT, offsetof(CMediaPlayer, mStreamInfo)},
/aosp12/frameworks/wilhelm/src/itf/
H A DIEngine.cpp1211 &thiz->mStreamInfo.mStreamInfoTable.itemAt(0).containerInfo; in IEngine_CreateMediaPlayer()