Nicolas George
68b531fe6a
src_movie: set the channel layout to default if the codec did not set it.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
5af7daabc4
Mark AVFilterPad[] compound literals as const.
...
GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
b052601b95
Make another static array const.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
6f6ab1d9f3
Make another PixelFormat list const.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
d7e95ccd9f
Make PIX_FMT format list arrays const.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
d78473334e
Add const to static arrays where it was forgotten.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Ronald S. Bultje
43317fd52c
libavfilter: reindent.
13 years ago
Ronald S. Bultje
23a8b4ddfc
avfilter: don't abort() on zero-size allocations.
13 years ago
Michael Niedermayer
c28ea94cd7
af_volume: exp10() is a GNU extension.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
3a1045dfda
af_earwax: copy input buffer properties to output
...
In particular, fix timestamps, partially address trac ticket #375 .
13 years ago
Mina Nagy Zaki
fa4f06ab5e
lavfi: add earwax audio filter, ported from Sox
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
618ac71354
lavfi: add volume filter
13 years ago
Stefano Sabatini
1fc7077115
lavfi: increase number of maximum registered filters from 64 to 128
13 years ago
Stefano Sabatini
217790871e
lavfi: issue error if maximum number of filters is reached
...
Issue an error and return a more meaningful error code in case the
maximum number of registered filters has been reached.
This is better than silently ignore the error, improve feedback.
13 years ago
Alex Converse
0d7a16a946
avfilter: Don't copy garbage from the stack when setting up video pictures.
13 years ago
Reimar Döffinger
96949dafcc
Replace all strcasecmp/strncasecmp usages.
...
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Stefano Sabatini
0b3e9d5dc6
vf_overlay: adopts FAST_DIV255 macro for calculating destination alpha
...
Ease readability, improve exactness.
13 years ago
Mark Himsley
91dfb73852
vf_fade: fade to correct CCIR601/709 black level
...
Current implementation fades to 0. This implementation fades to 16 for
YUV formats that contain CCIR601/709 video levels. RGB and YUVJ
formats are not altered.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Diego Biurrun
959cfbf3f4
vsrc_testsrc: fix mailing list reference URL
13 years ago
Diego Biurrun
124e28847b
Remove some stray unnecessary ffmpeg references.
13 years ago
Michael Niedermayer
3fd0f6ed25
vf_transpose: remove pix_fmts which can currently not be supported.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
30647fb45a
lavfi: bump micro after recent changes in the overlay filter
13 years ago
Stefano Sabatini
2f7c8aefa8
vf_overlay: add support to alpha pre-multiplication in the RGBA path
...
Based on the work of Mark Himsley <mark@mdsh.com>.
See thread:
Subject: [FFmpeg-devel] libavfilter: extending overlay filter
Date: Sun, 13 Mar 2011 14:18:42 +0000
13 years ago
Stefano Sabatini
3013bfa81e
vf_overlay: enable RGB path
...
Add option rgb which forces the RGB path.
13 years ago
Stefano Sabatini
b54c0a552d
vf_overlay: use opt.h API for setting options
...
Extend syntax, allow to easily add more options later.
13 years ago
Stefano Sabatini
8dc90371b1
lavfi: add internal function ff_fill_rgba_map()
13 years ago
Clément Bœsch
9bd23f6815
ashowinfo: fix typo in description.
13 years ago
Clément Bœsch
a0b7853f7a
vf_showinfo: print checksums in hexadecimal.
13 years ago
Michael Niedermayer
3e4375833d
vf_scale: Request an aligned buffer.
...
Fixes Ticket594
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d7dcd96a23
vf_pad: Fix alignment of get_video_buffer()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d18fd13f30
avfilter: add named constamt to indicate the amount of alignment that AV_PERM_ALIGN means.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4d34b6c1a1
avfilter: add flag to indicate that alignment is needed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mark Himsley
9f9b2ab1b1
vsrc_testsrc: fix off-by-one logic when detecting the EOF time in request_frame()
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Mark Himsley
1ca1336067
testsrc seconds display is out-by-one frame
...
Without this patch each displayed second is incremented 1 frame early,
second 0 is only 24 frames long where as every other second is 25 frames
long.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
d9d492513d
vsrc_testsrc: increase log level from DEBUG to INFO for message in init()
13 years ago
Stefano Sabatini
1f4652068e
lavfi: rewrite nullsrc using the code in vsrc_testsrc.c
...
Factorize code, extend the functionality of the filter, and make it
return empty buffers. This is useful for filters which ignore the input
frames content.
This is also changing the syntax of the nullsrc source, and dropping the
framerate expression evaluation, which does not look particularly useful.
13 years ago
Stefano Sabatini
42d44ec306
vsrc_testsrc: do not assume non-padded lines in test_fill_picture()
...
In particular, fix sliding color bar with padded data, for example with
testsrc,pad=iw+200:ih.
13 years ago
Stefano Sabatini
1679a40b74
vf_boxblur: fix slice-drawing
...
This filter does not support slice-drawing, the whole blurred image needs
to be written in end_frame().
13 years ago
Stefano Sabatini
43fce2214b
lavfi: add missing header mulitple-inclusion guard in transform.h
13 years ago
Stefano Sabatini
99d48b07d1
lavfi/transform.h: apply misc doxy cosmetical changes
13 years ago
Paul Flinders
9ef714328c
deshake: limit deshake to specific area to search for motion vectors.
13 years ago
Stefano Sabatini
ec2ac9271c
lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecs
...
The licence was changed from GPL to LGPL with explicit approval from
the original author.
See thread:
Subject: [FFmpeg-devel] [PATCH] lavfi: add rgbtestsrc source,
ported from MPlayer libmpcodecs
Date: Mon, 11 Jul 2011 16:32:41 +0200
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Stefano Sabatini
0244879f30
lavfi: add testsrc source
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
35674a29b7
vf_mp: Fix several incompatible pointer type warnings.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cb3034e0d1
vf_unsharp: Fix false ‘src2’ may be used uninitialized in this function warning.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e73cc2819e
src_movie: Fix incompatible pointer type warning.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5ed20cfeaf
vf_deshake: Fix cast discards qualifiers from pointer target type warning.
...
And simplify the code in the process.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e96aa8d1a0
vf_pixdesctest: Fix incompatible pointer type warning.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
abe9c54f14
yadif: Fix assignment from incompatible pointer type warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2982b02b79
vsrc_buffer: FIx incompatible pointer type warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago