Home
last modified time | relevance | path

Searched refs:AMediaFormat_setBuffer (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/media/module/foundation/
DColorUtils_ndk.cpp33 AMediaFormat_setBuffer(format, "hdr-static-info", data, 25); in setHDRStaticInfoIntoAMediaFormat()
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp74 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_AVC, csd->data(), csd->size()); in MakeAVCCodecSpecificData()
251 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, csd->data(), csd->size()); in MakeVP9CodecSpecificData()
363 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, csd, sizeof(csd)); in MakeAACCodecSpecificData()
473 AMediaFormat_setBuffer(fileMeta, AMEDIAFORMAT_KEY_ALBUMART, in extractAlbumArt()
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp673 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_KEY, keyId, keyIdSize); in setWebmBlockCryptoInfo()
675 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_IV, ctrCounter, 16); in setWebmBlockCryptoInfo()
728 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in setWebmBlockCryptoInfo()
730 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, in setWebmBlockCryptoInfo()
751 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in setWebmBlockCryptoInfo()
753 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, in setWebmBlockCryptoInfo()
771 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in setWebmBlockCryptoInfo()
773 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, in setWebmBlockCryptoInfo()
1544 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, priv, privSize); in addESDSFromCodecPrivate()
1610 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, &codecPrivate[offset], len1); in addVorbisCodecInfo()
[all …]
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2PSExtractor.cpp742 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read()
745 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read()
748 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read()
751 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read()
754 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_SEI, bufData, bufSize); in read()
757 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_AUDIO_PRESENTATION_INFO, bufData, bufSize); in read()
DMPEG2TSExtractor.cpp147 AMediaFormat_setBuffer(format, name, buffer->data(), buffer->size()); in copyAMessageToAMediaFormat()
226 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read()
229 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read()
232 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read()
235 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read()
238 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_SEI, bufData, bufSize); in read()
241 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_AUDIO_PRESENTATION_INFO, bufData, bufSize); in read()
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp639 AMediaFormat_setBuffer(track->meta, in getTrackMetaData()
796 AMediaFormat_setBuffer(mFileMetaData, AMEDIAFORMAT_KEY_PSSH, buf, psshsize); in readMetaData()
1123 AMediaFormat_setBuffer(mLastTrack->meta, in parseChunk()
1185 AMediaFormat_setBuffer(track_b->meta, AMEDIAFORMAT_KEY_CSD_2, in parseChunk()
1485 AMediaFormat_setBuffer(mLastTrack->meta, in parseChunk()
1492 AMediaFormat_setBuffer(mLastTrack->meta, AMEDIAFORMAT_KEY_CRYPTO_IV, in parseChunk()
1962 AMediaFormat_setBuffer(mLastTrack->meta, in parseChunk()
1964 AMediaFormat_setBuffer(mLastTrack->meta, in parseChunk()
1966 AMediaFormat_setBuffer(mLastTrack->meta, in parseChunk()
2046 AMediaFormat_setBuffer(mLastTrack->meta, in parseChunk()
[all …]
DItemTable.cpp1667 AMediaFormat_setBuffer(meta, in getImageMeta()
1676 AMediaFormat_setBuffer(meta, in getImageMeta()
1710 AMediaFormat_setBuffer(meta, in getImageMeta()
1717 AMediaFormat_setBuffer(meta, in getImageMeta()
1722 AMediaFormat_setBuffer(meta, in getImageMeta()
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp1146 AMediaFormat_setBuffer(mMeta, AMEDIAFORMAT_KEY_CSD_0, data, size); in verifyOpusHeader()
1150 AMediaFormat_setBuffer(mMeta, AMEDIAFORMAT_KEY_CSD_1, &codecdelay, sizeof(codecdelay)); in verifyOpusHeader()
1152 AMediaFormat_setBuffer(mMeta, AMEDIAFORMAT_KEY_CSD_2, &preroll, sizeof(preroll)); in verifyOpusHeader()
1289 AMediaFormat_setBuffer(mMeta, AMEDIAFORMAT_KEY_CSD_0, data, size); in verifyHeader()
1330 AMediaFormat_setBuffer(mMeta, AMEDIAFORMAT_KEY_CSD_1, data, size); in verifyHeader()
/frameworks/av/media/ndk/fuzzer/
Dndk_mediaformat_fuzzer.cpp247 AMediaFormat_setBuffer(mediaFormat, name, bufferData.data(), bufferData.size()); in LLVMFuzzerTestOneInput()
DNdkMediaCodecFuzzerBase.cpp219 AMediaFormat_setBuffer(format, AMEDIAFORMAT_KEY, buffer.data(), buffer.size()); in formatSetBuffer()
/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h127 void AMediaFormat_setBuffer(AMediaFormat*, const char* name, const void* data, size_t size) __INTRO…
/frameworks/av/media/ndk/tests/
DNdkMediaFormat_test.cpp229 AMediaFormat_setBuffer(fmt1, "mybuffer", &buf, sizeof(buf)); in TEST()
/frameworks/libs/native_bridge_support/android_api/libmediandk/
Dstubs_arm64.cc165 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setBuffer);
475 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setBuffer); in init_stub_library()
Dstubs_riscv64.cc165 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setBuffer);
475 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setBuffer); in init_stub_library()
Dstubs_arm.cc165 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setBuffer);
475 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setBuffer); in init_stub_library()
/frameworks/av/media/ndk/
Dlibmediandk.map.txt291 AMediaFormat_setBuffer;
DNdkMediaFormat.cpp343 void AMediaFormat_setBuffer(AMediaFormat* format, const char* name, const void* data, size_t size) { in AMediaFormat_setBuffer() function
/frameworks/av/media/module/extractors/mp3/
DMP3Extractor.cpp663 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_ALBUMART, data, dataSize); in getMetaData()
/frameworks/av/media/module/extractors/flac/
DFLACExtractor.cpp387 AMediaFormat_setBuffer(mFileMetadata, AMEDIAFORMAT_KEY_ALBUMART, in metadataCallback()