summaryrefslogtreecommitdiff
path: root/libavfilter/opencl.c
Commit message (Collapse)AuthorAge
* avfilter/opencl: Fix program_opencl for source code larger than 64kBTsutomu Seki2021-10-16
| | | | | | | | | The condition (pos < len) is always true and the rest of the OpenCL program code would not be read, while the maximum number of "rb" is "len - pos - 1", and then, the maximum number of the "pos" is "len - 1". Fixes: trac.ffmpeg.org/ticket/9217
* avfilter/opencl: Store format in filter, remove query functionAndreas Rheinhardt2021-10-05
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/formats: Factor common function combinations outAndreas Rheinhardt2021-08-13
| | | | | | | | | | | Several combinations of functions happen quite often in query_format functions; e.g. ff_set_common_formats(ctx, ff_make_format_list(sample_fmts)) is very common. This commit therefore adds functions that are equivalent to commonly used function combinations in order to reduce code duplication. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/opencl: use av_fopen_utf8()Paul B Mahol2020-02-14
|
* lavfi: add utilities to reduce OpenCL boilerplate codeJarek Samic2019-08-22
|
* lavfi/opencl: add ff_opencl_print_const_matrix_3x3()Ruiling Song2019-03-22
| | | | | | | This is used to print a 3x3 matrix into a part of OpenCL source code. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* lavfi/opencl: remove redundant header.Jun Zhao2018-06-07
| | | | | | remove redundant header Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavfi/opencl: Derive global work size from plane image sizesMark Thompson2018-03-22
| | | | | | | 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.
* lavfi/opencl: Use filter device if no input device is availableMark Thompson2018-01-07
| | | | This allows implementing sources as well as filters.
* lavfi: Add some common code for OpenCL filteringMark Thompson2017-11-22