Commit Graph

5293 Commits

Author SHA1 Message Date
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
Clément Bœsch fad0841869 avfilter/asyncts: use AV_OPT_TYPE_BOOL for compensate option 2015-09-08 23:09:59 +02:00
Clément Bœsch 816cfd00cb avfilter/astats: use AV_OPT_TYPE_BOOL for metadata option 2015-09-08 23:08:20 +02:00
Clément Bœsch 1457610d87 avfilter/asetnsamples: use AV_OPT_TYPE_BOOL for pad with zeros option 2015-09-08 23:06:40 +02:00
Clément Bœsch 2d7726f7ab avfilter/rotate: use AV_OPT_TYPE_BOOL for bilinear option 2015-09-08 23:04:13 +02:00
Clément Bœsch 0b93c6d831 avfilter/interlace: fix opt flags 2015-09-08 22:47:16 +02:00
Clément Bœsch f790b54d98 avfilter/interlace: use AV_OPT_TYPE_BOOL 2015-09-08 22:39:24 +02:00
Clément Bœsch 2f4e2356bc avfilter/deband: use AV_OPT_TYPE_BOOL 2015-09-08 22:39:24 +02:00
Clément Bœsch 266997504d avfilter/dynaudnorm: use AV_OPT_TYPE_BOOL 2015-09-08 22:39:24 +02:00
Clément Bœsch ae32c9916d avfilter/kerndeint: use AV_OPT_TYPE_BOOL 2015-09-08 22:39:24 +02:00
Paul B Mahol 84f6284709 avfilter/vf_vectorscope: 9 & 10 bit depth support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-08 19:05:38 +00:00
Ganesh Ajjanagadde c07f493efe avfilter/vf_super2xsai: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-08 18:47:06 +00:00
Paul B Mahol 31c9660b0f avfilter/af_ladspa: add special case for 2:2 plugins
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-08 18:33:02 +00:00
Hendrik Leppkes 5d8e836d0e Replace all remaining occurances of step/depth_minus1 and offset_plus1 2015-09-08 17:10:48 +02:00
Hendrik Leppkes 151aa2ebff Merge commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba'
* commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba':
  lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-08 16:35:28 +02:00
