Home
last modified time | relevance | path

Searched refs:mediaFormat (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/ndk/fuzzer/
Dndk_mediaformat_fuzzer.cpp184 AMediaFormat* mediaFormat = AMediaFormat_new(); in LLVMFuzzerTestOneInput() local
204 AMediaFormat_setInt32(mediaFormat, name, in LLVMFuzzerTestOneInput()
209 AMediaFormat_setInt64(mediaFormat, name, in LLVMFuzzerTestOneInput()
214 AMediaFormat_setFloat(mediaFormat, name, in LLVMFuzzerTestOneInput()
219 AMediaFormat_setDouble(mediaFormat, name, in LLVMFuzzerTestOneInput()
224 AMediaFormat_setSize(mediaFormat, name, fdp.ConsumeIntegral<size_t>() /* value */); in LLVMFuzzerTestOneInput()
233 AMediaFormat_setString(mediaFormat, name, in LLVMFuzzerTestOneInput()
238 AMediaFormat_setRect(mediaFormat, name, fdp.ConsumeIntegral<int32_t>() /* left */, in LLVMFuzzerTestOneInput()
247 AMediaFormat_setBuffer(mediaFormat, name, bufferData.data(), bufferData.size()); in LLVMFuzzerTestOneInput()
251 AMediaFormat_toString(mediaFormat); in LLVMFuzzerTestOneInput()
[all …]
Dndk_mediamuxer_fuzzer.cpp99 AMediaFormat* mediaFormat = nullptr; in LLVMFuzzerTestOneInput() local
132 mediaFormat = AMediaFormat_new(); in LLVMFuzzerTestOneInput()
133 fdp.ConsumeBool() ? getSampleAudioFormat(fdp, mediaFormat) in LLVMFuzzerTestOneInput()
134 : getSampleVideoFormat(fdp, mediaFormat); in LLVMFuzzerTestOneInput()
135 trackIdx = AMediaMuxer_addTrack(muxer, mediaFormat); in LLVMFuzzerTestOneInput()
136 AMediaFormat_delete(mediaFormat); in LLVMFuzzerTestOneInput()
Dndk_extractor_fuzzer.cpp115 AMediaFormat* mediaFormat = mFdp.ConsumeBool() ? AMediaFormat_new() : nullptr; in process() local
116 AMediaExtractor_getSampleFormat(mMediaExtractor, mediaFormat); in process()
117 AMediaFormat_delete(mediaFormat); in process()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DTrackDecoder.java69 protected TrackDecoder(int trackIndex, MediaFormat mediaFormat, Listener listener) { in TrackDecoder() argument
72 if (mediaFormat == null) { in TrackDecoder()
75 mMediaFormat = mediaFormat; in TrackDecoder()
DMediaDecoder.java394 MediaFormat mediaFormat = mMediaExtractor.getTrackFormat( in getDuration() local
396 return mediaFormat.getLong(MediaFormat.KEY_DURATION) * 1000; in getDuration()
/frameworks/av/media/module/foundation/tests/colorutils/
DColorUtilsTest.cpp448 AMediaFormat *mediaFormat = AMediaFormat_new(); in TEST() local
449 ASSERT_NE(mediaFormat, nullptr) << "Unable to create AMediaFormat"; in TEST()
450 ColorUtils::setHDRStaticInfoIntoAMediaFormat(infoHDR, mediaFormat); in TEST()
452 status = ColorUtils::getHDRStaticInfoFromFormat(mediaFormat->mFormat, &returnedInfoHDR); in TEST()
453 AMediaFormat_delete(mediaFormat); in TEST()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp867 AMediaFormat *mediaFormat = nullptr; in TEST_P() local
868 status = mExtractor->getTrackMetaData(mediaFormat, 0, in TEST_P()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...