Home
last modified time | relevance | path

Searched refs:abuf (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/webm/
DWebmFrame.cpp31 sp<ABuffer> abuf = new ABuffer(mbuf->range_length()); in toABuffer() local
32 memcpy(abuf->data(), (uint8_t*) mbuf->data() + mbuf->range_offset(), mbuf->range_length()); in toABuffer()
33 return abuf; in toABuffer()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp495 sp<MediaCodecBuffer> abuf; in AMediaCodec_getInputBuffer() local
496 if (mData->mCodec->getInputBuffer(idx, &abuf) != 0) { in AMediaCodec_getInputBuffer()
501 *out_size = abuf->capacity(); in AMediaCodec_getInputBuffer()
503 return abuf->data(); in AMediaCodec_getInputBuffer()
530 sp<MediaCodecBuffer> abuf; in AMediaCodec_getOutputBuffer() local
531 if (mData->mCodec->getOutputBuffer(idx, &abuf) != 0) { in AMediaCodec_getOutputBuffer()
536 *out_size = abuf->capacity(); in AMediaCodec_getOutputBuffer()
538 return abuf->data(); in AMediaCodec_getOutputBuffer()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DGenericSource2.cpp1265 sp<ABuffer> abuf = new ABuffer(sampleSize); in readBuffer() local
1266 sampleSize = extractor->readSampleData(abuf); in readBuffer()
1280 sp<AMessage> meta = abuf->meta(); in readBuffer()
1308 track->mPackets->queueAccessUnit(abuf); in readBuffer()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp613 sp<ABuffer> abuf = new ABuffer(newSize); in appendVorbisNumPageSamples() local
614 uint8_t *adata = static_cast<uint8_t *>(abuf->data()); in appendVorbisNumPageSamples()