Måns Rullgård
b662e8395b
PPC: simplify loading some values into altivec registers
...
Instead of filling a local array with the desired value and loading it,
load a single element and vec_splat() it to fill the vector.
Originally committed as revision 19691 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c7312933ce
Include required headers in {mips,ppc}/mathops.h
...
Originally committed as revision 19686 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
9be6f0d2f8
Do not check for both CONFIG_VC1_DECODER and CONFIG_WMV3_DECODER,
...
the former depends upon the latter.
Originally committed as revision 19533 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
99e5a9d1ea
Do not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.
...
The Theora decoder depends on the VP3 decoder.
Originally committed as revision 19492 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
34d11b875f
Change HAVE_PPC64 to ARCH_PPC64.
...
As a side-effect this also gives it the correct value on e.g. PPC970FX-based
PPC64 systems, thus fixing "make test" (mp2/mp3 decoding).
Originally committed as revision 18953 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
454403ba55
Altivec VP3 IDCT
...
Originally committed as revision 18949 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
76499b9ff1
Remove useless casts of vec_ld() parameters.
...
Gets rid of 'cast discards qualifiers from pointer target type' warnings.
Originally committed as revision 18867 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
014b7ecb66
PPC: 32-bit asm for MAC64 and MLS64
...
GCC makes a mess of these operations, so give it a hand.
55% faster MP3 decoding on G4.
Originally committed as revision 18794 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f8c0692d8e
Add necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.
...
Originally committed as revision 18774 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
3737dd1cd3
PPC: implement MULH() in assembler
...
Left to its own devices, gcc calculates the full 64-bit product only to
discard the low 32 bits. This forces it to do the right thing.
20% faster MP3 decoding on G4.
Originally committed as revision 18737 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
99cc7f8a02
Altivec version of avg_no_rnd_vc1_chroma_mc8
...
Originally committed as revision 18522 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
c374691b28
Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only
...
Originally committed as revision 18517 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
5137235e0c
Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.
...
Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
788cca4135
Remove AltiVec optimizations for Snow. They are hindering the development
...
of Snow, which is still in flux.
Originally committed as revision 18475 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7a709548a7
Remove unnecessary gcc_fixes.h #include.
...
Originally committed as revision 18384 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
952f18ffe6
cosmetics: Reformat comment paragraph and fix a few typos in it.
...
Originally committed as revision 18383 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
e90f5b5ab1
configure: Add --enable-runtime-cpudetect
...
Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
60a847b5db
cosmetics: Remove file name from file header.
...
Originally committed as revision 17984 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6d79971e69
prettyprinting cosmetics
...
Originally committed as revision 17962 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f5b2476fd3
Add av_uninit to vsrcBuc variable to work around some
...
'may be used uninitialized' warnings.
Originally committed as revision 17961 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6d4f53cbac
Remove old scaler.
...
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
67a7e4dbcf
Use '#if defined()' for OS-specific preprocessor checks.
...
Avoids some warnings about undefined preprocessor directives.
Originally committed as revision 16869 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
4ceb4e3102
Add required headers to fix warnings during 'make checkheaders'.
...
Originally committed as revision 16769 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
799fde37cc
Add a check for ppc4xx instructions; rename preprocessor directive accordingly.
...
Originally committed as revision 16756 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f5b96597bd
Remove pointless #if HAVE_ALTIVEC around internal header #include
...
and function declarations.
Originally committed as revision 16755 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
49fb20cb8a
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
...
and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
b06688ffed
Add AltiVec versions of h264_idct_add(8|16|16intra),
...
allowing to re-enable ff_h264_idct_add_altivec's usage.
Patch by David Conrad %lessen42 A gmail P com%
Originally committed as revision 16465 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
4929c63679
Add Altivec version of vector_fmul_window.
...
Patch by David Conrad %lessen42 A gmail P com%
Originally committed as revision 16459 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
8b2bc85f29
add AltiVec implementation of weight_h264_pixels(16|8)x(16|8|4)
...
Patch by David Conrad %lessen42 A gmail P com%
Originally committed as revision 16458 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
aa9a9b7af7
Fix float_to_int16_altivec prototype to match float_to_int16's in dsputil.h
...
(parameter 'len' is a long not an int).
Patch by David Conrad % lessen42 A gmail P com %
Originally committed as revision 16451 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
628653449c
fix compilation with GCC-4.3+
...
patch by David Conrad + fix by myself
Originally committed as revision 16450 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
54b9095833
offset and weights are signed, fixes some non-bitexact issues.
...
Patch by David Conrad %lessen42 A gmail P com%
Originally committed as revision 16449 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
df7fb43569
add AltiVec implementation of biweight_h264_pixels(16|8)x(16|8|4)
...
Patch by David Conrad %lessen42 A gmail P com%
Originally committed as revision 16443 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
c663cb0d4f
AltiVec version of h264_idct(8)_dc_add
...
Patch by David Conrad %lessen42 A gmail P com%
Originally committed as revision 16442 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
79cb09b2f7
consistency cosmetics: Rename POWERPC identifiers to PPC.
...
Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Barbato
d89eae6f1a
Remove stray code
...
Originally committed as revision 16358 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Barbato
a6b4448cdf
Cleanup _t types in libavcodec/ppc
...
Originally committed as revision 16357 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Guillaume Poirier
337e3fd990
Disable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
...
h264_idct_add16intra, h264_idct_add8 need to be implemented.
Add C version of ff_h264_idct8_dc_add in AltiVec so that ff_h264_idct8_add_altivec
can be used.
Originally committed as revision 16311 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Guillaume Poirier
5f51afd602
add AltiVec implementation of int32_to_float_fmul_scalar
...
Originally committed as revision 16186 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Barbato
7a8f36cccc
Cleanup types
...
Originally committed as revision 16092 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Barbato
006c8e9e9c
Unbreak imgresample altivec
...
Originally committed as revision 16091 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Guillaume Poirier
64adf4f28d
add Altivec implementation of clear_block
...
Originally committed as revision 16078 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Dominik Mierzejewski
82d1605fe7
Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
...
Add missing one for FF_MM_ALTIVEC to avcodec.h.
Rename all the occurences of MM_* to the corresponding FF_MM_*.
Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.
Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8556ea0333
spelling cosmetics
...
Originally committed as revision 15383 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Brad
acce61a7c6
AltiVec detection support for OpenBSD, patch by Brad, brad comstyle com.
...
Originally committed as revision 15382 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago