Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp513 sptr<SurfaceBuffer> hwBuffer; in decode() local
528 if (hwBuffer && (hwBuffer->GetUsage() & BUFFER_USAGE_MEM_MMZ_CACHE)) { in decode()
529 GSError err = hwBuffer->InvalidateCache(); in decode()
540 sptr<SurfaceBuffer> hwBuffer; in DodecodeGainmap() local
622 sptr<SurfaceBuffer> hwBuffer = in HwDecodeImage() local
625 if (hwBuffer == nullptr) { in HwDecodeImage()
639 res = HwDecodeGrids(hwDecoder, image, gridInfo, hwBuffer); in HwDecodeImage()
645 *outBuffer = hwBuffer; in HwDecodeImage()
697 GridInfo &gridInfo, sptr<SurfaceBuffer> &hwBuffer) in HwDecodeGrids() argument
1021 sptr<SurfaceBuffer> hwBuffer; in HwApplyAlphaImage() local
[all …]
/ohos5.0/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() argument
115 … OH_NativeBuffer* nativeBuffer = static_cast<OH_NativeBuffer*>(reinterpret_cast<void*>(hwBuffer)); in CreateHwPlatformImage()
/ohos5.0/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() argument
/ohos5.0/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() argument
/ohos5.0/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() argument
/ohos5.0/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 …vice, const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer) in GpuImageVk() argument
222 …desc_(hwBuffer ? GetImageDescFromHwBufferDesc(hwBuffer) : desc), hwBuffer_(hwBuffer), ownsResource… in GpuImageVk()
225 if (!plat_.image && !plat_.imageView && hwBuffer) { in GpuImageVk()
235 if (hwBuffer) { in GpuImageVk()
H A Dgpu_image_vk.h50 …ice, 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.cpp1232 const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer) in CreateGpuImageView() argument
1234 return make_unique<GpuImageVk>(*this, desc, platformData, hwBuffer); in CreateGpuImageView()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/
H A DHeifDecoderImpl.h100 GridInfo &gridInfo, sptr<SurfaceBuffer> &hwBuffer);
107 GridInfo &gridInfo, sptr<SurfaceBuffer> &hwBuffer);
129 bool ConvertHwBufferPixelFormat(sptr<SurfaceBuffer> &hwBuffer, GridInfo &gridInfo,
H A Dhevc_sw_decode_param.h30 void *hwBuffer = nullptr; member
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dgpu_image_gles.h48 uintptr_t hwBuffer; // For creating image from AHardwareBuffer member
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/generic/
H A Dplatform_device_gles.cpp37 data.hwBuffer = tmp.platformHwBuffer; in RENDER_BEGIN_NAMESPACE()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp331 sptr<SurfaceBuffer> hwBuffer in HeapMemAlloc() local
333 if (hwBuffer == nullptr) { in HeapMemAlloc()
338 void* nativeBuffer = hwBuffer.GetRefPtr(); in HeapMemAlloc()
346 hwBuffer->GetStride(), hwBuffer->GetHeight(), hwBuffer->GetSize()); in HeapMemAlloc()
349 … static_cast<uint8_t*>(hwBuffer->GetVirAddr()), yuvBufferSize, nativeBuffer); in HeapMemAlloc()
351 GSError retVal = hwBuffer->GetPlanesInfo(reinterpret_cast<void**>(&planes)); in HeapMemAlloc()