Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
606efe18
Commit
606efe18
authored
Mar 10, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/unsharp: add missing option flags
parent
dae76e8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
vf_unsharp.c
libavfilter/vf_unsharp.c
+14
-13
No files found.
libavfilter/vf_unsharp.c
View file @
606efe18
...
@@ -74,21 +74,22 @@ typedef struct {
...
@@ -74,21 +74,22 @@ typedef struct {
}
UnsharpContext
;
}
UnsharpContext
;
#define OFFSET(x) offsetof(UnsharpContext, x)
#define OFFSET(x) offsetof(UnsharpContext, x)
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
static
const
AVOption
unsharp_options
[]
=
{
static
const
AVOption
unsharp_options
[]
=
{
{
"luma_msize_x"
,
"set luma matrix x size"
,
OFFSET
(
luma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"luma_msize_x"
,
"set luma matrix x size"
,
OFFSET
(
luma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"lx"
,
"set luma matrix x size"
,
OFFSET
(
luma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"lx"
,
"set luma matrix x size"
,
OFFSET
(
luma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"luma_msize_y"
,
"set luma matrix y size"
,
OFFSET
(
luma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"luma_msize_y"
,
"set luma matrix y size"
,
OFFSET
(
luma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"ly"
,
"set luma matrix y size"
,
OFFSET
(
luma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"ly"
,
"set luma matrix y size"
,
OFFSET
(
luma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"luma_amount"
,
"set luma effect amount"
,
OFFSET
(
luma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
1
.
0
},
-
DBL_MAX
,
DBL_MAX
},
{
"luma_amount"
,
"set luma effect amount"
,
OFFSET
(
luma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
1
.
0
},
-
DBL_MAX
,
DBL_MAX
,
.
flags
=
FLAGS
},
{
"la"
,
"set luma effect amount"
,
OFFSET
(
luma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
1
.
0
},
-
DBL_MAX
,
DBL_MAX
},
{
"la"
,
"set luma effect amount"
,
OFFSET
(
luma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
1
.
0
},
-
DBL_MAX
,
DBL_MAX
,
.
flags
=
FLAGS
},
{
"chroma_msize_x"
,
"set chroma matrix x size"
,
OFFSET
(
chroma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"chroma_msize_x"
,
"set chroma matrix x size"
,
OFFSET
(
chroma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"cx"
,
"set chroma matrix x size"
,
OFFSET
(
chroma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"cx"
,
"set chroma matrix x size"
,
OFFSET
(
chroma_msize_x
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"chroma_msize_y"
,
"set chroma matrix y size"
,
OFFSET
(
chroma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"chroma_msize_y"
,
"set chroma matrix y size"
,
OFFSET
(
chroma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"cy"
,
"set chroma matrix y size"
,
OFFSET
(
chroma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
},
{
"cy"
,
"set chroma matrix y size"
,
OFFSET
(
chroma_msize_y
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
3
,
63
,
.
flags
=
FLAGS
},
{
"chroma_amount"
,
"set chroma effect strenght"
,
OFFSET
(
chroma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
.
0
},
-
DBL_MAX
,
DBL_MAX
},
{
"chroma_amount"
,
"set chroma effect strenght"
,
OFFSET
(
chroma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
.
0
},
-
DBL_MAX
,
DBL_MAX
,
.
flags
=
FLAGS
},
{
"ca"
,
"set chroma effect strenght"
,
OFFSET
(
chroma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
.
0
},
-
DBL_MAX
,
DBL_MAX
},
{
"ca"
,
"set chroma effect strenght"
,
OFFSET
(
chroma_amount
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
.
0
},
-
DBL_MAX
,
DBL_MAX
,
.
flags
=
FLAGS
},
{
NULL
}
{
NULL
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment