Home
last modified time | relevance | path

Searched refs:AMEDIAFORMAT_KEY_MIME (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaTranscoderTests.cpp121 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()
DHdrTranscodeTests.cpp75 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in transcode()
78 AMediaFormat_setString(format.get(), AMEDIAFORMAT_KEY_MIME, dstMime); in transcode()
DVideoTrackTranscoderTests.cpp64 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &mime); in SetUp()
DTranscoderTestUtils.h47 AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime);
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaTranscoder.cpp42 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/
DMatroskaExtractor.cpp249 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/
DWAVExtractor.cpp126 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/
DTranscode.cpp107 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/
DTranscodingLogger.cpp125 const char* srcMime = getString(srcFormat, AMEDIAFORMAT_KEY_MIME); in logSessionEnded()
136 : getString(dstFormat, AMEDIAFORMAT_KEY_MIME, srcMime); in logSessionEnded()
DTranscoderWrapper.cpp73 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/
DMP3Extractor.cpp327 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/
DMediaTranscoderBenchmark.cpp93 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()
DMediaSampleReaderBenchmark.cpp73 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &mime); in ReadMediaSamples()
DMediaTrackTranscoderBenchmark.cpp240 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/
Dmedia_transcoder_fuzzer.cpp121 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getFormat()
125 AMediaFormat_setString(format, AMEDIAFORMAT_KEY_MIME, mDestMime); in getFormat()
/frameworks/av/media/extractors/tests/
DExtractorUnitTest.cpp490 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/
DMPEG4Extractor.cpp616 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/
DNativeExtractor.cpp67 AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime); in Java_com_android_media_benchmark_library_Native_Extract()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp176 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/
DMetaDataUtils.cpp72 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/
DAMRExtractor.cpp158 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/
DTranscodingLogger_tests.cpp101 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/
DNdkMediaExtractor.cpp456 && 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/
DC2Decoder.cpp31 AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime); in createCodec2Component()
/frameworks/av/media/libstagefright/tests/metadatautils/
DMetaDataUtilsTest.cpp227 status = AMediaFormat_getString(csdData, AMEDIAFORMAT_KEY_MIME, &mimeType); in TEST_P()
306 status = AMediaFormat_getString(csdData, AMEDIAFORMAT_KEY_MIME, &mimeType); in TEST_P()

12