P4 to Git Change 1988968 by vsytchen@vsytchen-remote-ocl-win10 on 2019/08/26 11:30:16
SWDEV-153682 - Report cl_amd_planar_yuv extension in OpenCL 1. Update cl_ext headers ReviewBoardURL = http://ocltc.amd.com/reviews/r/17875/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#37 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#14 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#8 edit
This commit is contained in:
@@ -384,6 +384,22 @@ typedef CL_API_ENTRY cl_program (CL_API_CALL * clCreateProgramWithAssemblyAMD_fn
|
||||
const size_t* /* lengths */,
|
||||
cl_int* /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2;
|
||||
|
||||
#ifdef CL_VERSION_2_0
|
||||
/********************************
|
||||
* cl_amd_planar_yuv *
|
||||
********************************/
|
||||
|
||||
/* cl_mem flag - bitfield */
|
||||
#define CL_YUV_IMAGE_Y_PLANE_AMD 0x0
|
||||
#define CL_YUV_IMAGE_UV_PLANE_AMD 0x1
|
||||
|
||||
typedef CL_API_ENTRY cl_mem
|
||||
(CL_API_CALL * clGetPlaneFromImageAMD_fn)(cl_context /*context*/,
|
||||
cl_mem /*mem*/,
|
||||
cl_uint /*plane*/,
|
||||
cl_int * /*errcode_ret*/) CL_EXT_SUFFIX__VERSION_2_0;
|
||||
#endif
|
||||
|
||||
// <amd_internal>
|
||||
/***************************
|
||||
* cl_amd_command_intercept *
|
||||
|
||||
@@ -365,6 +365,22 @@ typedef CL_API_ENTRY cl_program (CL_API_CALL * clCreateProgramWithAssemblyAMD_fn
|
||||
const size_t* /* lengths */,
|
||||
cl_int* /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2;
|
||||
|
||||
#ifdef CL_VERSION_2_0
|
||||
/********************************
|
||||
* cl_amd_planar_yuv *
|
||||
********************************/
|
||||
|
||||
/* cl_mem flag - bitfield */
|
||||
#define CL_YUV_IMAGE_Y_PLANE_AMD 0x0
|
||||
#define CL_YUV_IMAGE_UV_PLANE_AMD 0x1
|
||||
|
||||
typedef CL_API_ENTRY cl_mem
|
||||
(CL_API_CALL * clGetPlaneFromImageAMD_fn)(cl_context /*context*/,
|
||||
cl_mem /*mem*/,
|
||||
cl_uint /*plane*/,
|
||||
cl_int * /*errcode_ret*/) CL_EXT_SUFFIX__VERSION_2_0;
|
||||
#endif
|
||||
|
||||
// <amd_internal>
|
||||
/***************************
|
||||
* cl_amd_command_intercept *
|
||||
|
||||
@@ -365,6 +365,22 @@ typedef CL_API_ENTRY cl_program (CL_API_CALL * clCreateProgramWithAssemblyAMD_fn
|
||||
const size_t* /* lengths */,
|
||||
cl_int* /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_2;
|
||||
|
||||
#ifdef CL_VERSION_2_0
|
||||
/********************************
|
||||
* cl_amd_planar_yuv *
|
||||
********************************/
|
||||
|
||||
/* cl_mem flag - bitfield */
|
||||
#define CL_YUV_IMAGE_Y_PLANE_AMD 0x0
|
||||
#define CL_YUV_IMAGE_UV_PLANE_AMD 0x1
|
||||
|
||||
typedef CL_API_ENTRY cl_mem
|
||||
(CL_API_CALL * clGetPlaneFromImageAMD_fn)(cl_context /*context*/,
|
||||
cl_mem /*mem*/,
|
||||
cl_uint /*plane*/,
|
||||
cl_int * /*errcode_ret*/) CL_EXT_SUFFIX__VERSION_2_0;
|
||||
#endif
|
||||
|
||||
// <amd_internal>
|
||||
/***************************
|
||||
* cl_amd_command_intercept *
|
||||
|
||||
Reference in New Issue
Block a user