|
@@ -481,7 +481,7 @@ PROLOG(yuv2rgb_c_1_ordered_dither, uint8_t)
|
|
|
dst_2[0]= out_2;
|
|
|
EPILOG(1)
|
|
|
|
|
|
-SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
|
|
|
+SwsFunc sws_yuv2rgb_get_func_ptr (SwsContext *c)
|
|
|
{
|
|
|
#if HAVE_MMX2 || HAVE_MMX
|
|
|
if (c->flags & SWS_CPU_CAPS_MMX2){
|
|
@@ -503,20 +503,20 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
|
|
|
#endif
|
|
|
#if HAVE_VIS
|
|
|
{
|
|
|
- SwsFunc t= yuv2rgb_init_vis(c);
|
|
|
+ SwsFunc t= sws_yuv2rgb_init_vis(c);
|
|
|
if (t) return t;
|
|
|
}
|
|
|
#endif
|
|
|
#if CONFIG_MLIB
|
|
|
{
|
|
|
- SwsFunc t= yuv2rgb_init_mlib(c);
|
|
|
+ SwsFunc t= sws_yuv2rgb_init_mlib(c);
|
|
|
if (t) return t;
|
|
|
}
|
|
|
#endif
|
|
|
#if HAVE_ALTIVEC
|
|
|
if (c->flags & SWS_CPU_CAPS_ALTIVEC)
|
|
|
{
|
|
|
- SwsFunc t = yuv2rgb_init_altivec(c);
|
|
|
+ SwsFunc t = sws_yuv2rgb_init_altivec(c);
|
|
|
if (t) return t;
|
|
|
}
|
|
|
#endif
|
|
@@ -563,7 +563,7 @@ static int div_round (int dividend, int divisor)
|
|
|
return -((-dividend + (divisor>>1)) / divisor);
|
|
|
}
|
|
|
|
|
|
-int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation)
|
|
|
+int sws_yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation)
|
|
|
{
|
|
|
const int isRgb = c->dstFormat==PIX_FMT_RGB32
|
|
|
|| c->dstFormat==PIX_FMT_RGB32_1
|