Måns Rullgård
118a49b0b7
optimize IDCT of rows with mostly zero coefficients
...
Originally committed as revision 7790 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
4302963daa
Move lzo decompression to libavutil
...
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
c215e40316
Make sure we do not accidentially "fix" cnt to something < 0
...
Originally committed as revision 7788 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
c0a8b87600
Simplify checks, use that we know that cnt will not be < 0
...
Originally committed as revision 7787 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
56f8647aaa
Remove boundary checks that are actually done "well enough"
...
in copy function
Originally committed as revision 7786 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
9b2c14df60
Documentation fix: Copy functions should "work" fine for cnt == 0
...
Originally committed as revision 7785 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
1db8c21c1f
Optimize LZO copy operations
...
Originally committed as revision 7784 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
e8f917d6fd
Fix memcpy out-of-bounds.
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7780 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
960e48f8f0
another >> vs >
...
Originally committed as revision 7779 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bf47272f3c
simpify state and make code 2% faster
...
reimar, dont hesitate to flame me for not sending patches and feel free to revert any or all of my changes to lzo.c if you dont like them
Originally committed as revision 7778 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
5fe9c42ceb
Add two extra needed bounds checks
...
Originally committed as revision 7777 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
801778bc83
replace if(x>>b) by if(x>C) as shifts are slow on some cpus and i have my doubts that gcc can replace the shifts as x is signed, it could in theory but well its gcc ...
...
Originally committed as revision 7776 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
d62a0c1e5d
Add code to testcode to ease comparing with liblzo.
...
Originally committed as revision 7775 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
e96cc09dd2
Make BMP decoder use bytestream. Patch by Michel Bardiaux
...
mbardiaux mediaxim dot be.
Originally committed as revision 7773 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
eabf65608d
Remove the getbe16 functions and use the AV_RB16 macro instead. Patch by Ian
...
Caulfield, ian dot caulfield gmail dot com.
Originally committed as revision 7768 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Caulfield
4ee97612c7
Fix a bug in the DVD subtitle decoder where subtitles with odd heights would not
...
have the last line decoded, leaving the bottom line of the bitmap array
uninitialised. Patch by Ian Caulfield, ian dot caulfield gmail dot com.
Originally committed as revision 7767 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
9dd6c80453
Add the const specifier as needed to reduce the number of warnings.
...
Originally committed as revision 7764 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
204ce38f53
typo fix by Dmitry Antipov dmantipov =a= yandex =d= ru
...
Originally committed as revision 7763 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
34b1b8fda8
theoretically save one cycle
...
Originally committed as revision 7762 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
b024824bed
Fix BI-frames decoding for Adv. profile
...
Originally committed as revision 7758 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
d8b7b352a8
Fix segfault in bmp decoder. Patch by Michel Bardiaux mbardiaux mediaxim dot be.
...
Originally committed as revision 7757 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
753c9d3260
Check that js_vlc_bits from the extradata is in a valid range.
...
Originally committed as revision 7756 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
862be28b19
Get rid of the COOKextradata struct. And use valid C to parse the extradata.
...
Originally committed as revision 7755 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
6e584be16c
Kill a warning and don't use modulus.
...
Originally committed as revision 7754 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
a5b8a69c70
decode_subpacket cleanup by Ian Braithwaite ian braithwaite dot dk.
...
Originally committed as revision 7753 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
7d42886b93
ARMv6 SIMD IDCT
...
Originally committed as revision 7752 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
a737f1dfdb
LZO optimization: check input buffer bounds less frequently if padded
...
Originally committed as revision 7747 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
d7973906de
Sort out the diffrent cook versions.
...
Originally committed as revision 7739 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
70ab75eb6a
Cook stereo (MONO_COOK2) bugfix, by Ian Braithwaite.
...
ian at braithwaite dot dk.
Originally committed as revision 7738 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
b3203b64c6
Get rid of one warning.
...
Originally committed as revision 7735 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
fe70f25c58
Simplify and avoid a warning (should be faster on Cell and certain G4 revisions)
...
Originally committed as revision 7734 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
4b3b5a2337
Coded residual in WavPack may be > 0xFFFF
...
Originally committed as revision 7733 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
8cb59bce97
Fix _LZO_H vs. LZO_H typo
...
Originally committed as revision 7732 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
cf0ef3dc34
Fix buffer end checks in lzo copy code to work in all cases.
...
Originally committed as revision 7731 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
7073e9fc69
rename CMOV_IS_FAST to HAVE_FAST_CMOV and simplify configure
...
Originally committed as revision 7729 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
266aa26c52
Add lzo test code
...
Originally committed as revision 7727 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
994fd8500d
Fix warnings and simplify/reorder the code
...
Originally committed as revision 7726 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
76ebb18f16
Segregate code common to BMP decoder and future encoder
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7721 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
74fd63d009
Set aspect ratio if present (for AP only)
...
Originally committed as revision 7720 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1fdefd9881
fix inifnite loop with http://sam.zoy.org/zzuf/lol-mplayer.mpg
...
Originally committed as revision 7718 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
de6c4b2dd3
Typo
...
Originally committed as revision 7717 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
4abc097146
remove void * used in arithmetic warnings
...
Originally committed as revision 7716 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
24368c4ae4
cosmetics / remove #if 0 code
...
Originally committed as revision 7715 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
b5bfb9f9de
Silence GCC when incorrectly complaining that the "line" variable could be used
...
without having been initialized.
Originally committed as revision 7711 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
aadcc5cecd
Bring down the number of snow.c warnings from 27 to 17 by using the const
...
keyword.
Originally committed as revision 7706 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
6884c36c42
Brings down the number of snow.c warnings from 33 to 27 by putting parentheses
...
around + or - inside shift.
Originally committed as revision 7704 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
b6607559af
Don't copy more then needed, bugfix by Gus Scheidt ellocogato at gmail dot com and Michel Bardiaux mbardiaux at mediaxim dot be.
...
Originally committed as revision 7702 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
615259a33e
Some TIFFs do not set rows per strip for single strip.
...
Originally committed as revision 7701 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
722dabcc94
Move conditional CFLAGS and OBJS setting to common place.
...
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
150d27725b
Theora encoding via libtheora.
...
courtesy of Paul Richards, paul.richards gmail com
Originally committed as revision 7698 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago