Anything bigger is not supported anyway.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
... | ... |
@@ -13434,11 +13434,11 @@ It accepts the following parameters: |
13434 | 13434 |
@table @option |
13435 | 13435 |
@item luma_msize_x, lx |
13436 | 13436 |
Set the luma matrix horizontal size. It must be an odd integer between |
13437 |
-3 and 63. The default value is 5. |
|
13437 |
+3 and 23. The default value is 5. |
|
13438 | 13438 |
|
13439 | 13439 |
@item luma_msize_y, ly |
13440 | 13440 |
Set the luma matrix vertical size. It must be an odd integer between 3 |
13441 |
-and 63. The default value is 5. |
|
13441 |
+and 23. The default value is 5. |
|
13442 | 13442 |
|
13443 | 13443 |
@item luma_amount, la |
13444 | 13444 |
Set the luma effect strength. It must be a floating point number, reasonable |
... | ... |
@@ -13451,11 +13451,11 @@ Default value is 1.0. |
13451 | 13451 |
|
13452 | 13452 |
@item chroma_msize_x, cx |
13453 | 13453 |
Set the chroma matrix horizontal size. It must be an odd integer |
13454 |
-between 3 and 63. The default value is 5. |
|
13454 |
+between 3 and 23. The default value is 5. |
|
13455 | 13455 |
|
13456 | 13456 |
@item chroma_msize_y, cy |
13457 | 13457 |
Set the chroma matrix vertical size. It must be an odd integer |
13458 |
-between 3 and 63. The default value is 5. |
|
13458 |
+between 3 and 23. The default value is 5. |
|
13459 | 13459 |
|
13460 | 13460 |
@item chroma_amount, ca |
13461 | 13461 |
Set the chroma effect strength. It must be a floating point number, reasonable |
... | ... |
@@ -266,7 +266,7 @@ end: |
266 | 266 |
#define OFFSET(x) offsetof(UnsharpContext, x) |
267 | 267 |
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
268 | 268 |
#define MIN_SIZE 3 |
269 |
-#define MAX_SIZE 63 |
|
269 |
+#define MAX_SIZE 23 |
|
270 | 270 |
static const AVOption unsharp_options[] = { |
271 | 271 |
{ "luma_msize_x", "set luma matrix horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS }, |
272 | 272 |
{ "lx", "set luma matrix horizontal size", OFFSET(lmsize_x), AV_OPT_TYPE_INT, { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS }, |