Mercurial > mplayer.hg
comparison postproc/swscale.c @ 13564:992960f68af0
postproc/yuv2rgb_altivec.c compile fix
yuv2rgb_altivec_init_tables does initialize the SwsContext vectors.
missing vec_splat.
patch by (Luca Barbato <lu_zero at gentoo dot org>) and (Romain Dolbeau <dolbeau at irisa dot fr>)
author | michael |
---|---|
date | Tue, 05 Oct 2004 19:11:00 +0000 |
parents | 6bd869a18d2c |
children | 821f464b4d90 |
comparison
equal
deleted
inserted
replaced
13563:9b55ea3879ef | 13564:992960f68af0 |
---|---|
1722 | 1722 |
1723 yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, contrast, saturation); | 1723 yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, contrast, saturation); |
1724 //FIXME factorize | 1724 //FIXME factorize |
1725 | 1725 |
1726 #ifdef HAVE_ALTIVEC | 1726 #ifdef HAVE_ALTIVEC |
1727 yuv2rgb_altivec_init_tables (c, inv_table); | 1727 yuv2rgb_altivec_init_tables (c, inv_table, brightness, contrast, saturation); |
1728 #endif | 1728 #endif |
1729 return 0; | 1729 return 0; |
1730 } | 1730 } |
1731 | 1731 |
1732 /** | 1732 /** |