Home
last modified time | relevance | path

Searched refs:IPType (Results 1 - 19 of 19) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dbrightness_efilter.cpp39 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 Dbrightness_efilter.h55 std::unordered_map<IPType, std::unordered_map<IEffectFormat, ApplyFunc>> brightnessFilterInfo_;
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcontrast_efilter.cpp38 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 Dcontrast_efilter.h55 std::unordered_map<IPType, std::unordered_map<IEffectFormat, ApplyFunc>> contrastFilterInfo_;
/foundation/multimedia/image_effect/interfaces/inner_api/native/memory/
H A Deffect_memory_manager.h47 IMAGE_EFFECT_EXPORT void SetIPType(IPType ipType);
64 IPType runningIPType_ = IPType::DEFAULT;
/foundation/multimedia/image_effect/frameworks/native/efilter/base/
H A Defilter.cpp170 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 Deffect_info.h26 enum class IPType : uint32_t { class
65 std::map<IEffectFormat, std::vector<IPType>> formats_;
H A Deffect_context.h39 IPType ipType_ = IPType::DEFAULT;
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/filters/source/
H A Dimage_source_filter.cpp52 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 Dimage_effect_inner.h142 std::vector<IPType> ipType_ = {
143 { IPType::CPU, IPType::GPU },
/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dnative_common_utils.cpp50 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 Dimage_effect_inner.cpp143 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 Dcapability.h36 std::map<IEffectFormat, std::vector<IPType>> formats;
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/
H A Dcrop_efilter.cpp233 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 Deffect_memory_manager.cpp38 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 Defilter.h80 ErrorCode CalculateEFilterIPType(IEffectFormat &formatType, IPType &ipType);
/foundation/multimedia/image_effect/test/unittest/
H A DTestImageEffect.cpp77 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU });
H A DTestUtils.cpp399 std::vector<IPType> ipType; in HWTEST_F()
400 ipType.emplace_back(IPType::DEFAULT); in HWTEST_F()
H A Dnative_image_effect_unittest.cpp84 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()

Completed in 12 milliseconds