Home
last modified time | relevance | path

Searched refs:KEY_MIME (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DDecoderUtil.java26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); in isAudioFormat()
30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/"); in isVideoFormat()
DAudioTrackDecoder.java65 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec()
69 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
DGpuVideoTrackDecoder.java93 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec()
97 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
DCpuVideoTrackDecoder.java197 String requiredType = format.getString(MediaFormat.KEY_MIME); in findDecoderCodec()
/frameworks/base/media/java/android/media/
DMediaFormat.java243 public static final String KEY_MIME = "mime"; field in MediaFormat
1886 format.setString(KEY_MIME, mime); in createAudioFormat()
1905 format.setString(KEY_MIME, mime); in createSubtitleFormat()
1922 format.setString(KEY_MIME, mime); in createVideoFormat()
DSRTRenderer.java40 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
41 if (!format.getString(MediaFormat.KEY_MIME) in supports()
DMediaCodecList.java244 String mime = format.getString(MediaFormat.KEY_MIME); in findCodecForFormat()
DAmrInputStream.java63 format.setString(MediaFormat.KEY_MIME, MediaFormat.MIMETYPE_AUDIO_AMR_NB); in AmrInputStream()
DTtmlRenderer.java60 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
61 return format.getString(MediaFormat.KEY_MIME).equals(MEDIA_MIMETYPE_TEXT_TTML); in supports()
DClosedCaptionRenderer.java60 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
61 String mimeType = format.getString(MediaFormat.KEY_MIME); in supports()
69 String mimeType = format.getString(MediaFormat.KEY_MIME); in createTrack()
DCea708CaptionRenderer.java69 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
70 String mimeType = format.getString(MediaFormat.KEY_MIME); in supports()
78 String mimeType = format.getString(MediaFormat.KEY_MIME); in createTrack()
DAudioMetadata.java141 @NonNull public static final Key<String> KEY_MIME = createKey("mime", String.class); field in AudioMetadata.Format
DWebVttRenderer.java55 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
56 return format.getString(MediaFormat.KEY_MIME).equals("text/vtt"); in supports()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecSurfaceEncoder.java92 String decoderMime = decoderFormat.getString(MediaFormat.KEY_MIME); in startEncodingSurface()
153 String mime = format.getString(MediaFormat.KEY_MIME); in setUpSource()
167 encoderFormat.setString(MediaFormat.KEY_MIME, mMime); in setUpEncoderFormat()
/frameworks/base/apex/media/framework/java/android/media/
DMediaTranscodingManager.java941 mSrcVideoFormatHint.getString(MediaFormat.KEY_MIME))) { in shouldTranscode()
963 videoTrackFormat.setString(MediaFormat.KEY_MIME, MediaFormat.MIMETYPE_VIDEO_AVC); in resolveVideoFormat()
1112 if (format.containsKey(MediaFormat.KEY_MIME)) { in convertToVideoTrackFormat()
1113 String mime = format.getString(MediaFormat.KEY_MIME); in convertToVideoTrackFormat()
1237 String mime = videoFormat.containsKey(MediaFormat.KEY_MIME) in setVideoTrackFormat()
1238 ? videoFormat.getString(MediaFormat.KEY_MIME) : null; in setVideoTrackFormat()
DMediaParser.java979 String mimeType = mediaFormat.getString(MediaFormat.KEY_MIME); in getParserNames()
1981 new Format.Builder().setSampleMimeType(mediaFormat.getString(MediaFormat.KEY_MIME)); in toExoPlayerCaptionFormat()
2008 setOptionalMediaFormatString(result, MediaFormat.KEY_MIME, format.sampleMimeType); in toMediaFormat()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DDecoderTest.java135 String mime = format.getString(MediaFormat.KEY_MIME); in testDecoder()
207 String mime = format.getString(MediaFormat.KEY_MIME); in testNativeDecoder()
DExtractorTest.java100 String mime = format.getString(MediaFormat.KEY_MIME); in testExtractor()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DDecoder.java64 String mime = format.getString(MediaFormat.KEY_MIME); in createCodec()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp432 newFormat->findString(KEY_MIME, &mime); in onHeicFormatChanged()
436 newFormat->setString(KEY_MIME, mimeHeic); in onHeicFormatChanged()
1332 outputFormat->setString(KEY_MIME, desiredMime); in initializeCodec()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp359 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_INPUT_MEDIA_TYPE, "value") in initializeStandardParams()
361 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_OUTPUT_MEDIA_TYPE, "value") in initializeStandardParams()
1317 if (msg->findString(KEY_MIME, &mime) && in getFormatForDomain()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java834 String type = format.getString(MediaFormat.KEY_MIME); in playMediaSamples()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h794 constexpr char KEY_MIME[] = "mime"; variable
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp195 format->setString(KEY_MIME, kMimeTypeAvc); in prepareEncoder()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java953 String mime = format.getString(MediaFormat.KEY_MIME); in validateRecording()

12