Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2210003b
Commit
2210003b
authored
May 19, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/geq: add aliases for RGB options
parent
dbb49a65
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
13 deletions
+20
-13
filters.texi
doc/filters.texi
+12
-11
version.h
libavfilter/version.h
+1
-1
vf_geq.c
libavfilter/vf_geq.c
+7
-1
No files found.
doc/filters.texi
View file @
2210003b
...
@@ -4003,27 +4003,28 @@ For more information see:
...
@@ -4003,27 +4003,28 @@ For more information see:
The filter accepts the following options:
The filter accepts the following options:
@table @option
@table @option
@item lum_expr
@item lum_expr
, lum
Set the luminance expression.
Set the luminance expression.
@item cb_expr
@item cb_expr
, cb
Set the chrominance blue expression.
Set the chrominance blue expression.
@item cr_expr
@item cr_expr
, cr
Set the chrominance red expression.
Set the chrominance red expression.
@item alpha_expr
@item alpha_expr
, a
Set the alpha expression.
Set the alpha expression.
@item r
@item r
ed_expr, r
Set the red expression.
Set the red expression.
@item g
@item g
reen_expr, g
Set the green expression.
Set the green expression.
@item b
@item b
lue_expr, b
Set the blue expression.
Set the blue expression.
@end table
@end table
The colorspace is selected according to the specified options. If
The colorspace is selected according to the specified options. If
one
o
ne o
f the @option{lum_expr}, @option{cb_expr}, or @option{cr_expr}
of the @option{lum_expr}, @option{cb_expr}, or @option{cr_expr}
options is specified, the filter will automatically select a YCbCr
options is specified, the filter will automatically select a YCbCr
colorspace. If one of the @option{r}, @option{g}, or @option{b}
colorspace. If one of the @option{red_expr}, @option{green_expr}, or
options is specified, it will select an RGB colorspace.
@option{blue_expr} options is specified, it will select an RGB
colorspace.
If one of the chrominance expression is not defined, it falls back on the other
If one of the chrominance expression is not defined, it falls back on the other
one. If no alpha expression is specified it will evaluate to opaque value.
one. If no alpha expression is specified it will evaluate to opaque value.
...
...
libavfilter/version.h
View file @
2210003b
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#define LIBAVFILTER_VERSION_MAJOR 3
#define LIBAVFILTER_VERSION_MAJOR 3
#define LIBAVFILTER_VERSION_MINOR 68
#define LIBAVFILTER_VERSION_MINOR 68
#define LIBAVFILTER_VERSION_MICRO 10
2
#define LIBAVFILTER_VERSION_MICRO 10
3
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
LIBAVFILTER_VERSION_MINOR, \
...
...
libavfilter/vf_geq.c
View file @
2210003b
...
@@ -47,12 +47,18 @@ typedef struct {
...
@@ -47,12 +47,18 @@ typedef struct {
static
const
AVOption
geq_options
[]
=
{
static
const
AVOption
geq_options
[]
=
{
{
"lum_expr"
,
"set luminance expression"
,
OFFSET
(
expr_str
[
0
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"lum_expr"
,
"set luminance expression"
,
OFFSET
(
expr_str
[
0
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"lum"
,
"set luminance expression"
,
OFFSET
(
expr_str
[
0
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"cb_expr"
,
"set chroma blue expression"
,
OFFSET
(
expr_str
[
1
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"cb_expr"
,
"set chroma blue expression"
,
OFFSET
(
expr_str
[
1
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"cb"
,
"set chroma blue expression"
,
OFFSET
(
expr_str
[
1
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"cr_expr"
,
"set chroma red expression"
,
OFFSET
(
expr_str
[
2
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"cr_expr"
,
"set chroma red expression"
,
OFFSET
(
expr_str
[
2
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"cr"
,
"set chroma red expression"
,
OFFSET
(
expr_str
[
2
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"alpha_expr"
,
"set alpha expression"
,
OFFSET
(
expr_str
[
3
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"alpha_expr"
,
"set alpha expression"
,
OFFSET
(
expr_str
[
3
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"a"
,
"set alpha expression"
,
OFFSET
(
expr_str
[
3
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"red_expr"
,
"set red expression"
,
OFFSET
(
expr_str
[
6
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"r"
,
"set red expression"
,
OFFSET
(
expr_str
[
6
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"r"
,
"set red expression"
,
OFFSET
(
expr_str
[
6
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"green_expr"
,
"set green expression"
,
OFFSET
(
expr_str
[
4
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"g"
,
"set green expression"
,
OFFSET
(
expr_str
[
4
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"g"
,
"set green expression"
,
OFFSET
(
expr_str
[
4
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"blue_expr"
,
"set blue expression"
,
OFFSET
(
expr_str
[
5
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"b"
,
"set blue expression"
,
OFFSET
(
expr_str
[
5
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"b"
,
"set blue expression"
,
OFFSET
(
expr_str
[
5
]),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
CHAR_MIN
,
CHAR_MAX
,
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