Home
last modified time | relevance | path

Searched refs:CreateAsCopy (Results 1 – 24 of 24) 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/module/foundation/include/media/stagefright/foundation/
DABuffer.h44 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity);
/frameworks/av/media/module/foundation/
DABuffer.cpp49 sp<ABuffer> ABuffer::CreateAsCopy(const void *data, size_t capacity) in CreateAsCopy() function in android::ABuffer
/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/ndk/
DNdkMediaExtractor.cpp474 sp<ABuffer> sei = ABuffer::CreateAsCopy(seiData, seiLength);; in AMediaExtractor_getSampleFormat()
482 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in AMediaExtractor_getSampleFormat()
491 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/libstagefright/
DCryptoAsync.cpp43 mKeyBuffer = ABuffer::CreateAsCopy((void*)info->mKey, key_len); in CryptoAsyncInfo()
47 mIvBuffer = ABuffer::CreateAsCopy((void*)info->mIv, iv_len); in CryptoAsyncInfo()
DHevcUtils.cpp95 sp<ABuffer> buffer = ABuffer::CreateAsCopy(data, size); in addNalUnit()
DUtils.cpp912 sp<ABuffer> buf = ABuffer::CreateAsCopy(data, size); in convertMetaDataToMessageFromMappings()
922 sp<ABuffer> buf = ABuffer::CreateAsCopy(data, size); in convertMetaDataToMessageFromMappings()
DACodec.cpp3990 "android._color-aspects", ABuffer::CreateAsCopy(&aspects, sizeof(aspects))); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
5284 ABuffer::CreateAsCopy( in getPortFormat()
5803 ABuffer::CreateAsCopy(config->nValue, config->nParamSizeUsed)); in onConfigUpdate()
DMediaCodec.cpp6288 shared_key = ABuffer::CreateAsCopy((void*)key, key_len); in onQueueInputBuffer()
6291 shared_iv = ABuffer::CreateAsCopy((void*)iv, iv_len); in onQueueInputBuffer()
DMPEG4Writer.cpp2524 .data = ABuffer::CreateAsCopy(mCodecSpecificData, mCodecSpecificDataSize) in addItemOffsetAndSize()
/frameworks/av/media/codec2/sfplugin/tests/
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/omx/
DSoftVideoDecoderOMXComponent.cpp717 *(--mHdr10PlusInputs.end()) = ABuffer::CreateAsCopy( in internalSetConfig()
727 mHdr10PlusInputs.push_back(ABuffer::CreateAsCopy( in internalSetConfig()
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp522 sp<ABuffer> buf = ABuffer::CreateAsCopy(param, param->size()); in getParams()
560 sp<ABuffer> buf = ABuffer::CreateAsCopy(data, length); in getParams()
DCCodecConfig.cpp1642 msg->setBuffer(KEY_HDR_STATIC_INFO, ABuffer::CreateAsCopy(&meta, sizeof(meta))); in getFormatForDomain()
1820 ABuffer::CreateAsCopy(layering.get(), layering->size())); in getReflectedFormat()
1915 ABuffer::CreateAsCopy(regions.get(), regions->size())); in getReflectedFormat()
DCCodecBuffers.cpp1484 mFormat, ABuffer::CreateAsCopy(csd->m.value, csd->flexCount())); in registerCsd()
/frameworks/av/media/libstagefright/writer_fuzzers/
DWriterFuzzerBase.cpp146 ABuffer::CreateAsCopy((void *)bufferInfo[csdId].buf, bufferInfo[csdId].size); in writeHeaderBuffers()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1272 sp<ABuffer> sei = ABuffer::CreateAsCopy(seiData, seiLength);; in mediaBufferToABuffer()
1280 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in mediaBufferToABuffer()
1709 sp<ABuffer> drmInfoBuffer = ABuffer::CreateAsCopy(parcel.data(), parcel.dataSize()); in checkDrmInfo()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp432 sp<ABuffer> keyDataBuffer = ABuffer::CreateAsCopy(mKeyData, sizeof(mKeyData)); in decryptBuffer()
433 sp<ABuffer> initVecBuffer = ABuffer::CreateAsCopy(mAESInitVec, sizeof(mAESInitVec)); in decryptBuffer()
/frameworks/av/media/module/mpeg2ts/
DESQueue.cpp1345 sp<ABuffer> scrambledAccessUnit = ABuffer::CreateAsCopy( in dequeueScrambledAccessUnit()
DATSParser.cpp1831 sp<ABuffer> ap = ABuffer::CreateAsCopy(outStream.str().data(), outStream.str().size()); in addAudioPresentations()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2312 mKeyBuffer = ABuffer::CreateAsCopy(cryptoInfo.mKey, 16); in MediaCodecCryptoInfo()
2316 mIvBuffer = ABuffer::CreateAsCopy(cryptoInfo.mIv, 16); in MediaCodecCryptoInfo()