Bug 207 - Fixed incorrect offsets in YUV conversion tables.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1607 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-11-21 12:07:26 +00:00
parent e99d09aa9c
commit c345eb0706
1 changed files with 4 additions and 4 deletions

View File

@ -240,10 +240,10 @@ void LocalCamera::Initialise()
g_v_table = new short[255];
g_u_table = new short[255];
b_u_table = new short[255];
r_v_table += 128;
g_v_table += 128;
g_u_table += 128;
b_u_table += 128;
r_v_table += 127;
g_v_table += 127;
g_u_table += 127;
b_u_table += 127;
for ( int i = -127; i <= 127; i++ )
{
signed char c = i;