/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/ |
H A D | HeifDecoderImpl.cpp | 493 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 D | platform_hardware_buffer_util.cpp | 28 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 D | platform_hardware_buffer_util_vk.h | 43 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer); 55 const GpuImageDesc& desc, uintptr_t hwBuffer);
|
H A D | gpu_image_vk.cpp | 220 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 D | gpu_image_vk.h | 50 Device& device, const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer);
|
H A D | device_vk.h | 143 const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer);
|
H A D | device_vk.cpp | 1231 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 D | platform_hardware_buffer_util.cpp | 24 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 D | platform_hardware_buffer_util.cpp | 24 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 D | platform_hardware_buffer_util.cpp | 24 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 D | hevc_sw_decode_param.h | 30 void *hwBuffer = nullptr; member
|
H A D | HeifDecoderImpl.h | 98 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 D | gpu_image_gles.h | 48 uintptr_t hwBuffer; // For creating image from AHardwareBuffer member
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/generic/ |
H A D | platform_device_gles.cpp | 37 data.hwBuffer = tmp.platformHwBuffer; in CreateGpuImageView()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 313 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()
|