Lines Matching defs:bit
73 // This is the maximum length of a single long bit run that can be encoded
75 // bit instead of flipping the current bit to allow for runs longer than 4129.
477 int bit = 0;
491 bit = get_bits1(gb) ^ 1;
496 bit = get_bits1(gb);
498 bit ^= 1;
511 memset(s->superblock_coding + current_superblock, bit, current_run);
514 if (bit)
524 bit = get_bits1(gb) ^ 1;
530 bit = get_bits1(gb);
532 bit ^= 1;
548 s->superblock_coding[current_superblock] = 2 * bit;
560 bit = get_bits1(gb);
561 /* toggle the bit because as soon as the first run length is
562 * fetched the bit will be toggled again */
563 bit ^= 1;
613 bit ^= 1;
616 coded = bit;
702 int bit, current_run, has_partial;
710 bit = get_bits1(gb);
717 memset(s->superblock_coding + i, 2 * bit, current_run);
718 bit ^= 1;
719 has_partial |= bit;
725 bit = get_bits1(gb);
730 bit ^= 1;
733 s->superblock_coding[i] = bit;
1106 int qpi, i, j, bit, run_length, blocks_decoded, num_blocks_at_qpi;
1112 bit = get_bits1(gb) ^ 1;
1117 bit = get_bits1(gb);
1119 bit ^= 1;
1127 if (!bit)
1135 s->all_fragments[s->coded_fragment_list[0][i]].qpi += bit;