diff options
Diffstat (limited to 'Software')
-rw-r--r-- | Software/Beignet/howto/video-motion-estimation-howto.mdwn | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Software/Beignet/howto/video-motion-estimation-howto.mdwn b/Software/Beignet/howto/video-motion-estimation-howto.mdwn index 8174dbb5..829ba29d 100644 --- a/Software/Beignet/howto/video-motion-estimation-howto.mdwn +++ b/Software/Beignet/howto/video-motion-estimation-howto.mdwn @@ -20,12 +20,12 @@ the steps as below: - Create a cl_accelerator_intel object using extension API clCreateAcceleratorINTEL, like this: - _accelerator_type_intel accelerator_type = CL_ACCELERATOR_TYPE_MOTION_ESTIMATION_INTEL; - cl_motion_estimation_desc_intel vmedesc = {CL_ME_MB_TYPE_16x16_INTEL, - CL_ME_SUBPIXEL_MODE_INTEGER_INTEL, - CL_ME_SAD_ADJUST_MODE_NONE_INTEL, - CL_ME_SEARCH_PATH_RADIUS_16_12_INTEL - }; + _accelerator_type_intel accelerator_type = CL_ACCELERATOR_TYPE_MOTION_ESTIMATION_INTEL; + cl_motion_estimation_desc_intel vmedesc = {CL_ME_MB_TYPE_16x16_INTEL, + CL_ME_SUBPIXEL_MODE_INTEGER_INTEL, + CL_ME_SAD_ADJUST_MODE_NONE_INTEL, + CL_ME_SEARCH_PATH_RADIUS_16_12_INTEL + }; - Invoke clCreateProgramWithBuiltInKernels to create a program object with built-in kernels information, and invoke clCreateKernel to create a kernel object whose kernel name is |