From ce1a5330592cdcdaf2f0a2a66ca23cd3bb806907 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 9 Feb 2009 11:19:19 +0000 Subject: Remove file name from file headers. It provides no useful information and breaks on renames. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28494 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/yuv2rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/yuv2rgb.c') diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 5aaa5728ea..5c518af26b 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -1,5 +1,5 @@ /* - * yuv2rgb.c, Software YUV to RGB converter + * software YUV to RGB converter * * Copyright (C) 1999, Aaron Holtzman * -- cgit v1.2.3 From c5bf12666b9e8ab885cfac6735732d4aee5e6d26 Mon Sep 17 00:00:00 2001 From: kostya Date: Mon, 9 Feb 2009 14:17:30 +0000 Subject: Give better name to Inverse_Table_6_9 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28495 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/yuv2rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/yuv2rgb.c') diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 5c518af26b..507f0b55bb 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -70,7 +70,7 @@ DECLARE_ASM_CONST(8, uint64_t, mmx_grnmask) = 0xfcfcfcfcfcfcfcfcULL; #endif /* HAVE_MMX */ -const int32_t Inverse_Table_6_9[8][4] = { +const int32_t ff_yuv2rgb_coeffs[8][4] = { {117504, 138453, 13954, 34903}, /* no sequence_display_extension */ {117504, 138453, 13954, 34903}, /* ITU-R Rec. 709 (1990) */ {104597, 132201, 25675, 53279}, /* unspecified */ -- cgit v1.2.3 From ab3f56987f7f26e5a8fcb81c0236e4c514110ba9 Mon Sep 17 00:00:00 2001 From: kostya Date: Mon, 9 Feb 2009 14:31:53 +0000 Subject: Prefix visible YUV2RGB functions with sws_ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28496 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/yuv2rgb.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libswscale/yuv2rgb.c') diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 507f0b55bb..fe90a04f22 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -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 -- cgit v1.2.3