mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
small linux/altivec compile fix in postproc/ by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 12533 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
parent
0e9d4a67f4
commit
0d56feac94
@ -21,18 +21,16 @@
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_DARWIN
|
||||
static const vector signed int vzero =
|
||||
(vector signed int)(0, 0, 0, 0);
|
||||
static const vector unsigned int altivec_vectorShiftInt19 =
|
||||
(vector unsigned int)(19, 19, 19, 19);
|
||||
#define AVV(x...) (x)
|
||||
#else
|
||||
static const vector signed int vzero =
|
||||
(vector signed int){0,0,0,0};
|
||||
static const vector unsigned int altivec_vectorShiftInt19 =
|
||||
(vector unsigned int){19, 19, 19, 19};
|
||||
|
||||
#define AVV(x...) {x}
|
||||
#endif
|
||||
|
||||
static const vector signed int vzero =
|
||||
(const vector signed int)AVV(0, 0, 0, 0);
|
||||
static const vector unsigned int altivec_vectorShiftInt19 =
|
||||
(const vector unsigned int)AVV(19, 19, 19, 19);
|
||||
|
||||
static inline void
|
||||
altivec_packIntArrayToCharArray(int *val, uint8_t* dest, int dstW) {
|
||||
register int i;
|
||||
|
Loading…
Reference in New Issue
Block a user