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:
parent
e99d09aa9c
commit
c345eb0706
|
@ -240,10 +240,10 @@ void LocalCamera::Initialise()
|
||||||
g_v_table = new short[255];
|
g_v_table = new short[255];
|
||||||
g_u_table = new short[255];
|
g_u_table = new short[255];
|
||||||
b_u_table = new short[255];
|
b_u_table = new short[255];
|
||||||
r_v_table += 128;
|
r_v_table += 127;
|
||||||
g_v_table += 128;
|
g_v_table += 127;
|
||||||
g_u_table += 128;
|
g_u_table += 127;
|
||||||
b_u_table += 128;
|
b_u_table += 127;
|
||||||
for ( int i = -127; i <= 127; i++ )
|
for ( int i = -127; i <= 127; i++ )
|
||||||
{
|
{
|
||||||
signed char c = i;
|
signed char c = i;
|
||||||
|
|
Loading…
Reference in New Issue