Home
last modified time | relevance | path

Searched refs:ohFormatType (Results 1 - 3 of 3) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dnative_common_utils.cpp131 void NativeCommonUtils::SwitchToOHFormatType(const IEffectFormat &formatType, ImageEffect_Format &ohFormatType) in SwitchToOHFormatType() argument
135 ohFormatType = it->second; in SwitchToOHFormatType()
137 ohFormatType = ImageEffect_Format::EFFECT_PIXEL_FORMAT_UNKNOWN; in SwitchToOHFormatType()
141 void NativeCommonUtils::SwitchToFormatType(const ImageEffect_Format &ohFormatType, IEffectFormat &formatType) in SwitchToFormatType() argument
144 [&ohFormatType](const std::pair<IEffectFormat, ImageEffect_Format> &format) { in SwitchToFormatType()
145 return format.second == ohFormatType; in SwitchToFormatType()
181 ImageEffect_Format ohFormatType = ImageEffect_Format::EFFECT_PIXEL_FORMAT_UNKNOWN; in SwitchToOHEffectInfo() local
182 SwitchToOHFormatType(format.first, ohFormatType); in SwitchToOHEffectInfo()
183 ohFilterInfo->supportedFormats.emplace(ohFormatType); in SwitchToOHEffectInfo()
234 ImageEffect_Format ohFormatType in IsMatchLookupCondition() local
[all...]
H A Dnative_common_utils.h40 static void SwitchToOHFormatType(const IEffectFormat &formatType, ImageEffect_Format &ohFormatType);
42 static void SwitchToFormatType(const ImageEffect_Format &ohFormatType, IEffectFormat &formatType);
/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp345 ImageEffect_Format ohFormatType = ImageEffect_Format::EFFECT_PIXEL_FORMAT_RGBA8888; in HWTEST_F() local
348 nativeCommonUtils->SwitchToFormatType(ohFormatType, formatType); in HWTEST_F()
351 ohFormatType = ImageEffect_Format::EFFECT_PIXEL_FORMAT_UNKNOWN; in HWTEST_F()
352 nativeCommonUtils->SwitchToFormatType(ohFormatType, formatType); in HWTEST_F()

Completed in 2 milliseconds