Clément Bœsch
cf6ed1f129
lavu/opencl: remove semi-colon from macro.
...
Fixes compilation when the macros are empty and the label above ends up
containing no statement. Also makes usage of these macro consistent
(some already have a semi colon, some others don't).
Fixes Ticket #2603
12 years ago
highgod0401
548101b553
lavu/opencl: add opencl public error API
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
6354a6ce52
lavu/opencl: fix bug of opencl options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
6d7ec4fc2e
lavu/opencl:optimize compile kernel operation
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
8f99494c1c
avutil/opencl: merge opencl env to opencl context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
9d442b9cc0
opencl: add spec opencl device APIs 20130411
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
db2de94e95
avutil/opencl: add opencl device list APIs 20130411
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
99186f1fd2
fix bug of finding CPU device
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
cfaffb1ab7
avutil/opencl: replace assert by check and error message in av_opencl_init()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
322428c851
avutil/opencl: check strtol for failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
39406ea321
avutil/opencl: add check for the program number to create kernel
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
57d77b3963
lavu/opencl: apply misc cosmetics fixes
...
Split long lines, reindent code, add missing spaces between operators,
remove possibly confusing comment from av_opencl_buffer_read_image()
doxy, and use designated initializers for openclutils_class.
12 years ago
Michael Niedermayer
76071322a3
opencl: fix double ;
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
highgod0401
189cbc1a03
opencl wrapper based on comments on 20130401
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago