Searched defs:outHeader (Results 1 - 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.cpp353 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
355 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset;
356 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset;
369 outHeader->nFilledLen = res;
370 outHeader->nFlags = OMX_BUFFERFLAG_ENDOFFRAME;
375 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
378 outHeader->nTimeStamp = mInputTimeUs;
382 nOutputBytes, mInputTimeUs, outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp188 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
195 outHeader->nFilledLen = 0;
196 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
200 notifyFillBufferDone(outHeader);
219 reinterpret_cast<int16_t *>(outHeader->pBuffer), inputptr, inHeader->nFilledLen);
221 outHeader->nTimeStamp = inHeader->nTimeStamp;
222 outHeader->nOffset = 0;
223 outHeader->nFilledLen = n * sizeof(int16_t);
224 outHeader->nFlags = 0;
235 notifyFillBufferDone(outHeader);
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp202 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
212 outHeader->nFilledLen =
215 memset(outHeader->pBuffer, 0, outHeader->nFilledLen);
219 outHeader->nFilledLen = 0;
222 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
226 notifyFillBufferDone(outHeader);
245 reinterpret_cast<int16_t *>(outHeader->pBuffer);
267 memset(outHeader->pBuffer,
287 outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp102 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
111 outHeader->nFilledLen = 0;
112 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
116 notifyFillBufferDone(outHeader);
153 outHeader->nOffset = 0;
154 outHeader->nFilledLen = (width * height * 3) / 2;
155 outHeader->nFlags = EOSseen ? OMX_BUFFERFLAG_EOS : 0;
156 outHeader->nTimeStamp = inHeader->nTimeStamp;
159 uint8_t *dst = outHeader->pBuffer;
186 notifyFillBufferDone(outHeader);
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp262 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
264 outHeader->nTimeStamp = header->nTimeStamp;
265 outHeader->nFlags = header->nFlags;
266 outHeader->nFilledLen = mPictureSize;
267 memcpy(outHeader->pBuffer + outHeader->nOffset,
272 notifyFillBufferDone(outHeader);
296 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
298 outHeader->nTimeStamp = 0;
299 outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp179 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
181 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen);
182 memcpy(outHeader->pBuffer,
186 outHeader->nFlags = inHeader->nFlags;
187 outHeader->nOffset = 0;
188 outHeader->nFilledLen = inHeader->nFilledLen;
189 outHeader->nTimeStamp = inHeader->nTimeStamp;
199 notifyFillBufferDone(outHeader);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp397 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
398 outHeader->nFilledLen = sizeof(mAudioSpecificConfigData);
399 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG;
401 uint8_t *out = outHeader->pBuffer + outHeader->nOffset;
411 notifyFillBufferDone(outHeader);
494 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
508 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset;
509 size_t outAvailable = outHeader
[all...]
H A DSoftAACEncoder2.cpp379 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
380 outHeader->nFilledLen = encInfo.confSize;
381 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG;
383 uint8_t *out = outHeader->pBuffer + outHeader->nOffset;
388 notifyFillBufferDone(outHeader);
475 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
477 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset;
478 size_t outAvailable = outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp290 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
297 outHeader->nFilledLen = 0;
298 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
302 notifyFillBufferDone(outHeader);
319 reinterpret_cast<int16_t *>(outHeader->pBuffer),
357 int16_t *outPtr = (int16_t *)outHeader->pBuffer;
392 outHeader->nFlags = 0;
393 outHeader->nOffset = 0;
396 outHeader->nFilledLen = kNumSamplesPerFrameNB * sizeof(int16_t);
398 outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DSoftAMRWBEncoder.cpp400 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
402 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset;
403 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset;
424 outHeader->nFilledLen = outputData.Length;
425 outHeader->nFlags = OMX_BUFFERFLAG_ENDOFFRAME;
430 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
433 outHeader->nTimeStamp = mInputTimeUs;
437 outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/flac/enc/
H A DSoftFlacEncoder.cpp275 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
282 outHeader->nFilledLen = 0;
283 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
287 notifyFillBufferDone(outHeader);
325 notifyFillBufferDone(outHeader);
326 outHeader = NULL;
373 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
378 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp198 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
205 outHeader->nFilledLen = 0;
206 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
210 notifyFillBufferDone(outHeader);
225 reinterpret_cast<int16_t *>(outHeader->pBuffer),
229 reinterpret_cast<int16_t *>(outHeader->pBuffer),
233 outHeader->nTimeStamp = inHeader->nTimeStamp;
234 outHeader->nOffset = 0;
235 outHeader->nFilledLen = inHeader->nFilledLen * sizeof(int16_t);
236 outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp108 OMX_BUFFERHEADERTYPE *outHeader = local
118 outHeader->nFilledLen = 0;
119 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
122 while ((*it)->mHeader != outHeader) {
131 notifyFillBufferDone(outHeader);
132 outHeader = NULL;
191 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader; local
193 PVSetReferenceYUV(mHandle, outHeader->pBuffer);
218 outHeader->pBuffer) != PV_TRUE) {
231 outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp298 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
305 outHeader->nFilledLen = 0;
306 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
310 notifyFillBufferDone(outHeader);
359 mState, (int16_t *)outHeader->pBuffer,
377 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mVi->channels;
378 outHeader->nOffset = 0;
379 outHeader->nFlags = 0;
381 outHeader->nTimeStamp =
396 notifyFillBufferDone(outHeader);
[all...]
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DSoftAAC2.cpp358 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
370 outHeader->pBuffer + outHeader->nOffset);
375 outHeader->nAllocLen,
388 outHeader->nFilledLen =
394 outHeader->nFilledLen = 0;
397 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
401 notifyFillBufferDone(outHeader);
466 outHeader->pBuffer + outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp641 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
643 outHeader->nTimeStamp = 0;
644 outHeader->nFlags = 0;
645 outHeader->nOffset = 0;
646 outHeader->nFilledLen = 0;
647 outHeader->nOffset = 0;
649 uint8_t *outPtr = (uint8_t *) outHeader->pBuffer;
650 int32_t dataLength = outHeader->nAllocLen;
661 outHeader->nFlags |= OMX_BUFFERFLAG_CODECCONFIG;
662 outHeader
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp732 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; local
734 outHeader->nTimeStamp = 0;
735 outHeader->nFlags = 0;
736 outHeader->nOffset = 0;
737 outHeader->nFilledLen = 0;
738 outHeader->nOffset = 0;
740 uint8_t *outPtr = (uint8_t *) outHeader->pBuffer;
741 uint32_t dataLength = outHeader->nAllocLen;
761 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG;
764 notifyFillBufferDone(outHeader);
[all...]

Completed in 114 milliseconds