/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | EncoderTest.java | 79 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/SampleVideoEncoder/app/src/androidTest/java/com/android/media/samplevideoencoder/tests/ |
D | SampleVideoEncoderTest.java | 47 private String mMime; field in SampleVideoEncoderTest 63 this.mMime = mimeType; in SampleVideoEncoderTest() 83 new MediaCodecSurfaceEncoder(mContext, mInputResId, mMime, mIsSoftwareEncoder, in testMediaSurfaceEncoder() 90 assertNotEquals("Encoder mime: " + mMime + " isSoftware: " + mIsSoftwareEncoder + in testMediaSurfaceEncoder()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.cpp | 93 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()
|
D | Encoder.h | 97 char *mMime; variable
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Decoder.java | 46 private String mMime; field in Decoder 111 mMime = format.getString(MediaFormat.KEY_MIME); in createCodec() 115 Log.i(TAG, "File mime type: " + mMime); in createCodec() 116 if (mMime != null) { in createCodec() 117 codec = MediaCodec.createDecoderByType(mMime); in createCodec() 118 Log.i(TAG, "Decoder created for mime type " + mMime); in createCodec() 126 Log.i(TAG, "Decoder created with codec name: " + codecName + " mime: " + mMime); in createCodec() 131 Log.e(TAG, "Failed to create decoder for " + codecName + " mime:" + mMime); in createCodec() 171 mFrameReleaseQueue.setMime(mMime); in decode()
|
D | Encoder.java | 41 private String mMime; field in Encoder 160 mMime = mime; in createAndConfigure() 216 if (mMime.startsWith("video/")) { in encode() 413 if (mMime.startsWith("video/")) { in onInputAvailable()
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MediaCodecSurfaceEncoder.java | 48 private final String mMime; field in MediaCodecSurfaceEncoder 74 mMime = mime; in MediaCodecSurfaceEncoder() 103 MediaCodecBase.selectCodecs(mMime, null, null, true, mIsCodecSoftware); in startEncodingSurface() 105 Log.e(TAG, "No suitable encoder found for mime: " + mMime); in startEncodingSurface() 167 encoderFormat.setString(MediaFormat.KEY_MIME, mMime); in setUpEncoderFormat() 177 if (mMime.equals(MediaFormat.MIMETYPE_VIDEO_HEVC)) { in setUpEncoderFormat() 352 if (mMime == MediaFormat.MIMETYPE_VIDEO_AVC) { in dequeueEncoderOutput() 354 } else if (mMime == MediaFormat.MIMETYPE_VIDEO_HEVC){ in dequeueEncoderOutput() 357 Log.e(TAG, "Mime type " + mMime + " is not supported."); in dequeueEncoderOutput()
|
D | MainActivity.java | 92 private String mMime = MediaFormat.MIMETYPE_VIDEO_AVC; field in MainActivity 126 mMime = MediaFormat.MIMETYPE_VIDEO_AVC; in onCreate() 128 mMime = MediaFormat.MIMETYPE_VIDEO_HEVC; in onCreate() 212 mainActivity.mMime, mainActivity.mIsCodecSoftware, in doInBackground() 542 if (mMime.equals(MediaFormat.MIMETYPE_VIDEO_HEVC)) { in setUpMediaRecorder()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 108 mMime = ((C2PortMediaTypeSetting::input*)queried[0].get())->m.value; in SetUp() 118 GTEST_SKIP() << "No test file for mime " << mMime << " index: " << mStreamIndex; in SetUp() 194 std::string mMime; member in __anon1f0b7bd70111::Codec2AudioDecHidlTestBase 413 if (!mMime.compare("audio/" + gCompToFiles[i].mime)) { in getFileNames() 527 ASSERT_NO_FATAL_FAILURE(getInputChannelInfo(mComponent, mMime, bitStreamInfo)); in validateTimestampList() 589 ASSERT_NO_FATAL_FAILURE(getInputChannelInfo(mComponent, mMime, bitStreamInfo)); in TEST_P() 619 if (mMime.find("raw") != std::string::npos) { in TEST_P() 622 } else if ((mMime.find("g711-alaw") != std::string::npos) || in TEST_P() 623 (mMime.find("g711-mlaw") != std::string::npos)) { in TEST_P() 628 ASSERT_NO_FATAL_FAILURE(getInputChannelInfo(mComponent, mMime, bitStreamInfo)); in TEST_P() [all …]
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 83 mMime = ((C2PortMediaTypeSetting::output*)queried[0].get())->m.value; in SetUp() 136 std::string mMime; member in __anonc8c74b410111::Codec2AudioEncHidlTestBase 478 if ((mMime.find("flac") != std::string::npos) || (mMime.find("opus") != std::string::npos) || in TEST_P() 479 (mMime.find("mp4a-latm") != std::string::npos)) { in TEST_P() 651 if ((mMime.find("flac") != std::string::npos) || in TEST_P() 652 (mMime.find("opus") != std::string::npos) || in TEST_P() 653 (mMime.find("mp4a-latm") != std::string::npos)) { in TEST_P() 739 if ((mMime.find("flac") != std::string::npos) || in TEST_P() 740 (mMime.find("opus") != std::string::npos) || in TEST_P() 741 (mMime.find("mp4a-latm") != std::string::npos)) { in TEST_P()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 86 mMime = ((C2PortMediaTypeSetting::output*)queried[0].get())->m.value; in SetUp() 87 std::cout << "mime : " << mMime << "\n"; in SetUp() 190 std::string mMime; member in __anon0988122b0111::Codec2VideoEncHidlTestBase 601 if ((mMime.find("vp8") != std::string::npos) || (mMime.find("3gpp") != std::string::npos)) { in TEST_P() 603 } else if (mMime.find("vp9") == std::string::npos) { in TEST_P() 833 if (mMime != "video/avc" && mMime != "video/hevc" && mMime != "video/x-vnd.on2.vp8" && in TEST_P() 834 mMime != "video/x-vnd.on2.vp9") { in TEST_P()
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 134 mMime = ((C2PortMediaTypeSetting::input*)queried[0].get())->m.value; in SetUp() 154 GTEST_SKIP() << "No test file for mime " << mMime << " index: " << mStreamIndex; in SetUp() 305 std::string mMime; member in __anon5fcc42c10111::Codec2VideoDecHidlTestBase 394 if (!mMime.compare("video/" + gCompToFiles[i].mime)) { in getFileNames() 706 if (!(strcasestr(mMime.c_str(), "avc") || strcasestr(mMime.c_str(), "hevc") || in TEST_P() 707 strcasestr(mMime.c_str(), "vp8") || strcasestr(mMime.c_str(), "vp9") || in TEST_P() 708 strcasestr(mMime.c_str(), "mpeg2") || strcasestr(mMime.c_str(), "av01"))) { in TEST_P()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 250 private String mMime; field in MediaCodecInfo.CodecCapabilities 1025 if (mime != null && !mMime.equalsIgnoreCase(mime)) { in isFormatSupported() 1066 if (!mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_H263) in isFormatSupported() 1073 levelCaps = createFromProfileLevel(mMime, profile, maxLevel); in isFormatSupported() 1139 if (mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_AAC)) { in supportsProfileLevel() 1144 if (mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_DTS) in supportsProfileLevel() 1145 || mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_DTS_HD) in supportsProfileLevel() 1146 || mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_DTS_UHD)) { in supportsProfileLevel() 1152 if (mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_H263)) { in supportsProfileLevel() 1161 if (mMime.equalsIgnoreCase(MediaFormat.MIMETYPE_VIDEO_MPEG4)) { in supportsProfileLevel() [all …]
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 475 const char *mMime; in GetMimeFromComponentRole() member 499 return kRoleToMime[i].mMime; in GetMimeFromComponentRole() 508 const char *mMime; in GetURLForMime() member 534 if (!strcasecmp(kMimeToURL[i].mMime, mime)) { in GetURLForMime()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 3542 const char *mMime; member 3562 if (!strcasecmp(mime, kVideoCodingMapEntry[i].mMime)) { in GetVideoCodingTypeFromMime() 3579 *mime = kVideoCodingMapEntry[i].mMime; in GetMimeTypeForVideoCoding()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 26915 Landroid/media/MediaCodecInfo$CodecCapabilities;->mMime:Ljava/lang/String;
|