Michael Niedermayer
bec402b502
mjpegdec: fix overlapping memcpy with upscale_v
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 20:15:24 +02:00
Paul B Mahol
6575539176
libaacplus: support for float sample format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-16 16:14:05 +00:00
Michael Niedermayer
13bbfb8fda
sws: Skip ff_yuv2rgb_c_init_tables() when the output is YUV
...
Fixes "20bpp not supported by yuv2rgb" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 17:50:43 +02:00
Michael Niedermayer
6b657ac788
avcodec/c93: Check for block overlap.
...
Fixes overlapping memcpy()
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 17:04:16 +02:00
Michael Niedermayer
e701cd96c2
avutil/avutil_version: Run checks just once
...
This ensures that applications that call avutil_version() often
would not run the checls every time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 17:04:16 +02:00
Paul B Mahol
65efa1dbd9
lavfi/interlace: remove now unused av_opt_free() call
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-16 14:32:49 +00:00
Michael Niedermayer
2d8a3cf4c1
avutil/pixdesc: check for component overlap
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 15:10:13 +02:00
Michael Niedermayer
f807d6d200
avutil/pixdesc: check step/depth against each other
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 14:36:49 +02:00
Michael Niedermayer
20e99a9c10
avutil/pixdesc: support for self-checking the descriptors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 14:27:14 +02:00
Michael Niedermayer
1314f534e5
avutil/pixdesc: fix rgb0 descriptors
...
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 14:27:14 +02:00
Paul B Mahol
0b06bd1c7a
libaacplus: set supported profiles
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-16 10:20:17 +00:00
Paul B Mahol
82082695de
libaacplus: set supported channel_layouts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-16 10:20:17 +00:00
Michael Niedermayer
f05cfb654f
sws/fill_rgb2yuv_table: use ROUNDED_DIV
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 11:33:40 +02:00
Michael Niedermayer
bcf643486f
sws/fill_rgb2yuv_table: increase precission to 32bit
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 11:33:40 +02:00
Michael Niedermayer
2fa11a94a3
sws/fill_rgb2yuv_table: avoid 2 divisions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 11:13:20 +02:00
Paul B Mahol
97b2865aa2
libaacplus: remove FF_API_OLD_ENCODE_AUDIO cruft
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-16 08:44:56 +00:00
Michael Niedermayer
003bf33747
sws: fix alignment of rgb2yuv
...
This should fix mingw32 fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 05:59:47 +02:00
Michael Niedermayer
7e20f80d2c
fate: fix histogram test, try #2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 03:52:51 +02:00
Michael Niedermayer
7ed691e2db
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
fate: Set the bitexact flag for vp3/vp5/vp6 tests
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 01:02:14 +02:00
Michael Niedermayer
d98c3adef2
Merge commit '015821229f96bf7e677f2a711a58dbea3009f574'
...
* commit '015821229f96bf7e677f2a711a58dbea3009f574':
vp3: Use full transpose for all IDCTs
Conflicts:
libavcodec/vp3.c
libavcodec/vp3dsp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 00:56:15 +02:00
Michael Niedermayer
05bea44393
Merge commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9'
...
* commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9':
vp3: bfin: Transpose the IDCTs
Conflicts:
libavcodec/bfin/vp3_bfin.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 00:50:33 +02:00
Michael Niedermayer
d5c31403aa
Merge commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3'
...
* commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3':
x86: Move constants to the only place where they are used
Conflicts:
libavcodec/x86/vp3dsp.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 00:44:20 +02:00
Michael Niedermayer
398b9ed28f
Merge commit 'c0dcf89887f7fbdd7a8502bc7c715f50157562cb'
...
* commit 'c0dcf89887f7fbdd7a8502bc7c715f50157562cb':
bfin: Match DEFUN_END macros to the right functions
Conflicts:
libavcodec/bfin/pixels_bfin.S
This bug seems not to have existed in our bfin code, thus
no change in this merge
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-16 00:40:57 +02:00
Stefano Sabatini
41985cb0ab
doc/filters: merge asplit and split documentation
...
Also move them to multimedia filters section.
2013-04-15 23:40:05 +02:00
Stefano Sabatini
3453b0196f
lavfi/split: fix minor documentation issues
...
Use verbal form to describe "outputs" options, and mention it in the
manual.
2013-04-15 23:35:49 +02:00
Clément Bœsch
de656ea91e
lavfi/drawtext: make options array more readable.
2013-04-15 21:49:18 +02:00
Michael Niedermayer
3950236332
sws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 21:44:50 +02:00
Michael Niedermayer
7a2a421d73
vf_histogram: avoid floats, unbreak fate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 21:44:50 +02:00
Clément Bœsch
34186832de
doc/filters: add a curves example with psfile.
2013-04-15 21:18:17 +02:00
Michael Niedermayer
6e29f39252
swr/rematrix: use av_calloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 20:31:06 +02:00
Michael Niedermayer
8a11114a79
pca: use av_calloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 20:31:06 +02:00
Michael Niedermayer
003d497d31
pca: use sizeof(variable) instead of sizeos(TYPE)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 20:31:06 +02:00
Paul B Mahol
a4f03f082b
FATE: add a test for the histogram filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-15 16:40:26 +00:00
Paul B Mahol
9e6dd24fa1
doc/filters: move aphaser to right(audio) chapter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-15 16:23:08 +00:00
Paul B Mahol
8281791d07
lavfi/histogram: remove pointless store
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-15 16:07:51 +00:00
Paul B Mahol
7770975979
lavfi/noise: remove pointless store
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-15 15:57:31 +00:00
Clément Bœsch
9ecdd76679
lavfi/curves: fix memleak after master component dition.
2013-04-15 18:04:35 +02:00
Michael Niedermayer
aba678ab9d
deshake: fix off by 2 error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 16:23:28 +02:00
Michael Niedermayer
3d8afb23bc
vf_deshake: Fix crash with r*=64
...
Replace literal numbers by named R_MAX and correct their value
Fixes half of Ticket2443
Based on patch by: João Bernardo <jbvsmo@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 14:28:19 +02:00
Martin Storsjö
6add6272da
fate: Set the bitexact flag for vp3/vp5/vp6 tests
...
This is required since there are bit-inexact implementations
of the vp3 idct (for bfin).
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-15 14:19:16 +03:00
Michael Niedermayer
1557f34b10
dfa: support decoding version=1.0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 12:13:41 +02:00
Clément Bœsch
1cb02d4fbc
lavfi/curves: add support for Photoshop curves files (.acv).
2013-04-15 11:35:46 +02:00
Clément Bœsch
99dac39339
lavfi/curves: add support for master component.
2013-04-15 11:35:06 +02:00
Ronald S. Bultje
015821229f
vp3: Use full transpose for all IDCTs
...
This way, the special IDCT permutations are no longer needed. This
is similar to how H264 does it, and removes the dsputil dependency
imposed by the scantable code.
Also remove the unused type == 0 cases from the plain C version
of the idct.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-15 12:32:05 +03:00
Martin Storsjö
5941978e71
vp3: bfin: Transpose the IDCTs
...
While this change isn't bitexact, the IDCTs weren't bitexact to
start with either.
This simplifies decoupling vp3 from dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-15 12:31:52 +03:00
Ronald S. Bultje
c46819f229
x86: Move constants to the only place where they are used
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-15 12:17:39 +03:00
Martin Storsjö
c0dcf89887
bfin: Match DEFUN_END macros to the right functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-15 12:13:26 +03:00
Michael Niedermayer
357da7ed42
sws: remove forgotten FAST_BGR2YV12 define
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15 11:04:52 +02:00
Reimar Döffinger
c10d498bfd
Add thread-safe wrapper for get_format().
...
Just like get_buffer, get_format should not be called from a different
thread if thread_safe_callbacks is not set.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-04-15 09:04:07 +02:00
Reimar Döffinger
8067f55edf
Fix compilation on ARM with android gcc 4.7
...
With the current code it fails due to running out
of registers.
So code the store offsets manually into the assembler
instead.
Passes "make fate-dts".
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-04-15 09:04:07 +02:00