Home
last modified time | relevance | path

Searched refs:buf_byte_idx (Results 1 – 20 of 20) sorted by relevance

/dports/multimedia/mplex/mplex-1.1/
H A Dbitstrm.c235 bs->buf_byte_idx = size-1;
306 bs->buf_byte_idx=0;
359 for (i=bs->buf_byte_idx;i< bs->buf_byte_idx+N/8-1;i++) bs->buf[i] = 0;
360 bs->buf_byte_idx += N/8;
365 bs->buf_byte_idx ++;
384 bs->buf_byte_idx--;
385 if ((bs->buf_byte_idx < MINIMUM) || (bs->buf_byte_idx < bs->eob)) {
413 bs->buf_byte_idx--;
466 bs->buf_byte_idx--;
467 if ((bs->buf_byte_idx < MINIMUM) || (bs->buf_byte_idx < bs->eob)) {
[all …]
H A Dinptstrm.c67 bs1.buf_byte_idx = -1;
70 bs1.buf_byte_idx = bs1.buf_size-1;
74 bs2.buf_byte_idx = -1;
77 bs2.buf_byte_idx = bs2.buf_size-1;
H A Dbitstrm.h121 int buf_byte_idx; /* pointer to top byte in buffer */ member
/dports/audio/twolame/twolame-0.4.0/libtwolame/
H A Dbitbuffer_inline.h27 if (bs->buf_byte_idx < bs->buf_size) { in buffer_put1bit()
30 bs->buf[bs->buf_byte_idx] |= (bit & 0x1) << (bs->buf_bit_idx - 1); in buffer_put1bit()
34 bs->buf_byte_idx++; in buffer_put1bit()
35 if (bs->buf_byte_idx < bs->buf_size) { in buffer_put1bit()
36 bs->buf[bs->buf_byte_idx] = 0; in buffer_put1bit()
54 if (bs->buf_byte_idx < bs->buf_size) { in buffer_putbits()
58 bs->buf[bs->buf_byte_idx] |= (tmp & putmask[k]) << (bs->buf_bit_idx - k); in buffer_putbits()
63 bs->buf_byte_idx++; in buffer_putbits()
64 if (bs->buf_byte_idx < bs->buf_size) { in buffer_putbits()
65 bs->buf[bs->buf_byte_idx] = 0; in buffer_putbits()
H A Dbitbuffer.h33 int buf_byte_idx; /* pointer to top byte in buffer */ member
H A Dbitbuffer.c41 bs->buf_byte_idx = 0; in twolame_buffer_init()
/dports/audio/audacity/audacity-Audacity-3.1.3/lib-src/twolame/libtwolame/
H A Dbitbuffer_inline.h31 bs->buf[bs->buf_byte_idx] |= (bit & 0x1) << (bs->buf_bit_idx - 1); in buffer_put1bit()
35 bs->buf_byte_idx++; in buffer_put1bit()
36 if (bs->buf_byte_idx >= bs->buf_size) { in buffer_put1bit()
41 bs->buf[bs->buf_byte_idx] = 0; in buffer_put1bit()
56 bs->buf[bs->buf_byte_idx] |= (tmp & putmask[k]) << (bs->buf_bit_idx - k); in buffer_putbits()
60 bs->buf_byte_idx++; in buffer_putbits()
61 if (bs->buf_byte_idx >= bs->buf_size) { in buffer_putbits()
66 bs->buf[bs->buf_byte_idx] = 0; in buffer_putbits()
H A Ddab.c133 if (mybs->buf_byte_idx + lg_frame < mybs->buf_size)
134 mybs->buf[mybs->buf_byte_idx + lg_frame] = crc;
H A Dbitbuffer.h35 int buf_byte_idx; /* pointer to top byte in buffer */ member
H A Dbitbuffer.c42 bs->buf_byte_idx = 0; in buffer_init()
/dports/multimedia/mjpegtools/mjpegtools-2.1.0/aenc/
H A Dcommon.c495 bs->buf_byte_idx = size-1;
566 bs->buf_byte_idx=0;
620 for (i=bs->buf_byte_idx;i< bs->buf_byte_idx+N/8-1;i++) bs->buf[i] = 0;
621 bs->buf_byte_idx += N/8;
626 bs->buf_byte_idx ++;
645 bs->buf_byte_idx--;
646 if ((bs->buf_byte_idx < MINIMUM) || (bs->buf_byte_idx < bs->eob)) {
674 bs->buf_byte_idx--;
727 bs->buf_byte_idx--;
728 if ((bs->buf_byte_idx < MINIMUM) || (bs->buf_byte_idx < bs->eob)) {
[all …]
H A Dcommon.h163 int buf_byte_idx; /* pointer to top byte in buffer */ member
/dports/audio/mctoolame-encoder/mctoolame-01a/
H A Dcommon.c999 bs->buf_byte_idx = size - 1; in open_bit_stream_w()
1071 bs->buf_byte_idx = 0; in open_bit_stream_r()
1122 bs->buf_byte_idx--; in get1bit()
1123 if ((bs->buf_byte_idx < MINIMUM) || (bs->buf_byte_idx < bs->eob)) { in get1bit()
1164 bs->buf_byte_idx--; in put1bit()
1165 if (bs->buf_byte_idx < 0) in put1bit()
1167 bs->buf[bs->buf_byte_idx] = 0; in put1bit()
1188 bs->buf_byte_idx--; in getbits()
1189 if ((bs->buf_byte_idx < MINIMUM) || (bs->buf_byte_idx < bs->eob)) { in getbits()
1242 bs->buf_byte_idx--; in putbits()
[all …]
H A Dcommon.h305 int buf_byte_idx; /* pointer to top byte in buffer */ member
/dports/emulators/vice/vice-3.5/src/lib/liblame/libmp3lame/
H A Dbitstream.c144 bs->buf_byte_idx += cfg->sideinfo_len; in putheader_bits()
166 bs->buf_byte_idx++; in putbits2()
167 assert(bs->buf_byte_idx < BUFFER_SIZE); in putbits2()
172 bs->buf[bs->buf_byte_idx] = 0; in putbits2()
201 bs->buf_byte_idx++; in putbits_noheaders()
202 assert(bs->buf_byte_idx < BUFFER_SIZE); in putbits_noheaders()
203 bs->buf[bs->buf_byte_idx] = 0; in putbits_noheaders()
842 *total_bytes_output += gfc->bs.buf_byte_idx + 1; in compute_flushbits()
1061 int const minimum = bs->buf_byte_idx + 1; in do_copy_buffer()
1067 bs->buf_byte_idx = -1; in do_copy_buffer()
[all …]
H A Dutil.h144 int buf_byte_idx; /* pointer to top byte in buffer */ member
/dports/audio/lame/lame-3.100/libmp3lame/
H A Dbitstream.c142 bs->buf_byte_idx += cfg->sideinfo_len; in putheader_bits()
164 bs->buf_byte_idx++; in putbits2()
165 assert(bs->buf_byte_idx < BUFFER_SIZE); in putbits2()
170 bs->buf[bs->buf_byte_idx] = 0; in putbits2()
199 bs->buf_byte_idx++; in putbits_noheaders()
200 assert(bs->buf_byte_idx < BUFFER_SIZE); in putbits_noheaders()
201 bs->buf[bs->buf_byte_idx] = 0; in putbits_noheaders()
840 *total_bytes_output += gfc->bs.buf_byte_idx + 1; in compute_flushbits()
1059 int const minimum = bs->buf_byte_idx + 1; in do_copy_buffer()
1065 bs->buf_byte_idx = -1; in do_copy_buffer()
[all …]
H A Dutil.h140 int buf_byte_idx; /* pointer to top byte in buffer */ member
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/liblame/libmp3lame/
H A Dbitstream.c144 bs->buf_byte_idx += cfg->sideinfo_len; in putheader_bits()
166 bs->buf_byte_idx++; in putbits2()
167 assert(bs->buf_byte_idx < BUFFER_SIZE); in putbits2()
172 bs->buf[bs->buf_byte_idx] = 0; in putbits2()
201 bs->buf_byte_idx++; in putbits_noheaders()
202 assert(bs->buf_byte_idx < BUFFER_SIZE); in putbits_noheaders()
203 bs->buf[bs->buf_byte_idx] = 0; in putbits_noheaders()
842 *total_bytes_output += gfc->bs.buf_byte_idx + 1; in compute_flushbits()
1061 int const minimum = bs->buf_byte_idx + 1; in do_copy_buffer()
1067 bs->buf_byte_idx = -1; in do_copy_buffer()
[all …]
H A Dutil.h144 int buf_byte_idx; /* pointer to top byte in buffer */ member