Lines Matching defs:BE
13 * If the data destination module demands suspension, we want to be able to
19 * the library currently does not allow multiple-scan files to be written
52 * but must not be updated permanently until we complete the MCU.
112 unsigned int BE; /* # of buffered correction bits before MCU */
140 * which should be safe.
215 * it must still fit in si bits, since no code is allowed to be all ones.
250 * NB: these must be called only when actually outputting,
300 * left-justified in this part. At most 16 bits can be passed to emit_bits
479 emit_buffered_bits(entropy, entropy->bit_buffer, entropy->BE);
480 entropy->BE = 0;
530 entropy->BE = 0;
692 nbits = 1; /* there must be at least one 1 bit */
734 * Note: we assume such scans can be multi-component, although the spec
836 BR_buffer = entropy->bit_buffer + entropy->BE; /* Append bits to buffer */
844 /* Emit any required ZRLs, but not if they can be folded into EOB */
846 /* emit any pending EOBRUN and the BE correction bits */
851 /* Emit buffered correction bits that must be associated with ZRL */
853 BR_buffer = entropy->bit_buffer; /* BE bits are gone now */
868 /* Emit any pending EOBRUN and the BE correction bits */
878 /* Emit buffered correction bits that must be associated with this code */
880 BR_buffer = entropy->bit_buffer; /* BE bits are gone now */
887 entropy->BE += BR; /* concat my correction bits to older ones */
892 if (entropy->EOBRUN == 0x7FFF || entropy->BE > (MAX_CORR_BITS-DCTSIZE2+1))
981 nbits = 1; /* there must be at least one 1 bit */
1111 * that is to be Huffman-coded. (This process MUST agree with the code above.)
1171 nbits = 1; /* there must be at least one 1 bit */
1231 * The JPEG standard requires that no symbol be assigned a codeword of all
1234 * codewords, this just means that there must be an unused slot in the
1243 * The JPEG standard requires Huffman codes to be no more than 16 bits long.
1245 * must be adjusted to meet the code length restriction. We currently use
1248 * typically only very-low-frequency symbols will be given less-than-optimal
1276 * will be placed last in the largest codeword category.
1354 j = i - 2; /* find length of new prefix to be used */
1387 /* Set sent_table FALSE so updated table will be written to JPEG file. */
1490 entropy->BE = 0;