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
d349704e
Commit
d349704e
authored
May 27, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/interlace: make use of AVFILTER_DEFINE_CLASS
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
11cdf967
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
vf_interlace.c
libavfilter/vf_interlace.c
+3
-9
No files found.
libavfilter/vf_interlace.c
View file @
d349704e
...
...
@@ -55,7 +55,7 @@ typedef struct {
#define OFFSET(x) offsetof(InterlaceContext, x)
#define V AV_OPT_FLAG_VIDEO_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
interlace_
options
[]
=
{
{
"scan"
,
"scanning mode"
,
OFFSET
(
scan
),
AV_OPT_TYPE_INT
,
{.
i64
=
MODE_TFF
},
0
,
1
,
.
flags
=
V
,
.
unit
=
"scan"
},
{
"tff"
,
"top field first"
,
0
,
...
...
@@ -67,13 +67,7 @@ static const AVOption options[] = {
{
NULL
}
};
static
const
AVClass
class
=
{
.
class_name
=
"interlace filter"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
AVFILTER_DEFINE_CLASS
(
interlace
);
static
const
enum
AVPixelFormat
formats_supported
[]
=
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUV444P
,
...
...
@@ -232,7 +226,7 @@ AVFilter avfilter_vf_interlace = {
.
description
=
NULL_IF_CONFIG_SMALL
(
"Convert progressive video into interlaced."
),
.
uninit
=
uninit
,
.
priv_class
=
&
class
,
.
priv_class
=
&
interlace_
class
,
.
priv_size
=
sizeof
(
InterlaceContext
),
.
query_formats
=
query_formats
,
...
...
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