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()
501 sp<MediaCodecBuffer> abuf; in AMediaCodec_getInputBuffer() local502 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() local537 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()
614 sp<ABuffer> abuf = new ABuffer(newSize); in appendVorbisNumPageSamples() local615 uint8_t *adata = static_cast<uint8_t *>(abuf->data()); in appendVorbisNumPageSamples()