@@ -50,7 +50,7 @@ static const uint8_t vtable[14] =
5050 2 ,7 }; /* V(3) = 0000010 */
5151
5252
53- static void G5ENCInsertCode (BUFFERED_BITS *bb, BIGUINT ulCode, int iLen)
53+ static void G5ENCInsertCode (G5_BUFFERED_BITS *bb, BIGUINT ulCode, int iLen)
5454{
5555 if ((bb->ulBitOff + iLen) > REGISTER_WIDTH) { // need to write data
5656 bb->ulBits |= (ulCode >> (bb->ulBitOff + iLen - REGISTER_WIDTH)); // partial bits on first word
@@ -66,7 +66,7 @@ static void G5ENCInsertCode(BUFFERED_BITS *bb, BIGUINT ulCode, int iLen)
6666//
6767// Flush any buffered bits to the output
6868//
69- static void G5ENCFlushBits (BUFFERED_BITS *bb)
69+ static void G5ENCFlushBits (G5_BUFFERED_BITS *bb)
7070{
7171 while (bb->ulBitOff >= 8 )
7272 {
@@ -204,13 +204,13 @@ int xsize, iErr, iHighWater;
204204int iCur, iRef, iLen;
205205int iHLen; // number of bits for long horizontal codes
206206int16_t *CurFlips, *RefFlips;
207- BUFFERED_BITS bb;
207+ G5_BUFFERED_BITS bb;
208208
209209 if (pImage == NULL || pPixels == NULL )
210210 return G5_INVALID_PARAMETER;
211211 iHighWater = pImage->iOutSize - 32 ;
212212 iHLen = 32 - __builtin_clz (pImage->iWidth );
213- memcpy (&bb, &pImage->bb , sizeof (BUFFERED_BITS )); // keep local copy
213+ memcpy (&bb, &pImage->bb , sizeof (G5_BUFFERED_BITS )); // keep local copy
214214 CurFlips = pImage->pCur ;
215215 RefFlips = pImage->pRef ;
216216 xsize = pImage->iWidth ; /* For performance reasons */
0 commit comments