Michael Niedermayer
021547bfcc
Merge commit 'd767e2f969933b4e450ed4e69ea2bf8ca864838c'
...
* commit 'd767e2f969933b4e450ed4e69ea2bf8ca864838c':
configure: fix dependencies of XvMC and old vdpau mpeg2 decoders
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Alexandra Khirnova
0afcf97e1e
vmdav: convert to bytestream2
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
8a2f5f0c63
FATE: add a test for the join filter
12 years ago
Anton Khirnov
9e9cd98aed
FATE: add a test for the volume filter
12 years ago
Anton Khirnov
43a8333a16
FATE: add a test for the channelsplit filter
12 years ago
Anton Khirnov
33942b7bde
FATE: add a test for the channelmap filter
12 years ago
Anton Khirnov
f917420378
FATE: add a test for the negate filter
12 years ago
Anton Khirnov
3d8c80b611
FATE: add a test for the overlay filter
12 years ago
Anton Khirnov
ea290d919a
FATE: add a test for the setpts filter
12 years ago
Anton Khirnov
71f3ede24e
FATE: add a test for the hqdn3d filter
12 years ago
Anton Khirnov
0bdbd85e47
FATE: add a test for the transpose filter
12 years ago
Anton Khirnov
ad85e8d9a5
FATE: add a test for the unsharp filter
12 years ago
Anton Khirnov
1a6d4bd7b6
FATE: add a test for the fade filter
12 years ago
Anton Khirnov
feb4922b25
FATE: add a test for the drawbox filter
12 years ago
Anton Khirnov
a222997650
FATE: add a test for the boxblur filter
12 years ago
Anton Khirnov
7cec12748a
FATE: add a test for the gradfun filter
12 years ago
Clément Bœsch
1ae44c87c9
lavfi/gradfun: remove rounding to match C and SSE code.
...
There is no noticable benefit for such precision.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
38a2f88d39
lavfi/gradfun: fix dithering in MMX code.
...
Current dithering only uses the first 4 instead of the whole 8 random values.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
2d66fc543b
lavfi/gradfun: fix rounding in MMX code.
...
Current code divides before increasing precision.
Also reduce upper bound for strength from 255 to 64. This will prevent
an overflow in the SSSE3 and MMX filter_line code: delta is expressed as
an u16 being shifted by 2 to the left. If it overflows, having a
strength not above 64 will make sure that m is set to 0 (making the
m*m*delta >> 14 expression void).
A value above 64 should not make any sense unless gradfun is used as
a blur filter.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Clément Bœsch
8b9a153ef3
lavfi/gradfun: do not increment DC pointer for odd values.
...
First DC is only used once otherwise. This also makes the code
consistent with ASM versions.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Diego Biurrun
f2a59722d1
fate: filter: Add dependencies
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
a4208b9b7d
avconv: add options for reading filtergraphs from a file.
12 years ago
Anton Khirnov
cf53704c55
AVOptions: make av_set_options_string() forward options to child objects
12 years ago
Michael Niedermayer
e234daa518
mlpdec: Fix reading state with 0 bit elements.
...
This fixes an assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
10ece44d09
h264_cavlc: fix assertion failure due to reading too long vlc
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ea9a6709a9
estimate_timings_from_bit_rate: Check timebase and bitrate
...
Fixes integer overflow and assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1831274ff1
electronicarts: check timebase, fix assertion failure
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a56d963f11
vp3: Check fps validity more completely
...
Fix assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c6831e2a70
wavpack: check K, fix assertion failure
...
Instead of this it would be possible to change the code to support
larger K but that would make the code slower and probably still need
checks on K.
This variant is choosen as there are no known valid files that need
larger K
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Dale Curtis
81e85bc95c
Fix heap-buffer-overflow in matroska_parse_block
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e9d3b40052
snow: drop commented out asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
460d30406b
avformat: change some seeking related assert to av_asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0d6e5a1712
vsrc_mandelbrot: Mandel morphing support
...
Example: ffplay -f lavfi "mandelbrot=outer=outz:morphamp=1:end_scale=2:maxiter=100"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
85a46ad685
win32: Use 64-bit fstat/lseek variants for MSVC as well
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Reimar Döffinger
ad04025987
win32: Make ff_win32_open more robust
...
- Make MultiByteToWideChar fail when it encounters invalid encoding.
Without this, invalid characters might just be skipped
- When MultiByteToWideChar fails, assume the file name is in CP_ACP
and open it via normal open function, even when the file will be
written
- When malloc fails return error instead of crashing
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Reimar Döffinger
e9cc988395
win32: Allow other programs to open the same files
...
In order to match Linux behaviour better our Windows-specific
open() replacement should disable Windows default file locking.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
cfe5908a72
configure: Add error_resilience as dependency to the eatqi decoder
...
This makes standalone compilation of the eatqi decoder
succeed. The dependency comes from the shared mpeg12dec.o file.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
79938a4e97
mandelbrot: add outer coloring method showing bailouted z
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Kostya Shishkov
472391b9a7
ape: use correct context for the bit table printed in debug
12 years ago
Michael Niedermayer
a2b5825649
vsrc_mandelbrot: support coloring the outside white
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
b4d24b471b
build: Remove configure-generated .config file on distclean
12 years ago
Diego Biurrun
7c22d0489f
build: Move setting of SRC_DIR to the only place it is used
12 years ago
Martin Storsjö
3891a270f5
msmpeg4: Split decoding related functions to a separate file
...
This fixes standalone compilation of the msmpeg4v2, msmpeg4v3
and wmv2 encoders, that previously failed to link due to the
decoder codepaths requiring error_resilience.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
e557584aa7
mpeg12: Move Mpeg1Context declaration to the only place it is used
12 years ago
Diego Biurrun
1b6d66745a
Split MPEG-1/2 decoder code off from MPEG-1/2 common code
12 years ago
Diego Biurrun
eee2000b41
mpeg12: Move some ff_mpeg1_* function declarations to a more suitable place
12 years ago
Diego Biurrun
b6649ab503
cosmetics: Remove unnecessary extern keywords from function declarations
12 years ago
Diego Biurrun
1db6a080bd
dca: Move ff_dca_convert_bitstream() to the DCA common code
...
This makes the DCA parser and decoder independent.
12 years ago
Janne Grunau
b247253929
vdpau: wrap codec specific functions in appropiate #ifs
...
Fixes linking when only a subset of the deprecated vdpau decoders is
enabled.
12 years ago
Michael Niedermayer
ace0cfea60
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
hwaccel: fix use with frame based multithreading
Conflicts:
libavcodec/h263dec.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago