Home
last modified time | relevance | path

Searched refs:CreateAsCopy (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/drm/mediacas/plugins/clearkey/
Decm.h160 buffer_ = ABuffer::CreateAsCopy(buffer->data(), buffer->size()); in set_buffer()
166 content_key_ = ABuffer::CreateAsCopy(value->data(), value->size()); in set_content_key()
DClearKeyCasPlugin.cpp370 mEcmBuffer = ABuffer::CreateAsCopy(ecm, size); in updateECM()
/frameworks/av/media/codec2/sfplugin/tests/
DReflectedParamUpdater_test.cpp255 msg.emplace("composite.blob", ABuffer::CreateAsCopy("buffer08", 8)); in TEST_F()
256 msg.emplace("composite.flex-blob", ABuffer::CreateAsCopy("flex-buffer-14", 14)); in TEST_F()
295 msg.emplace("composite.blob", ABuffer::CreateAsCopy("buf05", 5)); in TEST_F()
304 msg.emplace("composite.blob", ABuffer::CreateAsCopy("ReallyLongBuffer", 16)); in TEST_F()
313 msg.emplace("composite.flex-blob", ABuffer::CreateAsCopy("buf05", 5)); in TEST_F()
DMediaCodec_sanity_test.cpp214 cfg->setBuffer("hdr-static-info", ABuffer::CreateAsCopy(&info, sizeof(info))); in TEST_F()
273 cfg->setBuffer("hdr-static-info", ABuffer::CreateAsCopy(&info, sizeof(info))); in TEST_F()
/frameworks/av/media/libstagefright/webm/tests/
DWebmFrameThreadUnitTest.cpp127 sp<ABuffer> csdBuffer0 = ABuffer::CreateAsCopy((void *)csdBuffer, kCsdSize); in writeAudioHeaderData()
131 sp<ABuffer> csdBuffer1 = ABuffer::CreateAsCopy((void *)csdBuffer, kCsdSize); in writeAudioHeaderData()
135 sp<ABuffer> csdBuffer2 = ABuffer::CreateAsCopy((void *)csdBuffer, kCsdSize); in writeAudioHeaderData()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DABuffer.h44 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity);
/frameworks/av/media/libstagefright/foundation/
DABuffer.cpp49 sp<ABuffer> ABuffer::CreateAsCopy(const void *data, size_t capacity) in CreateAsCopy() function in android::ABuffer
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp460 sp<ABuffer> sei = ABuffer::CreateAsCopy(seiData, seiLength);; in AMediaExtractor_getSampleFormat()
468 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in AMediaExtractor_getSampleFormat()
477 sp<ABuffer> audioPresentationsData = ABuffer::CreateAsCopy( in AMediaExtractor_getSampleFormat()
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp98 sp<ABuffer> csdBuffer = ABuffer::CreateAsCopy((void *)data, size); in writeHeaderBuffers()
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp506 sp<ABuffer> buf = ABuffer::CreateAsCopy(param, param->size()); in getParams()
544 sp<ABuffer> buf = ABuffer::CreateAsCopy(data, length); in getParams()
DCCodecConfig.cpp1277 msg->setBuffer(KEY_HDR_STATIC_INFO, ABuffer::CreateAsCopy(&meta, sizeof(meta))); in getSdkFormatForDomain()
1406 ABuffer::CreateAsCopy(layering.get(), layering->size())); in getReflectedFormat()
DCCodecBuffers.cpp947 mFormat, ABuffer::CreateAsCopy(csd->m.value, csd->flexCount())); in registerCsd()
DCCodecBufferChannel.cpp1231 configs->push_back(ABuffer::CreateAsCopy(view.data(), view.capacity())); in flush()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp702 *(--mHdr10PlusInputs.end()) = ABuffer::CreateAsCopy( in internalSetConfig()
712 mHdr10PlusInputs.push_back(ABuffer::CreateAsCopy( in internalSetConfig()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1279 sp<ABuffer> sei = ABuffer::CreateAsCopy(seiData, seiLength);; in mediaBufferToABuffer()
1287 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in mediaBufferToABuffer()
1716 sp<ABuffer> drmInfoBuffer = ABuffer::CreateAsCopy(parcel.data(), parcel.dataSize()); in checkDrmInfo()
/frameworks/av/media/libstagefright/
DHevcUtils.cpp91 sp<ABuffer> buffer = ABuffer::CreateAsCopy(data, size); in addNalUnit()
DUtils.cpp801 sp<ABuffer> buf = ABuffer::CreateAsCopy(data, size); in convertMetaDataToMessageFromMappings()
811 sp<ABuffer> buf = ABuffer::CreateAsCopy(data, size); in convertMetaDataToMessageFromMappings()
DACodec.cpp3755 "android._color-aspects", ABuffer::CreateAsCopy(&aspects, sizeof(aspects))); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
5027 ABuffer::CreateAsCopy( in getPortFormat()
5517 ABuffer::CreateAsCopy(config->nValue, config->nParamSizeUsed)); in onConfigUpdate()
DMPEG4Writer.cpp2075 .hvcc = ABuffer::CreateAsCopy(mCodecSpecificData, mCodecSpecificDataSize) in addItemOffsetAndSize()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp431 sp<ABuffer> keyDataBuffer = ABuffer::CreateAsCopy(mKeyData, sizeof(mKeyData)); in decryptBuffer()
432 sp<ABuffer> initVecBuffer = ABuffer::CreateAsCopy(mAESInitVec, sizeof(mAESInitVec)); in decryptBuffer()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp851 sp<ABuffer> scrambledAccessUnit = ABuffer::CreateAsCopy( in dequeueScrambledAccessUnit()
DATSParser.cpp1717 sp<ABuffer> ap = ABuffer::CreateAsCopy(outStream.str().data(), outStream.str().size()); in addAudioPresentations()