Paul B Mahol b31041adc3 avfilter: add extrastereo filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-08 10:43:17 +00:00
Ganesh Ajjanagadde b45ff1386a avfilter/vf_thumbnail: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-07 20:17:46 +00:00
Vittorio Giovara 2268db2cd0 lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields
The new fields can be accessed directly and are more intelligible.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-07 12:37:47 +02:00
Paul B Mahol 0c511eb272 avfilter/vf_stereo3d: stop dumping half of data for interleave rows output
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-06 11:49:03 +00:00
Paul B Mahol 32dd9b2c6e avfilter/vf_stereo3d: add interleave columns output format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-06 11:49:03 +00:00
Paul B Mahol 8bd13eb8be avfilter/vf_stereo3d: add HDMI output format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-06 11:49:03 +00:00
Paul B Mahol 4b2bafbd4c avfilter/vf_stereo3d: support interleaved rows as input format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-06 11:49:03 +00:00
Paul B Mahol 09812e1200 avfilter/vf_stereo3d: add checkerboard output format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-06 11:49:03 +00:00
Clément Bœsch a388ca359d avfilter/sine: support expression in the number of output samples 2015-09-06 15:28:21 +02:00
Ganesh Ajjanagadde d74123d03e avfilter/af_asyncts: use llabs for int64_t
long may not be 64 bit on all platforms; so labs on int64_t is unsafe.
This fixes a warning reported in:
http://fate.ffmpeg.org/log.cgi?time=20150905071512&log=compile&slot=i386-darwin-clang-polly-3.7

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 11:59:34 +02:00
Ganesh Ajjanagadde 78995dc241 avfilter/vf_unsharp: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-05 20:36:35 +00:00
Hendrik Leppkes 160e92c8bf Merge commit 'e88103a7f92cf27a2868b50acc8a9912f6088249'
* commit 'e88103a7f92cf27a2868b50acc8a9912f6088249':
  Bump major versions of all libraries

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 21:35:46 +02:00
Hendrik Leppkes 3433228795 lavfi: remove old graph parser API with different semantics
This API hasn't been active since the last bump already.
2015-09-05 18:35:09 +02:00
Hendrik Leppkes 2df52088ef Merge commit '4e649debcf7f71d35c6b38cdb7ee715eba95d64a'
* commit '4e649debcf7f71d35c6b38cdb7ee715eba95d64a':
  Postpone API-incompatible changes until the next bump

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 17:52:10 +02:00
Hendrik Leppkes 144fb06806 Remove left-over FF_API_AVFILTERBUFFER cruft 2015-09-05 16:27:19 +02:00
Hendrik Leppkes 033764e015 Merge commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0'
* commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0':
  lavfi: Drop deprecated AVFilterBuffer* code

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 16:22:03 +02:00
Hendrik Leppkes 43e2e172df Merge commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1'
* commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1':
  lavfi: Drop deprecated *_count suffixed variables

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 16:11:22 +02:00
Hendrik Leppkes 2751d5f0ba Merge commit '86e5056575f55f070609dd3926605302f7d2280e'
* commit '86e5056575f55f070609dd3926605302f7d2280e':
  lavfi: Drop deprecated public AVFilterPad struct

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 16:01:24 +02:00
Michael Niedermayer 8ca97b5e4f avfilter/avf_showfreqs: Fix memleak of out frame
Fixes CID1322344

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 15:46:18 +02:00
Michael Niedermayer 0ada8ec1a5 avfilter/avf_showfreqs: Fix "may be used uninitialized in this function" warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 15:34:35 +02:00
Michael Niedermayer 7213d3fbf3 avfilter/avf_showfreqs: Free fin
Fixes CID1322345

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 15:32:00 +02:00
Michael Niedermayer a3ad51e0d5 avfilter/af_amerge: avoid undefined shift (<<64) in outlayout setup
Fixes CID1322306

Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 15:14:09 +02:00
Michael Niedermayer 7eab904d11 avfilter/vf_stack: Fix memleak of out frame
Fixes CID1322347

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 14:41:45 +02:00
Michael Niedermayer 5d859e5980 avfilter/avfilter: Add a few more basic filters to the list which support frame size changes
Fixes assertion failures

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 11:43:27 +02:00
Paul B Mahol f011e98cb1 avfilter/vf_vectorscope: change intensity to float
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-04 18:47:46 +00:00
Paul B Mahol db592f3b03 avfilter/vf_waveform: stop abusing s->size for calculating limit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-04 17:34:23 +00:00
Paul B Mahol 55886c67e7 avfilter/vf_waveform: change intensity to float
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-04 17:14:32 +00:00
Paul B Mahol fda05554e3 avfilter/vf_waveform: reduce number of operations a little
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-04 17:07:08 +00:00
Paul B Mahol 5b658bcc8a avfilter/vf_waveform: 9 and 10 bit depth support for lowpass & color filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-04 17:07:08 +00:00
Michael Niedermayer f5a6a8336f avfilter/af_channelmap: Reorder operations to avoid memleak
Fixes CID1322346
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-04 00:10:41 +02:00
Michael Niedermayer 59361d8c9d avfilter/af_sidechaincompress: Also assert that i < 2
This should help static analyzers (CID1322339)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 23:13:24 +02:00
Michael Niedermayer d5710411c7 avfilter/vf_atadenoise: Check for ff_get_video_buffer() failure
Fixes CID1322338

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 23:07:43 +02:00
Michael Niedermayer c97ea011f5 avfilter/vf_histogram: Fix order of operations with flags
Fixes CID1322325

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 23:02:03 +02:00
Michael Niedermayer a212a983c7 avfilter/avf_showwaves: Check max_samples
Fixes potential division by zero
Fixes: CID1292295

Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 19:27:20 +02:00
Michael Niedermayer 92b3c486b0 avfilter/af_dynaudnorm: Fix typo in assert
Fixes: CID1322303

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 18:55:06 +02:00
Michael Niedermayer 629fcda4da avfilter/avf_showfreqs: Use floating point division in WFUNC_BHANN
Fixes: CID1322365

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 18:54:14 +02:00
Ganesh Ajjanagadde c0ae4619ec avfilter/vf_sab: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-03 09:47:44 +00:00
Paul B Mahol 8d2b4b8c82 avfilter/vf_drawgraph: add rscroll slide mode
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-03 09:12:14 +00:00
Paul B Mahol 7820197d2c avfilter/vf_vectorscope: constify more variables
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-03 09:12:14 +00:00
Paul B Mahol 1c88ef0c99 avfilter/vf_vectorscope: support more formats for color4 mode in common case
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-03 09:12:14 +00:00
Paul B Mahol 19dfbe9298 avfilter/vf_elbg: make it possible to output to pal8 pixel format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-03 09:12:06 +00:00
Vittorio Giovara c4a0a326a1 lavfi/colormatrix: Add a bt601 alias
Matches what av_get_colorspace_name() and av_color_space_name() report.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-02 16:35:21 +02:00
Ricardo Constantino 9dbc50b4cd avfilter/vf_subtitles: allow setting fonts directory
This is mostly useful if libass was compiled with a font provider
other than fontconfig, but is still useful in that case.

Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com>
2015-09-02 00:47:52 +02:00
Ganesh Ajjanagadde d79c200000 avfilter/vf_spp: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-01 12:02:56 +00:00
Paul B Mahol c3cd1a7496 avfilter/vf_waveform: support envelope for all filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-01 08:43:34 +00:00
Paul B Mahol 97c7c39d25 avfilter/vf_waveform: simplify memory allocations
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-01 08:43:34 +00:00
Paul B Mahol 32f217edad avfilter/vf_waveform: implement various filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-01 08:43:34 +00:00
Carl Eugen Hoyos 0cb6c0ec48 lavfi/scale: Pass src_range and dst_range to libswscale.
Fixes ticket #4812.
2015-09-01 09:17:26 +02:00
Hendrik Leppkes ea1061e147 Merge commit 'b1abd2aaf91be249f24cb74db9c205d9e4ca9da6'
* commit 'b1abd2aaf91be249f24cb74db9c205d9e4ca9da6':
  vf_scale: Add an option to pass the scaler params

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-08-31 10:07:34 +02:00
Michael Niedermayer 58a0b7f114 avfilter/vf_scale: If no output color matrix is specified, use the input
This should only affect yuv->yuv, and not change behavior

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-31 01:33:05 +02:00
Michael Niedermayer 5a00c30041 avfilter/vf_scale: Do not skip scale if the color matrix mismatches
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-31 01:33:05 +02:00
Carl Eugen Hoyos 75d9006475 avfilter/vf_scale: Do not skip scale if range mismatches
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-31 01:33:05 +02:00
Andreas Cadhalpun e6c20e214e avfilter: add missing FF_API_AVFILTERBUFFER guards
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-08-30 23:24:22 +02:00
Ganesh Ajjanagadde 0169c4dc81 avfilter/vf_separatefields: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-08-30 15:58:12 +00:00
Paul B Mahol dead1964ea avfilter/vf_vectorscope: make color mode more useful
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-08-30 13:37:21 +00:00
Paul B Mahol 7516aa9a4a avfilter/vf_vectorscope: implement envelope support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-08-30 08:34:05 +00:00
Ganesh Ajjanagadde 47b41feb72 avfilter/af_apad: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-08-29 16:38:38 +00:00
Paul B Mahol 16229fae9c avfilter/vf_vectorscope: add yet another mode
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-08-29 14:05:03 +00:00
Clément Bœsch b48d8fa3ac avfilter: add allrgb
Signed-off-by: Nicolas George <george@nsup.org>
Signed-off-by: Clément Bœsch <u@pkh.me>
2015-08-29 14:57:52 +02:00
Paul B Mahol 777df1ff74 avfilter/vf_dejudder: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-08-28 19:05:19 +00:00
Paul B Mahol 9f2fa95bd8 avfilter/vf_histogram: 9 and 10 bit depth support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-08-28 14:15:17 +00:00
Vittorio Giovara e88103a7f9 Bump major versions of all libraries
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-08-28 16:04:28 +02:00
Vittorio Giovara 4e649debcf Postpone API-incompatible changes until the next bump 2015-08-28 16:04:28 +02:00
Vittorio Giovara f6974fe651 lavfi: Drop deprecated AVFilterBuffer* code
Deprecated in 11/2012.
2015-08-28 16:01:16 +02:00
Vittorio Giovara e65e4cbbda lavfi: Drop deprecated *_count suffixed variables
Deprecated in 06/2012.
2015-08-28 16:01:13 +02:00
Vittorio Giovara 86e5056575 lavfi: Drop deprecated public AVFilterPad struct
Deprecated in 06/2012.
2015-08-28 11:06:37 +02:00
Ganesh Ajjanagadde 9ba511d5d3 avfilter/af_amerge: use the name 's' for the pointer to the private context
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-08-27 21:01:01 +00:00
Paul B Mahol 15f4b3db58 avfilter: add framerate video filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-08-27 20:00:36 +00:00