Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp163 CodecBuffer codecBuffer; in useBuffer() local
164 if (!wrapAs(&codecBuffer, omxBuffer)) { in useBuffer()
170 codecBuffer, in useBuffer()
185 CodecBuffer codecBuffer; in fillBuffer() local
186 if (!wrapAs(&codecBuffer, omxBuffer)) { in fillBuffer()
194 buffer, codecBuffer, fenceNh)); in fillBuffer()
203 CodecBuffer codecBuffer; in emptyBuffer() local
204 if (!wrapAs(&codecBuffer, omxBuffer)) { in emptyBuffer()
213 codecBuffer, in emptyBuffer()
360 uint32_t portIndex, const CodecBuffer& codecBuffer, in useBuffer() argument
[all …]
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxNode.cpp166 CodecBuffer codecBuffer; in useBuffer() local
167 if (!wrapAs(&codecBuffer, omxBuffer)) { in useBuffer()
173 codecBuffer, in useBuffer()
188 CodecBuffer codecBuffer; in fillBuffer() local
189 if (!wrapAs(&codecBuffer, omxBuffer)) { in fillBuffer()
197 buffer, codecBuffer, fenceNh)); in fillBuffer()
206 CodecBuffer codecBuffer; in emptyBuffer() local
207 if (!wrapAs(&codecBuffer, omxBuffer)) { in emptyBuffer()
216 codecBuffer, in emptyBuffer()
363 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/
DFrameDecoder.cpp292 sp<MediaCodecBuffer> codecBuffer; in extractInternal() local
293 err = mDecoder->getInputBuffer(index, &codecBuffer); in extractInternal()
315 if (mediaBuffer->range_length() > codecBuffer->capacity()) { in extractInternal()
317 mediaBuffer->range_length(), codecBuffer->capacity()); in extractInternal()
321 codecBuffer->setRange(0, mediaBuffer->range_length()); in extractInternal()
324 memcpy(codecBuffer->data(), in extractInternal()
328 onInputReceived(codecBuffer, mediaBuffer->meta_data(), mFirstSample, &flags); in extractInternal()
336 codecBuffer->size(), ptsUs, flags); in extractInternal()
340 codecBuffer->offset(), in extractInternal()
341 codecBuffer->size(), in extractInternal()
[all …]
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h69 const sp<MediaCodecBuffer> &codecBuffer,
125 const sp<MediaCodecBuffer> &codecBuffer,
160 const sp<MediaCodecBuffer> &codecBuffer __unused, in onInputReceived()
/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/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp1016 sp<MediaCodecBuffer> codecBuffer = mInputBuffers[bufferIx]; in onInputBufferFetched() local
1079 if (buffer->size() > codecBuffer->capacity()) { in onInputBufferFetched()
1086 codecBuffer->setRange(0, buffer->size()); in onInputBufferFetched()
1087 memcpy(codecBuffer->data(), buffer->data(), buffer->size()); in onInputBufferFetched()
1096 if (mediaBuf->size() > codecBuffer->capacity()) { in onInputBufferFetched()
1102 codecBuffer->setRange(0, mediaBuf->size()); in onInputBufferFetched()
1103 memcpy(codecBuffer->data(), mediaBuf->data(), mediaBuf->size()); in onInputBufferFetched()
1125 codecBuffer->offset(), in onInputBufferFetched()
1133 codecBuffer->offset(), in onInputBufferFetched()
1134 codecBuffer->size(), in onInputBufferFetched()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp998 sp<MediaCodecBuffer> codecBuffer = mInputBuffers[bufferIx]; in onInputBufferFetched() local
1061 if (buffer->size() > codecBuffer->capacity()) { in onInputBufferFetched()
1068 codecBuffer->setRange(0, buffer->size()); in onInputBufferFetched()
1069 memcpy(codecBuffer->data(), buffer->data(), buffer->size()); in onInputBufferFetched()
1078 if (mediaBuf->size() > codecBuffer->capacity()) { in onInputBufferFetched()
1084 codecBuffer->setRange(0, mediaBuf->size()); in onInputBufferFetched()
1085 memcpy(codecBuffer->data(), mediaBuf->data(), mediaBuf->size()); in onInputBufferFetched()
1103 codecBuffer->offset(), in onInputBufferFetched()
1118 codecBuffer->offset(), in onInputBufferFetched()
1119 codecBuffer->size(), in onInputBufferFetched()
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h68 OMXBuffer(const sp<MediaCodecBuffer> &codecBuffer);
/frameworks/av/include/media/
DOMXBuffer.h68 OMXBuffer(const sp<MediaCodecBuffer> &codecBuffer);
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp1341 status_t HeicCompositeStream::copyOneYuvTile(sp<MediaCodecBuffer>& codecBuffer, in copyOneYuvTile() argument
1348 if (!codecBuffer->meta()->findBuffer("image-data", &imageData)) { in copyOneYuvTile()
1381 uint8_t *dst = codecBuffer->data() + imageInfo->mPlane[MediaImage2::Y].mOffset + in copyOneYuvTile()
1414 uint8_t *dst = codecBuffer->data() + imageInfo->mPlane[dstPlane].mOffset + in copyOneYuvTile()
1421 uint8_t *dst = codecBuffer->data() + imageInfo->mPlane[MediaImage2::U].mOffset + in copyOneYuvTile()
1428 uint8_t *dst = codecBuffer->data() + imageInfo->mPlane[MediaImage2::V].mOffset + in copyOneYuvTile()
1435 uint8_t *dst = codecBuffer->data(); in copyOneYuvTile()
DHeicCompositeStream.h195 status_t copyOneYuvTile(sp<MediaCodecBuffer>& codecBuffer,