Searched refs:codecBuffer (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 322 CodecBuffer codecBuffer; in addCodecBuffer() local 323 codecBuffer.mHeader = header; in addCodecBuffer() 324 mCodecBuffers.add(codecBuffer); in addCodecBuffer() 346 CodecBuffer& codecBuffer(mCodecBuffers.editItemAt(cbi)); in codecBufferEmptied() local 352 if (codecBuffer.mGraphicBuffer == NULL) { in codecBufferEmptied() 375 if (grallocMeta.pHandle != codecBuffer.mGraphicBuffer->handle) { in codecBufferEmptied() 378 grallocMeta.pHandle, codecBuffer.mGraphicBuffer->handle); in codecBufferEmptied() 384 if (nativeMeta.pBuffer != codecBuffer.mGraphicBuffer->getNativeBuffer()) { in codecBufferEmptied() 387 nativeMeta.pBuffer, codecBuffer.mGraphicBuffer->getNativeBuffer()); in codecBufferEmptied() 396 int id = codecBuffer.mSlot; in codecBufferEmptied() [all …]
|
/frameworks/av/media/libstagefright/ |
D | StagefrightMetadataRetriever.cpp | 255 sp<ABuffer> codecBuffer = NULL; in extractVideoFrame() local 266 codecBuffer = inputBuffers[inputIndex]; in extractVideoFrame() 278 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractVideoFrame() 280 mediaBuffer->range_length(), codecBuffer->capacity()); in extractVideoFrame() 283 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractVideoFrame() 286 memcpy(codecBuffer->data(), in extractVideoFrame() 289 if (isAvcOrHevc && IsIDR(codecBuffer)) { in extractVideoFrame() 302 codecBuffer->size(), ptsUs, flags); in extractVideoFrame() 305 codecBuffer->offset(), in extractVideoFrame() 306 codecBuffer->size(), in extractVideoFrame()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 777 sp<ABuffer> codecBuffer = mInputBuffers[bufferIx]; in onInputBufferFetched() local 803 codecBuffer = buffer; in onInputBufferFetched() 804 codecBuffer->setRange( in onInputBufferFetched() 867 if (buffer != codecBuffer) { in onInputBufferFetched() 868 if (buffer->size() > codecBuffer->capacity()) { in onInputBufferFetched() 873 codecBuffer->setRange(0, buffer->size()); in onInputBufferFetched() 874 memcpy(codecBuffer->data(), buffer->data(), buffer->size()); in onInputBufferFetched() 879 codecBuffer->offset(), in onInputBufferFetched() 880 codecBuffer->size(), in onInputBufferFetched()
|