diff options
Diffstat (limited to 'libavfilter/opencl.h')
-rw-r--r-- | libavfilter/opencl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/opencl.h b/libavfilter/opencl.h index 4d740c18ab..45fe2a2e27 100644 --- a/libavfilter/opencl.h +++ b/libavfilter/opencl.h @@ -84,4 +84,12 @@ int ff_opencl_filter_load_program(AVFilterContext *avctx, int ff_opencl_filter_load_program_from_file(AVFilterContext *avctx, const char *filename); +/** + * Find the work size needed needed for a given plane of an image. + */ +int ff_opencl_filter_work_size_from_image(AVFilterContext *avctx, + size_t *work_size, + AVFrame *frame, int plane, + int block_alignment); + #endif /* AVFILTER_OPENCL_H */ |