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
769cc300
Commit
769cc300
authored
Mar 16, 2013
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/vf_transpose: use standard options parsing.
parent
392ec7ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
vf_transpose.c
libavfilter/vf_transpose.c
+3
-12
No files found.
libavfilter/vf_transpose.c
View file @
769cc300
...
@@ -73,17 +73,6 @@ static const AVOption transpose_options[] = {
...
@@ -73,17 +73,6 @@ static const AVOption transpose_options[] = {
AVFILTER_DEFINE_CLASS
(
transpose
);
AVFILTER_DEFINE_CLASS
(
transpose
);
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
TransContext
*
trans
=
ctx
->
priv
;
const
char
*
shorthand
[]
=
{
"dir"
,
"passthrough"
,
NULL
};
trans
->
class
=
&
transpose_class
;
av_opt_set_defaults
(
trans
);
return
av_opt_set_from_string
(
trans
,
args
,
shorthand
,
"="
,
":"
);
}
static
int
query_formats
(
AVFilterContext
*
ctx
)
static
int
query_formats
(
AVFilterContext
*
ctx
)
{
{
AVFilterFormats
*
pix_fmts
=
NULL
;
AVFilterFormats
*
pix_fmts
=
NULL
;
...
@@ -266,11 +255,12 @@ static const AVFilterPad avfilter_vf_transpose_outputs[] = {
...
@@ -266,11 +255,12 @@ static const AVFilterPad avfilter_vf_transpose_outputs[] = {
{
NULL
}
{
NULL
}
};
};
static
const
char
*
const
shorthand
[]
=
{
"dir"
,
"passthrough"
,
NULL
};
AVFilter
avfilter_vf_transpose
=
{
AVFilter
avfilter_vf_transpose
=
{
.
name
=
"transpose"
,
.
name
=
"transpose"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Transpose input video."
),
.
description
=
NULL_IF_CONFIG_SMALL
(
"Transpose input video."
),
.
init
=
init
,
.
priv_size
=
sizeof
(
TransContext
),
.
priv_size
=
sizeof
(
TransContext
),
.
query_formats
=
query_formats
,
.
query_formats
=
query_formats
,
...
@@ -278,4 +268,5 @@ AVFilter avfilter_vf_transpose = {
...
@@ -278,4 +268,5 @@ AVFilter avfilter_vf_transpose = {
.
inputs
=
avfilter_vf_transpose_inputs
,
.
inputs
=
avfilter_vf_transpose_inputs
,
.
outputs
=
avfilter_vf_transpose_outputs
,
.
outputs
=
avfilter_vf_transpose_outputs
,
.
priv_class
=
&
transpose_class
,
.
priv_class
=
&
transpose_class
,
.
shorthand
=
shorthand
,
};
};
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