Lines Matching defs:bits
88 int Al, JCOEF *absvalues, size_t *bits);
99 int put_bits; /* # of bits now in it */
108 unsigned int BE; /* # of buffered correction bits before MCU */
109 char *bit_buffer; /* buffer for correction bits (1 per char) */
110 /* packing correction bits tightly would save some space but cost time... */
127 /* MAX_CORR_BITS is the number of bits the AC refinement correction-bit
130 * The minimum safe size is 64 bits.
133 #define MAX_CORR_BITS 1000 /* Max # of correction bits I can buffer */
165 JCOEF *absvalues, size_t *bits);
326 /* Outputting bits to the file */
328 /* Only the right 24 bits of put_buffer are used; the valid bits are
329 * left-justified in this part. At most 16 bits can be passed to emit_bits
330 * in one call, and we never retain more than 7 bits in put_buffer
331 * between calls, so 24 bits are sufficient.
336 /* Emit some bits, unless we are in gather mode */
349 put_buffer &= (((size_t)1) << size) - 1; /* mask off any extra bits in code */
351 put_bits += size; /* new number of bits in buffer */
353 put_buffer <<= 24 - put_bits; /* align incoming bits */
399 * Emit bits from a correction bit buffer.
439 /* Emit any buffered correction bits */
528 /* Find the number of bits needed for the magnitude of the coefficient */
536 /* Count/emit the Huffman-coded symbol for the number of bits */
539 /* Emit that number of bits of the value, if positive, */
574 * interwoven with finding the abs value (temp) and output bits (temp2). \
594 int Al, JCOEF *values, size_t *bits)
607 bits[0] = zerobits;
618 bits[1] = zerobits;
641 /* Find the number of bits needed for the magnitude of the coefficient */ \
647 /* Count/emit Huffman symbol for run length / number of bits */ \
650 /* Emit that number of bits of the value, if positive, */ \
671 size_t bits[8 / SIZEOF_SIZE_T];
690 Sl, Al, values, bits);
692 zerobits = bits[0];
694 zerobits |= bits[1];
702 zerobits = bits[0];
710 zerobits = bits[1];
825 int Al, JCOEF *absvalues, size_t *bits)
839 bits[0] = zerobits;
841 bits[1] = signbits;
843 bits[2] = signbits;
856 bits[1] = zerobits;
857 bits[3] = signbits;
877 /* emit any pending EOBRUN and the BE correction bits */ \
882 /* Emit buffered correction bits that must be associated with ZRL */ \
884 BR_buffer = entropy->bit_buffer; /* BE bits are gone now */ \
903 /* Emit any pending EOBRUN and the BE correction bits */ \
906 /* Count/emit Huffman symbol for run length / number of bits */ \
913 /* Emit buffered correction bits that must be associated with this code */ \
915 BR_buffer = entropy->bit_buffer; /* BE bits are gone now */ \
936 size_t bits[16 / SIZEOF_SIZE_T];
956 Sl, Al, absvalues, bits);
961 BR = 0; /* BR = count of buffered bits added now */
962 BR_buffer = entropy->bit_buffer + entropy->BE; /* Append bits to buffer */
964 zerobits = bits[0];
966 signbits = bits[1];
968 signbits = bits[2];
973 zerobits = bits[1];
974 signbits = bits[3];
993 entropy->BE += BR; /* concat my correction bits to older ones */