Package org.lwjgl.opencl
Class INTELPlanarYUV
java.lang.Object
org.lwjgl.opencl.INTELPlanarYUV
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_INTELwhich 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_INTELwhich may be used to relax the memory access rights specified incl_mem_flagsat 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
FieldsModifier and TypeFieldDescriptionstatic final intAccepted as arguments passed toGetDeviceInfo.static final intAccepted as arguments passed toGetDeviceInfo.static final intAccepted ascl_mem_flags.static final intAccepted ascl_mem_flags.static final intAccepted asimage_channel_orderofCLImageFormat. -
Method Summary
-
Field Details
-
CL_MEM_NO_ACCESS_INTEL
public static final int CL_MEM_NO_ACCESS_INTELAccepted ascl_mem_flags.- See Also:
-
CL_MEM_ACCESS_FLAGS_UNRESTRICTED_INTEL
public static final int CL_MEM_ACCESS_FLAGS_UNRESTRICTED_INTELAccepted ascl_mem_flags.- See Also:
-
CL_NV12_INTEL
public static final int CL_NV12_INTELAccepted asimage_channel_orderofCLImageFormat.- See Also:
-
CL_DEVICE_PLANAR_YUV_MAX_WIDTH_INTEL
public static final int CL_DEVICE_PLANAR_YUV_MAX_WIDTH_INTELAccepted as arguments passed toGetDeviceInfo.- See Also:
-
CL_DEVICE_PLANAR_YUV_MAX_HEIGHT_INTEL
public static final int CL_DEVICE_PLANAR_YUV_MAX_HEIGHT_INTELAccepted as arguments passed toGetDeviceInfo.- See Also:
-