/foundation/multimedia/image_effect/interfaces/inner_api/native/memory/ |
H A D | effect_memory.h | 34 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 D | effect_buffer.h | 48 BufferType bufferType_ = BufferType::DEFAULT; 67 BufferType bufferType = BufferType::DEFAULT;
|
H A D | effect_type.h | 29 enum class BufferType { class
|
/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/ |
H A D | effect_memory_manager.cpp | 66 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 D | effect_memory.cpp | 63 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 D | common_utils.cpp | 62 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 D | common_utils.h | 104 static BufferType SwitchToEffectBuffType(AllocatorType allocatorType); 109 static const std::unordered_map<AllocatorType, BufferType> allocatorTypeToEffectBuffType_;
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestEffectMemoryManager.cpp | 100 BufferType bufferType = BufferType::SHARED_MEMORY; in HWTEST_F() 103 bufferType = BufferType::DEFAULT; in HWTEST_F()
|
H A D | TestRenderEnvironment.cpp | 60 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 D | image_effect_inner_unittest.cpp | 91 extraInfo->bufferType = BufferType::HEAP_MEMORY; in SetUp()
|
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/filters/source/ |
H A D | image_source_filter.cpp | 60 .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 D | efilter.cpp | 136 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 D | decoder.h | 67 int32_t SetPortBufferMode(DirectionType direct, AllocateBufferMode mode, BufferType type);
|
H A D | decoder.cpp | 176 int32_t Decoder::SetPortBufferMode(DirectionType direct, AllocateBufferMode mode, BufferType type) in SetPortBufferMode()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/ |
H A D | crop_efilter.cpp | 180 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 D | colorspace_converter.cpp | 67 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 D | webgl_arg.h | 46 using BufferType = enum { 503 BufferType GetBufferType() const in GetBufferType() 521 BufferType bufferType_ { BUFFER_ARRAY };
|
/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | image_effect_filter.cpp | 204 extraInfo->bufferType = BufferType::DEFAULT; in PushData()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 63 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()
|