Home
last modified time | relevance | path

Searched refs:codecBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp311 CodecBuffer codecBuffer; in addCodecBuffer() local
312 codecBuffer.mHeader = header; in addCodecBuffer()
313 mCodecBuffers.add(codecBuffer); in addCodecBuffer()
335 CodecBuffer& codecBuffer(mCodecBuffers.editItemAt(cbi)); in codecBufferEmptied() local
341 if (codecBuffer.mGraphicBuffer == NULL) { in codecBufferEmptied()
364 if (grallocMeta.pHandle != codecBuffer.mGraphicBuffer->handle) { in codecBufferEmptied()
367 grallocMeta.pHandle, codecBuffer.mGraphicBuffer->handle); in codecBufferEmptied()
373 if (nativeMeta.pBuffer != codecBuffer.mGraphicBuffer->getNativeBuffer()) { in codecBufferEmptied()
376 nativeMeta.pBuffer, codecBuffer.mGraphicBuffer->getNativeBuffer()); in codecBufferEmptied()
385 int id = codecBuffer.mBuf; in codecBufferEmptied()
[all …]
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp237 sp<ABuffer> codecBuffer = NULL; in extractVideoFrame() local
248 codecBuffer = inputBuffers[inputIndex]; in extractVideoFrame()
260 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractVideoFrame()
262 mediaBuffer->range_length(), codecBuffer->capacity()); in extractVideoFrame()
265 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractVideoFrame()
268 memcpy(codecBuffer->data(), in extractVideoFrame()
279 codecBuffer->size(), ptsUs, flags); in extractVideoFrame()
282 codecBuffer->offset(), in extractVideoFrame()
283 codecBuffer->size(), in extractVideoFrame()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp772 sp<ABuffer> codecBuffer = mInputBuffers[bufferIx]; in onInputBufferFetched() local
798 codecBuffer = buffer; in onInputBufferFetched()
799 codecBuffer->setRange( in onInputBufferFetched()
862 if (buffer != codecBuffer) { in onInputBufferFetched()
863 CHECK_LE(buffer->size(), codecBuffer->capacity()); in onInputBufferFetched()
864 codecBuffer->setRange(0, buffer->size()); in onInputBufferFetched()
865 memcpy(codecBuffer->data(), buffer->data(), buffer->size()); in onInputBufferFetched()
870 codecBuffer->offset(), in onInputBufferFetched()
871 codecBuffer->size(), in onInputBufferFetched()