Home
last modified time | relevance | path

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

/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.java211 public static final String KEY_MIME = "mime"; field in MediaFormat
1581 format.setString(KEY_MIME, mime); in createAudioFormat()
1600 format.setString(KEY_MIME, mime); in createSubtitleFormat()
1617 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()
DAmrInputStream.java63 format.setString(MediaFormat.KEY_MIME, MediaFormat.MIMETYPE_AUDIO_AMR_NB); in AmrInputStream()
DMediaCodecList.java244 String mime = format.getString(MediaFormat.KEY_MIME); in findCodecForFormat()
DTtmlRenderer.java59 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
60 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()
DWebVttRenderer.java55 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
56 return format.getString(MediaFormat.KEY_MIME).equals("text/vtt"); in supports()
DMediaCodecInfo.java718 final String mime = (String)map.get(MediaFormat.KEY_MIME); in isFormatSupported()
960 defaultFormat.setString(MediaFormat.KEY_MIME, mime); in createFromProfileLevel()
991 mMime = mDefaultFormat.getString(MediaFormat.KEY_MIME); in CodecCapabilities()
DMediaPlayer.java2478 dest.writeString(mFormat.getString(MediaFormat.KEY_MIME)); in writeToParcel()
2967 fFormat.setString(MediaFormat.KEY_MIME, mime); in addTimedTextSource()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp393 newFormat->findString(KEY_MIME, &mime); in onHeicFormatChanged()
397 newFormat->setString(KEY_MIME, mimeHeic); in onHeicFormatChanged()
1181 outputFormat->setString(KEY_MIME, desiredMime); in initializeCodec()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp347 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_INPUT_MEDIA_TYPE, "value") in initializeStandardParams()
349 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_OUTPUT_MEDIA_TYPE, "value") in initializeStandardParams()
1122 if (msg->findString(KEY_MIME, &mime) && in getSdkFormatForDomain()
DCCodecBufferChannel.cpp1449 if (outputFormat->findString(KEY_MIME, &mediaType) in handleWork()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp189 format->setString(KEY_MIME, kMimeTypeAvc); in prepareEncoder()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h784 constexpr char KEY_MIME[] = "mime"; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java834 String type = format.getString(MediaFormat.KEY_MIME); in playMediaSamples()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java953 String mime = format.getString(MediaFormat.KEY_MIME); in validateRecording()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14976 field public static final java.lang.String KEY_MIME = "mime";
/frameworks/base/api/
Dcurrent.txt25099 field public static final String KEY_MIME = "mime";