Home
last modified time | relevance | path

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

/foundation/multimedia/image_effect/interfaces/inner_api/native/memory/
H A Deffect_memory.h34 BufferType bufferType = BufferType::DEFAULT;
47 virtual BufferType GetBufferType() in GetBufferType()
49 return BufferType::DEFAULT; in GetBufferType()
63 BufferType GetBufferType() override
65 return BufferType::HEAP_MEMORY;
81 BufferType GetBufferType() override
83 return BufferType::DMA_BUFFER;
100 BufferType GetBufferType() override
102 return BufferType
[all...]
/foundation/multimedia/image_effect/interfaces/inner_api/native/base/
H A Deffect_buffer.h48 BufferType bufferType_ = BufferType::DEFAULT;
67 BufferType bufferType = BufferType::DEFAULT;
H A Deffect_type.h29 enum class BufferType { class
/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/
H A Deffect_memory_manager.cpp66 if (memoryInfo.bufferType != BufferType::DMA_BUFFER || memoryInfo.extra == nullptr || in UpdateColorSpaceIfNeed()
77 std::shared_ptr<Memory> AllocMemoryInner(MemoryInfo &allocMemInfo, BufferType allocBufferType) in AllocMemoryInner()
107 (allocMemInfo.bufferType == BufferType::DEFAULT || allocMemInfo.bufferType == memInfo.bufferType) && in AllocMemory()
116 BufferType allocBufferType = BufferType::DMA_BUFFER; // default alloc dma buffer in AllocMemory()
118 allocBufferType = BufferType::HEAP_MEMORY; // default alloc heap buffer on running with cpu filter in AllocMemory()
120 if (allocMemInfo.bufferType != BufferType::DEFAULT) { in AllocMemory()
H A Deffect_memory.cpp63 memoryData->memoryInfo.bufferType = BufferType::HEAP_MEMORY; in Alloc()
156 memoryData->memoryInfo.bufferType = BufferType::DMA_BUFFER; in Alloc()
225 memoryData->memoryInfo.bufferType = BufferType::SHARED_MEMORY; in Alloc()
245 std::unique_ptr<AbsMemory> EffectMemory::CreateMemory(BufferType bufferType) in CreateMemory()
249 case BufferType::HEAP_MEMORY: in CreateMemory()
252 case BufferType::DMA_BUFFER: in CreateMemory()
255 case BufferType::SHARED_MEMORY: in CreateMemory()
/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Dcommon_utils.cpp62 const std::unordered_map<AllocatorType, BufferType> CommonUtils::allocatorTypeToEffectBuffType_ = {
63 { AllocatorType::HEAP_ALLOC, BufferType::HEAP_MEMORY },
64 { AllocatorType::DMA_ALLOC, BufferType::DMA_BUFFER },
65 { AllocatorType::SHARE_MEM_ALLOC, BufferType::SHARED_MEMORY },
118 if (extraInfo->bufferType == BufferType::DMA_BUFFER && pixelMap->GetFd() != nullptr) { in LockPixelMap()
121 if (extraInfo->bufferType == BufferType::SHARED_MEMORY && pixelMap->GetFd() != nullptr) { in LockPixelMap()
148 extraInfo->bufferType = BufferType::DMA_BUFFER; in ParseNativeWindowData()
172 extraInfo->bufferType = BufferType::DMA_BUFFER; in ParseSurfaceData()
306 BufferType CommonUtils::SwitchToEffectBuffType(AllocatorType allocatorType) in SwitchToEffectBuffType()
308 BufferType bufferTyp in SwitchToEffectBuffType()
[all...]
H A Dcommon_utils.h104 static BufferType SwitchToEffectBuffType(AllocatorType allocatorType);
109 static const std::unordered_map<AllocatorType, BufferType> allocatorTypeToEffectBuffType_;
/foundation/multimedia/image_effect/test/unittest/
H A DTestEffectMemoryManager.cpp100 BufferType bufferType = BufferType::SHARED_MEMORY; in HWTEST_F()
103 bufferType = BufferType::DEFAULT; in HWTEST_F()
H A DTestRenderEnvironment.cpp60 extraInfo->bufferType = BufferType::HEAP_MEMORY;
217 .bufferType = BufferType::DMA_BUFFER, in HWTEST_F()
221 SurfaceBuffer *buffer = (allocMemInfo.bufferType == BufferType::DMA_BUFFER) ? in HWTEST_F()
H A Dimage_effect_inner_unittest.cpp91 extraInfo->bufferType = BufferType::HEAP_MEMORY; in SetUp()
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/filters/source/
H A Dimage_source_filter.cpp60 .bufferType = BufferType::DMA_BUFFER, in UpdateInputBufferIfNeed()
70 extraInfo->surfaceBuffer = (allocMemInfo.bufferType == BufferType::DMA_BUFFER) ? in UpdateInputBufferIfNeed()
/foundation/multimedia/image_effect/frameworks/native/efilter/base/
H A Defilter.cpp136 std::shared_ptr<MemoryData> AllocMemory(BufferType allocBufferType, EffectBuffer *buffer) in AllocMemory()
161 extraInfo->surfaceBuffer = (allocMemInfo.bufferType == BufferType::DMA_BUFFER) ? in CreateEffectBuffer()
205 .bufferType = BufferType::DMA_BUFFER, in ConvertFromGPU2CPU()
228 input->extraInfo_->bufferType = BufferType::DMA_BUFFER; in ConvertFromGPU2CPU()
292 extraInfo->surfaceBuffer = (allocMemInfo.bufferType == BufferType::DMA_BUFFER) ? in PushData()
372 if (runningType == IPType::GPU && current->extraInfo_->bufferType == BufferType::DMA_BUFFER) { in CreateDmaEffectBufferIfNeed()
380 .bufferType = BufferType::DMA_BUFFER, in CreateDmaEffectBufferIfNeed()
391 extraInfo->surfaceBuffer = (memData->memoryInfo.bufferType == BufferType::DMA_BUFFER) ? in CreateDmaEffectBufferIfNeed()
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/decoder/
H A Ddecoder.h67 int32_t SetPortBufferMode(DirectionType direct, AllocateBufferMode mode, BufferType type);
H A Ddecoder.cpp176 int32_t Decoder::SetPortBufferMode(DirectionType direct, AllocateBufferMode mode, BufferType type) in SetPortBufferMode()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/
H A Dcrop_efilter.cpp180 BufferType::DMA_BUFFER : BufferType::DEFAULT, in CropToOutputBuffer()
189 extraInfo->surfaceBuffer = (memData->memoryInfo.bufferType == BufferType::DMA_BUFFER) ? in CropToOutputBuffer()
/foundation/multimedia/image_effect/frameworks/native/effect/manager/colorspace_manager/
H A Dcolorspace_converter.cpp67 std::unique_ptr<AbsMemory> absMemory = EffectMemory::CreateMemory(BufferType::DMA_BUFFER); in AllocSurfaceBuffer()
209 buffer->extraInfo_->bufferType = BufferType::DMA_BUFFER; in DecomposeHdrImageInner()
260 buffer->extraInfo_->bufferType = BufferType::DMA_BUFFER; in ProcessHdrImageInner()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_arg.h46 using BufferType = enum {
503 BufferType GetBufferType() const in GetBufferType()
521 BufferType bufferType_ { BUFFER_ARRAY };
/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dimage_effect_filter.cpp204 extraInfo->bufferType = BufferType::DEFAULT; in PushData()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp63 struct BufferType { struct
78 Bind::BufferType buffer { 0, 0, 0 };
2567 auto bindBuffer = [this](uint32_t target, uint32_t binding, const Gles::Bind::BufferType& buffer) { in BindResources()

Completed in 16 milliseconds