summaryrefslogtreecommitdiff
path: root/libavfilter/vf_histogram.c
Commit message (Collapse)AuthorAge
* avfilter: Constify all AVFiltersAndreas Rheinhardt2021-04-27
| | | | | | | This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_histogram: add slide modes for thistogramPaul B Mahol2020-09-26
|
* lavfi: regroup formats lists in a single structure.Nicolas George2020-09-08
| | | | | | | | | | | | | | | It will allow to refernce it as a whole without clunky macros. Most of the changes have been automatically made with sed: sed -i ' s/-> *in_formats/->incfg.formats/g; s/-> *out_formats/->outcfg.formats/g; s/-> *in_channel_layouts/->incfg.channel_layouts/g; s/-> *out_channel_layouts/->outcfg.channel_layouts/g; s/-> *in_samplerates/->incfg.samplerates/g; s/-> *out_samplerates/->outcfg.samplerates/g; ' src/libavfilter/*(.)
* avfilter/vf_histogram: add envelope to thistogram filterPaul B Mahol2019-12-30
|
* avfilter/vf_histogram: add support for 12bit yuva formatsPaul B Mahol2019-12-29
|
* avfilter/vf_histogram: reindent after previous commitPaul B Mahol2019-12-29
|
* avfilter: add thistogram video filterPaul B Mahol2019-12-29
|
* avfilter/vf_histogram: use the name 's' for the pointer to the private contextPaul B Mahol2019-12-26
| | | | This is consistent across filters.
* avfilter: add support for GRAY9 and GBRAP10Paul B Mahol2017-08-07
|
* avfilter/vf_histogram: actually add parade display modePaul B Mahol2017-05-09
| | | | | | Rename previous parade mode to stack, what it really was from start. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: set foreground alpha if possible in destination formatPaul B Mahol2016-09-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: make foreground and background opacity configurablePaul B Mahol2016-08-19
|
* avfilter/vf_histogram: indent histogram optionsDave Rice2016-06-11
|
* avfilter/vf_histogram: shortcuts for histogram optionsDave Rice2016-06-11
|
* avfilter/vf_histogram: add 12bit depth supportPaul B Mahol2016-03-06
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: explicitly set 10bit output formatsPaul B Mahol2016-03-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavfi/vf_histogram: replace round by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | lrint is at least as fast, uses a superior rounding mode, and avoids an implicit cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/vf_histogram: remove deprecated stuffPaul B Mahol2015-12-01
| | | | | | | | Remove all modes except levels mode. Users should already switch to other filters with extended funcionality: vectorscope and waveform. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/all: propagate errors of functions from avfilter/formatsGanesh Ajjanagadde2015-10-14
| | | | | | | | | | | | | | | | | | Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM). This propagates the return values. All of these were found by using av_warn_unused_result, demonstrating its utility. Tested with FATE. I am least sure of the changes to avfilter/filtergraph, since I don't know what/how reduce_format is intended to behave and how it should react to errors. Fixes: CID 1325680, 1325679, 1325678. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Previous version Reviewed-by: Nicolas George <george@nsup.org> Previous version Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
|
* avfilter/vf_histogram: Fix order of operations with flagsMichael Niedermayer2015-09-03
| | | | | | Fixes CID1322325 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_histogram: 9 and 10 bit depth supportPaul B Mahol2015-08-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: fix bug in checking pixel format flagsPaul B Mahol2015-08-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: levels: support more input pixel formatsPaul B Mahol2015-08-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add waveform monitor filterPaul B Mahol2015-08-22
|
* avfilter: add video vectorscope filterPaul B Mahol2015-08-20
|
* avfilter/vf_histogram: make it possible to pick color components for levels modePaul B Mahol2015-08-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: handle error in query_formats() in bunch of filtersPaul B Mahol2015-04-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: Change enum to int, which is accessed via AVOption as intMichael Niedermayer2015-03-18
| | | | | | This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: do not export the filters from shared objects Conflicts: libavfilter/af_amix.c libavfilter/af_anull.c libavfilter/asrc_anullsrc.c libavfilter/f_select.c libavfilter/f_settb.c libavfilter/split.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_blackframe.c libavfilter/vf_colorbalance.c libavfilter/vf_copy.c libavfilter/vf_crop.c libavfilter/vf_cropdetect.c libavfilter/vf_drawbox.c libavfilter/vf_format.c libavfilter/vf_framestep.c libavfilter/vf_frei0r.c libavfilter/vf_hflip.c libavfilter/vf_libopencv.c libavfilter/vf_lut.c libavfilter/vf_null.c libavfilter/vf_overlay.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_unsharp.c libavfilter/vf_vflip.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_histogram: use const for variables that are not supposed to changePaul B Mahol2013-10-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: add mirrored waveform modeMarton Balint2013-10-02
| | | | | | Added parameter to mirror the waveform (high values are shown on top in column mode) Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_histogram: fix segfault in parade waveform mode for subsampled ↵Marton Balint2013-10-02
| | | | | | formats Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_histogram: change order of histograms for planar rgbPaul B Mahol2013-10-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_histogram: add support for subsampled planar yuv modes in ↵Marton Balint2013-10-01
| | | | | | waveform mode Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_histogram: improve waveform speedMarton Balint2013-10-01
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter: various cosmeticsPaul B Mahol2013-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/histogram: cache log2 of max_hvalPaul B Mahol2013-05-19
| | | | | | Instead of calculating same value over and over again. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/histogram: logarithmic mode for levelsPaul B Mahol2013-05-15
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: add gbrap support to some filtersPaul B Mahol2013-05-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_histogram: avoid floats, unbreak fateMichael Niedermayer2013-04-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/histogram: remove pointless storePaul B Mahol2013-04-15
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/histogram: switch to an AVOptions-based system.Clément Bœsch2013-04-11
|
* lavfi/histogram: use standard options parsingPaul B Mahol2013-04-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit '7e350379f87e7f74420b4813170fe808e2313911'Michael Niedermayer2013-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7e350379f87e7f74420b4813170fe808e2313911': lavfi: switch to AVFrame. Conflicts: doc/filters.texi libavfilter/af_ashowinfo.c libavfilter/audio.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersink.c libavfilter/buffersrc.c libavfilter/buffersrc.h libavfilter/f_select.c libavfilter/f_setpts.c libavfilter/fifo.c libavfilter/split.c libavfilter/src_movie.c libavfilter/version.h libavfilter/vf_aspect.c libavfilter/vf_bbox.c libavfilter/vf_blackframe.c libavfilter/vf_delogo.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_fieldorder.c libavfilter/vf_fps.c libavfilter/vf_frei0r.c libavfilter/vf_gradfun.c libavfilter/vf_hqdn3d.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_showinfo.c libavfilter/vf_transpose.c libavfilter/vf_vflip.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavfilter/yadif.h Following are notes about the merge authorship and various technical details. Michael Niedermayer: * Main merge operation, notably avfilter.c and video.c * Switch to AVFrame: - afade - anullsrc - apad - aresample - blackframe - deshake - idet - il - mandelbrot - mptestsrc - noise - setfield - smartblur - tinterlace * various merge changes and fixes in: - ashowinfo - blackdetect - field - fps - select - testsrc - yadif Nicolas George: * Switch to AVFrame: - make rawdec work with refcounted frames. Adapted from commit 759001c534287a96dc96d1e274665feb7059145d by Anton Khirnov. Also, fix the use of || instead of | in a flags check. - make buffer sink and src, audio and video work all together Clément Bœsch: * Switch to AVFrame: - aevalsrc - alphaextract - blend - cellauto - colormatrix - concat - earwax - ebur128 - edgedetect - geq - histeq - histogram - hue - kerndeint - life - movie - mp (with the help of Michael) - overlay - pad - pan - pp - pp - removelogo - sendcmd - showspectrum - showwaves - silencedetect - stereo3d - subtitles - super2xsai - swapuv - thumbnail - tile Hendrik Leppkes: * Switch to AVFrame: - aconvert - amerge - asetnsamples - atempo - biquads Matthieu Bouron: * Switch to AVFrame - alphamerge - decimate - volumedetect Stefano Sabatini: * Switch to AVFrame: - astreamsync - flite - framestep Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com> Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/histogram: overlay display mode for levels histogram modePaul B Mahol2013-02-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/histogram: make waveform mode more usefulPaul B Mahol2013-02-09
| | | | | | | Now it displays all color components (not just luma) either in parade or overlay and also works with RGB colorspace. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/histogram: make it C90 compliantPaul B Mahol2013-02-09
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* histogram filterPaul B Mahol2013-02-09
Signed-off-by: Paul B Mahol <onemda@gmail.com>