Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
b4c3d83584
Use ff_vp3_idct_data in vp3dsp_mmx.c rather than duplicating it
...
Originally committed as revision 15118 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
43410eaf7c
Declare ff_vp3_idct_data to be uint16_t
...
Originally committed as revision 15117 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
587ae47aa7
Don't declare SSE vp3 idct data static, so it can be used in the mmx version
...
Originally committed as revision 15116 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
c979fa030f
Remove unused dequantization code from SSE VP3 IDCT
...
Originally committed as revision 15054 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
167029a73a
Use ff_pw_8 in MMX/SSE VP3 IDCT
...
Originally committed as revision 15053 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
21383da8c4
Let ff_pw_8 be used as an SSE constant
...
Originally committed as revision 15052 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vladimir Voroshilov
2ccddc0211
Add explicit (int) cast to i386 optimized MUL* macros.
...
Wrong result is returned when 16-bit value is passed as value.
Also fixes "Warning: using `%edx' instead of `%dx' due to `l' suffix".
Originally committed as revision 14981 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexis Ballier
dad6afb4cb
stricter constraints of asm() blocks
...
All these variables are used as left operands of a movd instruction,
which does accept only memory or register operands while the "g"
constraint also allows immediates. Use "rm" instead.
Patch by Alexis Ballier %alexis P ballier A gmail P com%
Originally committed as revision 14941 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
7ca7d5fae0
file which should have been added in r14749
...
Originally committed as revision 14751 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
75ac287517
missing prototype
...
Originally committed as revision 14750 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
ebceaa1cd5
gcc chokes on the 7 registers needed for float_to_int16_interleave6 (even inside HAVE_7REGS), so write it in yasm
...
Originally committed as revision 14749 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
ee46753739
gcc chokes on xmm constraints, so pessimize int32_to_float_fmul_scalar_sse a little
...
Originally committed as revision 14748 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
675872382f
special case 6 channel version of float_to_int16_interleave
...
5% faster ac3
Originally committed as revision 14744 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
911e21a306
simd int->float
...
20% faster ac3 if downmixing, 15% if not
Originally committed as revision 14743 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
ac2e556456
simd downmix
...
13% faster ac3 if downmixing
Originally committed as revision 14742 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
862b98d42c
cosmetics in dsp init
...
Originally committed as revision 14704 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
0a570e826d
remove mdct tmp buffer
...
Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
46803f4f67
optimize imdct_half:
...
remove tmp buffer.
skip fft reinterleave pass, leaving data in a format more convenient for simd.
merge post-rotate with post-reorder.
Originally committed as revision 14700 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
5d0ddd1a9f
split-radix FFT
...
c is 1.9x faster than previous c (on various x86 cpus), sse is 1.6x faster than previous sse.
Originally committed as revision 14698 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
bafad220a7
import yasm macros from x264
...
Originally committed as revision 14697 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Uoti Urpala
f769b746aa
Mark add_png_paeth_prediction_* functions which are only used within this file
...
as static. patch by Uoti Urpala, uoti.urpala pp1.inet fi
Originally committed as revision 14509 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4f20b45fbe
Fix h264_loop_filter_strength_mmx2() so it works with PAFF.
...
fixed at least:
CVFI1_Sony_D.jsv
CVFI1_SVA_C.264
MR6_BT_B.h264
Originally committed as revision 14310 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
5eb0f2a425
float_to_int16_interleave: change src to an array of pointers instead of assuming it's contiguous.
...
this has no immediate effect, but will allow it to be used in more codecs.
Originally committed as revision 14252 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
4342a7f30b
10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples
...
Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
b9fa32082c
exploit mdct symmetry
...
2% faster vorbis on conroe, k8. 7% on celeron.
Originally committed as revision 14207 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
f27e1d645e
simplify vorbis windowing
...
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
d7e1fc4254
SSE2 optimizations for Monkey's Audio decoder vector functions
...
Originally committed as revision 14161 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
bc31447225
Make the function prototype visible to comply with C99 inline.
...
Fixes building with gcc -std=gnu99.
Originally committed as revision 14140 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e98750c373
float_to_int16_sse2()
...
20% faster than sse
Originally committed as revision 14138 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Victor Pollex
1835cda65a
Make LOAD4/STORE4 macros more generic.
...
Patch by Victor Pollex victor pollex web de
Original thread: [PATCH] mmx implementation of vc-1 inverse transformations
Date: 06/21/2008 03:37 PM
Originally committed as revision 14108 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
35ee72b1d7
1 c-asm loop less and 1x unroll of float_to_int16_sse()
...
25% faster
Originally committed as revision 14104 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
560fa9bf51
Fix x86-64
...
Originally committed as revision 14103 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
63b737d4f9
dont use C-asm loops and unroll once float_to_int16_3dnow()
...
30% faster
Originally committed as revision 14102 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
74fd9022b5
Realign newlines.
...
Originally committed as revision 14023 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
00969e1c59
Use MANGLE() instead of memory operands to read globals.
...
(fixes out of registers with apple gcc 4.2)
Originally committed as revision 14022 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
00eebe3d6a
Fix add_bytes_mmx and add_bytes_l2_mmx for w < 16
...
Originally committed as revision 13877 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0bd134abd3
Simplify vsad16_mmx2().
...
Originally committed as revision 13193 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6bf6a9301b
Simplify vsad16_mmx().
...
Originally committed as revision 13191 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e13810223a
Simplify vsad_intra16_mmx2()
...
Originally committed as revision 13189 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
06bb35f94c
Simplify vsad_intra16_mmx()
...
Originally committed as revision 13188 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
a12b44d7fb
Add missing required header directly.
...
Originally committed as revision 13103 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
20cd685ae8
Add missing path to #include.
...
Originally committed as revision 13102 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
40d0e665d0
Do not misuse long as the size of a register in x86.
...
typedef x86_reg as the appropriate size and use it instead.
Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
57105ddd03
Rename i386/cputest.c --> i386/cpuid.c.
...
Originally committed as revision 13002 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c88c253d8b
cosmetics: __asm__ __volatile__ --> asm volatile
...
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
80465c7eed
cosmetics: Fix nonstandard indentation.
...
Originally committed as revision 12863 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Jeff Downs
591d87babe
Cosmetics:
...
Break long lines.
Correct spelling in comment (duplicatin -> duplicating)
Originally committed as revision 12862 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Jeff Downs
52cb7981e2
Redo r12838, this time using svn copy to create h264_i386.h from cabac.h.
...
Move decode_significance_x86() and decode_significance_8x8_x86() to
i386-specific file from cabac.h.
New file is h264-oriented and only included from h264.c
Resolves compilation when configured with --disable-optimizations due to
decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is
only defined in h264.c
Originally committed as revision 12846 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago