mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
small linux/altivec compile fix in postproc/ by (Romain Dolbeau <dolbeau at irisa dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12533 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
19cf857451
commit
e8b4e1c1c4
@ -21,18 +21,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_DARWIN
|
#ifdef CONFIG_DARWIN
|
||||||
static const vector signed int vzero =
|
#define AVV(x...) (x)
|
||||||
(vector signed int)(0, 0, 0, 0);
|
|
||||||
static const vector unsigned int altivec_vectorShiftInt19 =
|
|
||||||
(vector unsigned int)(19, 19, 19, 19);
|
|
||||||
#else
|
#else
|
||||||
static const vector signed int vzero =
|
#define AVV(x...) {x}
|
||||||
(vector signed int){0,0,0,0};
|
|
||||||
static const vector unsigned int altivec_vectorShiftInt19 =
|
|
||||||
(vector unsigned int){19, 19, 19, 19};
|
|
||||||
|
|
||||||
#endif
|
#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
|
static inline void
|
||||||
altivec_packIntArrayToCharArray(int *val, uint8_t* dest, int dstW) {
|
altivec_packIntArrayToCharArray(int *val, uint8_t* dest, int dstW) {
|
||||||
register int i;
|
register int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user