Luca Barbato
0a3650c9f0
Remove unused variables
...
Originally committed as revision 14929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:10:38 +00:00
Luca Barbato
e1f27dc22b
Introduce float_to_int16_interleave_altivec, tested with vorbis
...
Originally committed as revision 14928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:09:46 +00:00
Luca Barbato
8d3d51005a
Introduce float_to_int16_one_altivec
...
Originally committed as revision 14927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:02:30 +00:00
Diego Biurrun
309005c047
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 14370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 16:54:51 +00:00
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
2008-07-24 10:53:32 +00:00
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
2008-07-20 20:56:40 +00:00
Diego Biurrun
b6934d7f9e
cosmetics: Reindent two misplaced braces.
...
Originally committed as revision 14317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-20 20:02:09 +00:00
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
2008-07-20 18:58:30 +00:00
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
2008-07-08 16:02:20 +00:00
Kostya Shishkov
7246d6311e
Altivec implementation of APE vector functions
...
Originally committed as revision 14082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 07:33:09 +00:00
Diego Biurrun
1384e27054
consistency cosmetics: indices --> indexes in variable names
...
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:36:05 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Måns Rullgård
5550eba88d
typo: add missing \ in multi-line macro
...
Originally committed as revision 12466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:05 +00:00
Diego Biurrun
7ce6892373
misc spelling fixes
...
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +00:00
Guillaume Poirier
c367d0c653
arg 10000l. Fix wrong fix committed in r12141
...
Originally committed as revision 12143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:24:00 +00:00
Guillaume Poirier
d6267d027b
fix broken indentation
...
Originally committed as revision 12142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:20:03 +00:00
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
2008-02-19 07:19:15 +00:00
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
2008-02-18 23:01:26 +00:00
Diego Biurrun
35c27389c0
Refactor the FOUROF macro using the AVV macro.
...
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:26:46 +00:00
Diego Biurrun
b0e21a3b47
Remove stray #undef.
...
Originally committed as revision 12138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:22:17 +00:00
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
2008-02-18 21:35:31 +00:00
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
2008-01-19 19:27:39 +00:00
Diego Biurrun
61dbf4e557
Simplify preprocessor expression as suggested by Mans.
...
Originally committed as revision 11549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:34:53 +00:00
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
2008-01-13 23:58:12 +00:00
Diego Biurrun
0c89322463
Change some files to only include the necessary headers.
...
Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 13:38:25 +00:00
Diego Biurrun
35562dc962
Fix make checkheaders.
...
Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 12:56:49 +00:00
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
2007-12-27 12:31:23 +00:00
Luca Barbato
9e052e8d28
Reindent
...
Originally committed as revision 11311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 19:07:21 +00:00
Luca Barbato
4049e0142d
Minor fix
...
Originally committed as revision 11310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 19:06:33 +00:00
Luca Barbato
6b646b068e
10l do not load after the buffer...
...
Originally committed as revision 11308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 15:54:21 +00:00
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
2007-12-22 23:10:02 +00:00
Luca Barbato
4159db8ca3
Reindent
...
Originally committed as revision 11304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:39:32 +00:00
Luca Barbato
e36b639f0f
Partially address issue299, no performance change apparently
...
Originally committed as revision 11303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:17:46 +00:00
Luca Barbato
8d8d178dad
Avoid a vec_add, directly start with sum
...
Originally committed as revision 11302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 03:39:53 +00:00
Luca Barbato
c7f66add4c
Reindent
...
Originally committed as revision 11301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:53:36 +00:00
Luca Barbato
a75fe63d3e
Factorize common code (almost cosmetic)
...
Originally committed as revision 11300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:46:32 +00:00
Luca Barbato
907fc60f31
Cosmetics
...
Originally committed as revision 11299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:35:33 +00:00
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
2007-12-16 14:31:38 +00:00
Kostya Shishkov
98f48ce157
Reindent after last commit
...
Originally committed as revision 11191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:46:09 +00:00
Kostya Shishkov
51ece6842f
Update Altivec variant of vc1_inv_trans_8x4
...
Originally committed as revision 11190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:45:42 +00:00
Kostya Shishkov
d2e45f33a4
Switch VC-1 decoder to output decoded residual immediately.
...
Originally committed as revision 11188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 10:41:18 +00:00
Vitor Sessak
f87d2632b3
Fix alignment broke by my last patch
...
Originally committed as revision 11123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:35:38 +00:00
Vitor Sessak
52b541ad79
spelling
...
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:21:04 +00:00
Michael Niedermayer
90901860c2
stupid code (casting of void*) found by checktree.sh
...
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
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
2007-11-13 00:48:24 +00:00
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
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
2007-10-03 14:01:42 +00:00
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
2007-10-02 18:18:35 +00:00
Diego Biurrun
1f3a990b3a
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:35:23 +00:00