Home
last modified time | relevance | path

Searched refs:KEY_MIME (Results 1 – 25 of 33) 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/
DSRTRenderer.java40 if (format.containsKey(MediaFormat.KEY_MIME)) { in supports()
41 if (!format.getString(MediaFormat.KEY_MIME) in supports()
DMediaFormat.java359 public static final String KEY_MIME = "mime"; field in MediaFormat
2349 format.setString(KEY_MIME, mime); in createAudioFormat()
2368 format.setString(KEY_MIME, mime); in createSubtitleFormat()
2385 format.setString(KEY_MIME, mime); in createVideoFormat()
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()
DLoudnessCodecController.java359 final String mimeType = inputFormat.getString(MediaFormat.KEY_MIME); in getCodecInfo()
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.java142 @NonNull public static final Key<String> KEY_MIME = createKey("mime", String.class); field in AudioMetadata.Format
DMediaCodecInfo.java1022 final String mime = (String)map.get(MediaFormat.KEY_MIME); in isFormatSupported()
1298 defaultFormat.setString(MediaFormat.KEY_MIME, mime); in createFromProfileLevel()
1329 mMime = mDefaultFormat.getString(MediaFormat.KEY_MIME); in CodecCapabilities()
1793 MediaFormat.KEY_MIME);
2575 MediaFormat.KEY_MIME);
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/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DCodecUtils.java51 String mime = format.getString(MediaFormat.KEY_MIME); in getMediaCodec()
DDecoder.java111 mMime = format.getString(MediaFormat.KEY_MIME); in createCodec()
/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/base/media/tests/LoudnessCodecApiTest/src/com/android/loudnesscodecapitest/
DLoudnessCodecControllerTest.java237 String mime = format.getString(MediaFormat.KEY_MIME); in createAndConfigureMediaCodec()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp453 newFormat->findString(KEY_MIME, &mime); in onHeicFormatChanged()
457 newFormat->setString(KEY_MIME, mimeHeic); in onHeicFormatChanged()
1372 outputFormat->setString(KEY_MIME, desiredMime); in initializeCodec()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp373 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_INPUT_MEDIA_TYPE, "value") in initializeStandardParams()
375 add(ConfigMapper(KEY_MIME, C2_PARAMKEY_OUTPUT_MEDIA_TYPE, "value") in initializeStandardParams()
1463 if (msg->findString(KEY_MIME, &mime) && in getFormatForDomain()
1987 sdkParams->findString(KEY_MIME, &mime) && in getConfigUpdateFromSdkParams()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java827 String type = format.getString(MediaFormat.KEY_MIME); in playMediaSamples()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecConstants.h820 inline constexpr char KEY_MIME[] = "mime"; variable

12