/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
D | MediaTranscoderTests.cpp | 121 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in transcodeHelper() 183 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, in testTranscodeVideo() 196 AMediaFormat_setString(format, AMEDIAFORMAT_KEY_MIME, in testTranscodeVideo() 206 {AMEDIAFORMAT_KEY_MIME, in testTranscodeVideo() 236 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &mime); in verifyOutputFormat() 337 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getAVCVideoFormat() 341 AMediaFormat_setString(format, AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_AVC); in getAVCVideoFormat()
|
D | HdrTranscodeTests.cpp | 75 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in transcode() 78 AMediaFormat_setString(format.get(), AMEDIAFORMAT_KEY_MIME, dstMime); in transcode()
|
D | VideoTrackTranscoderTests.cpp | 64 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &mime); in SetUp()
|
D | TranscoderTestUtils.h | 47 AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime);
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | MediaTranscoder.cpp | 42 ENTRY_COPIER(AMEDIAFORMAT_KEY_MIME, String), in createVideoTrackFormat() 55 AMediaFormat_getString(srcFormat, AMEDIAFORMAT_KEY_MIME, &srcMime); in createVideoTrackFormat() 56 if (!AMediaFormat_getString(options, AMEDIAFORMAT_KEY_MIME, &dstMime) || in createVideoTrackFormat() 64 ENTRY_COPIER(AMEDIAFORMAT_KEY_MIME, String), in createVideoTrackFormat() 315 if (!AMediaFormat_getString(srcTrackFormat, AMEDIAFORMAT_KEY_MIME, &srcMime)) { in configureTrackFormat() 328 if (AMediaFormat_getString(destinationOptions, AMEDIAFORMAT_KEY_MIME, &dstMime)) { in configureTrackFormat()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 249 CHECK(AMediaFormat_getString(meta, AMEDIAFORMAT_KEY_MIME, &mime)); in MatroskaSource() 1963 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_AVC); in addTracks() 1970 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_HEVC); in addTracks() 1983 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_MPEG4); in addTracks() 1993 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_VP8); in addTracks() 1995 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_VP9); in addTracks() 2003 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_AV1); in addTracks() 2011 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, in addTracks() 2020 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, in addTracks() 2033 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, mime); in addTracks() [all …]
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 126 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_CONTAINER_WAV); in getMetaData() 314 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_RAW); in init() 318 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_G711_ALAW); in init() 322 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_MSGSM); in init() 327 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_G711_MLAW); in init()
|
/frameworks/av/media/libmediatranscoding/transcoder/tools/ |
D | Transcode.cpp | 107 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in transcode() 111 AMediaFormat_setString(dstFormat, AMEDIAFORMAT_KEY_MIME, config.dstCodec.c_str()); in transcode()
|
/frameworks/av/media/libmediatranscoding/ |
D | TranscodingLogger.cpp | 125 const char* srcMime = getString(srcFormat, AMEDIAFORMAT_KEY_MIME); in logSessionEnded() 136 : getString(dstFormat, AMEDIAFORMAT_KEY_MIME, srcMime); in logSessionEnded()
|
D | TranscoderWrapper.cpp | 73 AMediaFormat_setString(format.get(), AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_HEVC); in getVideoFormat() 77 AMediaFormat_setString(format.get(), AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_AVC); in getVideoFormat() 442 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in setupTranscoder()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 327 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I); in MP3Extractor() 331 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II); in MP3Extractor() 334 AMediaFormat_setString(mMeta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_MPEG); in MP3Extractor() 610 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_MPEG); in getMetaData()
|
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/ |
D | MediaTranscoderBenchmark.cpp | 93 AMediaFormat_setString(videoFormat, AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_AVC); in CreateDefaultVideoFormat() 165 if (!AMediaFormat_getString(srcFormat, AMEDIAFORMAT_KEY_MIME, &mime)) { in TranscodeMediaFile() 192 if (AMediaFormat_getString(dstFormat, AMEDIAFORMAT_KEY_MIME, &mime)) { in TranscodeMediaFile() 364 AMediaFormat_setString(format, AMEDIAFORMAT_KEY_MIME, mime.c_str()); in SetMimeBitrate()
|
D | MediaSampleReaderBenchmark.cpp | 73 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &mime); in ReadMediaSamples()
|
D | MediaTrackTranscoderBenchmark.cpp | 240 AMediaFormat_setString(format, AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_AVC); in GetDefaultTrackFormat() 311 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &mime); in ConfigureSampleReader()
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/fuzzer/ |
D | media_transcoder_fuzzer.cpp | 121 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getFormat() 125 AMediaFormat_setString(format, AMEDIAFORMAT_KEY_MIME, mDestMime); in getFormat()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 490 AMediaFormat_getString(extractorFormat, AMEDIAFORMAT_KEY_MIME, &extractorMime); in TEST_P() 491 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &trackMime); in TEST_P() 638 ASSERT_TRUE(AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &mime)) in TEST_P() 790 ASSERT_TRUE(AMediaFormat_getString(trackMeta, AMEDIAFORMAT_KEY_MIME, &mime)) in TEST_P() 909 bool valueFound = AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &trackMime); in TEST_P() 974 AMediaFormat_getString(extractorFormat, AMEDIAFORMAT_KEY_MIME, &mime); in allocateOutputBuffers() 1094 AMediaFormat_getString(extractorFormat[0], AMEDIAFORMAT_KEY_MIME, &mime[0]); in TEST_P() 1095 AMediaFormat_getString(extractorFormat[1], AMEDIAFORMAT_KEY_MIME, &mime[1]); in TEST_P()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 616 CHECK(AMediaFormat_getString(track->meta, AMEDIAFORMAT_KEY_MIME, &mime)); in getTrackMetaData() 747 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_CONTAINER_MPEG4); in readMetaData() 750 AMEDIAFORMAT_KEY_MIME, "audio/mp4"); in readMetaData() 754 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_CONTAINER_HEIF); in readMetaData() 758 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_IMAGE_AVIF); in readMetaData() 761 AMEDIAFORMAT_KEY_MIME, "application/octet-stream"); in readMetaData() 1035 AMEDIAFORMAT_KEY_MIME, "application/octet-stream"); in parseChunk() 1124 AMediaFormat_getString(mLastTrack->meta, AMEDIAFORMAT_KEY_MIME, &mime); in parseChunk() 1180 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_HEVC); in parseChunk() 1183 AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_AVC); in parseChunk() [all …]
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeExtractor.cpp | 67 AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime); in Java_com_android_media_benchmark_library_Native_Extract()
|
/frameworks/av/media/extractors/midi/ |
D | MidiExtractor.cpp | 176 AMediaFormat_setString(fileMetadata, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_MIDI); in MidiEngine() 180 AMediaFormat_setString(trackMetadata, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_RAW); in MidiEngine()
|
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 72 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData() 193 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
|
/frameworks/av/media/extractors/amr/ |
D | AMRExtractor.cpp | 158 AMediaFormat_setString(mMeta, AMEDIAFORMAT_KEY_MIME, in AMRExtractor() 207 AMEDIAFORMAT_KEY_MIME, mIsWide ? MEDIA_MIMETYPE_AUDIO_AMR_WB : "audio/amr"); in getMetaData()
|
/frameworks/av/media/libmediatranscoding/tests/ |
D | TranscodingLogger_tests.cpp | 101 AMediaFormat_setString(fmt, AMEDIAFORMAT_KEY_MIME, kDefaultSrcMime.c_str()); in CreateSrcFormat() 115 AMediaFormat_setString(fmt, AMEDIAFORMAT_KEY_MIME, kDefaultDstMime.c_str()); in CreateDstFormat()
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 456 && trackFormat->findString(AMEDIAFORMAT_KEY_MIME, &mime)) { in AMediaExtractor_getSampleFormat() 457 meta->setString(AMEDIAFORMAT_KEY_MIME, mime); in AMediaExtractor_getSampleFormat()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 31 AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime); in createCodec2Component()
|
/frameworks/av/media/libstagefright/tests/metadatautils/ |
D | MetaDataUtilsTest.cpp | 227 status = AMediaFormat_getString(csdData, AMEDIAFORMAT_KEY_MIME, &mimeType); in TEST_P() 306 status = AMediaFormat_getString(csdData, AMEDIAFORMAT_KEY_MIME, &mimeType); in TEST_P()
|