Commit Graph

5375 Commits

Author SHA1 Message Date
Carl Eugen Hoyos ac7b1f7423 lavfi/mandelbrot: Output RGB0 instead of RGBA. 2015-10-02 01:21:36 +02:00
Paul B Mahol 0701ff2c32 avfilter/x86/vf_psnr.asm: fix typo
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-01 21:53:13 +02:00
Paul B Mahol 30ce6fd106 avfilter/vf_maskedmerge: get rid of MaskedMergeContext from functions that do actual work
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-30 22:35:31 +02:00
Paul B Mahol 1da1574002 avfilter/vf_maskedmerge: rewrite and remove some duplicated code
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-30 22:27:39 +02:00
Paul B Mahol 6ce02126ce avfilter/af_rubberband: flush only if there is something available
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-30 13:02:03 +02:00
Paul B Mahol a019149249 avfilter/vf_atadenoise: do not use uninitialized data
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-29 20:50:20 +02:00
Hendrik Leppkes f35c4ede9e Merge commit 'c9943f00cfa2471d1b8a3a9ddc7a21049a71090e'
* commit 'c9943f00cfa2471d1b8a3a9ddc7a21049a71090e':
  vf_framepack: Use av_image_copy() where appropriate

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-29 15:44:14 +02:00
Vittorio Giovara c9943f00cf vf_framepack: Use av_image_copy() where appropriate
This correctly adjust chroma subsampling for column interleaved mode,
and allows future high bitdepth support.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-29 14:33:01 +02:00
Hendrik Leppkes c36e85b3d9 Merge commit 'ae25413daf42a06f078ed81bb545ec23a8e0b482'
* commit 'ae25413daf42a06f078ed81bb545ec23a8e0b482':
  lavfi: do not exclude hwaccel formats from ff_all_formats()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-29 13:48:58 +02:00
Anton Khirnov ae25413daf lavfi: do not exclude hwaccel formats from ff_all_formats()
It should be possible to pass hwaccel frames through lavfi.
2015-09-28 15:42:38 +02:00
Jean Delvare 3e5b02bdb8 avfilter/delogo: Fix show option when band is small
The code assumed that the outermost interpolated pixels were always in
the fuzzy area defined by the band option. However if the band value
is small, there may be no fuzzy area on a given plane. In that case,
option show did not work, no rectangle was drawn (or only on the luma
plane, depending on the band value and chroma plane subsampling
factors.)

Fix the problem by not making any assumption on where the outermost
interpolated pixels will be.

The new code was verified to produce the same result as the original
code when the band value is not small.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-28 13:23:47 +02:00
Paul B Mahol 691a7df3c5 avfilter: add maskedmerge filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-28 09:20:58 +02:00
Michael Niedermayer 549d109248 avfilter/vf_yadif: add missing "This file is part of FFmpeg"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-27 13:08:24 +02:00
Michael Niedermayer 485057f715 avfilter/vf_mcdeint: add missing "This file is part of FFmpeg"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-27 13:07:12 +02:00
Paul B Mahol 4cf60b4fa1 avfilter/vf_blend: add addition128 mode
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-26 15:32:56 +02:00
Kyle Swanson 435d000eb5 avfilter/generate_wave_table: clean up extra newlines
Signed-off-by: Kyle Swanson <k@ylo.ph>
2015-09-24 17:26:27 +02:00
Paul B Mahol 964a9badcc avfilter/af_tremolo: make it bit-exact with sox effect of same name
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-24 09:57:11 +02:00
Christophe Gisquet 552faecf4b vf_scale: conditionally override chroma position
For yuv420p, the chroma position is unilaterally overriden, even
if ffmpeg's command-line explicitly set it. To fix this, override
only if the value is the default one.

