Ronald S. Bultje
ad45121d56
options: mark av_get_{int,double,q} as deprecated.
...
Convert last users to av_opt_get_*() counterparts.
2015-08-18 12:05:17 -04:00
Ronald S. Bultje
229843aa35
Replace av_dlog with ff_dlog.
...
ff_dlog checks compilability, and is non-public. av_dlog is deprecated
and no longer exists if FF_API_DLOG=0.
2015-08-18 10:24:01 -04:00
Ronald S. Bultje
ad7d972e08
lavfi: add error message to help users convert to new lavfi syntax.
2015-08-18 10:18:43 -04:00
Michael Niedermayer
22f85543ed
scale2ref: override request_frame() and correctly connect them to the corresponding inputs
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-18 15:59:23 +02:00
Michael Niedermayer
db0f8f3f9d
avfilter/vf_scale: Set scale2ref ref output timebase
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-18 15:59:23 +02:00
Michael Niedermayer
21566b21d5
avfilter: add scale2ref filter
...
This filter can be used to scale one stream to match another or based on
another, useful to scale subtitles or other things to be overlayed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-17 17:18:01 +02:00
Andreas Cadhalpun
d90fbde06a
buffersink: introduce FIFO_INIT_ELEMENT_SIZE to complement FIFO_INIT_SIZE
...
Use sizeof(void *) as its value, because AVFilterBufferRef is deprecated.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-08-16 22:36:20 +02:00
Michael Niedermayer
0cb87cd7d4
avfilter/avfiltergraph: Implement and use find_best_sample_fmt_of_2()
...
Similar to the pixel format code
Fixes Ticket3847
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-16 14:59:58 +02:00
Paul B Mahol
4b0e112442
avfilter/avf_avectorscope: add polar mode
2015-08-14 17:27:56 +02:00
Paul B Mahol
f9905e13ea
avfilter: add aphasemeter filter
2015-08-12 22:27:43 +02:00
Andreas Cadhalpun
13b3462b7a
avfilter: add missing FF_API_AVFILTERPAD_PUBLIC guard
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-08-12 00:14:13 +02:00
Paul B Mahol
f0708b751f
avfilter/vsrc_testsrc: correct colors for smptebars
2015-08-11 16:19:41 +02:00
Paul B Mahol
7a7ca3cc2f
avfilter/vsrc_testsrc: smpte(hd)bars: fix uninitialized last rows and columns of chroma planes
...
For cases width and/or height is not multiple of chroma subsamplings.
2015-08-10 11:29:39 +02:00
Andreas Cadhalpun
e66a43f694
graphdump: include internal.h for AVFilterPad
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-08-08 21:59:21 +02:00
Andreas Cadhalpun
8bd74aafe8
avfilter: remove obsolete function declarations
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-08-08 21:58:48 +02:00
Michael Niedermayer
d3d776ccf9
avfilter/vf_scale: apply generic options after flags.
...
Otherwise the flags overwrite anything set by the generic stuff to the flags
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-08 14:44:15 +02:00
Michael Niedermayer
41e733c1ef
avfilter/graphparser: Do not ignore scale_sws_opts if args == NULL
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-08 13:24:52 +02:00
Paul B Mahol
2bdd026b26
avfilter/avf_avectorscope: stop making output fully transparent
2015-08-07 16:44:19 +02:00
Paul B Mahol
40ddbc87c5
avfilter/avf_showspectrum: use av_calloc()
2015-08-06 15:06:14 +02:00
Ronald S. Bultje
22b30f925d
vf_psnr: add psnr_avg to stats file.
2015-08-05 09:19:09 -04:00
Henrik Gramner
f0b7882ceb
x86inc: Drop SECTION_TEXT macro
...
The .text section is already 16-byte aligned by default on all supported
platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
2015-08-04 20:13:09 +02:00
Paul B Mahol
63c442e3b1
avfilter/avf_showspectrum: reindent
2015-08-04 15:18:51 +02:00
Paul B Mahol
5b69fb783e
avfilter: add atadenoise
2015-08-02 18:19:19 +02:00
Paul B Mahol
49a14a7616
avfilter: add allyuv source filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-08-02 14:13:59 +02:00
Paul B Mahol
ff6c92447d
avfilter/vf_deband: add mising slice thread flag
2015-08-02 14:00:34 +02:00
Paul B Mahol
ff8f6691ce
avfilter/f_drawgraph: stop making foreground color transparent
2015-08-02 13:34:30 +02:00
Paul B Mahol
5bf8590d6e
avfilter/avf_showvolume: stop making output fully transparent
2015-08-01 19:40:34 +02:00
James Almer
222d7619ce
avfilter/vf_pnsr: fix author name
...
Signed-off-by: James Almer <jamrial@gmail.com>
2015-07-29 22:28:09 -03:00
Michael Niedermayer
94d68a41fa
Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'
...
* commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615':
lavc: AV-prefix all codec flags
Conflicts:
doc/examples/muxing.c
ffmpeg.c
ffmpeg_opt.c
ffplay.c
libavcodec/aacdec.c
libavcodec/aacenc.c
libavcodec/ac3dec.c
libavcodec/ac3enc_float.c
libavcodec/atrac1.c
libavcodec/atrac3.c
libavcodec/atrac3plusdec.c
libavcodec/dcadec.c
libavcodec/ffv1enc.c
libavcodec/h264.c
libavcodec/h264_loopfilter.c
libavcodec/h264_mb.c
libavcodec/imc.c
libavcodec/libmp3lame.c
libavcodec/libtheoraenc.c
libavcodec/libtwolame.c
libavcodec/libvpxenc.c
libavcodec/libxavs.c
libavcodec/libxvid.c
libavcodec/mpeg12dec.c
libavcodec/mpeg12enc.c
libavcodec/mpegaudiodec_template.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo_enc.c
libavcodec/mpegvideo_motion.c
libavcodec/nellymoserdec.c
libavcodec/nellymoserenc.c
libavcodec/nvenc.c
libavcodec/on2avc.c
libavcodec/options_table.h
libavcodec/opus_celt.c
libavcodec/pngenc.c
libavcodec/ra288.c
libavcodec/ratecontrol.c
libavcodec/twinvq.c
libavcodec/vc1_block.c
libavcodec/vc1_loopfilter.c
libavcodec/vc1_mc.c
libavcodec/vc1dec.c
libavcodec/vorbisdec.c
libavcodec/vp3.c
libavcodec/wma.c
libavcodec/wmaprodec.c
libavcodec/x86/hpeldsp_init.c
libavcodec/x86/me_cmp_init.c
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-27 22:10:35 +02:00
Paul B Mahol
4a2836eaf3
avfilter: add acrossfade filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-26 21:54:13 +00:00
James Almer
d9e10af547
x86/vf_interlace: add missing colon to labels
...
Silences warnings with Nasm
Signed-off-by: James Almer <jamrial@gmail.com>
2015-07-26 02:50:50 -03:00
Paul B Mahol
62aab839f8
avfilter/Makefile: fix order of framestep filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-25 22:07:25 +00:00
Paul B Mahol
c1fa846d0c
avfilter: add sidechain compress audio filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-25 22:07:20 +00:00
Paul B Mahol
44fb00866f
avfilter: rename vf_reverse.c to f_reverse.c
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-24 02:09:53 +00:00
Paul B Mahol
591741b51d
avfilter: add areverse filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-24 02:06:48 +00:00
Anton Khirnov
22ecfcd4c7
af_channelmap: properly set the supported output channel layouts
...
The current code expects query_formats() to be called exactly once, it
will leak if it's not called at all (filter initialized, but never
configured or used) or try to read freed memory if it's called more than
once.
Found-by: James Almer <jamrial@gmail.com>
CC: libav-stable@libav.org
2015-07-23 09:53:55 +02:00
Paul B Mahol
625bf6a55c
avfilter/vf_reverse: check also pts_size when reallocating
...
Fixes crash of x32.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-23 07:11:52 +00:00
Michael Niedermayer
9c31b39641
Merge commit '22ecfcd4c79cdf812fdf406525ddf0fd1f7114e4'
...
* commit '22ecfcd4c79cdf812fdf406525ddf0fd1f7114e4':
af_channelmap: properly set the supported output channel layouts
Conflicts:
libavfilter/af_channelmap.c
See: 39867f3e09
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-23 11:57:45 +02:00
Paul B Mahol
787d370e14
avfilter: add deband filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-22 15:52:02 +00:00
Bernd Bleßmann
d2b78fe6b7
libavfilter/vf_crop: implement process_command
...
Signed-off-by: Bernd Bleßmann <bb@it-entwicklung.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-21 19:19:36 +02:00
Bernd Bleßmann
99ad832c7e
libavfilter/vf_scale: implement process_command
...
Signed-off-by: Bernd Bleßmann <bb@it-entwicklung.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-21 18:20:22 +02:00
Michael Niedermayer
39867f3e09
avfilter/af_channelmap: Move ff_add_channel_layout() call to querry_format()
...
Avoids memleak if querry_formats is not called
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-21 17:40:38 +02:00
James Almer
e3851169ee
x86/vf_ssim: add ff_ssim_4x4_line_xop
...
~20% faster than ssse3. Also enabled for x86_32
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2015-07-20 13:18:05 -03:00
James Almer
e1778fb657
x86/vf_ssim: fix some instruction comments
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
2015-07-20 13:17:58 -03:00
Paul B Mahol
7967474bd9
avfilter/af_amerge: increase max number of channels from 32 to 64
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-20 09:59:59 +00:00
James Almer
6de5b6cd86
avfilter/af_astats: use UINT64_C instead of the LLU suffix
...
Should fix compilation with vs2012
Signed-off-by: James Almer <jamrial@gmail.com>
2015-07-20 00:05:20 -03:00
Paul B Mahol
a8fbb7b625
avfilter: add random video filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-19 19:01:00 +00:00
Michael Niedermayer
7093e215d0
Merge commit '6b15874fc2c3f565732201f7907ae1112727d6ae'
...
* commit '6b15874fc2c3f565732201f7907ae1112727d6ae':
af_resample: do not touch the timestamps if we are not resampling
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-19 16:05:33 +02:00
Derek Buitenhuis
8271a84094
avfilter: Add reverse filter
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2015-07-19 14:13:51 +01:00
Anton Khirnov
6b15874fc2
af_resample: do not touch the timestamps if we are not resampling
...
This filter currently assumes that the input audio is continuous and
does some timestamps manipulation based on this assumption.
This is unnecessary if we are only converting the channel layout or the
sample format, without resampling. In such a case, just leave the
timestamps as they are.
2015-07-19 09:39:42 +02:00