Mercurial > mplayer.hg
view libmpcodecs/vd_internal.h @ 25291:c48b33da31d3
Add missing declarations for AltiVec functions, fixes the warnings:
swscale_template.c:1171: warning: implicit declaration of function ¡Æaltivec_yuv2packedX¡Ç
swscale.c:1982: warning: implicit declaration of function ¡Æyuv2rgb_altivec_init_tables¡Ç
yuv2rgb.c:652: warning: implicit declaration of function ¡Æyuv2rgb_init_altivec¡Ç
author | diego |
---|---|
date | Sat, 08 Dec 2007 04:29:11 +0000 |
parents | ed8f90096c65 |
children | 6ac1ece1f9fe |
line wrap: on
line source
#include "codec-cfg.h" #include "img_format.h" #include "stream/stream.h" #include "libmpdemux/demuxer.h" #include "libmpdemux/stheader.h" #include "vd.h" extern int divx_quality; // prototypes: //static vd_info_t info; static int control(sh_video_t *sh,int cmd,void* arg,...); static int init(sh_video_t *sh); static void uninit(sh_video_t *sh); static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags); #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\ &info,\ init,\ uninit,\ control,\ decode\ };