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
5a9560df
Commit
5a9560df
authored
Sep 15, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_stereo3d: add tb (top-bottom) aliases
parent
7f8f8863
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
filters.texi
doc/filters.texi
+8
-0
vf_stereo3d.c
libavfilter/vf_stereo3d.c
+8
-0
No files found.
doc/filters.texi
View file @
5a9560df
...
@@ -16645,16 +16645,20 @@ side by side crosseye with half width resolution
...
@@ -16645,16 +16645,20 @@ side by side crosseye with half width resolution
(right eye left, left eye right)
(right eye left, left eye right)
@item abl
@item abl
@item tbl
above-below (left eye above, right eye below)
above-below (left eye above, right eye below)
@item abr
@item abr
@item tbr
above-below (right eye above, left eye below)
above-below (right eye above, left eye below)
@item ab2l
@item ab2l
@item tb2l
above-below with half height resolution
above-below with half height resolution
(left eye above, right eye below)
(left eye above, right eye below)
@item ab2r
@item ab2r
@item tb2r
above-below with half height resolution
above-below with half height resolution
(right eye above, left eye below)
(right eye above, left eye below)
...
@@ -16698,16 +16702,20 @@ side by side crosseye with half width resolution
...
@@ -16698,16 +16702,20 @@ side by side crosseye with half width resolution
(right eye left, left eye right)
(right eye left, left eye right)
@item abl
@item abl
@item tbl
above-below (left eye above, right eye below)
above-below (left eye above, right eye below)
@item abr
@item abr
@item tbr
above-below (right eye above, left eye below)
above-below (right eye above, left eye below)
@item ab2l
@item ab2l
@item tb2l
above-below with half height resolution
above-below with half height resolution
(left eye above, right eye below)
(left eye above, right eye below)
@item ab2r
@item ab2r
@item tb2r
above-below with half height resolution
above-below with half height resolution
(right eye above, left eye below)
(right eye above, left eye below)
...
...
libavfilter/vf_stereo3d.c
View file @
5a9560df
...
@@ -160,9 +160,13 @@ typedef struct Stereo3DContext {
...
@@ -160,9 +160,13 @@ typedef struct Stereo3DContext {
static
const
AVOption
stereo3d_options
[]
=
{
static
const
AVOption
stereo3d_options
[]
=
{
{
"in"
,
"set input format"
,
OFFSET
(
in
.
format
),
AV_OPT_TYPE_INT
,
{.
i64
=
SIDE_BY_SIDE_LR
},
INTERLEAVE_ROWS_LR
,
STEREO_CODE_COUNT
-
1
,
FLAGS
,
"in"
},
{
"in"
,
"set input format"
,
OFFSET
(
in
.
format
),
AV_OPT_TYPE_INT
,
{.
i64
=
SIDE_BY_SIDE_LR
},
INTERLEAVE_ROWS_LR
,
STEREO_CODE_COUNT
-
1
,
FLAGS
,
"in"
},
{
"ab2l"
,
"above below half height left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"ab2l"
,
"above below half height left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"tb2l"
,
"above below half height left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"ab2r"
,
"above below half height right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"ab2r"
,
"above below half height right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"tb2r"
,
"above below half height right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"abl"
,
"above below left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"abl"
,
"above below left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"tbl"
,
"above below left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"abr"
,
"above below right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"abr"
,
"above below right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"tbr"
,
"above below right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"al"
,
"alternating frames left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ALTERNATING_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"al"
,
"alternating frames left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ALTERNATING_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"ar"
,
"alternating frames right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ALTERNATING_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"ar"
,
"alternating frames right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ALTERNATING_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"sbs2l"
,
"side by side half width left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SIDE_BY_SIDE_2_LR
},
0
,
0
,
FLAGS
,
"in"
},
{
"sbs2l"
,
"side by side half width left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SIDE_BY_SIDE_2_LR
},
0
,
0
,
FLAGS
,
"in"
},
...
@@ -175,9 +179,13 @@ static const AVOption stereo3d_options[] = {
...
@@ -175,9 +179,13 @@ static const AVOption stereo3d_options[] = {
{
"icr"
,
"interleave columns right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
INTERLEAVE_COLS_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"icr"
,
"interleave columns right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
INTERLEAVE_COLS_RL
},
0
,
0
,
FLAGS
,
"in"
},
{
"out"
,
"set output format"
,
OFFSET
(
out
.
format
),
AV_OPT_TYPE_INT
,
{.
i64
=
ANAGLYPH_RC_DUBOIS
},
0
,
STEREO_CODE_COUNT
-
1
,
FLAGS
,
"out"
},
{
"out"
,
"set output format"
,
OFFSET
(
out
.
format
),
AV_OPT_TYPE_INT
,
{.
i64
=
ANAGLYPH_RC_DUBOIS
},
0
,
STEREO_CODE_COUNT
-
1
,
FLAGS
,
"out"
},
{
"ab2l"
,
"above below half height left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_LR
},
0
,
0
,
FLAGS
,
"out"
},
{
"ab2l"
,
"above below half height left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_LR
},
0
,
0
,
FLAGS
,
"out"
},
{
"tb2l"
,
"above below half height left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_LR
},
0
,
0
,
FLAGS
,
"out"
},
{
"ab2r"
,
"above below half height right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_RL
},
0
,
0
,
FLAGS
,
"out"
},
{
"ab2r"
,
"above below half height right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_RL
},
0
,
0
,
FLAGS
,
"out"
},
{
"tb2r"
,
"above below half height right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_2_RL
},
0
,
0
,
FLAGS
,
"out"
},
{
"abl"
,
"above below left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_LR
},
0
,
0
,
FLAGS
,
"out"
},
{
"abl"
,
"above below left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_LR
},
0
,
0
,
FLAGS
,
"out"
},
{
"tbl"
,
"above below left first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_LR
},
0
,
0
,
FLAGS
,
"out"
},
{
"abr"
,
"above below right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_RL
},
0
,
0
,
FLAGS
,
"out"
},
{
"abr"
,
"above below right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_RL
},
0
,
0
,
FLAGS
,
"out"
},
{
"tbr"
,
"above below right first"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ABOVE_BELOW_RL
},
0
,
0
,
FLAGS
,
"out"
},
{
"agmc"
,
"anaglyph green magenta color"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ANAGLYPH_GM_COLOR
},
0
,
0
,
FLAGS
,
"out"
},
{
"agmc"
,
"anaglyph green magenta color"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ANAGLYPH_GM_COLOR
},
0
,
0
,
FLAGS
,
"out"
},
{
"agmd"
,
"anaglyph green magenta dubois"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ANAGLYPH_GM_DUBOIS
},
0
,
0
,
FLAGS
,
"out"
},
{
"agmd"
,
"anaglyph green magenta dubois"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ANAGLYPH_GM_DUBOIS
},
0
,
0
,
FLAGS
,
"out"
},
{
"agmg"
,
"anaglyph green magenta gray"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ANAGLYPH_GM_GRAY
},
0
,
0
,
FLAGS
,
"out"
},
{
"agmg"
,
"anaglyph green magenta gray"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
ANAGLYPH_GM_GRAY
},
0
,
0
,
FLAGS
,
"out"
},
...
...
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