Home
last modified time | relevance | path

Searched refs:hwBuffer (Results 1 - 15 of 15) sorted by relevance

/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp493 sptr<SurfaceBuffer> hwBuffer; in decode() local
494 bool decodeRes = HwDecodeImage(nullptr, primaryImage_, gridInfo_, &hwBuffer, true); in decode()
500 ConvertHwBufferPixelFormat(hwBuffer, gridInfo_, dstMemory_, dstRowStride_); in decode()
505 if (hwBuffer && (hwBuffer->GetUsage() & BUFFER_USAGE_MEM_MMZ_CACHE)) { in decode()
506 GSError err = hwBuffer->InvalidateCache(); in decode()
543 sptr<SurfaceBuffer> hwBuffer; in decodeGainmap() local
544 bool decodeRes = HwDecodeImage(nullptr, gainmapImage_, gainmapGridInfo_, &hwBuffer, false); in decodeGainmap()
550 ConvertHwBufferPixelFormat(hwBuffer, gainmapGridInfo_, gainmapDstMemory_, gainmapDstRowStride_); in decodeGainmap()
564 sptr<SurfaceBuffer> hwBuffer; in decodeAuxiliaryMap() local
619 sptr<SurfaceBuffer> hwBuffer = isPrimary && IsDirectYUVDecode() ? sptr<SurfaceBuffer>(dstHwBuffer_) : HwDecodeImage() local
648 HwDecodeGrids(HeifHardwareDecoder *hwDecoder, std::shared_ptr<HeifImage> &image, GridInfo &gridInfo, sptr<SurfaceBuffer> &hwBuffer) HwDecodeGrids() argument
727 HwDecodeSingleImage(HeifHardwareDecoder *hwDecoder, std::shared_ptr<HeifImage> &image, GridInfo &gridInfo, sptr<SurfaceBuffer> &hwBuffer) HwDecodeSingleImage() argument
953 sptr<SurfaceBuffer> hwBuffer; HwApplyAlphaImage() local
997 ConvertHwBufferPixelFormat(sptr<SurfaceBuffer> &hwBuffer, GridInfo &gridInfo, uint8_t *dstMemory, size_t dstRowStride) ConvertHwBufferPixelFormat() argument
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ohos/
H A Dplatform_hardware_buffer_util.cpp28 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument
36 OH_NativeBuffer* nativeBuffer = static_cast<OH_NativeBuffer*>(reinterpret_cast<void*>(hwBuffer)); in QueryHwBufferFormatProperties()
73 const GpuImageDesc& desc, uintptr_t hwBuffer) in CreateHwPlatformImage()
115 OH_NativeBuffer* nativeBuffer = static_cast<OH_NativeBuffer*>(reinterpret_cast<void*>(hwBuffer)); in CreateHwPlatformImage()
72 CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties& hwBufferProperties, const GpuImageDesc& desc, uintptr_t hwBuffer) CreateHwPlatformImage() argument
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dplatform_hardware_buffer_util_vk.h43 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer);
55 const GpuImageDesc& desc, uintptr_t hwBuffer);
H A Dgpu_image_vk.cpp220 Device& device, const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer) in GpuImageVk()
222 desc_(hwBuffer ? GetImageDescFromHwBufferDesc(hwBuffer) : desc), hwBuffer_(hwBuffer), ownsResources_(false) in GpuImageVk()
225 if (!plat_.image && !plat_.imageView && hwBuffer) { in GpuImageVk()
226 PLUGIN_LOG_W("RENDER_VALIDATION: creating GpuImage without image, imageView, or hwBuffer"); in GpuImageVk()
235 if (hwBuffer) { in GpuImageVk()
219 GpuImageVk( Device& device, const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer) GpuImageVk() argument
H A Dgpu_image_vk.h50 Device& device, const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer);
H A Ddevice_vk.h143 const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer);
H A Ddevice_vk.cpp1231 const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer) in CreateGpuImageView()
1233 return make_unique<GpuImageVk>(*this, desc, platformData, hwBuffer); in CreateGpuImageView()
1230 CreateGpuImageView( const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer) CreateGpuImageView() argument
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/windows/
H A Dplatform_hardware_buffer_util.cpp24 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument
30 const GpuImageDesc& desc, uintptr_t hwBuffer) in CreateHwPlatformImage()
29 CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties& hwBufferProperties, const GpuImageDesc& desc, uintptr_t hwBuffer) CreateHwPlatformImage() argument
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/linux/
H A Dplatform_hardware_buffer_util.cpp24 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument
30 const GpuImageDesc& desc, uintptr_t hwBuffer) in CreateHwPlatformImage()
29 CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties& hwBufferProperties, const GpuImageDesc& desc, uintptr_t hwBuffer) CreateHwPlatformImage() argument
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/mac/
H A Dplatform_hardware_buffer_util.cpp24 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument
30 const GpuImageDesc& desc, uintptr_t hwBuffer) in CreateHwPlatformImage()
29 CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties& hwBufferProperties, const GpuImageDesc& desc, uintptr_t hwBuffer) CreateHwPlatformImage() argument
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/
H A Dhevc_sw_decode_param.h30 void *hwBuffer = nullptr; member
H A DHeifDecoderImpl.h98 GridInfo &gridInfo, sptr<SurfaceBuffer> &hwBuffer);
105 GridInfo &gridInfo, sptr<SurfaceBuffer> &hwBuffer);
125 bool ConvertHwBufferPixelFormat(sptr<SurfaceBuffer> &hwBuffer, GridInfo &gridInfo,
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dgpu_image_gles.h48 uintptr_t hwBuffer; // For creating image from AHardwareBuffer member
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/generic/
H A Dplatform_device_gles.cpp37 data.hwBuffer = tmp.platformHwBuffer; in CreateGpuImageView()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp313 sptr<SurfaceBuffer> hwBuffer = decoder.AllocateOutputBuffer(gridInfo.tileWidth * gridInfo.cols, in HeapMemAlloc() local
316 if (hwBuffer == nullptr) { in HeapMemAlloc()
321 void* nativeBuffer = hwBuffer.GetRefPtr(); in HeapMemAlloc()
329 hwBuffer->GetStride(), hwBuffer->GetHeight(), hwBuffer->GetSize()); in HeapMemAlloc()
332 static_cast<uint8_t*>(hwBuffer->GetVirAddr()), yuvBufferSize, nativeBuffer); in HeapMemAlloc()
334 GSError retVal = hwBuffer->GetPlanesInfo(reinterpret_cast<void**>(&planes)); in HeapMemAlloc()

Completed in 13 milliseconds