/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | DecoderUtil.java | 26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); in isAudioFormat() 30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/"); in isVideoFormat()
|
D | AudioTrackDecoder.java | 65 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec() 69 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
|
D | GpuVideoTrackDecoder.java | 93 format.getString(MediaFormat.KEY_MIME)); in initMediaCodec() 97 + format.getString(MediaFormat.KEY_MIME), e); in initMediaCodec()
|
D | CpuVideoTrackDecoder.java | 197 String requiredType = format.getString(MediaFormat.KEY_MIME); in findDecoderCodec()
|
/frameworks/base/media/java/android/media/ |
D | MediaFormat.java | 243 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()
|
D | SRTRenderer.java | 40 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports() 41 if (!format.getString(MediaFormat.KEY_MIME) in supports()
|
D | MediaCodecList.java | 244 String mime = format.getString(MediaFormat.KEY_MIME); in findCodecForFormat()
|
D | AmrInputStream.java | 63 format.setString(MediaFormat.KEY_MIME, MediaFormat.MIMETYPE_AUDIO_AMR_NB); in AmrInputStream()
|
D | TtmlRenderer.java | 60 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports() 61 return format.getString(MediaFormat.KEY_MIME).equals(MEDIA_MIMETYPE_TEXT_TTML); in supports()
|
D | ClosedCaptionRenderer.java | 60 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()
|
D | Cea708CaptionRenderer.java | 69 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()
|
D | AudioMetadata.java | 141 @NonNull public static final Key<String> KEY_MIME = createKey("mime", String.class); field in AudioMetadata.Format
|
D | WebVttRenderer.java | 55 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/ |
D | MediaCodecSurfaceEncoder.java | 92 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/ |
D | MediaTranscodingManager.java | 941 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()
|
D | MediaParser.java | 979 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/ |
D | DecoderTest.java | 135 String mime = format.getString(MediaFormat.KEY_MIME); in testDecoder() 207 String mime = format.getString(MediaFormat.KEY_MIME); in testNativeDecoder()
|
D | ExtractorTest.java | 100 String mime = format.getString(MediaFormat.KEY_MIME); in testExtractor()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Decoder.java | 64 String mime = format.getString(MediaFormat.KEY_MIME); in createCodec()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicCompositeStream.cpp | 432 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/ |
D | CCodecConfig.cpp | 359 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/ |
D | CodecTest.java | 834 String type = format.getString(MediaFormat.KEY_MIME); in playMediaSamples()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecConstants.h | 794 constexpr char KEY_MIME[] = "mime"; variable
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 195 format->setString(KEY_MIME, kMimeTypeAvc); in prepareEncoder()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 953 String mime = format.getString(MediaFormat.KEY_MIME); in validateRecording()
|