History

lavfi/histogram: switch to an AVOptions-based system.

Clément Bœsch committed 13 years ago

Commit b2d58911 parent d5226fc3 files · +2 −4Browse files

Unified · Split

3 files
  1. doc/filters.texi +1 −1
  2. libavfilter/avfilter.c +1 −0
  3. libavfilter/vf_histogram.c +0 −3
doc/filters.texi+1−1
@@ -3474,7 +3474,7 @@ Compute and draw a color distribution histogram for the input video. · 3473 unmodified lines
34743474 The computed histogram is a representation of distribution of color components
34753475 in an image.
34763476
3477−The filter accepts the following named parameters:
3477+The filter accepts the following options:
34783478
34793479 @table @option
34803480 @item mode
libavfilter/avfilter.c+1−0
@@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 679 unmodified lines
680680 !strcmp(filter->filter->name, "geq" ) ||
681681 !strcmp(filter->filter->name, "gradfun" ) ||
682682 !strcmp(filter->filter->name, "histeq" ) ||
683+ !strcmp(filter->filter->name, "histogram" ) ||
683684 !strcmp(filter->filter->name, "hqdn3d" ) ||
684685 !strcmp(filter->filter->name, "ocv" ) ||
685686 !strcmp(filter->filter->name, "life" ) ||
libavfilter/vf_histogram.c+0−3
@@ -311,8 +311,6 @@ static const AVFilterPad outputs[] = { · 310 unmodified lines
311311 { NULL }
312312 };
313313
314−static const char *const shorthand[] = { NULL };
315−
316314 AVFilter avfilter_vf_histogram = {
317315 .name = "histogram",
318316 .description = NULL_IF_CONFIG_SMALL("Compute and draw a histogram."),
@@ -321,5 +319,4 @@ AVFilter avfilter_vf_histogram = { · 2 unmodified lines
321319 .inputs = inputs,
322320 .outputs = outputs,
323321 .priv_class = &histogram_class,
324− .shorthand = shorthand,
325322 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t