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
Diego Biurrun
b0e21a3b47
Remove stray #undef.
...
Originally committed as revision 12138 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
3518c5a96b
fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check mm_flags
...
Patch by Alexander Strange %astrange A ithinksw PP com %
Originally committed as revision 12137 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
b8659d94b7
Add mfspr-based AltiVec detection code.
...
Currently not enabled in FFmpeg, because it crashes if the OS does not
emulate mfspr.
Originally committed as revision 11569 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
61dbf4e557
Simplify preprocessor expression as suggested by Mans.
...
Originally committed as revision 11549 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
3174c77a3e
gcc2 doesn't have bogus mergel, patch from Sigbjørn Skjæret cisc...broadpark___no
...
Originally committed as revision 11523 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
Diego Biurrun
35562dc962
Fix make checkheaders.
...
Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
3035cb6796
Add necessary #include, fixes the warnings:
...
ppc/h264_altivec.c: In function ‘put_h264_qpel16_mc00_altivec’:
ppc/h264_altivec.c:394: warning: implicit declaration of function ‘put_pixels16_altivec’
ppc/h264_altivec.c: In function ‘avg_h264_qpel16_mc00_altivec’:
ppc/h264_altivec.c:395: warning: implicit declaration of function ‘avg_pixels16_altivec’
ppc/h264_altivec.c: In function ‘dsputil_h264_init_ppc’:
ppc/h264_altivec.c:872: warning: implicit declaration of function ‘has_altivec’
Originally committed as revision 11330 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
9e052e8d28
Reindent
...
Originally committed as revision 11311 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
4049e0142d
Minor fix
...
Originally committed as revision 11310 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
6b646b068e
10l do not load after the buffer...
...
Originally committed as revision 11308 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
08571377e6
Add C/B == 0 cases, 2% slower on CELL but should address Issue299 eventually
...
Originally committed as revision 11306 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
4159db8ca3
Reindent
...
Originally committed as revision 11304 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
e36b639f0f
Partially address issue299, no performance change apparently
...
Originally committed as revision 11303 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
8d8d178dad
Avoid a vec_add, directly start with sum
...
Originally committed as revision 11302 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
c7f66add4c
Reindent
...
Originally committed as revision 11301 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
a75fe63d3e
Factorize common code (almost cosmetic)
...
Originally committed as revision 11300 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
907fc60f31
Cosmetics
...
Originally committed as revision 11299 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
c49e23e2a4
Make strict altivec parsers happy (gcc-4.3 and others)
...
Originally committed as revision 11231 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
98f48ce157
Reindent after last commit
...
Originally committed as revision 11191 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
51ece6842f
Update Altivec variant of vc1_inv_trans_8x4
...
Originally committed as revision 11190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
d2e45f33a4
Switch VC-1 decoder to output decoded residual immediately.
...
Originally committed as revision 11188 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
Michael Niedermayer
90901860c2
stupid code (casting of void*) found by checktree.sh
...
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
095c22ac45
Remove unused variable, fixes the warning:
...
ppc/vc1dsp_altivec.c: In function ‘vc1_inv_trans_8x8_altivec’:
ppc/vc1dsp_altivec.c:141: warning: unused variable ‘vec_5’
Originally committed as revision 11006 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f62a9a46e1
Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
...
AltiVec-specific now.
Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
d9a5dab2da
Remove uses of SIGILL for CPU extension detection, that method is not acceptable
...
in a library.
Should not change anything for PPC, the autodetection is currently pointless due
to other code being compiled with -maltivec as well (and detection for OSX and
AmigaOS remains in place).
SPARC binaries built with VIS support can now only run on systems with VIS.
Originally committed as revision 10648 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