mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lavfi/histogram: switch to an AVOptions-based system.
This commit is contained in:
parent
d5226fc575
commit
b2d589188f
@ -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
|
||||
in an image.
|
||||
|
||||
The filter accepts the following named parameters:
|
||||
The filter accepts the following options:
|
||||
|
||||
@table @option
|
||||
@item mode
|
||||
|
@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
|
||||
!strcmp(filter->filter->name, "geq" ) ||
|
||||
!strcmp(filter->filter->name, "gradfun" ) ||
|
||||
!strcmp(filter->filter->name, "histeq" ) ||
|
||||
!strcmp(filter->filter->name, "histogram" ) ||
|
||||
!strcmp(filter->filter->name, "hqdn3d" ) ||
|
||||
!strcmp(filter->filter->name, "ocv" ) ||
|
||||
!strcmp(filter->filter->name, "life" ) ||
|
||||
|
@ -311,8 +311,6 @@ static const AVFilterPad outputs[] = {
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static const char *const shorthand[] = { NULL };
|
||||
|
||||
AVFilter avfilter_vf_histogram = {
|
||||
.name = "histogram",
|
||||
.description = NULL_IF_CONFIG_SMALL("Compute and draw a histogram."),
|
||||
@ -321,5 +319,4 @@ AVFilter avfilter_vf_histogram = {
|
||||
.inputs = inputs,
|
||||
.outputs = outputs,
|
||||
.priv_class = &histogram_class,
|
||||
.shorthand = shorthand,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user