Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
23d1b501
Commit
23d1b501
authored
Mar 28, 2024
by
Jan Ekström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/{buffersrc,vf_setparams}: map IPT-C2, YCgCo-R variants
parent
06c53efd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
buffersrc.c
libavfilter/buffersrc.c
+3
-0
version.h
libavfilter/version.h
+1
-1
vf_setparams.c
libavfilter/vf_setparams.c
+3
-0
No files found.
libavfilter/buffersrc.c
View file @
23d1b501
...
...
@@ -335,12 +335,15 @@ static const AVOption buffer_options[] = {
{
"smpte170m"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_SMPTE170M
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"smpte240m"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_SMPTE240M
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"ycgco"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_YCGCO
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"ycgco-re"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_YCGCO_RE
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"ycgco-ro"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_YCGCO_RO
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"bt2020nc"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_BT2020_NCL
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"bt2020c"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_BT2020_CL
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"smpte2085"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_SMPTE2085
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"chroma-derived-nc"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_CHROMA_DERIVED_NCL
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"chroma-derived-c"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_CHROMA_DERIVED_CL
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"ictcp"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_ICTCP
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"ipt-c2"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_IPT_C2
},
INT_MIN
,
INT_MAX
,
V
,
.
unit
=
"colorspace"
},
{
"range"
,
"select color range"
,
OFFSET
(
color_range
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
AVCOL_RANGE_NB
-
1
,
V
,
.
unit
=
"range"
},
{
"unspecified"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
0
,
V
,
.
unit
=
"range"
},
{
"unknown"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
0
,
V
,
.
unit
=
"range"
},
...
...
libavfilter/version.h
View file @
23d1b501
...
...
@@ -32,7 +32,7 @@
#include "version_major.h"
#define LIBAVFILTER_VERSION_MINOR 2
#define LIBAVFILTER_VERSION_MICRO 10
0
#define LIBAVFILTER_VERSION_MICRO 10
1
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
libavfilter/vf_setparams.c
View file @
23d1b501
...
...
@@ -110,12 +110,15 @@ static const AVOption setparams_options[] = {
{
"smpte170m"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_SMPTE170M
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"smpte240m"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_SMPTE240M
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"ycgco"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_YCGCO
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"ycgco-re"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_YCGCO_RE
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"ycgco-ro"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_YCGCO_RO
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"bt2020nc"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_BT2020_NCL
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"bt2020c"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_BT2020_CL
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"smpte2085"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_SMPTE2085
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"chroma-derived-nc"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_CHROMA_DERIVED_NCL
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"chroma-derived-c"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_CHROMA_DERIVED_CL
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"ictcp"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_ICTCP
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
"ipt-c2"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_SPC_IPT_C2
},
INT_MIN
,
INT_MAX
,
FLAGS
,
.
unit
=
"colorspace"
},
{
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