Searched defs:inHeader (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp183 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
188 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
191 notifyEmptyBufferDone(inHeader);
202 if (inHeader->nOffset == 0) {
203 mAnchorTimeUs = inHeader->nTimeStamp;
208 inHeader->pBuffer + inHeader->nOffset;
210 mConfig->inputBufferCurrentLength = inHeader->nFilledLen;
243 mConfig->inputBufferUsedLength = inHeader->nFilledLen;
263 CHECK_GE(inHeader
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A DSoftAAC.cpp266 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
271 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
274 notifyEmptyBufferDone(inHeader);
285 if (inHeader->nOffset == 0) {
286 mAnchorTimeUs = inHeader->nTimeStamp;
290 mConfig->pInputBuffer = inHeader->pBuffer + inHeader->nOffset;
291 mConfig->inputBufferCurrentLength = inHeader->nFilledLen;
365 CHECK_LE(mConfig->inputBufferUsedLength, inHeader->nFilledLen);
367 inHeader
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp271 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
276 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
279 notifyEmptyBufferDone(inHeader);
290 if (inHeader->nOffset == 0) {
291 mAnchorTimeUs = inHeader->nTimeStamp;
295 const uint8_t *inputPtr = inHeader->pBuffer + inHeader->nOffset;
317 if (static_cast<size_t>(numBytesRead) > inHeader->nFilledLen) {
328 CHECK_GE(inHeader->nFilledLen, frameSize);
356 inHeader
[all...]
/frameworks/base/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp193 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
198 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
201 notifyEmptyBufferDone(inHeader);
212 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) {
213 LOGE("input buffer too large (%ld).", inHeader->nFilledLen);
219 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset;
224 inputptr, inHeader->nFilledLen);
228 inputptr, inHeader->nFilledLen);
231 outHeader->nTimeStamp = inHeader
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp322 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
329 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
332 notifyEmptyBufferDone(inHeader);
354 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset;
362 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) {
364 vol_size = inHeader->nFilledLen;
390 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) {
394 notifyEmptyBufferDone(inHeader);
395 inHeader
[all...]
/frameworks/base/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp232 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
237 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
240 notifyEmptyBufferDone(inHeader);
253 inHeader->pBuffer + inHeader->nOffset,
254 inHeader->nFilledLen,
286 outHeader->nTimeStamp = inHeader->nTimeStamp;
323 notifyEmptyBufferDone(inHeader);
324 inHeader = NULL;
/frameworks/base/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp312 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
314 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
317 notifyEmptyBufferDone(inHeader);
324 header->nTimeStamp = inHeader->nTimeStamp;
325 header->nFlags = inHeader->nFlags;
332 inPicture.dataLen = inHeader->nFilledLen;
333 inPicture.pStream = inHeader->pBuffer + inHeader->nOffset;
385 notifyEmptyBufferDone(inHeader);
/frameworks/base/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp295 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; local
300 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) {
303 notifyEmptyBufferDone(inHeader);
315 CHECK_GE(inHeader->nFilledLen, sizeof(numPageSamples));
317 inHeader->pBuffer
318 + inHeader->nOffset + inHeader->nFilledLen - 4,
325 if (inHeader->nOffset == 0) {
326 mAnchorTimeUs = inHeader->nTimeStamp;
330 inHeader
[all...]

Completed in 9 milliseconds