Home
last modified time | relevance | path

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

/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp140 const std::string &mediaType = typeIt->first; in buildMediaCodecList() local
143 codecInfo->addMime(mediaType.c_str()); in buildMediaCodecList()
159 C2Mapper::GetProfileLevelMapper(trait.mediaType); in buildMediaCodecList()
210 if (mediaType == MIMETYPE_VIDEO_VP9) { in buildMediaCodecList()
218 } else if (mediaType == MIMETYPE_VIDEO_HEVC && !encoder) { in buildMediaCodecList()
221 } else if (mediaType == MIMETYPE_VIDEO_VP8) { in buildMediaCodecList()
227 } else if (mediaType == MIMETYPE_VIDEO_AVC) { in buildMediaCodecList()
239 } else if (mediaType == MIMETYPE_VIDEO_MPEG4) { in buildMediaCodecList()
245 } else if (mediaType == MIMETYPE_VIDEO_H263) { in buildMediaCodecList()
254 } else if (mediaType == MIMETYPE_VIDEO_MPEG2 && !encoder) { in buildMediaCodecList()
[all …]
DCodec2Mapper.cpp452 C2Mapper::GetProfileLevelMapper(std::string mediaType) { in GetProfileLevelMapper() argument
453 std::transform(mediaType.begin(), mediaType.begin(), mediaType.end(), ::tolower); in GetProfileLevelMapper()
454 if (mediaType == MIMETYPE_AUDIO_AAC) { in GetProfileLevelMapper()
456 } else if (mediaType == MIMETYPE_VIDEO_AVC) { in GetProfileLevelMapper()
458 } else if (mediaType == MIMETYPE_VIDEO_DOLBY_VISION) { in GetProfileLevelMapper()
460 } else if (mediaType == MIMETYPE_VIDEO_H263) { in GetProfileLevelMapper()
462 } else if (mediaType == MIMETYPE_VIDEO_HEVC) { in GetProfileLevelMapper()
464 } else if (mediaType == MIMETYPE_VIDEO_MPEG2) { in GetProfileLevelMapper()
466 } else if (mediaType == MIMETYPE_VIDEO_MPEG4) { in GetProfileLevelMapper()
468 } else if (mediaType == MIMETYPE_VIDEO_VP8) { in GetProfileLevelMapper()
[all …]
DCodec2Mapper.h39 GetProfileLevelMapper(std::string mediaType);
DCCodecConfig.cpp506 AString mediaType; in initialize() local
510 mediaType = AString(portMediaType->m.value, portMediaType->flexCount()); in initialize()
515 mediaType = AString(streamMediaType->m.value, streamMediaType->flexCount()); in initialize()
518 ALOGD("read media type: %s", mediaType.c_str()); in initialize()
519 if (mediaType.startsWith("audio/")) { in initialize()
521 } else if (mediaType.startsWith("video/")) { in initialize()
523 } else if (mediaType.startsWith("image/")) { in initialize()
DCCodecBufferChannel.cpp2014 AString mediaType; in handleWork() local
2015 if (outputFormat->findString(KEY_MIME, &mediaType) in handleWork()
2016 && 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/codec2/vndk/
DC2Store.cpp744 traits->mediaType = mediaTypeConfig->m.value; in getTraits()
754 if (strncmp(traits->mediaType.c_str(), "audio/", 6) == 0) { in getTraits()
756 } else if (strncmp(traits->mediaType.c_str(), "video/", 6) == 0) { in getTraits()
758 } else if (strncmp(traits->mediaType.c_str(), "image/", 6) == 0) { in getTraits()
/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.cpp325 out << indent << "mediaType: " << comp->mediaType << std::endl; in dump()
Dtypes.cpp288 d->mediaType = s.mediaType; in objcpy()
328 d->mediaType = s.mediaType.c_str(); in objcpy()
/hardware/google/interfaces/media/c2/1.0/
DIComponentStore.hal131 string mediaType;
/hardware/google/av/media/v4l2store/
DC2VDAComponentStore.cpp225 traits->mediaType = mediaTypeConfig->m.value; in getTraits()