uni_DCtab_lum[level+256][0]= uni_code; uni_DCtab_lum[level+256][1]= uni_len;
uni_DCtab_lum_bits[level+256]= uni_code; uni_DCtab_lum_len [level+256]= uni_len;
static void init_uni_dc_tab(void){    int level, uni_code, uni_len;    for(level=-256; level<256; level++){        int size, v, l;        /* find number of bits */        size = 0;        v = abs(level);        while (v) {            v >>= 1;	    size++;        }        if (level < 0)            l= (-level) ^ ((1 << size) - 1);        else            l= level;        /* luminance */        uni_code= DCtab_lum[size][0];        uni_len = DCtab_lum[size][1];        if (size > 0) {            uni_code<<=size; uni_code|=l;            uni_len+=size;            if (size > 8){                uni_code<<=1; uni_code|=1;                uni_len++;            }        }        uni_DCtab_lum[level+256][0]= uni_code;        uni_DCtab_lum[level+256][1]= uni_len;        /* chrominance */        uni_code= DCtab_chrom[size][0];        uni_len = DCtab_chrom[size][1];                if (size > 0) {            uni_code<<=size; uni_code|=l;            uni_len+=size;            if (size > 8){                uni_code<<=1; uni_code|=1;                uni_len++;            }        }        uni_DCtab_chrom[level+256][0]= uni_code;        uni_DCtab_chrom[level+256][1]= uni_len;    }}