Home
last modified time | relevance | path

Searched refs:AMediaFormat_delete (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/av/media/ndk/tests/
DNdkMediaFormat_test.cpp40 AMediaFormat_delete(fmt1); in TEST()
41 AMediaFormat_delete(fmt2); in TEST()
61 AMediaFormat_delete(fmt1); in TEST()
84 AMediaFormat_delete(fmt1); in TEST()
104 AMediaFormat_delete(fmt1); in TEST()
122 AMediaFormat_delete(fmt1); in TEST()
140 AMediaFormat_delete(fmt1); in TEST()
161 AMediaFormat_delete(fmt1); in TEST()
180 AMediaFormat_delete(fmt1); in TEST()
211 AMediaFormat_delete(fmt1); in TEST()
[all …]
/frameworks/av/media/module/extractors/fuzzers/
DExtractorFuzzerBase.cpp104 AMediaFormat_delete(format); in getTracksMetadata()
110 AMediaFormat_delete(format); in getMetadata()
136 AMediaFormat_delete(trackMetaData); in seekAndExtractTracks()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DTranscoderTestUtils.h52 return std::shared_ptr<AMediaFormat>(format, &AMediaFormat_delete);
55 AMediaFormat_delete(format);
77 return std::shared_ptr<AMediaFormat>(destinationFormat, &AMediaFormat_delete);
DHdrTranscodeTests.cpp77 format = std::shared_ptr<AMediaFormat>(AMediaFormat_new(), &AMediaFormat_delete); in transcode()
146 AMediaFormat_delete(inputFormat); in hdrToSdrConversionSupported()
DMediaTrackTranscoderTests.cpp90 mSourceFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in initSampleReader()
101 mSourceFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in initSampleReader()
106 AMediaFormat_delete(trackFormat); in initSampleReader()
DVideoTrackTranscoderTests.cpp71 mSourceFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in SetUp()
80 AMediaFormat_delete(trackFormat); in SetUp()
DMediaTranscoderTests.cpp127 AMediaFormat_delete(format); in transcodeHelper()
241 videoFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in verifyOutputFormat()
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingLogger_tests.cpp153 mSrcFormat = std::shared_ptr<AMediaFormat>(CreateSrcFormat(), &AMediaFormat_delete); in logSession()
156 mDstFormat = std::shared_ptr<AMediaFormat>(CreateDstFormat(), &AMediaFormat_delete); in logSession()
253 auto srcFormat = std::shared_ptr<AMediaFormat>(CreateSrcFormat(), &AMediaFormat_delete); in TEST_F()
254 auto dstFormat = std::shared_ptr<AMediaFormat>(CreateDstFormat(), &AMediaFormat_delete); in TEST_F()
/frameworks/av/media/module/libmediatranscoding/transcoder/
DVideoTrackTranscoder.cpp263 mDestinationFormat = std::shared_ptr<AMediaFormat>(encoderFormat, &AMediaFormat_delete); in configureDestinationFormat()
321 auto decoderFormat = std::shared_ptr<AMediaFormat>(AMediaFormat_new(), &AMediaFormat_delete); in configureDestinationFormat()
365 AMediaFormat_delete(inputFormat); in configureDestinationFormat()
524 AMediaFormat_delete(params); in updateTrackFormat()
537 AMediaFormat_delete(formatCopy); in updateTrackFormat()
591 mActualOutputFormat = std::shared_ptr<AMediaFormat>(formatCopy, &AMediaFormat_delete); in updateTrackFormat()
DMediaTranscoder.cpp81 auto trackFormat = std::shared_ptr<AMediaFormat>(AMediaFormat_new(), &AMediaFormat_delete); in createVideoTrackFormat()
278 mSourceTrackFormats.emplace_back(trackFormat, &AMediaFormat_delete); in configureSource()
290 trackFormats.emplace_back(copy, &AMediaFormat_delete); in getTrackFormats()
DMediaTrackTranscoder.cpp50 &AMediaFormat_delete); in configure()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaTrackTranscoderBenchmark.cpp131 AMediaFormat_delete(format); in selectTrack()
248 return std::shared_ptr<AMediaFormat>(format, &AMediaFormat_delete); in GetDefaultTrackFormat()
315 srcTrackFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in ConfigureSampleReader()
318 AMediaFormat_delete(trackFormat); in ConfigureSampleReader()
/frameworks/av/media/ndk/fuzzer/
Dndk_mediamuxer_fuzzer.cpp128 AMediaFormat_delete(getFormat); in LLVMFuzzerTestOneInput()
136 AMediaFormat_delete(mediaFormat); in LLVMFuzzerTestOneInput()
Dndk_mediaformat_fuzzer.cpp257 AMediaFormat_delete(format); in LLVMFuzzerTestOneInput()
263 AMediaFormat_delete(mediaFormat); in LLVMFuzzerTestOneInput()
DNdkMediaCodecFuzzerBase.h52 AMediaFormat_delete(mFormat); in ~NdkMediaCodecFuzzerBase()
Dndk_sync_codec_fuzzer.cpp89 AMediaFormat_delete(params); in invokekSyncCodecAPIs()
Dndk_extractor_fuzzer.cpp117 AMediaFormat_delete(mediaFormat); in process()
Dndk_async_codec_fuzzer.cpp302 AMediaFormat_delete(codecFormat); in invokeFormatAPI()
346 AMediaFormat_delete(params); in invokekAsyncCodecAPIs()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp397 AMediaFormat_delete(format); in TEST_P()
525 AMediaFormat_delete(trackFormat); in TEST_P()
526 AMediaFormat_delete(extractorFormat); in TEST_P()
628 AMediaFormat_delete(trackMeta); in TEST_P()
677 AMediaFormat_delete(trackFormat); in TEST_P()
797 AMediaFormat_delete(trackMeta); in TEST_P()
863 AMediaFormat_delete(extractorFormat); in TEST_P()
949 AMediaFormat_delete(trackFormat); in TEST_P()
1125 AMediaFormat_delete(exFormat); in TEST_P()
/frameworks/av/media/tests/benchmark/tests/
DEncoderTest.cpp149 AMediaFormat_delete(format); in TEST_P()
153 AMediaFormat_delete(decoderFormat); in TEST_P()
/frameworks/av/media/tests/benchmark/src/native/muxer/
DMuxer.cpp53 AMediaFormat_delete(mFormat); in deInitMuxer()
/frameworks/base/media/jni/soundpool/
DSound.cpp65 std::unique_ptr<AMediaFormat, decltype(&AMediaFormat_delete)> format{ in decode()
66 AMediaExtractor_getTrackFormat(ex.get(), i), &AMediaFormat_delete}; in decode()
/frameworks/av/media/module/extractors/midi/
DMidiExtractor.cpp292 AMediaFormat_delete(mFileMetadata); in ~MidiExtractor()
293 AMediaFormat_delete(mTrackMetadata); in ~MidiExtractor()
/frameworks/av/media/module/metadatautils/test/
DMetaDataUtilsTest.cpp268 AMediaFormat_delete(csdData); in TEST_P()
358 AMediaFormat_delete(csdData); in TEST_P()
440 AMediaFormat_delete(fileMeta); in TEST_P()
/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp105 AMediaFormat_delete(mFormat); in extract()

123