Package org.lwjgl.opencl
Class INTELPlanarYUV
- java.lang.Object
-
- org.lwjgl.opencl.INTELPlanarYUV
-
public final class INTELPlanarYUV extends java.lang.Object
Native bindings to the intel_planar_yuv extension.The purpose of this extension is to provide OpenCL support for the Planar YUV (YCbCr) image formats.
NV12_INTEL
format must be supported; support for other Planar YUV formats that may be defined in this extension is optional.The extension introduces two new cl_mem_flags:
MEM_NO_ACCESS_INTEL
which should be used together with image formats for which device does not support reading from or writing to at OpenCL kernels level, but are still useful in other use cases.MEM_ACCESS_FLAGS_UNRESTRICTED_INTEL
which may be used to relax the memory access rights specified incl_mem_flags
at memory object creation time and allow to access and modify the contents of the underlying data storage in unrestricted way e.g. by creating another memory object from that memory object or using dedicated device mechanisms.
Requires
CL12
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CL_DEVICE_PLANAR_YUV_MAX_HEIGHT_INTEL
CL_DEVICE_PLANAR_YUV_MAX_WIDTH_INTELAccepted as arguments passed toGetDeviceInfo
.static int
CL_MEM_ACCESS_FLAGS_UNRESTRICTED_INTEL
CL_MEM_NO_ACCESS_INTELAccepted ascl_mem_flags
.static int
CL_NV12_INTEL
Accepted asimage_channel_order
ofCLImageFormat
.
-
-
-
Field Detail
-
CL_MEM_NO_ACCESS_INTEL, CL_MEM_ACCESS_FLAGS_UNRESTRICTED_INTEL
Accepted ascl_mem_flags
.
-
CL_NV12_INTEL
Accepted asimage_channel_order
ofCLImageFormat
.
-
CL_DEVICE_PLANAR_YUV_MAX_WIDTH_INTEL, CL_DEVICE_PLANAR_YUV_MAX_HEIGHT_INTEL
Accepted as arguments passed toGetDeviceInfo
.
-
-