Måns Rullgård
ddb8c2c0f1
PPC: move prototypes to headers and make some functions static
...
Originally committed as revision 22267 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
afe08a728a
PPC: remove unnecessary alignment on local variables
...
Storing a single element from a vector where all elements have the same
value does not require an aligned destination. Which element is stored
depends on the alignment of the destination address, but since they all
have the same value, the result is the same regardless of the alignment.
Originally committed as revision 19696 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
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
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
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
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
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
0c89322463
Change some files to only include the necessary headers.
...
Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f87d2632b3
Fix alignment broke by my last patch
...
Originally committed as revision 11123 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
52b541ad79
spelling
...
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1f3a990b3a
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
eee947487b
Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
...
Blessed by Luca Barbato on IRC.
Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
89523beea4
Sanitize altivec code so it can be built with runtime check properly
...
Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
a1d0b6a277
cosmetics: Fix AltiVec spelling.
...
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7fd7259a3f
Remove const vector macro indirection that is useless and obfuscating
...
now that the Metrowerks workarounds are gone.
Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
06b00c5f65
Simplify preprocessor directives.
...
Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c97f54020d
Change SYS_DARWIN preprocessor checks to __APPLE__, they are specific
...
to Mac OS X rather than to Darwin.
Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f9edc2331d
Fix trivial mixed declarations and code warning caused by a double semicolon.
...
Originally committed as revision 10212 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
9d16f87ffd
Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
...
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
d55388d028
Simplify preprocessor directives.
...
Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
88bcb6c23f
use macro Use DECLARE_ALIGNED_16 to align stack-allocated variables
...
instead of compiler-dependent __attribute__((aligned(16)))
Origiginal thread:
Date: May 17, 2007 12:30 AM
Subject: [PATCH] Use DECLARE_ALIGNED_16 in libavcodec/ppc/
Originally committed as revision 9047 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
b550bfaa61
Add libavcodec to compiler include flags in order to simplify header
...
include paths in the source files.
mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
fe70f25c58
Simplify and avoid a warning (should be faster on Cell and certain G4 revisions)
...
Originally committed as revision 7734 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
b420448e38
removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore
...
Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
441e8fe9c9
add_bytes passes tests
...
Originally committed as revision 6600 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
876031a74e
keep in sync with dsputil, makes --disable-decoder=vorbis build
...
Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
bf29ed5dbc
Cosmetics: 2->4 spaces and some braces
...
Originally committed as revision 5940 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
c489d907e1
Yet another typo
...
Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
532877894b
Fix a stupid typo and another error, thanks to Emanuele Giaquinta <exg@gentoo.org> for pointing out the issue and the patch
...
Originally committed as revision 5932 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
73e4ff9de9
Almost cosmetic changes in dsputil_init_ppc and vorbis_inverse_coupling_altivec:
...
- whitespace consistency 2->4 [dsputil_init_ppc]
- reorder struct initialization with dsputil_init_altivec [dsputil_init_ppc]
- use casts instead of temp variables [vorbis_inverse_coupling_altivec]
Originally committed as revision 5918 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
7c2a270b70
Minor fix
...
Originally committed as revision 5916 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
3b0df5254e
vorbis_inverse_coupling_altivec
...
Originally committed as revision 5914 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
832e6e9071
avoid possible segfault situations
...
Originally committed as revision 5895 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
e8772eecdc
Cosmetics: should not hurt performance, scream if are
...
Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
a01e08ee5c
hadamard8_diff* enabled on linux/ppc
...
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Chip
6933900993
Altivec test on AmigaOS4 patch by (Chip <szarlada at freemail dot hu>)
...
Originally committed as revision 3561 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
78421be13d
hadamard/AltiVec: fix to compiler fix, again by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 3207 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
2a5a1bdac9
avg_pixels8_xy2_altivec in AltiVec, enabling avg_pixels8_altivec, hadamard fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 3196 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
3cf1e291f8
hadamard/AltiVec: fix to compiler fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 3195 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
d890d4aed1
disable hadamard for gcc below 3.3 - better fix awaited
...
Originally committed as revision 3075 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
16f5ef9c70
use the AVV macro from gcc_fixes.h instead ifdefs
...
Originally committed as revision 3074 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
d65f20b1ea
100l, and another one because it boils out with ICE under gcc 3.2.3
...
Originally committed as revision 3073 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Romain Dolbeau
9007f51460
better hadamard8_diff16 in AltiVec, and more patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 3038 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
c4a1714826
hadamard8_diff8x8 in AltiVec, the 16bits edition by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
Originally committed as revision 3036 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago