Lines Matching refs:word

20 /*  Change the bitstream parsing algorithm. Use temporary word of 2 or 4 bytes  */
69 stream->word = 0;
126 stream->word <<= Length;
127 stream->word |= Value; /* assuming Value is not larger than Length */
134 stream->word <<= stream->bitLeft;
136 stream->word |= ((UInt)Value >> Length);
146 stream->word = Value;
200 /* Purpose : save written word into the bitstream buffer. */
210 UInt word;
223 word = stream->word;
224 stream->word = 0; /* important to reset to zero */
228 *ptr++ = word >> 24;
229 *ptr++ = 0xFF & (word >> 16);
232 *ptr++ = 0xFF & (word >> 8);
233 *ptr = 0xFF & word;
250 /* Purpose : save unfinished written word into the bitstream buffer. */
260 UInt word, shift;
277 word = stream->word;
278 word <<= bitleft; /* word is not all consumed */
296 *ptr++ = (UChar)((word >> shift) & 0xFF);
297 word <<= 8;
303 // *ptr = (UChar)((word>>shift)&0xFF); /* need to do it for the last fractional byte */
307 stream->word = word >> bitleft;
309 /* note we don't update byteCount, bitLeft and word */
464 byteBS1 = ((UChar) bitstream1->word) << bitleft; /* fraction byte from bs1 */
475 bitstream1->word = byteBS1 >> bitleft; /* bitstream->bitLeft remains the same */
477 /* now save bs2->word in bs1 */
478 status = BitstreamPutBits(bitstream1, (WORD_SIZE << 3) - bitstream2->bitLeft, bitstream2->word);
516 bitstream1->word = bitstream2->word; /* bitstream1->bitLeft is the same */
554 bitstream1->word = 0;
564 /* bitstream2->word and bitstream->bitLeft are unchanged.
584 UInt word;
594 word = *ptr++;
596 word = byte | (word << 8);
599 word = byte | (word << 8);
601 word = byte | (word << 8);
603 bitstream->word = word >> (bitstream->bitLeft);
607 bitstream->word = 0;
665 bitstream1->word = (*ptrSrc) >> (8 - new_bit);
716 byte = (bitstream2->word) << leftover;
738 bitstream2->byteCount = bitstream2->word = 0;
745 bitstream1->word = (UInt)((pSrc[0]) >> leftover);
769 stream->word = 0;