Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/omx/1.0/
DWOmxNode.cpp165 CodecBuffer codecBuffer; in useBuffer() local
166 if (!wrapAs(&codecBuffer, omxBuffer)) { in useBuffer()
172 codecBuffer, in useBuffer()
187 CodecBuffer codecBuffer; in fillBuffer() local
188 if (!wrapAs(&codecBuffer, omxBuffer)) { in fillBuffer()
196 buffer, codecBuffer, fenceNh)); in fillBuffer()
205 CodecBuffer codecBuffer; in emptyBuffer() local
206 if (!wrapAs(&codecBuffer, omxBuffer)) { in emptyBuffer()
215 codecBuffer, in emptyBuffer()
362 uint32_t portIndex, const CodecBuffer& codecBuffer, in useBuffer() argument
[all …]
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp162 CodecBuffer codecBuffer; in useBuffer() local
163 if (!wrapAs(&codecBuffer, omxBuffer)) { in useBuffer()
169 codecBuffer, in useBuffer()
184 CodecBuffer codecBuffer; in fillBuffer() local
185 if (!wrapAs(&codecBuffer, omxBuffer)) { in fillBuffer()
193 buffer, codecBuffer, fenceNh)); in fillBuffer()
202 CodecBuffer codecBuffer; in emptyBuffer() local
203 if (!wrapAs(&codecBuffer, omxBuffer)) { in emptyBuffer()
212 codecBuffer, in emptyBuffer()
359 uint32_t portIndex, const CodecBuffer& codecBuffer, in useBuffer() argument
[all …]
/frameworks/av/media/libmedia/
DOMXBuffer.cpp37 OMXBuffer::OMXBuffer(const sp<MediaCodecBuffer>& codecBuffer) in OMXBuffer() argument
39 mRangeOffset(codecBuffer != NULL ? codecBuffer->offset() : 0), in OMXBuffer()
40 mRangeLength(codecBuffer != NULL ? codecBuffer->size() : 0) { in OMXBuffer()
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp404 sp<MediaCodecBuffer> codecBuffer = NULL; in extractVideoFrame() local
415 codecBuffer = inputBuffers[inputIndex]; in extractVideoFrame()
435 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractVideoFrame()
437 mediaBuffer->range_length(), codecBuffer->capacity()); in extractVideoFrame()
441 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractVideoFrame()
444 memcpy(codecBuffer->data(), in extractVideoFrame()
454 if (isAvcOrHevc && IsIDR(codecBuffer) && decodeSingleFrame) { in extractVideoFrame()
462 codecBuffer->size(), ptsUs, flags); in extractVideoFrame()
465 codecBuffer->offset(), in extractVideoFrame()
466 codecBuffer->size(), in extractVideoFrame()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxNode.h139 uint32_t portIndex, CodecBuffer const& codecBuffer,
143 uint32_t buffer, CodecBuffer const& codecBuffer,
146 uint32_t buffer, CodecBuffer const& codecBuffer,
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWOmxNode.h140 uint32_t portIndex, CodecBuffer const& codecBuffer,
144 uint32_t buffer, CodecBuffer const& codecBuffer,
147 uint32_t buffer, CodecBuffer const& codecBuffer,
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp981 sp<MediaCodecBuffer> codecBuffer = mInputBuffers[bufferIx]; in onInputBufferFetched() local
1044 if (buffer->size() > codecBuffer->capacity()) { in onInputBufferFetched()
1051 codecBuffer->setRange(0, buffer->size()); in onInputBufferFetched()
1052 memcpy(codecBuffer->data(), buffer->data(), buffer->size()); in onInputBufferFetched()
1057 codecBuffer->setRange(0, mediaBuf->size()); in onInputBufferFetched()
1058 memcpy(codecBuffer->data(), mediaBuf->data(), mediaBuf->size()); in onInputBufferFetched()
1079 codecBuffer->offset(), in onInputBufferFetched()
1094 codecBuffer->offset(), in onInputBufferFetched()
1095 codecBuffer->size(), in onInputBufferFetched()
/frameworks/av/include/media/
DOMXBuffer.h68 OMXBuffer(const sp<MediaCodecBuffer> &codecBuffer);
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h68 OMXBuffer(const sp<MediaCodecBuffer> &codecBuffer);