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
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
Diego Biurrun
6c05bab46d
Merge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.
...
Originally committed as revision 10641 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
6006a68989
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 10638 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
465c9fdeeb
Remove pointless HAVE_ALTIVEC #ifdefs from a file that only contains AltiVec
...
optimizations and no general PPC optimizations. Instead make the file be
compiled conditional to HAVE_ALTIVEC.
Originally committed as revision 10637 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
cd195f14c6
Remove Metrowerks compiler workaround.
...
Originally committed as revision 10632 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
dead9db83a
Remove Metrowerks compiler workaround.
...
Originally committed as revision 10631 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
55bf7fb613
snow altivec is broken
...
Originally committed as revision 10256 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
06b00c5f65
Simplify preprocessor directives.
...
Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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
18 years ago
Guillaume Poirier
16dae5173b
remove alignment correction of the destination pointers in luma_16x6
...
interpolations, since they are always 16-bytes aligned in practice.
Add asserts to ease narrowing down potential image corructions on exotic plateforms
Based on a patch by Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 1:07 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec
Originally committed as revision 10238 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
830bf1f20d
whitespace/indentation cosmetics
...
Originally committed as revision 10217 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2722c98128
Remove HAVE_ALTIVEC preprocessor directives that are only compiled
...
when AltiVec is enabled anyway.
Originally committed as revision 10216 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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
18 years ago
Diego Biurrun
e4506f0c98
Remove SYS_DARWIN preprocessor directive that is just a duplicate of a
...
gcc-specific directive a few lines below.
Originally committed as revision 10211 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago