Home
last modified time | relevance | path

Searched refs:abuf (Results 1 – 3 of 3) 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.cpp501 sp<MediaCodecBuffer> abuf; in AMediaCodec_getInputBuffer() local
502 if (mData->mCodec->getInputBuffer(idx, &abuf) != 0) { in AMediaCodec_getInputBuffer()
507 *out_size = abuf->capacity(); in AMediaCodec_getInputBuffer()
509 return abuf->data(); in AMediaCodec_getInputBuffer()
536 sp<MediaCodecBuffer> abuf; in AMediaCodec_getOutputBuffer() local
537 if (mData->mCodec->getOutputBuffer(idx, &abuf) != 0) { in AMediaCodec_getOutputBuffer()
542 *out_size = abuf->capacity(); in AMediaCodec_getOutputBuffer()
544 return abuf->data(); in AMediaCodec_getOutputBuffer()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp614 sp<ABuffer> abuf = new ABuffer(newSize); in appendVorbisNumPageSamples() local
615 uint8_t *adata = static_cast<uint8_t *>(abuf->data()); in appendVorbisNumPageSamples()