Searched refs:abuf (Results 1 – 3 of 3) sorted by relevance
31 sp<ABuffer> abuf = new ABuffer(mbuf->range_length()); in toABuffer() local32 memcpy(abuf->data(), (uint8_t*) mbuf->data() + mbuf->range_offset(), mbuf->range_length()); in toABuffer()33 return abuf; in toABuffer()
667 sp<MediaCodecBuffer> abuf; in AMediaCodec_getInputBuffer() local668 if (mData->mCodec->getInputBuffer(idx, &abuf) != 0) { in AMediaCodec_getInputBuffer()673 *out_size = abuf->capacity(); in AMediaCodec_getInputBuffer()675 return abuf->data(); in AMediaCodec_getInputBuffer()702 sp<MediaCodecBuffer> abuf; in AMediaCodec_getOutputBuffer() local703 if (mData->mCodec->getOutputBuffer(idx, &abuf) != 0) { in AMediaCodec_getOutputBuffer()708 *out_size = abuf->capacity(); in AMediaCodec_getOutputBuffer()710 return abuf->data(); in AMediaCodec_getOutputBuffer()
666 sp<ABuffer> abuf = new ABuffer(newSize); in appendVorbisNumPageSamples() local667 uint8_t *adata = static_cast<uint8_t *>(abuf->data()); in appendVorbisNumPageSamples()