comparison libswscale/yuv2rgb_altivec.c @ 28953:1e56ea9937ce

Consistently use ff_ prefixes for internal symbols.
author diego
date Wed, 18 Mar 2009 08:06:08 +0000
parents d6b317bddd62
children
comparison
equal deleted inserted replaced
28952:4c44f716c9da 28953:1e56ea9937ce
688 inputs of widths a multiple of 16 688 inputs of widths a multiple of 16
689 and heights a multiple 2 689 and heights a multiple 2
690 690
691 So we just fall back to the C codes for this. 691 So we just fall back to the C codes for this.
692 */ 692 */
693 SwsFunc sws_yuv2rgb_init_altivec (SwsContext *c) 693 SwsFunc ff_yuv2rgb_init_altivec(SwsContext *c)
694 { 694 {
695 if (!(c->flags & SWS_CPU_CAPS_ALTIVEC)) 695 if (!(c->flags & SWS_CPU_CAPS_ALTIVEC))
696 return NULL; 696 return NULL;
697 697
698 /* 698 /*
748 748
749 } 749 }
750 return NULL; 750 return NULL;
751 } 751 }
752 752
753 void sws_yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4],int brightness,int contrast, int saturation) 753 void ff_yuv2rgb_init_tables_altivec(SwsContext *c, const int inv_table[4], int brightness, int contrast, int saturation)
754 { 754 {
755 union { 755 union {
756 signed short tmp[8] __attribute__ ((aligned(16))); 756 signed short tmp[8] __attribute__ ((aligned(16)));
757 vector signed short vec; 757 vector signed short vec;
758 } buf; 758 } buf;
784 return; 784 return;
785 } 785 }
786 786
787 787
788 void 788 void
789 altivec_yuv2packedX (SwsContext *c, 789 ff_yuv2packedX_altivec(SwsContext *c,
790 int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, 790 int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize,
791 int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, 791 int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
792 uint8_t *dest, int dstW, int dstY) 792 uint8_t *dest, int dstW, int dstY)
793 { 793 {
794 int i,j; 794 int i,j;