Home
last modified time | relevance | path

Searched refs:mMime (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java79 private String mMime; field in EncoderTest
133 this.mMime = mime; in EncoderTest()
223 ArrayList<String> mediaCodecs = CodecUtils.selectCodecs(mMime, true); in testEncoder()
224 assertTrue("No suitable codecs found for mimetype: " + mMime, (mediaCodecs.size() > 0)); in testEncoder()
248 if (mMime.startsWith("video/")) { in testEncoder()
250 encodeFormat = MediaFormat.createVideoFormat(mMime, mWidth, mHeight); in testEncoder()
261 encodeFormat = MediaFormat.createAudioFormat(mMime, mSampleRate, mNumChannel); in testEncoder()
266 status = encoder.encode(codecName, encodeFormat, mMime, ENCODE_DEFAULT_FRAME_RATE, in testEncoder()
271 mMime, 0, status); in testEncoder()
274 if (mMime.startsWith("video/")) { in testEncoder()
[all …]
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.cpp93 if (!strncmp(mMime, "video/", 6)) { in onInputAvailable()
180 if (mMime) mMime = nullptr; in resetEncoder()
198 mMime = mime; in encode()
199 AMediaFormat_setString(mFormat, AMEDIAFORMAT_KEY_MIME, mMime); in encode()
202 if (!strncmp(mMime, "video/", 6)) { in encode()
222 mCodec = createMediaCodec(mFormat, mMime, codecName, true /*isEncoder*/); in encode()
227 if (!strncmp(mMime, "video/", 6)) { in encode()
DEncoder.h97 char *mMime; variable
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DEncoder.java41 private String mMime; field in Encoder
119 mMime = mime; in encode()
136 if (mMime.startsWith("video/")) { in encode()
312 if (mMime.startsWith("video/")) { in onInputAvailable()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java223 private String mMime; field in MediaCodecInfo.CodecCapabilities
721 if (mime != null && !mMime.equalsIgnoreCase(mime)) { in isFormatSupported()
759 levelCaps = createFromProfileLevel(mMime, profile, maxLevel); in isFormatSupported()
808 if (level == null || mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_AAC)) { in supportsProfileLevel()
814 if (mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_H263)) { in supportsProfileLevel()
823 if (mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_MPEG4)) { in supportsProfileLevel()
831 if (mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_HEVC)) { in supportsProfileLevel()
844 if (createFromProfileLevel(mMime, profile, pl.level) != null) { in supportsProfileLevel()
845 return createFromProfileLevel(mMime, profile, level) != null; in supportsProfileLevel()
876 return mMime; in getMimeType()
[all …]
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp464 const char *mMime; in GetMimeFromComponentRole() member
488 return kRoleToMime[i].mMime; in GetMimeFromComponentRole()
497 const char *mMime; in GetURLForMime() member
523 if (!strcasecmp(kMimeToURL[i].mMime, mime)) { in GetURLForMime()
/frameworks/av/media/libstagefright/
DACodec.cpp3307 const char *mMime; member
3327 if (!strcasecmp(mime, kVideoCodingMapEntry[i].mMime)) { in GetVideoCodingTypeFromMime()
3344 *mime = kVideoCodingMapEntry[i].mMime; in GetMimeTypeForVideoCoding()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt37044 Landroid/media/MediaCodecInfo$CodecCapabilities;->mMime:Ljava/lang/String;