Paul B Mahol
449cdd547b
colorbalance filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
3e9c0217fd
lavu: add av_clipd_c
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
5ae484e350
evrcdec: use memmove() instead of memcpy() when regions can overlap.
...
This occurs also with valid files.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
90a56ebbe5
lavc/gif: avoid encoding 0x0 images.
...
It seems browsers don't like it very much.
12 years ago
Clément Bœsch
9db1c6455e
lavf/gif: support only GIF codec.
12 years ago
Clément Bœsch
01367b0fca
lavf/gif: merge gif_write_{packet,video}.
...
Avoid a pointless split.
12 years ago
Clément Bœsch
b7a3f14360
lavf/gif: trim unnecessarily long netscape ext code.
...
Extension description comments are now placed along the avio calls, the
always defined macro removed, and the always true loop_count check as
well (loop option is bound to 0-65535).
12 years ago
Clément Bœsch
0a0e6877ff
lavf/gif: remove unused fields.
12 years ago
Clément Bœsch
28f9858c91
lavf/gif: simplify streams type checking.
12 years ago
Michael Niedermayer
978e373499
cmdutils: make the "-help filter=" output less confusing
...
Example:
Filter overlay
Overlay a video source on top of the input.
Inputs:
#0 : main (video)
#1 : overlay (video)
Outputs:
#0 : default (video)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
99818ac4d3
Fix libswscale compilation with --disable-optimizations on x86-32.
...
Fixes ticket #2477 .
12 years ago
Michael Niedermayer
ee94362c8a
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Fix pgc compilation with --disable-optimizations.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6998af4a40
avcodec/bitstream: check codes in ff_init_vlc_sparse()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
fb3e3808ae
avcodec/bitstream: Check bits in ff_init_vlc_sparse()
...
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
2ade23a7ad
Fix pgc compilation with --disable-optimizations.
...
-O1 disables dead code elimination on pgc, use -O instead.
12 years ago
Michael Niedermayer
bdfe60c769
xan: Check for overlapping copies
...
No valid samples i found use such copies
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
32cc7ba8a7
fate: hot fix for gif failure.
12 years ago
Clément Bœsch
b6408ffc45
lavf/gif: fix assert in avio API after dfb3231
.
12 years ago
Clément Bœsch
91a5b4d480
gif: remove outdated comments.
12 years ago
Clément Bœsch
8694e87127
lavc/gif: return more meaningful error code.
12 years ago
Clément Bœsch
71411b69a2
lavc/gif: merge two allocation checks.
12 years ago
Clément Bœsch
dfb323109c
lavf/gif: simplify palette writing.
12 years ago
Clément Bœsch
7b972d82b6
gif: reindent after previous commits.
12 years ago
Clément Bœsch
e065e8a4ea
lavc/gif: crop image when possible.
...
Increase compression when pictures are similar.
-f lavfi testsrc=300: 61M -> 21M
12 years ago
Clément Bœsch
635389ccfa
Cleanse GIF muxer and encoder.
...
This commit removes the badly duplicated code between the encoder and
the muxer. That may sound surprising, but the encoder is now responsible
from the encoding of the picture when muxing to a .gif file. It also
does not require anymore a manual user intervention such as a -pix_fmt
rgb24 to work properly. To summarize, output gif are now easier to
generate, code is saner and simpler, and files are smaller (thanks to
the lzw encoding which was unused so far with the default .gif output).
We can certainly make things even better, but this is the first step.
FATE is updated because of the output being produced by the encoder and
not the muxer (no lzw in the muxer), and in the seek test only the size
mismatches.
Fixes Ticket #2262
12 years ago
Stefano Sabatini
1efcab02b6
lavfi/aspect: apply hot fix for NUM:DEN syntax
12 years ago
Stefano Sabatini
f04ec05f0e
lavfi/setdar: fix num/den swapping in log message
12 years ago
Stefano Sabatini
f212c2380a
lavfi/setsar: remove spurious #if FF_API_OLD_FILTER_OPTS around init field
12 years ago
Michael Niedermayer
c25224737c
avutil/intfloat_readwrite: include common.h for isinf()
...
Solution based on rational.c, which uses isinf() too
This should fix compilation with msvc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
e252460c9b
lavfi/mptestsrc: remove unused size field
12 years ago
Stefano Sabatini
db84088e99
lavfi/mptestsrc: use AV_OPT_TYPE_DURATION
...
Simplify.
12 years ago
Stefano Sabatini
bbf003e949
lavfi/mptestsrc: reindent option constants
12 years ago
Stefano Sabatini
3933963d7b
lavfi/testsrc: fix style
12 years ago
Stefano Sabatini
7ab6312610
lavfi/testsrc: use int in place of unsigned
...
Avoid implicit int->unsigned conversion, causing invalid access in case
of negative linesize.
Fix crash with:
ffplay -f lavfi testsrc,vflip
12 years ago
Stefano Sabatini
5229b78371
lavfi/aspect: extend verbose feedback, show old SAR and DAR values
12 years ago
Stefano Sabatini
fe5ca6b913
lavfi/aspect: restore ratio parsing
...
Allow to set a ratio as "a:b" (with proper escaping), and correctly
honour the max parameter.
12 years ago
Stefano Sabatini
8bfd878151
lavfi/select: factorize options definition between select and aselect
12 years ago
Stefano Sabatini
dcc1b32361
lavfi/select: add support for dynamic number of outputs
12 years ago
Stefano Sabatini
565c50ac7b
lavfi/select: make select_frame() return void
...
Set select->select internally to the function, avoid lossy double->int
conversion causing spurious frame drop (e.g. in case the evaluation
result is positive and less than 1).
12 years ago
Michael Niedermayer
0b3bd78714
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi/buffersrc: fix failed requests count.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3220083c11
ra144: Try to fix int16/uint16 warnings from pgc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
cc6f848dba
avutil/intfloat_readwrite: avoid comparission with INFINITY, use isinf()
...
Should fix pgc warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
45741dd81f
vf_lut: fix simplification / off by 1 error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
1de7dcb457
lavfi/stereo3d: fix interleave row output modes
...
Linesizes that did not match output width produced several artifacts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
7ee2daed9b
lavfi/interlace: remove exec permissions.
12 years ago
Clément Bœsch
4c6fa4ef45
lavfi/lut: simplify nested component stepping.
12 years ago
Clément Bœsch
45f5bf917b
lavfi/lut: reindent after previous commit.
12 years ago
Clément Bœsch
3db3b278f2
lavfi/lut: add direct path.
12 years ago
Michael Niedermayer
7f2253078d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
indeo3: check motion vectors.
Conflicts:
libavcodec/indeo3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
716588188d
lavfi/stereo3d: check input width & height
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago