Searched refs:abuf (Results 1 – 4 of 4) 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()
495 sp<MediaCodecBuffer> abuf; in AMediaCodec_getInputBuffer() local496 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() local531 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()
1265 sp<ABuffer> abuf = new ABuffer(sampleSize); in readBuffer() local1266 sampleSize = extractor->readSampleData(abuf); in readBuffer()1280 sp<AMessage> meta = abuf->meta(); in readBuffer()1308 track->mPackets->queueAccessUnit(abuf); in readBuffer()
613 sp<ABuffer> abuf = new ABuffer(newSize); in appendVorbisNumPageSamples() local614 uint8_t *adata = static_cast<uint8_t *>(abuf->data()); in appendVorbisNumPageSamples()