Home
last modified time | relevance | path

Searched refs:mediaType (Results 1 – 13 of 13) sorted by relevance

/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp77 const char* name, const char* mediaType, bool isEncoder, in queryOmxCapabilities() argument
80 const char *role = GetComponentRole(isEncoder, mediaType); in queryOmxCapabilities()
132 bool isVideo = hasPrefix(mediaType, "video/") == 0; in queryOmxCapabilities()
133 bool isImage = hasPrefix(mediaType, "image/") == 0; in queryOmxCapabilities()
153 if (!isEncoder && strcasecmp(mediaType, MEDIA_MIMETYPE_VIDEO_AVC) == 0) { in queryOmxCapabilities()
197 } else if (strcasecmp(mediaType, MEDIA_MIMETYPE_AUDIO_AAC) == 0) { in queryOmxCapabilities()
290 const std::string &mediaType = type.first; in buildOmxInfo() local
292 info->addMediaType(mediaType.c_str()); in buildOmxInfo()
306 mediaType.c_str(), in buildOmxInfo()
312 mediaType.c_str(), in buildOmxInfo()
[all …]
DCCodecConfig.cpp183 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()
846 AString mediaType = QueryMediaType(true /* input */, component); in initialize() local
847 if (mediaType.startsWith("audio/")) { in initialize()
849 } else if (mediaType.startsWith("video/")) { in initialize()
851 } else if (mediaType.startsWith("image/")) { in initialize()
DCCodecBufferChannel.cpp2637 AString mediaType; in handleWork() local
2638 if (outputFormat->findString(KEY_MIME, &mediaType) in handleWork()
2639 && mediaType == MIMETYPE_AUDIO_RAW) { in handleWork()
/hardware/google/av/media/codecs/base/
DSimpleC2Interface.cpp35 C2String mediaType, in BaseParams() argument
112 if (mediaType == rawMediaType) { in BaseParams()
127 isEncoder ? rawMediaType : mediaType)) in BaseParams()
139 isEncoder ? mediaType : rawMediaType)) in BaseParams()
/hardware/google/av/media/sfplugin/utils/
DCodec2Mapper.cpp513 C2Mapper::GetProfileLevelMapper(std::string mediaType) { in GetProfileLevelMapper() argument
514 std::transform(mediaType.begin(), mediaType.begin(), mediaType.end(), ::tolower); in GetProfileLevelMapper()
515 if (mediaType == MIMETYPE_AUDIO_AAC) { in GetProfileLevelMapper()
517 } else if (mediaType == MIMETYPE_VIDEO_AVC) { in GetProfileLevelMapper()
519 } else if (mediaType == MIMETYPE_VIDEO_DOLBY_VISION) { in GetProfileLevelMapper()
521 } else if (mediaType == MIMETYPE_VIDEO_H263) { in GetProfileLevelMapper()
523 } else if (mediaType == MIMETYPE_VIDEO_HEVC) { in GetProfileLevelMapper()
525 } else if (mediaType == MIMETYPE_VIDEO_MPEG2) { in GetProfileLevelMapper()
527 } else if (mediaType == MIMETYPE_VIDEO_MPEG4) { in GetProfileLevelMapper()
529 } else if (mediaType == MIMETYPE_VIDEO_VP8) { in GetProfileLevelMapper()
[all …]
DCodec2Mapper.h41 GetProfileLevelMapper(std::string mediaType);
/hardware/google/av/codec2/vndk/
DC2Store.cpp710 traits->mediaType = mediaTypeConfig->m.value; in init()
720 if (strncmp(traits->mediaType.c_str(), "audio/", 6) == 0) { in init()
722 } else if (strncmp(traits->mediaType.c_str(), "video/", 6) == 0) { in init()
724 } else if (strncmp(traits->mediaType.c_str(), "image/", 6) == 0) { in init()
/hardware/google/av/codec2/include/
DC2Component.h411 C2String mediaType; ///< media type supported by the component member
/hardware/google/av/media/codecs/base/include/
DSimpleC2Interface.h92 C2String mediaType,
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp327 out << indent << "mediaType: " << comp->mediaType << std::endl; in dump()
Dtypes.cpp287 d->mediaType = s.mediaType; in objcpy()
327 d->mediaType = s.mediaType.c_str(); in objcpy()
/hardware/google/interfaces/media/c2/1.0/
DIComponentStore.hal131 string mediaType;
/hardware/interfaces/media/c2/1.0/
DIComponentStore.hal125 string mediaType;