Michael Niedermayer
0e699676f9
avcodec/snow: mark dwt init as av_cold
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
0f931b29f7
Factorize avpriv_mirror() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Derek Buitenhuis
402a61c919
snow_dwt: Don't try and free members of non-existent arrays
...
If allocation fails earlier on, and the next frame is processed,
the slice buffer could be left in a state where line and data_stack
have already been freed, or are otherwise null pointers.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years ago
Michael Niedermayer
a520d8fd35
avcodec/snow_dwt: fix "incompatible pointer type" warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c161134035
avcodec/snow_dwt: use av_malloc(z)_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
30981a966f
lavc: split snow and dirac DWTs
...
There is only about 4 lines of common code, so it alot cleaner
when seperated.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
a0c5917f86
Drop Snow codec
...
Snow is a toy codec with no real-world use and horrible code.
12 years ago
Diego Biurrun
4e5b7f31f7
dwt: Drop unused functions spatial_compose{53|97}i()
12 years ago
Diego Biurrun
1ce5dce454
dwt: Remove unused code.
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
994923ec00
dwt: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
d9669eab0b
dwt: remove variable-length arrays
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
60c950ac08
dwt: use av_freep()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
cc7fac9970
dwt: return errors from ff_slice_buffer_init()
13 years ago
Jordi Ortiz
c89e428ed8
dwt: check malloc calls
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Jordi Ortiz
13a867a63e
dwt: K&R prettyprinting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
7e850f1cd0
dwt: fix about a dozen "warning: assignment from incompatible pointer type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2453ca4931
dwt: fix a dozen or so "warning: initialization from incompatible pointer type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
8b1032c923
dwt: Code make up, removed gotos
...
(cherry picked from commit 14880406e1277cef91d9b22a4d9b3bf91f8ea4ca)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0bc5677e98
dirac: enable ff_spatial_idwt_init_mmx()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
multiple authors
5d50fcc549
DIRAC Decoder stable version, MMX support removed.
...
Look for MMX_DISABLED to find the disabled functions.
Authors of this code are Marco Gerards <marco@gnu.org> and David Conrad <lessen42@gmail.com>
With changes from Jordi Ortiz <nenjordi@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
e164553a82
Make ff_spatial_idwt_{init, slice} static to dwt.c
...
Both functions seem to be commanded by the ff_spatial_idwt function
instead.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit ebb06d96ed
)
14 years ago
Diego Elio Pettenò
ebb06d96ed
Make ff_spatial_idwt_{init, slice} static to dwt.c
...
Both functions seem to be commanded by the ff_spatial_idwt function
instead.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Måns Rullgård
1e470fadcb
DWT: x86 init should depend on HAVE_MMX
...
The init function is only compiled if MMX is enabled, the call
must use the same condition.
Originally committed as revision 22531 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
33996217ca
Add ff_ prefix to dwt functions
...
Originally committed as revision 22523 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
05aec7bb87
Separate DWT from snow and dsputil
...
This moves the DWT functions from snow.c and dsputil.c to a file of
their own. A new struct, DWTContext, holds the function pointers
previously part of DSPContext.
Originally committed as revision 22522 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago