summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_testsrc.c
Commit message (Collapse)AuthorAge
* avfilter/vsrc_testsrc: add missing breakPaul B Mahol2021-01-17
|
* avfilter/vsrc_testsrc: add complement mode to rgbtestsrcPaul B Mahol2021-01-16
|
* avfilter/vsrc_testsrc: add planar support to rgbtestsrcPaul B Mahol2021-01-16
|
* avfilter/vsrc_testsrc: Deduplicate optionsAndreas Rheinhardt2021-01-08
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* lavfi/vsrc_testsrc: switch to activate.Nicolas George2020-09-08
| | | | | | | | | | | | | | | | | | | | | | Allow to set the EOF timestamp. Also: doc/filters/testsrc*: specify the rounding of the duration option. The changes in the ref files are right. For filter-fps-down, the graph is testsrc2=r=7:d=3.5,fps=3. 3.5=24.5/7, so the EOF of testsrc2 will have PTS 25/7. 25/7=(10+5/7)/3, so the EOF PTS for fps should be 11/7, and the output should contain a frame at PTS 10. For filter-fps-up, the graph is testsrc2=r=3:d=2,fps=7, for filter-fps-up-round-down and filter-fps-up-round-up it is the same with explicit rounding options. But there is no rounding: testsrc2 produces exactly 6 frames and 2 seconds, fps converts it into exactly 14 frames. The tests should probably be adjusted to restore them to a useful coverage.
* remove CHAR_MIN/CHAR_MAX usagePaul B Mahol2020-03-17
| | | | It is not needed at all.
* avfilter/vsrc_testsrc: simplify color filter commands parsingPaul B Mahol2019-11-21
|
* avfilter/vsrc_testsrc: increase max level of haldclutsrcPaul B Mahol2019-10-26
| | | | So it matches lut3d and haldclut filter.
* avfilter/vsrc_testsrc: rgbtestsrc: fix undefined behaviourPaul B Mahol2019-10-16
| | | | Fixes #8238
* avfilter/vsrc_testsrc: fix a preprocessor checkJames Almer2018-05-18
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vsrc_testsrc: add pal75bars and pal100bars video filter sourcesTobias Rapp2018-05-18
| | | | | | | Generates color bar test patterns based on EBU PAL recommendations. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* lavfi/testsrc2: fix hang with very small sizes.Nicolas George2017-10-31
| | | | Move a subtraction to the other side of the equal to avoid overflows.
* lavfi/testsrc2: fix completely transparent alpha.Nicolas George2017-07-25
|
* avfilter: do not use AVFrame accessorMuhammad Faiz2017-04-23
| | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* avfilter/vsrc_testsrc: draw_bar: make sure width is not negativePaul B Mahol2016-12-15
| | | | | Reported-by: Josh de Kock Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add yuvtestsrc source filterPaul B Mahol2016-08-25
|
* avfilter: Fix max value of AV_OPT_TYPE_VIDEO_RATEMichael Niedermayer2016-06-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.hGanesh Ajjanagadde2016-03-22
| | | | | | | | | | | The idea is to use ffmath.h for internal implementations of math functions. Currently, it is used for variants of libm functions, but is by no means limited to such things. Note that this is not exported; use lavu/mathematics for such purposes. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
* avfilter/smptebars: fix some 75% color valuesPaul B Mahol2016-03-12
| | | | | | They where slightly off. 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/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)Ganesh Ajjanagadde2015-12-25
| | | | Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi: add testsrc2 test source.Nicolas George2015-11-07
| | | | | | | | Similar to testsrc, but using drawutils and therefore supporting a lot of pixel formats instead of just rgb24. This allows using it as input for other tests without requiring a format conversion. It is also slightly faster than testsrc for some reason.
* avfilter: add allrgbClément Bœsch2015-08-29
| | | | | Signed-off-by: Nicolas George <george@nsup.org> Signed-off-by: Clément Bœsch <u@pkh.me>
* avfilter/vsrc_testsrc: correct colors for smptebarsPaul B Mahol2015-08-11
|
* avfilter/vsrc_testsrc: smpte(hd)bars: fix uninitialized last rows and ↵Paul B Mahol2015-08-10
| | | | | | columns of chroma planes For cases width and/or height is not multiple of chroma subsamplings.
* avfilter: add allyuv source filterPaul B Mahol2015-08-02
| | | | 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>
* Merge commit '58400ac133bcfb6bf8196b4e5208bc178307739b'Michael Niedermayer2014-04-19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '58400ac133bcfb6bf8196b4e5208bc178307739b': lavfi: name anonymous structs Conflicts: libavfilter/buffersink.c libavfilter/f_select.c libavfilter/src_movie.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_overlay.c libavfilter/vf_showinfo.c libavfilter/vf_unsharp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: name anonymous structsVittorio Giovara2014-04-19
| |
* | 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>
| * lavfi: do not export the filters from shared objectsAnton Khirnov2013-10-28
| |
| * lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov2013-04-09
| |
* | avfilter/vsrc_testsrc: smpte(hd)bars: use yuv directlyPaul B Mahol2013-10-12
| | | | | | | | | | | | Also set color space. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: various cosmeticsPaul B Mahol2013-09-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vsrc_testsrc: fix artifacts with odd heightMichael Niedermayer2013-06-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/haldclutsrc: 10l remove size options.Clément Bœsch2013-05-27
| |
* | lavfi: add haldclutsrc filter.Clément Bœsch2013-05-27
| |
* | lavfi/testsrc: make nb_decimals available only in testsrc.Clément Bœsch2013-05-23
| |
* | lavfi/testsrc: move color options to the color scope filter definition.Clément Bœsch2013-05-23
| |
* | lavfi/color: switch to AV_OPT_TYPE_COLORPaul B Mahol2013-05-17
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/testsrc: add support for color interactive commandStefano Sabatini2013-05-03
| |
* | lavfi/testsrc: fix styleStefano Sabatini2013-04-17
| |
* | lavfi/testsrc: use int in place of unsignedStefano Sabatini2013-04-17
| | | | | | | | | | | | | | | | Avoid implicit int->unsigned conversion, causing invalid access in case of negative linesize. Fix crash with: ffplay -f lavfi testsrc,vflip
* | lavfi/testsrc: unbreak smptebars only buildPaul B Mahol2013-04-14
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/smptehdbars: fix priv_class pointer.Clément Bœsch2013-04-14
| | | | | | | | Fix Ticket2468.
* | lavfi/testsrc: grammar fix in comment after 03e2ec32.Clément Bœsch2013-04-14
| |
* | lavfi: add smptehdbars sourcePaul B Mahol2013-04-14
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/testsrc: make use of AV_OPT_TYPE_DURATIONStefano Sabatini2013-04-13
| | | | | | | | Simplify.
* | lavfi: remove now unused args parameter from AVFilter.init and init_opaqueMichael Niedermayer2013-04-12
| | | | | | | | | | | | | | | | | | This is mostly automated global search and replace The deprecated aconvert filter is disabled, if it still has users it should be updated Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov2013-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libavfilter/avfilter.c libavfilter/vf_drawtext.c libavfilter/vf_lut.c libavfilter/vf_select.c libavfilter/vf_setpts.c libavfilter/vsrc_color.c libavfilter/vsrc_movie.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>