Home
last modified time | relevance | path

Searched refs:hdiCap (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_list.cpp129 if (hdiCap.role == MEDIA_ROLETYPE_VIDEO_AVC || hdiCap.role == MEDIA_ROLETYPE_VIDEO_HEVC || in IsSupportedVideoCodec()
130 hdiCap.role == MEDIA_ROLETYPE_VIDEO_VVC) { in IsSupportedVideoCodec()
139 const CodecVideoPortCap& hdiVideoCap = hdiCap.port.video; in HdiCapToUserCap()
141 userCap.codecName = hdiCap.compName; in HdiCapToUserCap()
145 userCap.maxInstance = hdiCap.maxInst; in HdiCapToUserCap()
146 userCap.bitrate = {hdiCap.bitRate.min, hdiCap.bitRate.max}; in HdiCapToUserCap()
156 GetCodecProfileLevels(hdiCap, userCap); in HdiCapToUserCap()
229 int32_t profile = hdiCap.supportProfiles[i]; in GetCodecProfileLevels()
230 int32_t maxLevel = hdiCap.supportProfiles[i + 1]; in GetCodecProfileLevels()
233 if (hdiCap.role == MEDIA_ROLETYPE_VIDEO_AVC) { in GetCodecProfileLevels()
[all …]
H A Dhcodec_list.h29 CapabilityData HdiCapToUserCap(const CodecHDI::CodecCompCapability& hdiCap);
33 … void GetCodecProfileLevels(const CodecHDI::CodecCompCapability& hdiCap, CapabilityData& userCap);
34 bool IsSupportedVideoCodec(const CodecHDI::CodecCompCapability& hdiCap);
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/
H A Dhdi_codec_manager.cpp122 void HdiCodecManager::AddHdiCap(const CodecCompCapability& hdiCap) in AddHdiCap() argument
125 auto pluginType = GetCodecType(hdiCap.type); in AddHdiCap()
130 auto mime = GetCodecMime(hdiCap.role); in AddHdiCap()
140 outcapBuilder.SetVideoPixelFormatList(GetCodecFormats(hdiCap.port.video)); in AddHdiCap()
143 incapBuilder.SetVideoPixelFormatList(GetCodecFormats(hdiCap.port.video)); in AddHdiCap()
150 codecCapability.name = hdiCap.compName; in AddHdiCap()
H A Dhdi_codec_manager.h43 void AddHdiCap(const CodecCompCapability& hdiCap);