/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | brightness_efilter.cpp | 39 IPType::CPU, in BrightnessEFilter() 47 IPType::GPU, in BrightnessEFilter() 67 if (context->ipType_ == IPType::GPU) { in Render() 83 IPType ipType = context->ipType_; in Render() 142 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU, IPType::GPU }); in GetEffectInfo() 143 info_->formats_.emplace(IEffectFormat::YUVNV21, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo() 144 info_->formats_.emplace(IEffectFormat::YUVNV12, std::vector<IPType>{ IPTyp in GetEffectInfo() [all...] |
H A D | brightness_efilter.h | 55 std::unordered_map<IPType, std::unordered_map<IEffectFormat, ApplyFunc>> brightnessFilterInfo_;
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | contrast_efilter.cpp | 38 IPType::CPU, in ContrastEFilter() 46 IPType::GPU, in ContrastEFilter() 66 if (context->ipType_ == IPType::GPU) { in Render() 82 IPType ipType = context->ipType_; in Render() 141 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU, IPType::GPU }); in GetEffectInfo() 142 info_->formats_.emplace(IEffectFormat::YUVNV21, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo() 143 info_->formats_.emplace(IEffectFormat::YUVNV12, std::vector<IPType>{ IPTyp in GetEffectInfo() [all...] |
H A D | contrast_efilter.h | 55 std::unordered_map<IPType, std::unordered_map<IEffectFormat, ApplyFunc>> contrastFilterInfo_;
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/memory/ |
H A D | effect_memory_manager.h | 47 IMAGE_EFFECT_EXPORT void SetIPType(IPType ipType); 64 IPType runningIPType_ = IPType::DEFAULT;
|
/foundation/multimedia/image_effect/frameworks/native/efilter/base/ |
H A D | efilter.cpp | 170 IPType runningIPType = context->ipType_; in IpTypeConvert() 173 std::map<IEffectFormat, std::vector<IPType>> &formats = pixelFormatCap->formats; in IpTypeConvert() 175 if (it == formats.end() && runningIPType == IPType::CPU) { in IpTypeConvert() 181 CHECK_AND_RETURN_RET_LOG(runningIPType != IPType::DEFAULT, buffer, "runningIPType is default"); in IpTypeConvert() 184 if (runningIPType == IPType::GPU) { in IpTypeConvert() 197 context->ipType_ = IPType::CPU; in ConvertFromGPU2CPU() 236 context->ipType_ = IPType::GPU; in ConvertFromCPU2GPU() 253 IPType preIPType = context->ipType_; in PushData() 255 IPType runningIPType = context->ipType_; in PushData() 257 if (runningIPType == IPType in PushData() [all...] |
/foundation/multimedia/image_effect/interfaces/inner_api/native/base/ |
H A D | effect_info.h | 26 enum class IPType : uint32_t { class 65 std::map<IEffectFormat, std::vector<IPType>> formats_;
|
H A D | effect_context.h | 39 IPType ipType_ = IPType::DEFAULT;
|
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/filters/source/ |
H A D | image_source_filter.cpp | 52 if (context->ipType_ != IPType::GPU && context->renderEnvironment_->GetOutputType() == DataType::NATIVE_WINDOW) { in UpdateInputBufferIfNeed() 92 if (context->ipType_ != IPType::GPU) { in UpdateInputBufferIfNeed() 136 if (context_->renderEnvironment_->GetEGLStatus() != EGLStatus::READY && context_->ipType_ == IPType::GPU) { in DoNegotiate()
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/effect/ |
H A D | image_effect_inner.h | 142 std::vector<IPType> ipType_ = { 143 { IPType::CPU, IPType::GPU },
|
/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | native_common_utils.cpp | 50 static const std::map<IPType, ImageEffect_BufferType> IPTYPE_TABLE = { 51 { IPType::CPU, ImageEffect_BufferType::EFFECT_BUFFER_TYPE_PIXEL }, 52 { IPType::GPU, ImageEffect_BufferType::EFFECT_BUFFER_TYPE_TEXTURE }, 154 void SwitchToOHBufferType(const IPType &ipType, ImageEffect_BufferType &ohBufferType) in SwitchToOHBufferType() 216 [&formatType](const std::pair<IEffectFormat, std::vector<IPType>> &format) { in IsMatchLookupCondition() 293 effectInfo->formats_.emplace(format.first, std::vector<IPType>{ IPType::CPU }); in SwitchToEffectInfo()
|
/foundation/multimedia/image_effect/frameworks/native/effect/base/ |
H A D | image_effect_inner.cpp | 143 const std::unordered_map<int32_t, std::vector<IPType>> runningTypeTab_{ 144 { std::underlying_type<RunningType>::type(RunningType::FOREGROUND), { IPType::CPU, IPType::GPU } }, 145 { std::underlying_type<RunningType>::type(RunningType::BACKGROUND), { IPType::CPU } }, 290 void GetConfigIPTypes(const std::map<ConfigType, Plugin::Any> &config, std::vector<IPType> &configIPTypes) in GetConfigIPTypes() 295 configIPTypes = { IPType::CPU, IPType::GPU }; in GetConfigIPTypes() 304 configIPTypes = { IPType::CPU, IPType::GPU }; in GetConfigIPTypes() 309 IPType in ChooseIPType() [all...] |
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/include/core/ |
H A D | capability.h | 36 std::map<IEffectFormat, std::vector<IPType>> formats;
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/ |
H A D | crop_efilter.cpp | 233 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo() 234 info_->formats_.emplace(IEffectFormat::RGBA_1010102, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
|
/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/ |
H A D | effect_memory_manager.cpp | 38 void EffectMemoryManager::SetIPType(IPType ipType) in SetIPType() 117 if (runningIPType_ == IPType::CPU) { in AllocMemory()
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/efilter/ |
H A D | efilter.h | 80 ErrorCode CalculateEFilterIPType(IEffectFormat &formatType, IPType &ipType);
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestImageEffect.cpp | 77 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU });
|
H A D | TestUtils.cpp | 399 std::vector<IPType> ipType; in HWTEST_F() 400 ipType.emplace_back(IPType::DEFAULT); in HWTEST_F()
|
H A D | native_image_effect_unittest.cpp | 84 effectInfo->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::GPU }); in GetEffectInfo() 117 effectInfo->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
|