Lines Matching defs:bits
78 static void AddFiller (BitBuffer * bits, int32_t numBytes) ;
136 1 byte shiftU (4 bits modeU, 4 bits denShiftU)
137 1 byte filterU (3 bits pbFactorU, 5 bits numU)
140 1 byte shiftV (4 bits modeV, 4 bits denShiftV)
141 1 byte filterV (3 bits pbFactorV, 5 bits numV)
150 The presence of certain flag bits changes the header format such that the parameters might
167 uncompressed size. However, by shifting the input values down and running the remaining bits through
193 bits for the given segment.
857 // - first, add bits for the header bytes mixRes/maxRes/shiftU/filterU
1268 static void AddFiller (BitBuffer * bits, int32_t numBytes)
1281 BitBufferWrite (bits, tag, 3) ;
1292 BitBufferWrite (bits, 15, 4) ;
1300 BitBufferWrite (bits, extensionSize, 8) ;
1303 BitBufferWrite (bits, numBytes, 4) ;
1305 BitBufferWrite (bits, 0x10, 8) ; // extension_type = FILL_DATA = b0001 or'ed with fill_nibble = b0000
1307 BitBufferWrite (bits, 0xa5, 8) ; // fill_byte = b10100101 = 0xa5
1314 BitBufferWrite (bits, 0, 4) ; // element instance tag
1315 BitBufferWrite (bits, 1, 1) ; // byte-align flag = true
1320 BitBufferWrite (bits, 255, 8) ;
1321 BitBufferWrite (bits, numBytes - 255, 8) ;
1324 BitBufferWrite (bits, numBytes, 8) ;
1326 BitBufferByteAlign (bits, true) ; // byte-align with zeros
1329 BitBufferWrite (bits, 0x5a, 8) ;