summaryrefslogtreecommitdiff
path: root/src/libmpeg2/mpeg2_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmpeg2/mpeg2_internal.h')
-rw-r--r--src/libmpeg2/mpeg2_internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libmpeg2/mpeg2_internal.h b/src/libmpeg2/mpeg2_internal.h
index f279cd626..cb00a830b 100644
--- a/src/libmpeg2/mpeg2_internal.h
+++ b/src/libmpeg2/mpeg2_internal.h
@@ -243,10 +243,17 @@ void mpeg2_idct_mmx_init (void);
void mpeg2_idct_copy_altivec (int16_t * block, uint8_t * dest, int stride);
void mpeg2_idct_add_altivec (int16_t * block, uint8_t * dest, int stride);
#else /* HOST_OS_DARWIN */
+# ifdef ENABLE_ALTIVEC
void mpeg2_idct_copy_altivec (vector signed short * block, unsigned char * dest,
int stride);
void mpeg2_idct_add_altivec (vector signed short * block, unsigned char * dest,
int stride);
+# else /* ! ENABLE_ALTIVEC */
+void mpeg2_idct_copy_altivec (signed short * block, unsigned char * dest,
+ int stride);
+void mpeg2_idct_add_altivec (signed short * block, unsigned char * dest,
+ int stride);
+# endif /* ENABLE_ALTIVEC */
#endif /* HOST_OS_DARWIN */
void mpeg2_idct_altivec_init (void);