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
b2d58918
Commit
b2d58918
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/histogram: switch to an AVOptions-based system.
parent
d5226fc5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
filters.texi
doc/filters.texi
+1
-1
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_histogram.c
libavfilter/vf_histogram.c
+0
-3
No files found.
doc/filters.texi
View file @
b2d58918
...
@@ -3474,7 +3474,7 @@ Compute and draw a color distribution histogram for the input video.
...
@@ -3474,7 +3474,7 @@ Compute and draw a color distribution histogram for the input video.
The computed histogram is a representation of distribution of color components
The computed histogram is a representation of distribution of color components
in an image.
in an image.
The filter accepts the following
named parameter
s:
The filter accepts the following
option
s:
@table @option
@table @option
@item mode
@item mode
...
...
libavfilter/avfilter.c
View file @
b2d58918
...
@@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
...
@@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"geq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"geq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"gradfun"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"gradfun"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"histeq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"histeq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"histogram"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"life"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"life"
)
||
...
...
libavfilter/vf_histogram.c
View file @
b2d58918
...
@@ -311,8 +311,6 @@ static const AVFilterPad outputs[] = {
...
@@ -311,8 +311,6 @@ static const AVFilterPad outputs[] = {
{
NULL
}
{
NULL
}
};
};
static
const
char
*
const
shorthand
[]
=
{
NULL
};
AVFilter
avfilter_vf_histogram
=
{
AVFilter
avfilter_vf_histogram
=
{
.
name
=
"histogram"
,
.
name
=
"histogram"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Compute and draw a histogram."
),
.
description
=
NULL_IF_CONFIG_SMALL
(
"Compute and draw a histogram."
),
...
@@ -321,5 +319,4 @@ AVFilter avfilter_vf_histogram = {
...
@@ -321,5 +319,4 @@ AVFilter avfilter_vf_histogram = {
.
inputs
=
inputs
,
.
inputs
=
inputs
,
.
outputs
=
outputs
,
.
outputs
=
outputs
,
.
priv_class
=
&
histogram_class
,
.
priv_class
=
&
histogram_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