Jarek Samic
d3cd33ab1b
lavfi: add utilities to reduce OpenCL boilerplate code
2019-08-22 23:11:25 +01:00
Ruiling Song
2593122a16
lavfi/opencl: add ff_opencl_print_const_matrix_3x3()
...
This is used to print a 3x3 matrix into a part of OpenCL
source code.
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
2019-03-22 09:33:28 +08:00
Jun Zhao
3161df5b0c
lavfi/opencl: remove redundant header.
...
remove redundant header
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-06-07 19:38:58 +08:00
Mark Thompson
2a1542d105
lavfi/opencl: Derive global work size from plane image sizes
...
Add a new function to find the global work size given the output image and
the required block alignment, then use it in the overlay, program and unsharp
filters. Fixes the overlay and unsharp filters applying the kernel to
locations outside the frame when subsampled planes are present.
2018-03-22 23:12:47 +00:00
Mark Thompson
202b59cd3d
lavfi/opencl: Use filter device if no input device is available
...
This allows implementing sources as well as filters.
2018-01-07 23:24:28 +00:00
Mark Thompson
5c21c41b7d
lavfi: Add some common code for OpenCL filtering
2017-11-22 23:15:48 +00:00