mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 15:08:09 +08:00
avfilter/vf_unsharp: limit matrix size in either direction to 23
Anything bigger is not supported anyway. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@ -266,7 +266,7 @@ end:
|
||||
#define OFFSET(x) offsetof(UnsharpContext, x)
|
||||
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
|
||||
#define MIN_SIZE 3
|
||||
#define MAX_SIZE 63
|
||||
#define MAX_SIZE 23
|
||||
static const AVOption unsharp_options[] = {
|
||||
{ "luma_msize_x", "set luma matrix horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
|
||||
{ "lx", "set luma matrix horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
|
||||
|
Reference in New Issue
Block a user