Unified · Split
| @@ -3474,7 +3474,7 @@ Compute and draw a color distribution histogram for the input video. · 3473 unmodified lines | ||
| 3474 | 3474 | The computed histogram is a representation of distribution of color components |
| 3475 | 3475 | in an image. |
| 3476 | 3476 | |
| 3477 | −The filter accepts the following named parameters: | |
| 3477 | +The filter accepts the following options: | |
| 3478 | 3478 | |
| 3479 | 3479 | @table @option |
| 3480 | 3480 | @item mode |
| @@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 679 unmodified lines | ||
| 680 | 680 | !strcmp(filter->filter->name, "geq" ) || |
| 681 | 681 | !strcmp(filter->filter->name, "gradfun" ) || |
| 682 | 682 | !strcmp(filter->filter->name, "histeq" ) || |
| 683 | + !strcmp(filter->filter->name, "histogram" ) || | |
| 683 | 684 | !strcmp(filter->filter->name, "hqdn3d" ) || |
| 684 | 685 | !strcmp(filter->filter->name, "ocv" ) || |
| 685 | 686 | !strcmp(filter->filter->name, "life" ) || |
| @@ -311,8 +311,6 @@ static const AVFilterPad outputs[] = { · 310 unmodified lines | ||
| 311 | 311 | { NULL } |
| 312 | 312 | }; |
| 313 | 313 | |
| 314 | −static const char *const shorthand[] = { NULL }; | |
| 315 | − | |
| 316 | 314 | AVFilter avfilter_vf_histogram = { |
| 317 | 315 | .name = "histogram", |
| 318 | 316 | .description = NULL_IF_CONFIG_SMALL("Compute and draw a histogram."), |
| @@ -321,5 +319,4 @@ AVFilter avfilter_vf_histogram = { · 2 unmodified lines | ||
| 321 | 319 | .inputs = inputs, |
| 322 | 320 | .outputs = outputs, |
| 323 | 321 | .priv_class = &histogram_class, |
| 324 | − .shorthand = shorthand, | |
| 325 | 322 | }; |