comparison postproc/yuv2rgb.c @ 6140:44dcc49a0d80

64bit incompatibility bug, patch by Artur Grabowski <art@blahonga.org>
author arpi
date Mon, 20 May 2002 04:00:25 +0000
parents 4b18bf35f153
children ed906af317da
comparison
equal deleted inserted replaced
6139:3898967fcc96 6140:44dcc49a0d80
405 int i; 405 int i;
406 uint8_t table_Y[1024]; 406 uint8_t table_Y[1024];
407 uint32_t *table_32 = 0; 407 uint32_t *table_32 = 0;
408 uint16_t *table_16 = 0; 408 uint16_t *table_16 = 0;
409 uint8_t *table_8 = 0; 409 uint8_t *table_8 = 0;
410 uint32_t entry_size = 0; 410 int entry_size = 0;
411 void *table_r = 0, *table_g = 0, *table_b = 0; 411 void *table_r = 0, *table_g = 0, *table_b = 0;
412 412
413 int crv = Inverse_Table_6_9[matrix_coefficients][0]; 413 int crv = Inverse_Table_6_9[matrix_coefficients][0];
414 int cbu = Inverse_Table_6_9[matrix_coefficients][1]; 414 int cbu = Inverse_Table_6_9[matrix_coefficients][1];
415 int cgu = -Inverse_Table_6_9[matrix_coefficients][2]; 415 int cgu = -Inverse_Table_6_9[matrix_coefficients][2];