Home
last modified time | relevance | path

Searched refs:bits_to_go (Results 1 – 25 of 27) sorted by relevance

12

/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/scat/
H A Dbitinput.c29 static int bits_to_go; /* Number of bits still in buffer */ variable
34 bits_to_go = 0; in start_inputing_bits()
42 if(bits_to_go < 6) { in input_huffman()
49 bits_to_go += 8; in input_huffman()
51 c = (buffer >> (bits_to_go-6)) & 0x3f; in input_huffman()
52 bits_to_go -= huflens[c]; in input_huffman()
61 if(bits_to_go < 4) { in input_nybble()
68 bits_to_go += 8; in input_nybble()
74 bits_to_go -= 4; in input_nybble()
75 return (buffer>>bits_to_go) & 0x0f; in input_nybble()
/dports/multimedia/jmref/JM/lencod/src/
H A Dsei.c319 dest->bits_to_go--; in AppendTmpbits2Buf()
829 dest->bits_to_go--; in FinalizeSpareMBMap()
830 if ( dest->bits_to_go != 0 ) (dest->byte_buf) <<= (dest->bits_to_go); in FinalizeSpareMBMap()
943 dest->bits_to_go--; in FinalizeSubseqInfo()
944 if ( dest->bits_to_go != 0 ) (dest->byte_buf) <<= (dest->bits_to_go); in FinalizeSubseqInfo()
1149 dest->bits_to_go--; in FinalizeSubseqChar()
1150 if ( dest->bits_to_go != 0 ) (dest->byte_buf) <<= (dest->bits_to_go); in FinalizeSubseqChar()
1234 dest->bits_to_go--; in FinalizeSceneInformation()
1235 if ( dest->bits_to_go != 0 ) (dest->byte_buf) <<= (dest->bits_to_go); in FinalizeSceneInformation()
1450 if ( dest->bits_to_go != 0 ) (dest->byte_buf) <<= (dest->bits_to_go); in FinalizeUser_data_unregistered()
[all …]
H A Dvlc.c605 int *bits_to_go = &currStream->bits_to_go; in writeUVLC2buffer() local
621 if ((--(*bits_to_go)) == 0) in writeUVLC2buffer()
623 *bits_to_go = 8; in writeUVLC2buffer()
636 if ((--(*bits_to_go)) == 0) in writeUVLC2buffer()
638 *bits_to_go = 8; in writeUVLC2buffer()
654 if ((--(*bits_to_go)) == 0) in writeUVLC2buffer()
656 *bits_to_go = 8; in writeUVLC2buffer()
1440 if (currStream->bits_to_go < 8) in writeVlcByteAlign()
1442 …buf = (byte) ((currStream->byte_buf << currStream->bits_to_go) | (0xff >> (8 - currStream->bits_to… in writeVlcByteAlign()
1445 currStream->bits_to_go = 8; in writeVlcByteAlign()
[all …]
H A Dnal.c44 currStream->bits_to_go--; in SODBtoRBSP()
45 currStream->byte_buf <<= currStream->bits_to_go; in SODBtoRBSP()
47 currStream->bits_to_go = 8; in SODBtoRBSP()
H A Dmacroblock.c390 currStream->stored_bits_to_go = currStream->bits_to_go; in start_macroblock()
583 currStream->bits_to_go_skip = currStream->bits_to_go; in end_macroblock()
587 currStream->bits_to_go = currStream->stored_bits_to_go; in end_macroblock()
652 currStream->bits_to_go = currStream->stored_bits_to_go; in end_macroblock()
698 currStream->bits_to_go = currStream->bits_to_go_skip; in end_macroblock()
764 if (currStream->bits_to_go < 8) in slice_too_big()
766 if (currStream->bits_to_go < rlc_bits) in slice_too_big()
1941 if (currStream->bits_to_go < 8) in writeIPCMByteAlign()
1945 se->len = currStream->bits_to_go; in writeIPCMByteAlign()
2129 currStream->stored_bits_to_go = currStream->bits_to_go; in write_b_slice_MB_layer()
[all …]
H A Dparset.c665 bitstream->bits_to_go = 8; in GenerateSeq_parameter_set_rbsp()
891 bitstream->bits_to_go = 8; in GeneratePic_parameter_set_rbsp()
1181 bitstream->bits_to_go = 8; in GenerateSEImessage_rbsp()
/dports/math/PDL/PDL-2.019/Lib/Compression/
H A Dricecomp.c68 int bits_to_go; /* bits to go in buffer */ member
168 buffer->bits_to_go = 8; in rcomp()
292 lbits_to_go = buffer->bits_to_go; in rcomp()
336 buffer->bits_to_go = lbits_to_go; in rcomp()
364 buffer->bits_to_go = 8; in start_outputing_bits()
388 lbits_to_go = buffer->bits_to_go; in output_nbits()
420 buffer->bits_to_go = lbits_to_go; in output_nbits()
422 if(buffer->bits_to_go < 8 && buffer->current >= buffer->end -2) in output_nbits()
432 if(buffer->bits_to_go < 8) { in done_outputing_bits()
433 putcbuf(buffer->bitbuffer<<buffer->bits_to_go,buffer); in done_outputing_bits()
/dports/net/chrony/chrony-4.2/
H A Daddrfilt.c154 int bits_to_go, bits_consumed; in set_subnet() local
159 bits_to_go = subnet_bits; in set_subnet()
169 if ((bits_to_go & (NBITS-1)) == 0) { in set_subnet()
171 while (bits_to_go > 0) { in set_subnet()
177 bits_to_go -= NBITS; in set_subnet()
190 while (bits_to_go >= NBITS) { in set_subnet()
196 bits_to_go -= NBITS; in set_subnet()
201 N = 1 << (NBITS-bits_to_go); in set_subnet()
/dports/net/chrony-lite/chrony-4.2/
H A Daddrfilt.c154 int bits_to_go, bits_consumed; in set_subnet() local
159 bits_to_go = subnet_bits; in set_subnet()
169 if ((bits_to_go & (NBITS-1)) == 0) { in set_subnet()
171 while (bits_to_go > 0) { in set_subnet()
177 bits_to_go -= NBITS; in set_subnet()
190 while (bits_to_go >= NBITS) { in set_subnet()
196 bits_to_go -= NBITS; in set_subnet()
201 N = 1 << (NBITS-bits_to_go); in set_subnet()
/dports/astro/cfitsio/cfitsio-3.49/
H A Dricecomp.c156 buffer->bits_to_go = 8; in fits_rcomp()
254 lbits_to_go = buffer->bits_to_go; in fits_rcomp()
299 buffer->bits_to_go = lbits_to_go; in fits_rcomp()
384 buffer->bits_to_go = 8; in fits_rcomp_short()
485 lbits_to_go = buffer->bits_to_go; in fits_rcomp_short()
528 buffer->bits_to_go = lbits_to_go; in fits_rcomp_short()
612 buffer->bits_to_go = 8; in fits_rcomp_byte()
780 buffer->bits_to_go = 8; in start_outputing_bits()
803 lbits_to_go = buffer->bits_to_go; in output_nbits()
828 buffer->bits_to_go = lbits_to_go; in output_nbits()
[all …]
H A Dfits_hcompress.c640 bits_to_go = 8; in encode()
648 bits_to_go -= 1; in encode()
655 bits_to_go -= 1; in encode()
661 if (bits_to_go == 0) { in encode()
665 bits_to_go = 8; in encode()
670 if (bits_to_go != 8) { in encode()
801 bits_to_go = 8; in encode64()
809 bits_to_go -= 1; in encode64()
816 bits_to_go -= 1; in encode64()
826 bits_to_go = 8; in encode64()
[all …]
H A Dfits_hdecompress.c2478 bits_to_go = 0; in start_inputing_bits()
2491 bits_to_go = 8; in input_bit()
2496 bits_to_go -= 1; in input_bit()
2508 if (bits_to_go < n) { in input_nbits()
2515 bits_to_go += 8; in input_nbits()
2520 bits_to_go -= n; in input_nbits()
2531 if (bits_to_go < 4) { in input_nybble()
2538 bits_to_go += 8; in input_nybble()
2543 bits_to_go -= 4; in input_nybble()
2570 bits_to_go = 0; in input_nnybble()
[all …]
/dports/astro/oskar/OSKAR-2.8.0/extern/cfitsio/
H A Dricecomp.c148 buffer->bits_to_go = 8; in fits_rcomp()
246 lbits_to_go = buffer->bits_to_go; in fits_rcomp()
291 buffer->bits_to_go = lbits_to_go; in fits_rcomp()
376 buffer->bits_to_go = 8; in fits_rcomp_short()
477 lbits_to_go = buffer->bits_to_go; in fits_rcomp_short()
520 buffer->bits_to_go = lbits_to_go; in fits_rcomp_short()
604 buffer->bits_to_go = 8; in fits_rcomp_byte()
772 buffer->bits_to_go = 8; in start_outputing_bits()
795 lbits_to_go = buffer->bits_to_go; in output_nbits()
820 buffer->bits_to_go = lbits_to_go; in output_nbits()
[all …]
H A Dfits_hcompress.c640 bits_to_go = 8; in encode()
648 bits_to_go -= 1; in encode()
655 bits_to_go -= 1; in encode()
661 if (bits_to_go == 0) { in encode()
665 bits_to_go = 8; in encode()
670 if (bits_to_go != 8) { in encode()
801 bits_to_go = 8; in encode64()
809 bits_to_go -= 1; in encode64()
816 bits_to_go -= 1; in encode64()
826 bits_to_go = 8; in encode64()
[all …]
H A Dfits_hdecompress.c2478 bits_to_go = 0; in start_inputing_bits()
2491 bits_to_go = 8; in input_bit()
2496 bits_to_go -= 1; in input_bit()
2508 if (bits_to_go < n) { in input_nbits()
2515 bits_to_go += 8; in input_nbits()
2520 bits_to_go -= n; in input_nbits()
2531 if (bits_to_go < 4) { in input_nybble()
2538 bits_to_go += 8; in input_nybble()
2543 bits_to_go -= 4; in input_nybble()
2570 bits_to_go = 0; in input_nnybble()
[all …]
/dports/science/healpix/Healpix_3.50/src/healpy/cfitsio/
H A Dricecomp.c148 buffer->bits_to_go = 8; in fits_rcomp()
246 lbits_to_go = buffer->bits_to_go; in fits_rcomp()
291 buffer->bits_to_go = lbits_to_go; in fits_rcomp()
376 buffer->bits_to_go = 8; in fits_rcomp_short()
477 lbits_to_go = buffer->bits_to_go; in fits_rcomp_short()
520 buffer->bits_to_go = lbits_to_go; in fits_rcomp_short()
604 buffer->bits_to_go = 8; in fits_rcomp_byte()
772 buffer->bits_to_go = 8; in start_outputing_bits()
795 lbits_to_go = buffer->bits_to_go; in output_nbits()
820 buffer->bits_to_go = lbits_to_go; in output_nbits()
[all …]
H A Dfits_hcompress.c639 bits_to_go = 8; in encode()
647 bits_to_go -= 1; in encode()
654 bits_to_go -= 1; in encode()
660 if (bits_to_go == 0) { in encode()
664 bits_to_go = 8; in encode()
669 if (bits_to_go != 8) { in encode()
800 bits_to_go = 8; in encode64()
808 bits_to_go -= 1; in encode64()
815 bits_to_go -= 1; in encode64()
825 bits_to_go = 8; in encode64()
[all …]
H A Dfits_hdecompress.c2482 bits_to_go = 0; in start_inputing_bits()
2495 bits_to_go = 8; in input_bit()
2500 bits_to_go -= 1; in input_bit()
2512 if (bits_to_go < n) { in input_nbits()
2519 bits_to_go += 8; in input_nbits()
2524 bits_to_go -= n; in input_nbits()
2535 if (bits_to_go < 4) { in input_nybble()
2542 bits_to_go += 8; in input_nybble()
2547 bits_to_go -= 4; in input_nybble()
2574 bits_to_go = 0; in input_nnybble()
[all …]
/dports/astro/py-astropy/astropy-5.0/cextern/cfitsio/lib/
H A Dricecomp.c156 buffer->bits_to_go = 8; in fits_rcomp()
254 lbits_to_go = buffer->bits_to_go; in fits_rcomp()
299 buffer->bits_to_go = lbits_to_go; in fits_rcomp()
384 buffer->bits_to_go = 8; in fits_rcomp_short()
485 lbits_to_go = buffer->bits_to_go; in fits_rcomp_short()
528 buffer->bits_to_go = lbits_to_go; in fits_rcomp_short()
612 buffer->bits_to_go = 8; in fits_rcomp_byte()
780 buffer->bits_to_go = 8; in start_outputing_bits()
803 lbits_to_go = buffer->bits_to_go; in output_nbits()
828 buffer->bits_to_go = lbits_to_go; in output_nbits()
[all …]
H A Dfits_hcompress.c640 bits_to_go = 8; in encode()
648 bits_to_go -= 1; in encode()
655 bits_to_go -= 1; in encode()
661 if (bits_to_go == 0) { in encode()
665 bits_to_go = 8; in encode()
670 if (bits_to_go != 8) { in encode()
801 bits_to_go = 8; in encode64()
809 bits_to_go -= 1; in encode64()
816 bits_to_go -= 1; in encode64()
826 bits_to_go = 8; in encode64()
[all …]
H A Dfits_hdecompress.c2478 bits_to_go = 0; in start_inputing_bits()
2491 bits_to_go = 8; in input_bit()
2496 bits_to_go -= 1; in input_bit()
2508 if (bits_to_go < n) { in input_nbits()
2515 bits_to_go += 8; in input_nbits()
2520 bits_to_go -= n; in input_nbits()
2531 if (bits_to_go < 4) { in input_nybble()
2538 bits_to_go += 8; in input_nybble()
2543 bits_to_go -= 4; in input_nybble()
2570 bits_to_go = 0; in input_nnybble()
[all …]
/dports/emulators/mess/mame-mame0226/src/lib/formats/
H A Dtzx_cas.cpp267 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_cas_handle_block() local
269 for ( ; bits_to_go > 0; byte <<= 1, bits_to_go--) in tzx_cas_handle_block()
303 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_handle_direct() local
305 for ( ; bits_to_go > 0; byte <<= 1, bits_to_go--) in tzx_handle_direct()
/dports/emulators/mame/mame-mame0226/src/lib/formats/
H A Dtzx_cas.cpp267 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_cas_handle_block() local
269 for ( ; bits_to_go > 0; byte <<= 1, bits_to_go--) in tzx_cas_handle_block()
303 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_handle_direct() local
305 for ( ; bits_to_go > 0; byte <<= 1, bits_to_go--) in tzx_handle_direct()
/dports/devel/p5-Data-Integer/Data-Integer-0.006/lib/Data/
H A DInteger.pm1341 my $bits_to_go = (length($digits)-pos($digits)) << 2;
1343 if $bits_to_go >= natint_bits ||
1344 ($bits_to_go + 4 > natint_bits &&
1345 (max_uint >> $bits_to_go) < $value);
/dports/security/opensc/OpenSC-0.22.0/src/libopensc/
H A Dasn1.c609 int bits_to_go; in decode_bit_string() local
613 bits_to_go = 8 - zero_bits; in decode_bit_string()
619 bits_to_go = 8; in decode_bit_string()
621 for (i = 0; i < bits_to_go; i++) { in decode_bit_string()
662 int i, bits_to_go = 8; in encode_bit_string() local
666 bits_to_go = bits_left; in encode_bit_string()
670 for (i = 0; i < bits_to_go; i++) in encode_bit_string()
677 bits_left -= bits_to_go; in encode_bit_string()

12