Home
last modified time | relevance | path

Searched refs:mediaTypes (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libmedia/tests/codeclist/
DCodecListTest.cpp122 Vector<AString> mediaTypes; in TEST() local
123 info->getSupportedMediaTypes(&mediaTypes); in TEST()
124 ALOGV("supported media types count: %zu", mediaTypes.size()); in TEST()
125 ASSERT_FALSE(mediaTypes.isEmpty()) in TEST()
129 for (auto mediaType : mediaTypes) { in TEST()
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.cpp230 Vector<AString> mediaTypes; in profileCodecs() local
231 info->getSupportedMediaTypes(&mediaTypes); in profileCodecs()
232 for (size_t i = 0; i < mediaTypes.size(); ++i) { in profileCodecs()
234 info->getCapabilitiesFor(mediaTypes[i].c_str()); in profileCodecs()
241 size_t max = doProfileCodecs(info->isEncoder(), name, mediaTypes[i], caps); in profileCodecs()
250 key.append(mediaTypes[i]); in profileCodecs()
DMediaCodec.cpp1627 Vector<AString> mediaTypes; in init() local
1628 mCodecInfo->getSupportedMediaTypes(&mediaTypes); in init()
1629 for (size_t i = 0; i < mediaTypes.size(); ++i) { in init()
1630 if (mediaTypes[i].startsWith("video/")) { in init()
1633 } else if (mediaTypes[i].startsWith("audio/")) { in init()
1636 } else if (mediaTypes[i].startsWith("image/")) { in init()
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp157 void MediaCodecInfo::getSupportedMediaTypes(Vector<AString> *mediaTypes) const { in getSupportedMediaTypes()
158 mediaTypes->clear(); in getSupportedMediaTypes()
160 mediaTypes->push_back(mCaps.keyAt(ix)); in getSupportedMediaTypes()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h193 void getSupportedMediaTypes(Vector<AString> *mediaTypes) const;
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp904 Vector<AString> mediaTypes; in getCodecInfo() local
905 codecInfo->getSupportedMediaTypes(&mediaTypes); in getCodecInfo()
908 env->NewObjectArray(mediaTypes.size(), gCodecInfo.capsClazz, NULL)); in getCodecInfo()
910 for (size_t i = 0; i < mediaTypes.size(); i++) { in getCodecInfo()
912 codecInfo->getCapabilitiesFor(mediaTypes[i].c_str()); in getCodecInfo()
915 env, mediaTypes[i].c_str(), isEncoder, caps)); in getCodecInfo()