diff options
author | rongyang <rongyang@web> | 2016-08-30 09:27:55 +0000 |
---|---|---|
committer | www <iki-www@freedesktop.org> | 2016-08-30 09:27:55 +0000 |
commit | c6adeedc691725c48bc3c519da6bebaa9795644c (patch) | |
tree | 012f224c0a21ebef8ca183f2c0e1443bc57d7eaf /Software | |
parent | d7b8894ea680d92cd6cddc8c5cafd36d0da93fe3 (diff) |
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 |