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
17 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
17 years ago
David Conrad
7f0d242b14
Fix compilation on Mac OS X 10.4: Defining _POSIX_C_SOURCE hides the u_char &
...
similar typedefs that sysctl.h needs. Since sysctl() itself isn't POSIX
undefining _POSIX_C_SOURCE for check_altivec.c seems the best way to fix this.
patch by David Conrad lessen42 at gmail com
Originally committed as revision 15306 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
Luca Barbato
9ac78726b8
Missing static in float_to_int16_altivec declaration
...
Originally committed as revision 14967 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
0a3650c9f0
Remove unused variables
...
Originally committed as revision 14929 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
e1f27dc22b
Introduce float_to_int16_interleave_altivec, tested with vorbis
...
Originally committed as revision 14928 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
8d3d51005a
Introduce float_to_int16_one_altivec
...
Originally committed as revision 14927 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
309005c047
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 14370 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
80a61f08d2
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
86255db9b9
cosmetics: Make libavcodec/ppc/dsputil_altivec.c conform to style guidelines.
...
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.
Originally committed as revision 14318 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b6934d7f9e
cosmetics: Reindent two misplaced braces.
...
Originally committed as revision 14317 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e3905ce0af
cosmetics: Reformat PPC code in libavcodec according to style guidelines.
...
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.
Originally committed as revision 14316 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
716e7c0f0b
Remove wrong casts from vector declarations, this would cause errors when
...
compiling with -std=gnu99. Blessed by Luca Barbato.
Originally committed as revision 14129 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
7246d6311e
Altivec implementation of APE vector functions
...
Originally committed as revision 14082 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1384e27054
consistency cosmetics: indices --> indexes in variable names
...
Originally committed as revision 13446 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
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
5550eba88d
typo: add missing \ in multi-line macro
...
Originally committed as revision 12466 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7ce6892373
misc spelling fixes
...
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
c367d0c653
arg 10000l. Fix wrong fix committed in r12141
...
Originally committed as revision 12143 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
d6267d027b
fix broken indentation
...
Originally committed as revision 12142 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
9d8109ad0f
10l: fix always false test: Binary & has lower precedence than ==
...
Originally committed as revision 12141 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
42a362e57b
Refactor vcprm and vcii macros by using the AVV macro.
...
Originally committed as revision 12140 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
35c27389c0
Refactor the FOUROF macro using the AVV macro.
...
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago