From 55930e3b5e757f4f4d5cf0b6dc564970ff05c99d Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Thu, 30 Oct 2003 06:04:31 +0000 Subject: brighten up the converted RGB video CVS patchset: 5642 CVS date: 2003/10/30 06:04:31 --- src/xine-utils/xineutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 91ae9655b..13cc7265f 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.59 2003/08/25 14:32:37 mroi Exp $ + * $Id: xineutils.h,v 1.60 2003/10/30 06:04:31 tmmm Exp $ * */ #ifndef XINEUTILS_H @@ -785,7 +785,7 @@ extern void (*yuy2_to_yv12) #define COMPUTE_Y(r, g, b) \ (unsigned char) \ - ((y_r_table[r] + y_g_table[g] + y_b_table[b]) / SCALEFACTOR) + (((y_r_table[r] + y_g_table[g] + y_b_table[b]) / SCALEFACTOR) + 16) #define COMPUTE_U(r, g, b) \ (unsigned char) \ ((u_r_table[r] + u_g_table[g] + u_b_table[b]) / SCALEFACTOR + CENTERSAMPLE) -- cgit v1.2.3