Michael Niedermayer
6a287b739f
Detect and prevent reading over the end of counts_*. We pass the error
...
through a context variable as this is simpler and i think also faster, but
the return value of functions could be used instead of course.
The code also ensures as a side effect that the AC decoder state does not
become invalid.
This fixes all known crashes. And outputs nothing in case of an error instead
of random noise.
Originally committed as revision 12316 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1a2a1d9077
Prevent segfault due to reading over the end of the input buffer.
...
Originally committed as revision 12315 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
7998988129
fix wmv3 dependencies
...
Originally committed as revision 12314 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
49c35f16fc
Fix compilation on powerpc.
...
DECLARE_ALIGNED_8 is not defined at that point, but this code is powerpc
only, so it's really equivalent to DECLARE_ALIGNED(16...
Originally committed as revision 12313 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
015d0bb95c
remove old draw_edges declaration cruft
...
Originally committed as revision 12312 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
4c79b95c32
move ff_init_scantable() into dsputil
...
Originally committed as revision 12311 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5a6a9e78ab
move draw_edges() into dsputil
...
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ce7f71a2dd
dsputil.h is a local header
...
Originally committed as revision 12308 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
c8deab7af7
include required header
...
Originally committed as revision 12307 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
0e9fbd35b5
remove invalid free() forgotten in r12300
...
Originally committed as revision 12303 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f15e6b869f
Provide non null class name to avoid crash with ffmpeg -h.
...
Originally committed as revision 12300 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
d8870f120e
use scale factor instead of sum for downmix level adjustment. avoids division
...
inside downmix loop. 7% faster 5.1-to-stereo downmixing.
Originally committed as revision 12287 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
9d10e6e6c0
pre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing.
...
Originally committed as revision 12286 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
a4de6dd2c1
Use 24-bit fixed-point transform coefficients until just before MDCT. This
...
gives 7% faster decoding on average.
Originally committed as revision 12284 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
be0995b166
more aspect ratios added in one of the ammendments
...
Originally committed as revision 12282 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
79aeec0839
Make AMR-NB block size const and 8 bits.
...
Originally committed as revision 12278 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
675bc0bccb
Define block size for AMR-WB (use IF2 table).
...
Spotted by John Fitzgerald: jjfitzgerald gmail com
Originally committed as revision 12277 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b5a33ff124
suppress the second warning
...
Originally committed as revision 12276 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
7e14b8082d
Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but
...
SunStudio 12 only supports the former.
Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
48026fbef6
1000l parenthesis
...
Originally committed as revision 12274 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
83f02883df
code is ok for 4bpp in mov too, fix 16grey.mov
...
Originally committed as revision 12273 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
800b9c24b7
Add more riff IDs to support remuxing.
...
Originally committed as revision 12266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b85976ba64
better include
...
Originally committed as revision 12257 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3635791a99
include dependencies ...
...
Originally committed as revision 12256 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c91d512b36
Add multiple inclusion guards.
...
Originally committed as revision 12255 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
dc3f320dfd
Add explanatory comment to '#define FLOAT float'.
...
Originally committed as revision 12254 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
800c289a66
less preprocessor magic in version number macros
...
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
499e4700ef
Stuffing bytes to not violate minimum legality rate.
...
Note, this is a joke and not related to MPEG CBR.
Originally committed as revision 12244 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cc6116756c
Remove another temporary variable with which gcc has problems.
...
Originally committed as revision 12243 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
94ae6788e2
cosmetics: Demplayerify indentation.
...
Originally committed as revision 12240 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
301df48074
Add comments to some #endif directives.
...
Originally committed as revision 12239 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e6464f8b5e
cosmetics: spelling/grammar
...
Originally committed as revision 12238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c3a3d34427
Alternative and faster (on gcc x86) plane rotation.
...
Originally committed as revision 12237 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8af4d0fc8d
Get rid of another useless variable.
...
Originally committed as revision 12236 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
92ac614f85
Avoid a=b+c but rather use a+=b (gcc is too stupid to do this itself),
...
code is exactly the same just uses different variables.
Originally committed as revision 12235 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e6d7ef648c
One variable less. No real change to the actual code.
...
Originally committed as revision 12234 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6f08c541b4
floating point AAN IDCT
...
Originally committed as revision 12233 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
042e0adda9
decode mng color decorrelation
...
Originally committed as revision 12228 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
d248905ba5
Remove START_TIMER and STOP_TIMER macros.
...
Originally committed as revision 12227 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
00829b9bc1
simplify
...
Originally committed as revision 12224 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
97d1d009e2
split encoding part of dsputil_mmx into its own file
...
Originally committed as revision 12223 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
4847a997aa
Remove commented-out av_log calls.
...
Originally committed as revision 12222 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b6bffc46b8
Fix trellis quant + AAN DCT.
...
Originally committed as revision 12221 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2936438a38
Make diego happy.
...
Originally committed as revision 12220 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
57b98634c4
compile various fdct only when encoders are enabled
...
Originally committed as revision 12219 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
062942e782
Clarify which BSD license.
...
Originally committed as revision 12214 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5b0d04d308
Allow use of my AAN DCT under BSD, AMD has agreed to write and contribute
...
SSE(float) AAN DCT and IDCT to ffmpeg (no C++, no crap).
Originally committed as revision 12212 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
4a5b619df7
png filters
...
Originally committed as revision 12195 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
76a448ed4f
Install headers in $prefix/include/$libname
...
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.
Specify only $prefix/include in .pc files.
Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
bd58e7f730
remove a memcpy
...
Originally committed as revision 12193 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago