1 /******************************************************************************* 2 * Copyright (c) 2008-2019 The Khronos Group Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and/or associated documentation files (the 6 * "Materials"), to deal in the Materials without restriction, including 7 * without limitation the rights to use, copy, modify, merge, publish, 8 * distribute, sublicense, and/or sell copies of the Materials, and to 9 * permit persons to whom the Materials are furnished to do so, subject to 10 * the following conditions: 11 * 12 * The above copyright notice and this permission notice shall be included 13 * in all copies or substantial portions of the Materials. 14 * 15 * MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS 16 * KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS 17 * SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT 18 * https://www.khronos.org/registry/ 19 * 20 * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 23 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 24 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 25 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 26 * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 27 ******************************************************************************/ 28 /*****************************************************************************\ 29 30 Copyright (c) 2013-2019 Intel Corporation All Rights Reserved. 31 32 THESE MATERIALS ARE PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 33 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 34 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 35 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR ITS 36 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 37 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 38 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 39 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 40 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR TORT (INCLUDING 41 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THESE 42 MATERIALS, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 43 44 File Name: cl_ext_intel.h 45 46 Abstract: 47 48 Notes: 49 50 \*****************************************************************************/ 51 52 #ifndef __CL_EXT_INTEL_H 53 #define __CL_EXT_INTEL_H 54 55 #include <CL/cl.h> 56 #include <CL/cl_platform.h> 57 58 #ifdef __cplusplus 59 extern "C" { 60 #endif 61 62 /*************************************** 63 * cl_intel_thread_local_exec extension * 64 ****************************************/ 65 66 #define cl_intel_thread_local_exec 1 67 68 #define CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL (((cl_bitfield)1) << 31) 69 70 /*********************************************** 71 * cl_intel_device_partition_by_names extension * 72 ************************************************/ 73 74 #define cl_intel_device_partition_by_names 1 75 76 #define CL_DEVICE_PARTITION_BY_NAMES_INTEL 0x4052 77 #define CL_PARTITION_BY_NAMES_LIST_END_INTEL -1 78 79 /************************************************ 80 * cl_intel_accelerator extension * 81 * cl_intel_motion_estimation extension * 82 * cl_intel_advanced_motion_estimation extension * 83 *************************************************/ 84 85 #define cl_intel_accelerator 1 86 #define cl_intel_motion_estimation 1 87 #define cl_intel_advanced_motion_estimation 1 88 89 typedef struct _cl_accelerator_intel* cl_accelerator_intel; 90 typedef cl_uint cl_accelerator_type_intel; 91 typedef cl_uint cl_accelerator_info_intel; 92 93 typedef struct _cl_motion_estimation_desc_intel { 94 cl_uint mb_block_type; 95 cl_uint subpixel_mode; 96 cl_uint sad_adjust_mode; 97 cl_uint search_path_type; 98 } cl_motion_estimation_desc_intel; 99 100 /* error codes */ 101 #define CL_INVALID_ACCELERATOR_INTEL -1094 102 #define CL_INVALID_ACCELERATOR_TYPE_INTEL -1095 103 #define CL_INVALID_ACCELERATOR_DESCRIPTOR_INTEL -1096 104 #define CL_ACCELERATOR_TYPE_NOT_SUPPORTED_INTEL -1097 105 106 /* cl_accelerator_type_intel */ 107 #define CL_ACCELERATOR_TYPE_MOTION_ESTIMATION_INTEL 0x0 108 109 /* cl_accelerator_info_intel */ 110 #define CL_ACCELERATOR_DESCRIPTOR_INTEL 0x4090 111 #define CL_ACCELERATOR_REFERENCE_COUNT_INTEL 0x4091 112 #define CL_ACCELERATOR_CONTEXT_INTEL 0x4092 113 #define CL_ACCELERATOR_TYPE_INTEL 0x4093 114 115 /* cl_motion_detect_desc_intel flags */ 116 #define CL_ME_MB_TYPE_16x16_INTEL 0x0 117 #define CL_ME_MB_TYPE_8x8_INTEL 0x1 118 #define CL_ME_MB_TYPE_4x4_INTEL 0x2 119 120 #define CL_ME_SUBPIXEL_MODE_INTEGER_INTEL 0x0 121 #define CL_ME_SUBPIXEL_MODE_HPEL_INTEL 0x1 122 #define CL_ME_SUBPIXEL_MODE_QPEL_INTEL 0x2 123 124 #define CL_ME_SAD_ADJUST_MODE_NONE_INTEL 0x0 125 #define CL_ME_SAD_ADJUST_MODE_HAAR_INTEL 0x1 126 127 #define CL_ME_SEARCH_PATH_RADIUS_2_2_INTEL 0x0 128 #define CL_ME_SEARCH_PATH_RADIUS_4_4_INTEL 0x1 129 #define CL_ME_SEARCH_PATH_RADIUS_16_12_INTEL 0x5 130 131 #define CL_ME_SKIP_BLOCK_TYPE_16x16_INTEL 0x0 132 #define CL_ME_CHROMA_INTRA_PREDICT_ENABLED_INTEL 0x1 133 #define CL_ME_LUMA_INTRA_PREDICT_ENABLED_INTEL 0x2 134 #define CL_ME_SKIP_BLOCK_TYPE_8x8_INTEL 0x4 135 136 #define CL_ME_FORWARD_INPUT_MODE_INTEL 0x1 137 #define CL_ME_BACKWARD_INPUT_MODE_INTEL 0x2 138 #define CL_ME_BIDIRECTION_INPUT_MODE_INTEL 0x3 139 140 #define CL_ME_BIDIR_WEIGHT_QUARTER_INTEL 16 141 #define CL_ME_BIDIR_WEIGHT_THIRD_INTEL 21 142 #define CL_ME_BIDIR_WEIGHT_HALF_INTEL 32 143 #define CL_ME_BIDIR_WEIGHT_TWO_THIRD_INTEL 43 144 #define CL_ME_BIDIR_WEIGHT_THREE_QUARTER_INTEL 48 145 146 #define CL_ME_COST_PENALTY_NONE_INTEL 0x0 147 #define CL_ME_COST_PENALTY_LOW_INTEL 0x1 148 #define CL_ME_COST_PENALTY_NORMAL_INTEL 0x2 149 #define CL_ME_COST_PENALTY_HIGH_INTEL 0x3 150 151 #define CL_ME_COST_PRECISION_QPEL_INTEL 0x0 152 #define CL_ME_COST_PRECISION_HPEL_INTEL 0x1 153 #define CL_ME_COST_PRECISION_PEL_INTEL 0x2 154 #define CL_ME_COST_PRECISION_DPEL_INTEL 0x3 155 156 #define CL_ME_LUMA_PREDICTOR_MODE_VERTICAL_INTEL 0x0 157 #define CL_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_INTEL 0x1 158 #define CL_ME_LUMA_PREDICTOR_MODE_DC_INTEL 0x2 159 #define CL_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_LEFT_INTEL 0x3 160 161 #define CL_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_RIGHT_INTEL 0x4 162 #define CL_ME_LUMA_PREDICTOR_MODE_PLANE_INTEL 0x4 163 #define CL_ME_LUMA_PREDICTOR_MODE_VERTICAL_RIGHT_INTEL 0x5 164 #define CL_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_DOWN_INTEL 0x6 165 #define CL_ME_LUMA_PREDICTOR_MODE_VERTICAL_LEFT_INTEL 0x7 166 #define CL_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_UP_INTEL 0x8 167 168 #define CL_ME_CHROMA_PREDICTOR_MODE_DC_INTEL 0x0 169 #define CL_ME_CHROMA_PREDICTOR_MODE_HORIZONTAL_INTEL 0x1 170 #define CL_ME_CHROMA_PREDICTOR_MODE_VERTICAL_INTEL 0x2 171 #define CL_ME_CHROMA_PREDICTOR_MODE_PLANE_INTEL 0x3 172 173 /* cl_device_info */ 174 #define CL_DEVICE_ME_VERSION_INTEL 0x407E 175 176 #define CL_ME_VERSION_LEGACY_INTEL 0x0 177 #define CL_ME_VERSION_ADVANCED_VER_1_INTEL 0x1 178 #define CL_ME_VERSION_ADVANCED_VER_2_INTEL 0x2 179 180 extern CL_API_ENTRY cl_accelerator_intel CL_API_CALL 181 clCreateAcceleratorINTEL( 182 cl_context context, 183 cl_accelerator_type_intel accelerator_type, 184 size_t descriptor_size, 185 const void* descriptor, 186 cl_int* errcode_ret) CL_EXT_SUFFIX__VERSION_1_2; 187 188 typedef CL_API_ENTRY cl_accelerator_intel (CL_API_CALL *clCreateAcceleratorINTEL_fn)( 189 cl_context context, 190 cl_accelerator_type_intel accelerator_type, 191 size_t descriptor_size, 192 const void* descriptor, 193 cl_int* errcode_ret) CL_EXT_SUFFIX__VERSION_1_2; 194 195 extern CL_API_ENTRY cl_int CL_API_CALL 196 clGetAcceleratorInfoINTEL( 197 cl_accelerator_intel accelerator, 198 cl_accelerator_info_intel param_name, 199 size_t param_value_size, 200 void* param_value, 201 size_t* param_value_size_ret) CL_EXT_SUFFIX__VERSION_1_2; 202 203 typedef CL_API_ENTRY cl_int (CL_API_CALL *clGetAcceleratorInfoINTEL_fn)( 204 cl_accelerator_intel accelerator, 205 cl_accelerator_info_intel param_name, 206 size_t param_value_size, 207 void* param_value, 208 size_t* param_value_size_ret) CL_EXT_SUFFIX__VERSION_1_2; 209 210 extern CL_API_ENTRY cl_int CL_API_CALL 211 clRetainAcceleratorINTEL( 212 cl_accelerator_intel accelerator) CL_EXT_SUFFIX__VERSION_1_2; 213 214 typedef CL_API_ENTRY cl_int (CL_API_CALL *clRetainAcceleratorINTEL_fn)( 215 cl_accelerator_intel accelerator) CL_EXT_SUFFIX__VERSION_1_2; 216 217 extern CL_API_ENTRY cl_int CL_API_CALL 218 clReleaseAcceleratorINTEL( 219 cl_accelerator_intel accelerator) CL_EXT_SUFFIX__VERSION_1_2; 220 221 typedef CL_API_ENTRY cl_int (CL_API_CALL *clReleaseAcceleratorINTEL_fn)( 222 cl_accelerator_intel accelerator) CL_EXT_SUFFIX__VERSION_1_2; 223 224 /****************************************** 225 * cl_intel_simultaneous_sharing extension * 226 *******************************************/ 227 228 #define cl_intel_simultaneous_sharing 1 229 230 #define CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL 0x4104 231 #define CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL 0x4105 232 233 /*********************************** 234 * cl_intel_egl_image_yuv extension * 235 ************************************/ 236 237 #define cl_intel_egl_image_yuv 1 238 239 #define CL_EGL_YUV_PLANE_INTEL 0x4107 240 241 /******************************** 242 * cl_intel_packed_yuv extension * 243 *********************************/ 244 245 #define cl_intel_packed_yuv 1 246 247 #define CL_YUYV_INTEL 0x4076 248 #define CL_UYVY_INTEL 0x4077 249 #define CL_YVYU_INTEL 0x4078 250 #define CL_VYUY_INTEL 0x4079 251 252 /******************************************** 253 * cl_intel_required_subgroup_size extension * 254 *********************************************/ 255 256 #define cl_intel_required_subgroup_size 1 257 258 #define CL_DEVICE_SUB_GROUP_SIZES_INTEL 0x4108 259 #define CL_KERNEL_SPILL_MEM_SIZE_INTEL 0x4109 260 #define CL_KERNEL_COMPILE_SUB_GROUP_SIZE_INTEL 0x410A 261 262 /**************************************** 263 * cl_intel_driver_diagnostics extension * 264 *****************************************/ 265 266 #define cl_intel_driver_diagnostics 1 267 268 typedef cl_uint cl_diagnostics_verbose_level; 269 270 #define CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL 0x4106 271 272 #define CL_CONTEXT_DIAGNOSTICS_LEVEL_ALL_INTEL ( 0xff ) 273 #define CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL ( 1 ) 274 #define CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL ( 1 << 1 ) 275 #define CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL ( 1 << 2 ) 276 277 /******************************** 278 * cl_intel_planar_yuv extension * 279 *********************************/ 280 281 #define CL_NV12_INTEL 0x410E 282 283 #define CL_MEM_NO_ACCESS_INTEL ( 1 << 24 ) 284 #define CL_MEM_ACCESS_FLAGS_UNRESTRICTED_INTEL ( 1 << 25 ) 285 286 #define CL_DEVICE_PLANAR_YUV_MAX_WIDTH_INTEL 0x417E 287 #define CL_DEVICE_PLANAR_YUV_MAX_HEIGHT_INTEL 0x417F 288 289 /******************************************************* 290 * cl_intel_device_side_avc_motion_estimation extension * 291 ********************************************************/ 292 293 #define CL_DEVICE_AVC_ME_VERSION_INTEL 0x410B 294 #define CL_DEVICE_AVC_ME_SUPPORTS_TEXTURE_SAMPLER_USE_INTEL 0x410C 295 #define CL_DEVICE_AVC_ME_SUPPORTS_PREEMPTION_INTEL 0x410D 296 297 #define CL_AVC_ME_VERSION_0_INTEL 0x0; // No support. 298 #define CL_AVC_ME_VERSION_1_INTEL 0x1; // First supported version. 299 300 #define CL_AVC_ME_MAJOR_16x16_INTEL 0x0 301 #define CL_AVC_ME_MAJOR_16x8_INTEL 0x1 302 #define CL_AVC_ME_MAJOR_8x16_INTEL 0x2 303 #define CL_AVC_ME_MAJOR_8x8_INTEL 0x3 304 305 #define CL_AVC_ME_MINOR_8x8_INTEL 0x0 306 #define CL_AVC_ME_MINOR_8x4_INTEL 0x1 307 #define CL_AVC_ME_MINOR_4x8_INTEL 0x2 308 #define CL_AVC_ME_MINOR_4x4_INTEL 0x3 309 310 #define CL_AVC_ME_MAJOR_FORWARD_INTEL 0x0 311 #define CL_AVC_ME_MAJOR_BACKWARD_INTEL 0x1 312 #define CL_AVC_ME_MAJOR_BIDIRECTIONAL_INTEL 0x2 313 314 #define CL_AVC_ME_PARTITION_MASK_ALL_INTEL 0x0 315 #define CL_AVC_ME_PARTITION_MASK_16x16_INTEL 0x7E 316 #define CL_AVC_ME_PARTITION_MASK_16x8_INTEL 0x7D 317 #define CL_AVC_ME_PARTITION_MASK_8x16_INTEL 0x7B 318 #define CL_AVC_ME_PARTITION_MASK_8x8_INTEL 0x77 319 #define CL_AVC_ME_PARTITION_MASK_8x4_INTEL 0x6F 320 #define CL_AVC_ME_PARTITION_MASK_4x8_INTEL 0x5F 321 #define CL_AVC_ME_PARTITION_MASK_4x4_INTEL 0x3F 322 323 #define CL_AVC_ME_SEARCH_WINDOW_EXHAUSTIVE_INTEL 0x0 324 #define CL_AVC_ME_SEARCH_WINDOW_SMALL_INTEL 0x1 325 #define CL_AVC_ME_SEARCH_WINDOW_TINY_INTEL 0x2 326 #define CL_AVC_ME_SEARCH_WINDOW_EXTRA_TINY_INTEL 0x3 327 #define CL_AVC_ME_SEARCH_WINDOW_DIAMOND_INTEL 0x4 328 #define CL_AVC_ME_SEARCH_WINDOW_LARGE_DIAMOND_INTEL 0x5 329 #define CL_AVC_ME_SEARCH_WINDOW_RESERVED0_INTEL 0x6 330 #define CL_AVC_ME_SEARCH_WINDOW_RESERVED1_INTEL 0x7 331 #define CL_AVC_ME_SEARCH_WINDOW_CUSTOM_INTEL 0x8 332 #define CL_AVC_ME_SEARCH_WINDOW_16x12_RADIUS_INTEL 0x9 333 #define CL_AVC_ME_SEARCH_WINDOW_4x4_RADIUS_INTEL 0x2 334 #define CL_AVC_ME_SEARCH_WINDOW_2x2_RADIUS_INTEL 0xa 335 336 #define CL_AVC_ME_SAD_ADJUST_MODE_NONE_INTEL 0x0 337 #define CL_AVC_ME_SAD_ADJUST_MODE_HAAR_INTEL 0x2 338 339 #define CL_AVC_ME_SUBPIXEL_MODE_INTEGER_INTEL 0x0 340 #define CL_AVC_ME_SUBPIXEL_MODE_HPEL_INTEL 0x1 341 #define CL_AVC_ME_SUBPIXEL_MODE_QPEL_INTEL 0x3 342 343 #define CL_AVC_ME_COST_PRECISION_QPEL_INTEL 0x0 344 #define CL_AVC_ME_COST_PRECISION_HPEL_INTEL 0x1 345 #define CL_AVC_ME_COST_PRECISION_PEL_INTEL 0x2 346 #define CL_AVC_ME_COST_PRECISION_DPEL_INTEL 0x3 347 348 #define CL_AVC_ME_BIDIR_WEIGHT_QUARTER_INTEL 0x10 349 #define CL_AVC_ME_BIDIR_WEIGHT_THIRD_INTEL 0x15 350 #define CL_AVC_ME_BIDIR_WEIGHT_HALF_INTEL 0x20 351 #define CL_AVC_ME_BIDIR_WEIGHT_TWO_THIRD_INTEL 0x2B 352 #define CL_AVC_ME_BIDIR_WEIGHT_THREE_QUARTER_INTEL 0x30 353 354 #define CL_AVC_ME_BORDER_REACHED_LEFT_INTEL 0x0 355 #define CL_AVC_ME_BORDER_REACHED_RIGHT_INTEL 0x2 356 #define CL_AVC_ME_BORDER_REACHED_TOP_INTEL 0x4 357 #define CL_AVC_ME_BORDER_REACHED_BOTTOM_INTEL 0x8 358 359 #define CL_AVC_ME_SKIP_BLOCK_PARTITION_16x16_INTEL 0x0 360 #define CL_AVC_ME_SKIP_BLOCK_PARTITION_8x8_INTEL 0x4000 361 362 #define CL_AVC_ME_SKIP_BLOCK_16x16_FORWARD_ENABLE_INTEL ( 0x1 << 24 ) 363 #define CL_AVC_ME_SKIP_BLOCK_16x16_BACKWARD_ENABLE_INTEL ( 0x2 << 24 ) 364 #define CL_AVC_ME_SKIP_BLOCK_16x16_DUAL_ENABLE_INTEL ( 0x3 << 24 ) 365 #define CL_AVC_ME_SKIP_BLOCK_8x8_FORWARD_ENABLE_INTEL ( 0x55 << 24 ) 366 #define CL_AVC_ME_SKIP_BLOCK_8x8_BACKWARD_ENABLE_INTEL ( 0xAA << 24 ) 367 #define CL_AVC_ME_SKIP_BLOCK_8x8_DUAL_ENABLE_INTEL ( 0xFF << 24 ) 368 #define CL_AVC_ME_SKIP_BLOCK_8x8_0_FORWARD_ENABLE_INTEL ( 0x1 << 24 ) 369 #define CL_AVC_ME_SKIP_BLOCK_8x8_0_BACKWARD_ENABLE_INTEL ( 0x2 << 24 ) 370 #define CL_AVC_ME_SKIP_BLOCK_8x8_1_FORWARD_ENABLE_INTEL ( 0x1 << 26 ) 371 #define CL_AVC_ME_SKIP_BLOCK_8x8_1_BACKWARD_ENABLE_INTEL ( 0x2 << 26 ) 372 #define CL_AVC_ME_SKIP_BLOCK_8x8_2_FORWARD_ENABLE_INTEL ( 0x1 << 28 ) 373 #define CL_AVC_ME_SKIP_BLOCK_8x8_2_BACKWARD_ENABLE_INTEL ( 0x2 << 28 ) 374 #define CL_AVC_ME_SKIP_BLOCK_8x8_3_FORWARD_ENABLE_INTEL ( 0x1 << 30 ) 375 #define CL_AVC_ME_SKIP_BLOCK_8x8_3_BACKWARD_ENABLE_INTEL ( 0x2 << 30 ) 376 377 #define CL_AVC_ME_BLOCK_BASED_SKIP_4x4_INTEL 0x00 378 #define CL_AVC_ME_BLOCK_BASED_SKIP_8x8_INTEL 0x80 379 380 #define CL_AVC_ME_INTRA_16x16_INTEL 0x0 381 #define CL_AVC_ME_INTRA_8x8_INTEL 0x1 382 #define CL_AVC_ME_INTRA_4x4_INTEL 0x2 383 384 #define CL_AVC_ME_INTRA_LUMA_PARTITION_MASK_16x16_INTEL 0x6 385 #define CL_AVC_ME_INTRA_LUMA_PARTITION_MASK_8x8_INTEL 0x5 386 #define CL_AVC_ME_INTRA_LUMA_PARTITION_MASK_4x4_INTEL 0x3 387 388 #define CL_AVC_ME_INTRA_NEIGHBOR_LEFT_MASK_ENABLE_INTEL 0x60 389 #define CL_AVC_ME_INTRA_NEIGHBOR_UPPER_MASK_ENABLE_INTEL 0x10 390 #define CL_AVC_ME_INTRA_NEIGHBOR_UPPER_RIGHT_MASK_ENABLE_INTEL 0x8 391 #define CL_AVC_ME_INTRA_NEIGHBOR_UPPER_LEFT_MASK_ENABLE_INTEL 0x4 392 393 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_VERTICAL_INTEL 0x0 394 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_INTEL 0x1 395 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_DC_INTEL 0x2 396 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_LEFT_INTEL 0x3 397 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_RIGHT_INTEL 0x4 398 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_PLANE_INTEL 0x4 399 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_VERTICAL_RIGHT_INTEL 0x5 400 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_DOWN_INTEL 0x6 401 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_VERTICAL_LEFT_INTEL 0x7 402 #define CL_AVC_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_UP_INTEL 0x8 403 #define CL_AVC_ME_CHROMA_PREDICTOR_MODE_DC_INTEL 0x0 404 #define CL_AVC_ME_CHROMA_PREDICTOR_MODE_HORIZONTAL_INTEL 0x1 405 #define CL_AVC_ME_CHROMA_PREDICTOR_MODE_VERTICAL_INTEL 0x2 406 #define CL_AVC_ME_CHROMA_PREDICTOR_MODE_PLANE_INTEL 0x3 407 408 #define CL_AVC_ME_FRAME_FORWARD_INTEL 0x1 409 #define CL_AVC_ME_FRAME_BACKWARD_INTEL 0x2 410 #define CL_AVC_ME_FRAME_DUAL_INTEL 0x3 411 412 #define CL_AVC_ME_SLICE_TYPE_PRED_INTEL 0x0 413 #define CL_AVC_ME_SLICE_TYPE_BPRED_INTEL 0x1 414 #define CL_AVC_ME_SLICE_TYPE_INTRA_INTEL 0x2 415 416 #define CL_AVC_ME_INTERLACED_SCAN_TOP_FIELD_INTEL 0x0 417 #define CL_AVC_ME_INTERLACED_SCAN_BOTTOM_FIELD_INTEL 0x1 418 419 #ifdef __cplusplus 420 } 421 #endif 422 423 #endif /* __CL_EXT_INTEL_H */ 424