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
a1873f35
Commit
a1873f35
authored
May 27, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/ocv: make use of AVFILTER_DEFINE_CLASS
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
229d5bfd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
vf_libopencv.c
libavfilter/vf_libopencv.c
+2
-7
No files found.
libavfilter/vf_libopencv.c
View file @
a1873f35
...
@@ -378,18 +378,13 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
...
@@ -378,18 +378,13 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
#define OFFSET(x) offsetof(OCVContext, x)
#define OFFSET(x) offsetof(OCVContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
o
cv_o
ptions
[]
=
{
{
"filter_name"
,
NULL
,
OFFSET
(
name
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
"filter_name"
,
NULL
,
OFFSET
(
name
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
"filter_params"
,
NULL
,
OFFSET
(
params
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
"filter_params"
,
NULL
,
OFFSET
(
params
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
NULL
},
{
NULL
},
};
};
static
const
AVClass
ocv_class
=
{
AVFILTER_DEFINE_CLASS
(
ocv
);
.
class_name
=
"ocv"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
static
const
AVFilterPad
avfilter_vf_ocv_inputs
[]
=
{
static
const
AVFilterPad
avfilter_vf_ocv_inputs
[]
=
{
{
{
...
...
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