search for: decpack

Displaying 1 result from an estimated 1 matches for "decpack".

Did you mean: recpack
2006 Mar 19
0
how to arrange the codeword tree into array form
...;1; if(chase>=top){ top++; r[chase*2]=top; r[chase*2+1]=0; }else if(!r[chase*2+bit]) r[chase*2+bit]=top; chase=r[chase*2+bit]; } { int bit=(entry>>(length-j-1))&1; if(chase>=top){ top++; r[chase*2+1]=0; } r[chase*2+bit]= decpack(i,count++,quantvals,b,opb,maptype) | 0x80000000; } /* Look to see if the next shorter marker points to the node above. if so, update it and repeat. */ for(j=length;j>0;j--){ if(marker[j]&1){ marker[j]=marker[j-1]<<1; break; } marker[j]++; }...