Regression since 1515bfb3.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-23 23:30:53 +02:00
Timo Rothenpieler 4af1f37682 avfilter/vf_chromakey: Add chromakey video filter
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2015-09-23 18:10:14 +02:00
Paul B Mahol 43f0b1d38c avfilter/af_rubberband: rename duplicate option name
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-23 09:33:52 +02:00
Michael Niedermayer 118b1ba43b avfilter/hermite: fix "libavfilter/hermite.h:19:15: error: no previous prototype for hermite_interpolation"
Fix build

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-22 23:45:03 +02:00
Paul B Mahol ed4257de2d avfilter: add agate filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-22 22:07:36 +02:00
Kyle Swanson a9509ad3f0 avfilter: add tremolo filter
Signed-off-by: Kyle Swanson <k@ylo.ph>
2015-09-22 15:59:39 +02:00
Jean Delvare d9c72e0d24 Update my email address
My old address no longer works.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-22 10:47:35 +02:00
Paul B Mahol 2a0fc55995 avfilter: add rubberband wrapper
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-20 19:54:57 +02:00
Nicolas George 44f660e7e7 lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.
It has no longer any effect.
2015-09-20 19:02:33 +02:00
Nicolas George 2a351f6c55 lavfi: drop the requirement that request_frame returns a frame.
It requires a loop in filters or the framework,
that makes the scheduling less efficient and more complex.
This is purely an internal change since the loop is now
present in buffersink.
Note that no filter except buffersink did rely on the requirement.
2015-09-20 19:02:33 +02:00
Nicolas George 598f8a7afa lavfi/vf_idet: reindent after last commit. 2015-09-20 18:50:00 +02:00
Nicolas George 7635242ae5 lavfi/vf_idet: remove the loop in request_frame().
It is not necessary due to the use of FF_LINK_FLAG_REQUEST_LOOP.
2015-09-20 18:50:00 +02:00
Nicolas George 807d4b6355 lavfi/buffersink: loop over ff_request_frame().
Do not assume that ff_request_frame() returning success
implies a frame has arrived in the FIFO.
Instead, just loop until a frame is in the FIFO.
It does not change anything since the same loop is present
in ff_request_frame(), confirmed by an assertion.
2015-09-20 18:50:00 +02:00
Ganesh Ajjanagadde 0fe1c50e50 all: do standards compliant absdiff computation
This resolves implementation defined behavior, and also silences -Wabsolute-value in clang 3.5+.
Moreover, the generated asm is identical to before modulo nop padding.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-18 22:42:38 +02:00
Muhammad Faiz 5b48dd75d5 avfilter/avf_showcqt: use frequency domain windowing
faster initialization and less code
slightly different result computationally from previous
coeffclamp option is ignored

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-18 18:27:18 +02:00
Timo Rothenpieler 85c343faad avfilter/vf_colorkey: Improve filter description
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2015-09-18 14:52:19 +02:00
Paul B Mahol f825883eeb avfilter/af_sidechaincompress: do not use floats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-17 13:05:15 +00:00
Paul B Mahol 969ce025cc avfilter/vf_atadenoise: fix file permissions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-17 12:41:42 +00:00
Paul B Mahol 695ff5dc6d avfilter/af_sidechaincompress: use doubles instead of floats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-17 09:30:50 +00:00
Paul B Mahol ddf378895f avfilter: add stereo tools filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-17 09:30:50 +00:00
Paul B Mahol dc1050a3e8 avfilter/af_ladspa: process all channels for nb_handles > 1
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-16 09:45:59 +00:00
Paul B Mahol eeaf19cee9 avfilter/vf_stereo3d: simplify blank calculations and check height
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-15 19:06:06 +00:00
Ganesh Ajjanagadde 0f711126b8 avfilter/vsrc_cellauto: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-15 18:34:44 +00:00
Ganesh Ajjanagadde f7b53c9527 avfilter/f_sendcmd: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2015-09-15 13:21:57 -04:00
Paul B Mahol aaf4e703f6 avfilter/af_stereowiden: fix 2nd argument for av_calloc
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-15 16:27:52 +00:00
Ganesh Ajjanagadde b26a45c2c3 avfilter/vf_vidstabdetect: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2015-09-15 11:12:49 -04:00
Ganesh Ajjanagadde e76be9cd45 avfilter/vf_xbr: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-15 10:51:54 +00:00
Paul B Mahol b0f9856616 avfilter: add stereowiden filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-15 09:34:22 +00:00
Paul B Mahol f2b1df735e avfilter/avf_showfreqs: add lanczos and gauss windowing functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-15 09:28:40 +00:00
Paul B Mahol 1c853d5727 avfilter/avf_showcqt: draw text optionally
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-15 07:54:47 +00:00
Muhammad Faiz 145c5a9978 avfilter/avf_showcqt: change fft left-right separation
This simplifies the code

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-14 12:51:43 +02:00
Ganesh Ajjanagadde d13a2df8de avfilter/vsrc_mandelbrot: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-13 20:34:26 +00:00
Luca Barbato 285fe5b098 avfilter: Support both syntaxes for the scale filter 2015-09-13 17:34:45 +02:00
Vittorio Giovara dc54c78c4d buffersrc: Improve initialization log message
Add timebase and aspect ratio information.
2015-09-13 17:34:45 +02:00
Paul B Mahol 39c61d8459 avfilter: add audio limiter filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 13:29:20 +00:00
Paul B Mahol a0a2ca024b avfilter/af_ladspa: support simpler syntax for controls
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 13:07:55 +00:00
Paul B Mahol 6a074cfa15 avfilter/vf_framerate: fix frame leak at uninit
Reported-by: Andres Noetzli
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 03:13:34 +00:00
Paul B Mahol 16f08b7a09 avfilter/vf_framerate: unbreak flushing
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 02:37:32 +00:00
Paul B Mahol 349970a67a avfilter/vf_framerate: calculate delta from scaled pts instead of unscaled
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 02:37:31 +00:00
Paul B Mahol 2b77034565 avfilter/vf_framerate: highbit depth support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 02:37:31 +00:00
Paul B Mahol 1bf7bd194b avfilter: add ocr filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 02:14:44 +00:00
Paul B Mahol 494b792441 avfilter: use ff_all_channel_counts() instead of ff_all_channel_layouts()
Fixes playback of some files with ffplay.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-12 01:43:06 +00:00
Clément Bœsch 1e2c23f06c avfilter/treble: use AV_OPT_TYPE_BOOL for csg option 2015-09-12 18:24:49 +02:00
Ganesh Ajjanagadde f6e598afa8 avfilter/vf_transpose: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-10 21:30:43 +00:00
Ganesh Ajjanagadde 5064b06224 avfilter/f_perms: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-10 21:06:58 +00:00
Paul B Mahol af24763400 avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-09 10:01:10 +00:00
Clément Bœsch 1435587373 avfilter/acrossfade: use AV_OPT_TYPE_BOOL for overlap option 2015-09-09 01:32:30 +02:00
Clément Bœsch 7114282a0d avfilter/life: use AV_OPT_TYPE_BOOL for a stitch option 2015-09-09 01:16:23 +02:00
Clément Bœsch 7b6007204d avfilter/cellauto: use AV_OPT_TYPE_BOOL for a few options 2015-09-09 01:15:42 +02:00
Clément Bœsch c826f9b284 avfilter/waveform: use AV_OPT_TYPE_BOOL for mirror option 2015-09-09 01:04:28 +02:00
Clément Bœsch 9f4e096496 avfilter/vignette: use AV_OPT_TYPE_BOOL for dither option 2015-09-09 01:02:07 +02:00
Clément Bœsch 14d6c68824 avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options 2015-09-09 00:59:43 +02:00
Clément Bœsch b761033e7f avfilter/uspp: use AV_OPT_TYPE_BOOL for use_bframe_qp option 2015-09-09 00:48:03 +02:00
Clément Bœsch b0431383cb avfilter/unsharp: use AV_OPT_TYPE_BOOL for opencl option 2015-09-09 00:47:04 +02:00
Clément Bœsch 9b8e514c14 avfilter/spp: use AV_OPT_TYPE_BOOL for use_bframe_qp option 2015-09-09 00:43:06 +02:00
Clément Bœsch d1c4e8c7db avfilter/paletteuse: use AV_OPT_TYPE_BOOL for mean_err and debug_accuracy option 2015-09-09 00:38:22 +02:00
Clément Bœsch 81e52c6df9 avfilter/palettegen: use AV_OPT_TYPE_BOOL for reserve_transparent option 2015-09-09 00:34:56 +02:00
Clément Bœsch 9c52eafd5b avfilter/overlay: use AV_OPT_TYPE_BOOL for rgb, shortest and repeatlast options 2015-09-09 00:33:02 +02:00
Clément Bœsch 9f846ed4c7 avfilter/haldclut: use AV_OPT_TYPE_BOOL for shortest and repeatlast options 2015-09-09 00:30:53 +02:00
Clément Bœsch dc2802c81e avfilter/kerndeint: use AV_OPT_TYPE_BOOL for the previously missed options 2015-09-09 00:21:57 +02:00
Clément Bœsch a62bf26c28 avfilter/il: use AV_OPT_TYPE_BOOL for {luma,chroma,alpha}_swap options 2015-09-09 00:12:42 +02:00
Clément Bœsch f5436ebe22 avfilter/fspp: use AV_OPT_TYPE_BOOL for use_bframe_qp option 2015-09-09 00:11:05 +02:00
Clément Bœsch 96651e41b0 avfilter/fieldmatch: use AV_OPT_TYPE_BOOL for ppsrc, mchroma and chroma options 2015-09-09 00:08:10 +02:00
Clément Bœsch 334b11246c avfilter/fade: use AV_OPT_TYPE_BOOL for alpha option 2015-09-09 00:06:15 +02:00
Clément Bœsch e1d24e6c1e avfilter/elbg: use AV_OPT_TYPE_BOOL for pal8 option 2015-09-08 23:58:59 +02:00
Clément Bœsch 1cab6a33cd avfilter/drawtext: use AV_OPT_TYPE_BOOL for a few options 2015-09-08 23:56:43 +02:00
Clément Bœsch 97692ef1ba avfilter/deshake: use AV_OPT_TYPE_BOOL for opencl option 2015-09-08 23:50:25 +02:00
Clément Bœsch ee4f0ec0cd avfilter/delogo: use AV_OPT_TYPE_BOOL for show option 2015-09-08 23:49:48 +02:00
Clément Bœsch 96dbc5bdf9 avfilter/decimate: use AV_OPT_TYPE_BOOL for ppsrc and chroma options 2015-09-08 23:48:49 +02:00
Clément Bœsch fa83b55161 avfilter/crop: use AV_OPT_TYPE_BOOL for keep_aspect option 2015-09-08 23:46:12 +02:00
Clément Bœsch 7a29d10839 avfilter/blend: use AV_OPT_TYPE_BOOL for shortest and repeatlast options 2015-09-08 23:43:54 +02:00
Clément Bœsch 728eff9e38 avfilter/ebur128: use AV_OPT_TYPE_BOOL for metadata option 2015-09-08 23:38:25 +02:00
Clément Bœsch e73f46b105 avfilter/abuffersink: use AV_OPT_TYPE_BOOL for all_channel_counts option 2015-09-08 23:35:12 +02:00
Clément Bœsch b599d21642 avfilter/showwaves: use AV_OPT_TYPE_BOOL for split_channels option 2015-09-08 23:32:10 +02:00
Clément Bœsch 286d625b43 avfilter/showvolume: use AV_OPT_TYPE_BOOL for channel name displaying option (t) 2015-09-08 23:28:44 +02:00
Clément Bœsch af0945d912 avfilter/showcqt: use AV_OPT_TYPE_BOOL for fullhd option 2015-09-08 23:26:30 +02:00
Clément Bœsch 9f4b3bd96c avfilter/concat: use AV_OPT_TYPE_BOOL for unsafe option 2015-09-08 23:24:12 +02:00
Clément Bœsch b6249d4f52 avfilter/flite: use AV_OPT_TYPE_BOOL for list_voices option 2015-09-08 23:22:38 +02:00
Clément Bœsch cb8d71734c avfilter/volume: drop useless trailing comma 2015-09-08 23:21:15 +02:00
Clément Bœsch 34201fcf74 avfilter/volume: fix missing filtering flags for a bunch of options 2015-09-08 23:20:02 +02:00
Clément Bœsch ed28dd6301 avfilter/volume: use AV_OPT_TYPE_BOOL for replaygain_noclip option 2015-09-08 23:18:33 +02:00
Clément Bœsch 5c64ae64bd avfilter/silenceremove: use AV_OPT_TYPE_BOOL for leave_silence option 2015-09-08 23:16:49 +02:00
Clément Bœsch 6d79aae63c avfilter/extrastereo: use AV_OPT_TYPE_BOOL for clipping option 2015-09-08 23:14:00 +02:00