/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 74 const Traits& trait, const std::string &mediaType) { in addSupportedProfileLevels() argument 76 C2Mapper::GetProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels() 121 supportsHdr |= (mediaType == MIMETYPE_VIDEO_VP9); in addSupportedProfileLevels() 148 auto hdrMapper = C2Mapper::GetHdrProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels() 154 trait.mediaType, true /*isHdr10Plus*/); in addSupportedProfileLevels() 168 if (mediaType == MIMETYPE_VIDEO_H263) { in addSupportedProfileLevels() 191 const Traits& trait, const std::string &mediaType) { in addSupportedColorFormats() argument 197 if (mediaType.find("video") != std::string::npos in addSupportedColorFormats() 198 || mediaType.find("image") != std::string::npos) { in addSupportedColorFormats() 505 const std::string &mediaType = typeIt->first; in buildMediaCodecList() local [all …]
|
D | CCodecConfig.cpp | 183 AString mediaType; in QueryMediaTypeImpl() local 193 mediaType = AString( in QueryMediaTypeImpl() 199 mediaType = AString( in QueryMediaTypeImpl() 204 ALOGD("read media type: %s", mediaType.c_str()); in QueryMediaTypeImpl() 206 return mediaType; in QueryMediaTypeImpl() 856 AString mediaType = QueryMediaType(true /* input */, component); in initialize() local 857 if (mediaType.startsWith("audio/")) { in initialize() 859 } else if (mediaType.startsWith("video/")) { in initialize() 861 } else if (mediaType.startsWith("image/")) { in initialize()
|
D | CCodecBufferChannel.cpp | 1286 AString mediaType; in handleWork() local 1287 if (outputFormat->findString(KEY_MIME, &mediaType) in handleWork() 1288 && mediaType == MIMETYPE_AUDIO_RAW) { in handleWork()
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 165 MediaCodecInfo::getCapabilitiesFor(const char *mediaType) const { in getCapabilitiesFor() 166 ssize_t ix = getCapabilityIndex(mediaType); in getCapabilitiesFor() 199 AString mediaType = AString::FromParcel(parcel); in FromParcel() local 204 info->mCaps.add(mediaType, caps); in FromParcel() 227 ssize_t MediaCodecInfo::getCapabilityIndex(const char *mediaType) const { in getCapabilityIndex() 228 if (mediaType) { in getCapabilityIndex() 230 if (mCaps.keyAt(ix).equalsIgnoreCase(mediaType)) { in getCapabilityIndex() 265 MediaCodecInfoWriter::addMediaType(const char *mediaType) { in addMediaType() argument 266 ssize_t ix = mInfo->getCapabilityIndex(mediaType); in addMediaType() 273 mInfo->mCaps.add(AString(mediaType), caps); in addMediaType() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 668 for (const AString &mediaType : supportedMediaTypes) { in dumpCodecDetails() local 669 if (allMediaTypes.indexOfKey(mediaType) < 0) { in dumpCodecDetails() 670 allMediaTypes.add(mediaType, Vector<sp<MediaCodecInfo>>()); in dumpCodecDetails() 672 allMediaTypes.editValueFor(mediaType).add(info); in dumpCodecDetails() 680 const AString &mediaType = allMediaTypes.keyAt(type_ix); in dumpCodecDetails() local 681 printf("\nMedia type '%s':\n", mediaType.c_str()); in dumpCodecDetails() 684 sp<MediaCodecInfo::Capabilities> caps = info->getCapabilitiesFor(mediaType.c_str()); in dumpCodecDetails() 687 info->getCodecName(), mediaType.c_str()); in dumpCodecDetails() 736 … mediaType.equalsIgnoreCase(MIMETYPE_AUDIO_AAC) ? asString_AACObject(pl.mProfile) : in dumpCodecDetails() 737 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_MPEG2) ? asString_MPEG2Profile(pl.mProfile) : in dumpCodecDetails() [all …]
|
D | audioloop.cpp | 63 AString mediaType; in main() local 80 mediaType.setTo(optarg); in main() 92 if ((name.empty() && !mediaType.empty()) || (!name.empty() && mediaType.empty())) { in main() 127 meta->setString("mime", mediaType); in main()
|
/frameworks/av/media/libstagefright/mpeg2ts/test/ |
D | Mpeg2tsUnitTest.cpp | 119 static const ATSParser::SourceType mediaType[] = {ATSParser::VIDEO, ATSParser::AUDIO, in TEST_P() local 121 const uint32_t nMediaTypes = sizeof(mediaType) / sizeof(mediaType[0]); in TEST_P() 135 if (mParser->hasSource(mediaType[i])) { in TEST_P() 136 switch (mediaType[i]) { in TEST_P() 158 ATSParser::SourceType currentMediaType = mediaType[i]; in TEST_P()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaCodecInfo.h | 194 const sp<Capabilities> getCapabilitiesFor(const char *mediaType) const; 239 ssize_t getCapabilityIndex(const char *mediaType) const; 307 const char* mediaType); 314 bool removeMediaType(const char* mediaType);
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 631 C2Mapper::GetProfileLevelMapper(std::string mediaType) { in GetProfileLevelMapper() argument 632 std::transform(mediaType.begin(), mediaType.begin(), mediaType.end(), ::tolower); in GetProfileLevelMapper() 633 if (mediaType == MIMETYPE_AUDIO_AAC) { in GetProfileLevelMapper() 635 } else if (mediaType == MIMETYPE_VIDEO_AVC) { in GetProfileLevelMapper() 637 } else if (mediaType == MIMETYPE_VIDEO_DOLBY_VISION) { in GetProfileLevelMapper() 639 } else if (mediaType == MIMETYPE_VIDEO_H263) { in GetProfileLevelMapper() 641 } else if (mediaType == MIMETYPE_VIDEO_HEVC) { in GetProfileLevelMapper() 643 } else if (mediaType == MIMETYPE_VIDEO_MPEG2) { in GetProfileLevelMapper() 645 } else if (mediaType == MIMETYPE_VIDEO_MPEG4) { in GetProfileLevelMapper() 647 } else if (mediaType == MIMETYPE_VIDEO_VP8) { in GetProfileLevelMapper() [all …]
|
D | Codec2Mapper.h | 41 GetProfileLevelMapper(std::string mediaType); 44 GetHdrProfileLevelMapper(std::string mediaType, bool isHdr10Plus = false);
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Interface.cpp | 35 C2String mediaType, in BaseParams() argument 112 if (mediaType == rawMediaType) { in BaseParams() 127 isEncoder ? rawMediaType : mediaType)) in BaseParams() 139 isEncoder ? mediaType : rawMediaType)) in BaseParams()
|
/frameworks/av/media/libstagefright/ |
D | OmxInfoBuilder.cpp | 60 const IOmxStore::NodeInfo& node, const char* mediaType, bool isEncoder, in queryCapabilities() argument 81 node.owner.c_str(), node.name.c_str(), mediaType, isEncoder, caps); in queryCapabilities()
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 400 FileEntry(long rowId, String path, long lastModified, int format, int mediaType) { in FileEntry() argument 405 mMediaType = mediaType; in FileEntry() 1065 int mediaType = FileColumns.MEDIA_TYPE_NONE; 1070 mediaType = FileColumns.MEDIA_TYPE_VIDEO; 1073 mediaType = FileColumns.MEDIA_TYPE_IMAGE; 1076 mediaType = FileColumns.MEDIA_TYPE_AUDIO; 1079 mediaType = FileColumns.MEDIA_TYPE_PLAYLIST; 1144 if (mediaType != entry.mMediaType) { 1146 mediaTypeValues.put(FileColumns.MEDIA_TYPE, mediaType); 1646 int mediaType = c.getInt(FILES_PRESCAN_MEDIA_TYPE_COLUMN_INDEX); [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 763 traits->mediaType = in init() 768 if (strncmp(traits->mediaType.c_str(), "audio/", 6) == 0) { in init() 770 } else if (strncmp(traits->mediaType.c_str(), "video/", 6) == 0) { in init() 772 } else if (strncmp(traits->mediaType.c_str(), "image/", 6) == 0) { in init()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Component.h | 411 C2String mediaType; ///< media type supported by the component member
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Interface.h | 92 C2String mediaType,
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | types.cpp | 333 d->mediaType = s.mediaType; in objcpy() 387 d->mediaType = s.mediaType.c_str(); in objcpy()
|
D | ComponentStore.cpp | 329 out << indent << "mediaType: " << comp->mediaType << std::endl; in dump()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 101906 Lcom/android/okhttp/MediaType;->mediaType:Ljava/lang/String;
|