Benjamin Larsson
d2bc04738b
Added support for instances where linesize[0] is negative.
...
Based on patch by Jason Askew, jason dot askew at gmail dot com.
Originally committed as revision 9006 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
7f58baa8ca
Remove redundant extern declaration of j_rev_dct that is already
...
present in the #included header file dsputil.h.
Originally committed as revision 9005 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
7f4f3e169f
cosmetics: Group all test targets together.
...
Originally committed as revision 9004 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
ff506a906e
sse2 & ssse3 versions of dct_quantize.
...
core2: mmx2=154 sse2=73 ssse3=66 (cycles)
k8: mmx2=179 sse2=149
p4: mmx2=284 sse2=194
Originally committed as revision 9003 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
1edbfe1994
factor sum_abs_dctelem out of dct_sad, and simd it.
...
sum_abs_dctelem_* alone:
core2: c=186 mmx2=39 sse2=21 ssse3=13 (cycles)
k8: c=163 mmx2=33 sse2=31
p4: c=370 mmx2=60 sse2=60
dct_sad including sum_abs_dctelem_*:
core2: c=405 mmx2=258 sse2=240 ssse3=232
k8: c=624 mmx2=394 sse2=392
p4: c=849 mmx2=556 sse2=556
Originally committed as revision 9001 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
561f940c03
sse2 & ssse3 versions of hadamard. unroll and inline diff_pixels.
...
core2: before mmx2=193 cycles. after mmx2=174 sse2=122 ssse3=115 (cycles).
k8: before mmx2=205. after mmx2=184 sse2=180.
p4: before mmx2=342. after mmx2=314 sse2=309.
Originally committed as revision 9000 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
5b67307a68
fix a crash with svq1 + sse2.
...
EMU_EDGE broke memory alignment when the desired alignment is >32 bytes.
Originally committed as revision 8999 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
9ac2e7971b
rename pnm.c to pnmenc.c and pnm_common.c to pnm.c
...
Originally committed as revision 8996 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
a2e4c0ddae
Remove duplicate #includes, avcodec.h #includes common.h.
...
Originally committed as revision 8995 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
9636c4de32
Remove unused variable.
...
Originally committed as revision 8994 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
ba53071acb
10l, r8991 broke mmx1 sad
...
Originally committed as revision 8993 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
72946825fa
sse2 version of fullpel sad.
...
16% faster on core2, 5% faster on p4. 10% slower (and thus disabled) on k8.
Originally committed as revision 8992 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
164d75ebf3
tweak mmx2 sad.
...
40% faster on core2, 18% faster on k8, 5% faster on p4.
Originally committed as revision 8991 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
1b52bec7f7
make compilation of pnm.c optional
...
Originally committed as revision 8989 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
426a189b77
move pnm parser in its own file
...
Originally committed as revision 8988 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
b16560a389
move mjpeg parser in its own file
...
Originally committed as revision 8987 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
87acdd5391
cosmetics: reindent
...
Originally committed as revision 8986 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
26b4fe821c
split h264.c to move parser in its own file
...
Originally committed as revision 8985 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
eca3810e31
tweak mmx2 sad.
...
6% faster on core2 and k8, no change on p4.
Originally committed as revision 8984 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
b3a257af27
Revert r8979 (Ugly fix for r8963)
...
Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
07c55d8ea3
rename vorbis.c to vorbis_dec.c and vorbis_common.c to vorbis.c
...
Originally committed as revision 8981 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
f6bd6eeffd
loosen vorbis_enc.c dependencies by spliting vorbis.c
...
Originally committed as revision 8980 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
dccabd4c68
Fix r8963
...
Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
7a0daaf18a
Fix Vorbis encoder Xiph dependency by making sure the references to
...
ff_split_xiph_headers() are there.
Originally committed as revision 8978 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benoit Fouet
35e7f087ba
add AVERROR_NOENT
...
Originally committed as revision 8976 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
1502555362
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
...
Originally committed as revision 8975 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
82dc348bd1
those tables don't need to be extern
...
Originally committed as revision 8972 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
5ecb0677a2
use header instead of copying table declarations
...
Originally committed as revision 8970 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
42ef2dbc77
split msmpeg4 data to easily share some of it with vc1.c
...
Originally committed as revision 8969 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
1d557d3577
add missing rules for wmv2 compilation
...
Originally committed as revision 8968 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
7c3a9fe2a3
sse2 version of fdct_col.
...
k8: 72->61 cycles, core2: 51->26 cycles.
Originally committed as revision 8966 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
a4461664cd
Simplify ptr[0]; ptr++; to *ptr++
...
Originally committed as revision 8965 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
5a2f421a43
Use bytestream
...
Originally committed as revision 8964 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
a32c2ce423
Use AV_XX16 macros
...
Originally committed as revision 8963 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
df495dbd9a
move ff_mpeg4_find_frame_end() from h263dec.c to mpeg4video_parser.c
...
now h263dec depends on mpeg4video_parser
this fixes compilation when h263 decoder is disabled
Originally committed as revision 8962 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
7d5aaa049c
Factorize usum
...
Originally committed as revision 8960 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
de8e2c1d22
Use 1 array with double the size instead of 2 arrays with normal size
...
Eliminates need for concatenation and adds proper fix for FIXME
Originally committed as revision 8958 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
a5cb1f13ba
Add bias instead of -32 or 0, as is done in g.722.1
...
Originally committed as revision 8957 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
39938968e8
Indentation for previous patch
...
Originally committed as revision 8956 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
6b01997012
Add another tmpbias variable, as bias' value will be used later
...
Originally committed as revision 8955 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
cdb59552df
Fix logic for return value of init_vlc
...
Originally committed as revision 8954 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
686dcc1167
Replace general CONFIG_ENCODERS by more fine-grained CONFIG_WMV2_ENCODER.
...
Originally committed as revision 8952 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
a5c14fcaef
Add ff_ prefix to (externally) visible variables
...
Originally committed as revision 8951 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
2a2072fe1e
Use correct dequantizer value
...
Originally committed as revision 8950 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
4a815a7f64
Allow conditional compilation of H.263-related decoders.
...
Originally committed as revision 8949 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
5adf43e47e
cosmetics: remove code duplication in hadamard8_diff_mmx
...
Originally committed as revision 8946 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
c5a60225c7
move cavs parser in it's own file
...
Originally committed as revision 8945 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
b88e211426
move defines and enums out of cavsdata.h
...
Originally committed as revision 8944 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
1fddeecd1d
remove no more useful includes
...
Originally committed as revision 8943 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago