[Gdal-dev] FW: q tables

dburken at comcast.net dburken at comcast.net
Thu May 10 11:26:19 EDT 2007


Hi Frank,

I say your update.  

The size is correct now (64) but your array itself does not contain 64 cells.

Dave

> 
> const static int Q1table[256] = 
> {
>     8,    72,     72,     72,    72,    72,    72,    72,    72,    72,
>     78,    74,     76,    74,    78,    89,    81,    84,    84,    81,
>     89,    106,    93,    94,    99,    94,    93,    106,    129,    111,
>     108,    116,    116,    108,    111,    129,    135,    128,    136,    
>     145,    136,    128,    135,    155,    160,    177,    177,    160,
>     155,    193,    213,    228,    213,    193,    255,    255,    255,    
>     255
> };
> 
> 
> const static int Q1table[64] = 
> {
>    8,    72,  72,  72,  72,  72,  72,  72, // 0 - 7
>    72,   72,  78,  74,  76,  74,  78,  89, // 8 - 15
>    81,   84,  84,  81,  89, 106,  93,  94, // 16 - 23
>    99,   94,  93, 106, 129, 111, 108, 116, // 24 - 31
>    116, 108, 111, 129, 135, 128, 136, 145, // 32 - 39
>    136, 128, 135, 155, 160, 177, 177, 160, // 40 - 47
>    155, 193, 213, 228, 213, 193, 255, 255, // 48 - 55
>    255, 255, 255, 255, 255, 255, 255, 255  // 56 - 63
> };




More information about the Gdal-dev mailing list