Loren Merritt
1d67b037f7
sse2 h264 motion compensation. not new code, just separate out the cases that didn't need ssse3.
...
Originally committed as revision 11877 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
20d565be6d
put loop counter in a register if possible. makes some of the qpel functions 3% faster.
...
Originally committed as revision 11876 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
7080ec2937
fix aliasing warnings. simpler too.
...
Originally committed as revision 11875 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
a2b7bc8e71
constant was excessively aligned
...
Originally committed as revision 11874 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
63f2670a53
Check that we have enough input data in IMC decoder.
...
Originally committed as revision 11872 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
ddf969705f
ssse3 h264 motion compensation.
...
25% faster tham mmx on core2, 35% if you discount fullpel, 4% overall decoding.
Originally committed as revision 11871 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
b64dfbb8d2
add qpel rounder once during hv rather than twice during hv and whatever it's averaged with
...
Originally committed as revision 11870 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
fa9b873e08
clean up an ugliness introduced in r11826. this syntax will require fewer changes when adding future sse2 code.
...
Originally committed as revision 11868 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9a7871f77d
Deprecate old and inefficient per instruction asm().
...
Originally committed as revision 11865 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
b2f775860b
reduce code duplication
...
Originally committed as revision 11863 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1db38dad33
Make luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
...
"assignment discards qualifiers from pointer target type" warnings.
blessed by Konstantin Shishkov
Originally committed as revision 11850 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1701cbfafc
const
...
Originally committed as revision 11846 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
20e4beaef7
const
...
Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Uoti Urpala
4bdd3b76fe
mpegvideo.h has two function declarations with the 'inline' specifier
...
but no definition for those functions. The C standard requires a
definition to appear in the same translation unit for any function
declared with 'inline'. Most of the files including mpegvideo.h do not
define those functions. Fix this by removing the 'inline' specifiers
from the header.
patch by Uoti Urpala
Originally committed as revision 11830 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
b313e8159c
avg_pixels4_mmx2
...
Originally committed as revision 11829 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
6c01d0069d
use mmx2/3dnow avg functions in avg_qpel*_mc00
...
Originally committed as revision 11828 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
ed5d7a531c
ff_h264_idct8_add_sse2.
...
compared to mmx, 217->126 cycles on core2, 262->220 on k8.
Originally committed as revision 11826 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
51f0ac65df
remove some movq in ff_h264_idct8_add_mmx. 225->217 cycles on core2.
...
Originally committed as revision 11825 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2efa7fd10d
Make avcodec_decode_* functions take const input buffers.
...
Originally committed as revision 11823 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
909063f745
100l, since we already check for buf_size == 769 we should also
...
handle buf_size < 769 instead of just crashing in smacker decoder.
Originally committed as revision 11822 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
3e368d726a
Use bytestream_get_be24 to simplify palette parsing.
...
Originally committed as revision 11821 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
04deea9ad2
mark qtrle input data as const.
...
Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
b3d5468d87
Add some const where appropriate
...
Originally committed as revision 11818 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
6be4042c52
Fix warning:
...
libavcodec/tiffenc.c:136: warning: pointer type mismatch in conditional expression
Originally committed as revision 11817 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
eee7e7998b
Some consts for cscd decoder helper functions
...
Originally committed as revision 11809 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
ffbc5e04ce
"swap first two elements of L1 if L0 and L1 are identical" applies after splitting the lists into fields
...
Originally committed as revision 11808 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
02f7695b0b
fix mbaff diagonal neighbor mv
...
Originally committed as revision 11807 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
50b3ab0fa5
mbaff spatial direct
...
Originally committed as revision 11806 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
4990eb5f49
Do not modify input data
...
Originally committed as revision 11805 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
0fe04628b9
IMC decoder always operates on 64-byte blocks
...
Originally committed as revision 11804 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
2755e41d26
use AV_RL* instead of le2me_*
...
Originally committed as revision 11802 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
4e56af8253
don't cast const away
...
Originally committed as revision 11801 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
60b6dbe716
const
...
Originally committed as revision 11800 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9f5bd89506
const
...
Originally committed as revision 11799 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c67102f902
const
...
Originally committed as revision 11796 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
31d889ec0a
const
...
Originally committed as revision 11795 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
896b438915
const
...
Originally committed as revision 11794 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1786784259
const
...
Originally committed as revision 11793 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
b034f72b17
Add some const keywords in rtjpeg decoder
...
Originally committed as revision 11792 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7e5cdb5b1b
const
...
Originally committed as revision 11791 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
74dc744850
const
...
Originally committed as revision 11790 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
473dde1700
const
...
Originally committed as revision 11789 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
94ef6d11ac
const
...
Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2ab12b39cd
const
...
Originally committed as revision 11787 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8c4bd28bec
const
...
Originally committed as revision 11786 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e37e53350e
const
...
Originally committed as revision 11785 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
14ff144c1b
some const
...
Originally committed as revision 11784 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
63410f2ca5
const
...
Originally committed as revision 11783 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
521c38f1ef
const
...
Originally committed as revision 11782 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
67d9ca0c00
const
...
Originally committed as revision 11781 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago