get_bits_count 395 libavcodec/4xm.c if( bitstream_size != (get_bits_count(&f->gb)+31)/32*4 get_bits_count 399 libavcodec/4xm.c bitstream_size - (get_bits_count(&f->gb)+31)/32*4, get_bits_count 1494 libavcodec/adpcm.c while (get_bits_count(&gb) <= size - 22*avctx->channels) { get_bits_count 1500 libavcodec/adpcm.c for (count = 0; get_bits_count(&gb) <= size - nb_bits*avctx->channels && count < 4095; count++) { get_bits_count 587 libavcodec/alac.c if (input_buffer_size * 8 - get_bits_count(&alac->gb) > 8) get_bits_count 588 libavcodec/alac.c av_log(avctx, AV_LOG_ERROR, "Error : %d bits left\n", input_buffer_size * 8 - get_bits_count(&alac->gb)); get_bits_count 450 libavcodec/asv1.c printf("%d %d\n", 8*buf_size, get_bits_count(&a->gb)); get_bits_count 451 libavcodec/asv1.c for(i=get_bits_count(&a->gb); i<8*buf_size; i++){ get_bits_count 465 libavcodec/asv1.c return (get_bits_count(&a->gb)+31)/32*4; get_bits_count 764 libavcodec/bitstream.h int n= (-get_bits_count(s)) & 7; get_bits_count 897 libavcodec/bitstream.h av_log(NULL, AV_LOG_DEBUG, "%5d %2d %3d bit @%5d in %s %s:%d\n", r, n, r, get_bits_count(s)-n, file, func, line); get_bits_count 902 libavcodec/bitstream.h int pos= get_bits_count(s); get_bits_count 904 libavcodec/bitstream.h int len= get_bits_count(s) - pos; get_bits_count 917 libavcodec/bitstream.h av_log(NULL, AV_LOG_DEBUG, "%5d %2d %3d xbt @%5d in %s %s:%d\n", show, n, r, get_bits_count(s)-n, file, func, line); get_bits_count 951 libavcodec/bitstream.h return gb->size_in_bits - get_bits_count(gb); get_bits_count 444 libavcodec/cavsdec.c align = (-get_bits_count(gb)) & 7; get_bits_count 358 libavcodec/cook.c n = get_bits_count(gb) - 1; //amount of elements*2 to update get_bits_count 417 libavcodec/cook.c bits_left = q->bits_per_subpacket - get_bits_count(&q->gb); get_bits_count 565 libavcodec/cook.c if (q->bits_per_subpacket < get_bits_count(&q->gb)){ get_bits_count 576 libavcodec/cook.c if(get_bits_count(&q->gb) < q->bits_per_subpacket){ get_bits_count 444 libavcodec/dvbsubdec.c while (get_bits_count(&gb) < (buf_size << 8) && pixels_read < dbuf_len) { get_bits_count 514 libavcodec/dvbsubdec.c (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; get_bits_count 532 libavcodec/dvbsubdec.c (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; get_bits_count 549 libavcodec/dvbsubdec.c while (get_bits_count(&gb) < (buf_size << 8) && pixels_read < dbuf_len) { get_bits_count 566 libavcodec/dvbsubdec.c (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; get_bits_count 653 libavcodec/dvbsubdec.c (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; get_bits_count 96 libavcodec/dvdsubdec.c if (get_bits_count(&gb) > bit_len) get_bits_count 52 libavcodec/escape124.c return get_bits_count(gb) + bits <= gb->size_in_bits; get_bits_count 361 libavcodec/escape124.c frame_size, buf_size, get_bits_count(&gb) / 8); get_bits_count 260 libavcodec/faxcompr.c srcsize -= get_bits_count(gb); get_bits_count 1008 libavcodec/ffv1.c bytes_read+= (get_bits_count(&f->gb)+7)/8; get_bits_count 227 libavcodec/flacdec.c int initial_pos= get_bits_count(&s->gb); get_bits_count 237 libavcodec/flacdec.c if (get_bits_count(&s->gb) + 8*metadata_size > s->gb.size_in_bits) { get_bits_count 238 libavcodec/flacdec.c skip_bits_long(&s->gb, initial_pos - get_bits_count(&s->gb)); get_bits_count 246 libavcodec/flacdec.c s->gb.buffer+get_bits_count(&s->gb)/8); get_bits_count 562 libavcodec/flacdec.c s->gb.buffer, get_bits_count(&s->gb)/8); get_bits_count 641 libavcodec/flacdec.c while (get_bits_count(&s->gb)/8+2 < buf_size && (show_bits(&s->gb, 16) & 0xFFFE) != 0xFFF8) get_bits_count 690 libavcodec/flacdec.c i= (get_bits_count(&s->gb)+7)/8; get_bits_count 196 libavcodec/flashsv.c s->zstream.next_in = buf+(get_bits_count(&gb)/8); get_bits_count 222 libavcodec/flashsv.c if ((get_bits_count(&gb)/8) != buf_size) get_bits_count 224 libavcodec/flashsv.c buf_size, (get_bits_count(&gb)/8)); get_bits_count 374 libavcodec/g726.c while (get_bits_count(&gb) + c->code_size <= buf_size*8) get_bits_count 377 libavcodec/g726.c if(buf_size*8 != get_bits_count(&gb)) get_bits_count 358 libavcodec/golomb.h int pos= get_bits_count(s); get_bits_count 360 libavcodec/golomb.h int len= get_bits_count(s) - pos; get_bits_count 372 libavcodec/golomb.h int pos= get_bits_count(s); get_bits_count 374 libavcodec/golomb.h int len= get_bits_count(s) - pos; get_bits_count 386 libavcodec/golomb.h int pos= get_bits_count(s); get_bits_count 388 libavcodec/golomb.h int len= get_bits_count(s) - pos; get_bits_count 173 libavcodec/h261dec.c left= s->gb.size_in_bits - get_bits_count(&s->gb); get_bits_count 267 libavcodec/h261dec.c if ( get_bits_count(&s->gb) + 7 >= s->gb.size_in_bits ) get_bits_count 447 libavcodec/h261dec.c for(i= s->gb.size_in_bits - get_bits_count(&s->gb); i>24; i-=1){ get_bits_count 537 libavcodec/h261dec.c int pos= get_bits_count(&s->gb)>>3; get_bits_count 3005 libavcodec/h263.c left= s->gb.size_in_bits - get_bits_count(&s->gb); get_bits_count 3129 libavcodec/h263.c int bits_count= get_bits_count(&s->gb); get_bits_count 3181 libavcodec/h263.c if( get_bits_count(&s->gb) > s->gb.size_in_bits-20) return -1; get_bits_count 3329 libavcodec/h263.c pos= get_bits_count(&s->gb); get_bits_count 3340 libavcodec/h263.c left= s->gb.size_in_bits - get_bits_count(&s->gb); get_bits_count 3346 libavcodec/h263.c pos= get_bits_count(&s->gb); get_bits_count 4163 libavcodec/h263.c if(get_bits_count(&s->gb) + 16 > s->gb.size_in_bits){ get_bits_count 4164 libavcodec/h263.c v>>= get_bits_count(&s->gb) + 16 - s->gb.size_in_bits; get_bits_count 5010 libavcodec/h263.c for(i= s->gb.size_in_bits - get_bits_count(&s->gb); i>24; i-=8) { get_bits_count 5692 libavcodec/h263.c int pos= get_bits_count(gb); get_bits_count 5710 libavcodec/h263.c skip_bits_long(gb, pos - get_bits_count(gb)); get_bits_count 5728 libavcodec/h263.c skip_bits_long(gb, pos - get_bits_count(gb)); get_bits_count 5813 libavcodec/h263.c for(i=0; i<255 && get_bits_count(gb) < gb->size_in_bits; i++){ get_bits_count 6095 libavcodec/h263.c if(get_bits_count(gb) >= gb->size_in_bits){ get_bits_count 6139 libavcodec/h263.c av_log(s->avctx, AV_LOG_DEBUG, " at %d\n", get_bits_count(gb)); get_bits_count 136 libavcodec/h263dec.c int pos= (get_bits_count(&s->gb)+7)>>3; get_bits_count 165 libavcodec/h263dec.c const uint8_t *start= s->gb.buffer + get_bits_count(&s->gb)/8; get_bits_count 267 libavcodec/h263dec.c && s->gb.size_in_bits - get_bits_count(&s->gb) >=0 get_bits_count 268 libavcodec/h263dec.c && s->gb.size_in_bits - get_bits_count(&s->gb) < 48 get_bits_count 272 libavcodec/h263dec.c const int bits_count= get_bits_count(&s->gb); get_bits_count 283 libavcodec/h263dec.c else if(v==0x7F && ((get_bits_count(&s->gb)+8)&8) && bits_left<=16) get_bits_count 299 libavcodec/h263dec.c int left= s->gb.size_in_bits - get_bits_count(&s->gb); get_bits_count 324 libavcodec/h263dec.c s->gb.size_in_bits - get_bits_count(&s->gb), get_bits_count 650 libavcodec/h263dec.c if(s->slice_height==0 || s->mb_x!=0 || (s->mb_y%s->slice_height)!=0 || get_bits_count(&s->gb) > s->gb.size_in_bits) get_bits_count 670 libavcodec/h263dec.c int current_pos= get_bits_count(&s->gb)>>3; get_bits_count 4109 libavcodec/h264.c av_log(NULL, AV_LOG_DEBUG, "%5d %2d %3d lpr @%5d in %s get_level_prefix\n", buf>>(32-log), log, log-1, get_bits_count(gb), __FILE__); get_bits_count 6628 libavcodec/h264.c s->gb.buffer + get_bits_count(&s->gb)/8, get_bits_count 6629 libavcodec/h264.c ( s->gb.size_in_bits - get_bits_count(&s->gb) + 7)/8); get_bits_count 6678 libavcodec/h264.c tprintf(s->avctx, "slice end %d %d\n", get_bits_count(&s->gb), s->gb.size_in_bits); get_bits_count 6713 libavcodec/h264.c tprintf(s->avctx, "slice end %d %d\n", get_bits_count(&s->gb), s->gb.size_in_bits); get_bits_count 6715 libavcodec/h264.c if(get_bits_count(&s->gb) == s->gb.size_in_bits ) { get_bits_count 6727 libavcodec/h264.c if(get_bits_count(&s->gb) >= s->gb.size_in_bits && s->mb_skip_run<=0){ get_bits_count 6728 libavcodec/h264.c tprintf(s->avctx, "slice end %d %d\n", get_bits_count(&s->gb), s->gb.size_in_bits); get_bits_count 6729 libavcodec/h264.c if(get_bits_count(&s->gb) == s->gb.size_in_bits ){ get_bits_count 6759 libavcodec/h264.c if(get_bits_count(s->gb) == s->gb.size_in_bits){ get_bits_count 6771 libavcodec/h264.c if(get_bits_count(s->?gb) >= s->gb?.size_in_bits){ get_bits_count 6772 libavcodec/h264.c if(get_bits_count(s->gb) == s->gb.size_in_bits){ get_bits_count 6906 libavcodec/h264.c while(get_bits_count(&s->gb) + 16 < s->gb.size_in_bits){ get_bits_count 7332 libavcodec/h264.c if(get_bits_count(&s->gb) < bit_length){ get_bits_count 397 libavcodec/huffyuv.c return (get_bits_count(&gb)+7)/8; get_bits_count 731 libavcodec/huffyuv.c if(count >= (s->gb.size_in_bits - get_bits_count(&s->gb))/(31*4)){ get_bits_count 732 libavcodec/huffyuv.c for(i=0; i<count && get_bits_count(&s->gb) < s->gb.size_in_bits; i++){ get_bits_count 749 libavcodec/huffyuv.c if(count >= (s->gb.size_in_bits - get_bits_count(&s->gb))/(31*2)){ get_bits_count 750 libavcodec/huffyuv.c for(i=0; i<count && get_bits_count(&s->gb) < s->gb.size_in_bits; i++){ get_bits_count 1195 libavcodec/huffyuv.c return (get_bits_count(&s->gb)+31)/32*4 + table_size; get_bits_count 625 libavcodec/imc.c if (get_bits_count(&q->gb) + cw_len > 512){ get_bits_count 734 libavcodec/imc.c if(bit_allocation (q, stream_format_code, 512 - bitscount - get_bits_count(&q->gb), flag) < 0) { get_bits_count 351 libavcodec/jpeglsenc.c while(get_bits_count(&gb) < size){ get_bits_count 156 libavcodec/loco.c return (get_bits_count(&rc.gb) + 7) >> 3; get_bits_count 207 libavcodec/mdec.c return (get_bits_count(&a->gb)+31)/32*4; get_bits_count 787 libavcodec/mjpegdec.c if(get_bits_count(&s->gb)>s->gb.size_in_bits){ get_bits_count 788 libavcodec/mjpegdec.c av_log(s->avctx, AV_LOG_ERROR, "overread %d\n", get_bits_count(&s->gb) - s->gb.size_in_bits); get_bits_count 1033 libavcodec/mjpegdec.c if(8*len + get_bits_count(&s->gb) > s->gb.size_in_bits) get_bits_count 1176 libavcodec/mjpegdec.c if (len >= 2 && 8*len - 16 + get_bits_count(&s->gb) <= s->gb.size_in_bits) { get_bits_count 1486 libavcodec/mjpegdec.c buf_ptr += (get_bits_count(&s->gb)+7)/8; get_bits_count 1488 libavcodec/mjpegdec.c (get_bits_count(&s->gb)+7)/8, get_bits_count(&s->gb)); get_bits_count 79 libavcodec/mlp_parser.c assert(get_bits_count(gb) == 0); get_bits_count 324 libavcodec/mlpdec.c int start_count = get_bits_count(gbp); get_bits_count 390 libavcodec/mlpdec.c checksum = ff_mlp_restart_checksum(buf, get_bits_count(gbp) - start_count); get_bits_count 680 libavcodec/mlpdec.c expected_stream_pos = get_bits_count(gbp); get_bits_count 706 libavcodec/mlpdec.c if (get_bits_count(gbp) != expected_stream_pos) get_bits_count 987 libavcodec/mlpdec.c } while ((get_bits_count(&gb) < substream_data_len[substr] * 8) get_bits_count 990 libavcodec/mlpdec.c skip_bits(&gb, (-get_bits_count(&gb)) & 15); get_bits_count 991 libavcodec/mlpdec.c if (substream_data_len[substr] * 8 - get_bits_count(&gb) >= 32 && get_bits_count 1005 libavcodec/mlpdec.c if (substream_data_len[substr] * 8 - get_bits_count(&gb) >= 16 && get_bits_count 1019 libavcodec/mlpdec.c if (substream_data_len[substr] * 8 != get_bits_count(&gb)) { get_bits_count 240 libavcodec/mpc7.c bits_used = get_bits_count(&gb); get_bits_count 345 libavcodec/mpc8.c c->last_bits_used = get_bits_count(gb); get_bits_count 1811 libavcodec/mpeg12.c int left= s->gb.size_in_bits - get_bits_count(&s->gb); get_bits_count 1886 libavcodec/mpeg12.c *buf += (get_bits_count(&s->gb)-1)/8; get_bits_count 67 libavcodec/mpeg4audio.c specific_config_bitindex = get_bits_count(&gb); get_bits_count 1443 libavcodec/mpegaudiodec.c assert((get_bits_count(&s->gb) & 7) == 0); get_bits_count 1446 libavcodec/mpegaudiodec.c *end_pos= *end_pos2 + get_bits_count(&s->gb) - *pos; get_bits_count 1447 libavcodec/mpegaudiodec.c *pos= get_bits_count(&s->gb); get_bits_count 1482 libavcodec/mpegaudiodec.c int pos= get_bits_count(&s->gb); get_bits_count 1550 libavcodec/mpegaudiodec.c pos = get_bits_count(&s->gb); get_bits_count 1590 libavcodec/mpegaudiodec.c bits_left = end_pos2 - get_bits_count(&s->gb); get_bits_count 1602 libavcodec/mpegaudiodec.c i= get_bits_count(&s->gb); get_bits_count 2030 libavcodec/mpegaudiodec.c const uint8_t *ptr = s->gb.buffer + (get_bits_count(&s->gb)>>3); get_bits_count 2031 libavcodec/mpegaudiodec.c assert((get_bits_count(&s->gb) & 7) == 0); get_bits_count 2045 libavcodec/mpegaudiodec.c if(get_bits_count(&s->gb)<0){ get_bits_count 2050 libavcodec/mpegaudiodec.c if(get_bits_count(&s->gb) >= s->gb.size_in_bits && s->in_gb.buffer){ get_bits_count 2051 libavcodec/mpegaudiodec.c skip_bits_long(&s->in_gb, get_bits_count(&s->gb) - s->gb.size_in_bits); get_bits_count 2058 libavcodec/mpegaudiodec.c bits_pos = get_bits_count(&s->gb); get_bits_count 2183 libavcodec/mpegaudiodec.c if(get_bits_count(&s->gb)<0) get_bits_count 2184 libavcodec/mpegaudiodec.c skip_bits_long(&s->gb, -get_bits_count(&s->gb)); get_bits_count 2218 libavcodec/mpegaudiodec.c i= (s->gb.size_in_bits - get_bits_count(&s->gb))>>3; get_bits_count 2220 libavcodec/mpegaudiodec.c memmove(s->last_buf, s->gb.buffer + (get_bits_count(&s->gb)>>3), i); get_bits_count 2229 libavcodec/mpegaudiodec.c assert((get_bits_count(&s->gb) & 7) == 0); get_bits_count 2230 libavcodec/mpegaudiodec.c i= (s->gb.size_in_bits - get_bits_count(&s->gb))>>3; get_bits_count 1328 libavcodec/msmpeg4.c int left= buf_size*8 - get_bits_count(&s->gb); get_bits_count 1824 libavcodec/msmpeg4.c const int left= s->gb.size_in_bits - get_bits_count(&s->gb); get_bits_count 72 libavcodec/qdm2.c #define BITS_LEFT(length,gb) ((length) - get_bits_count ((gb))) get_bits_count 434 libavcodec/qdm2.c sub_packet->data = &gb->buffer[get_bits_count(gb) / 8]; // FIXME: this depends on bitreader internal data get_bits_count 438 libavcodec/qdm2.c sub_packet->type, sub_packet->size, get_bits_count(gb) / 8); get_bits_count 1239 libavcodec/qdm2.c packet_bytes = (q->compressed_size - get_bits_count(&gb) / 8); get_bits_count 1281 libavcodec/qdm2.c next_index = packet->size + get_bits_count(&gb) / 8; get_bits_count 32 libavcodec/rtjpeg.c n = (-get_bits_count(gb)) & (a - 1); \ get_bits_count 134 libavcodec/rtjpeg.c return get_bits_count(&gb) / 8; get_bits_count 697 libavcodec/rv10.c if (ret == SLICE_ERROR || s->gb.size_in_bits < get_bits_count(&s->gb)) { get_bits_count 1217 libavcodec/rv34.c bits = r->bits - get_bits_count(&s->gb); get_bits_count 489 libavcodec/shorten.c s->bitindex = get_bits_count(&s->gb) - 8*((get_bits_count(&s->gb))/8); get_bits_count 490 libavcodec/shorten.c i= (get_bits_count(&s->gb))/8; get_bits_count 135 libavcodec/smacker.c b1 = get_bits_count(gb); get_bits_count 137 libavcodec/smacker.c b1 = get_bits_count(gb) - b1; get_bits_count 138 libavcodec/smacker.c b2 = get_bits_count(gb); get_bits_count 140 libavcodec/smacker.c b2 = get_bits_count(gb) - b2; get_bits_count 331 libavcodec/smacker.c b = get_bits_count(gb); get_bits_count 338 libavcodec/smacker.c b = get_bits_count(gb) - b; get_bits_count 935 libavcodec/sonic.c return (get_bits_count(&gb)+7)/8; get_bits_count 709 libavcodec/svq3.c h->next_slice_index = get_bits_count(&s->gb) + 8*show_bits(&s->gb, 8*length) + 8*length; get_bits_count 720 libavcodec/svq3.c uint32_t header = AV_RL32(&s->gb.buffer[(get_bits_count(&s->gb)>>3)+1]); get_bits_count 721 libavcodec/svq3.c AV_WL32(&s->gb.buffer[(get_bits_count(&s->gb)>>3)+1], header ^ h->svq3_watermark_key); get_bits_count 724 libavcodec/svq3.c memcpy((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3], get_bits_count 861 libavcodec/svq3.c int offset = (get_bits_count(&gb)+7)>>3; get_bits_count 987 libavcodec/svq3.c if ( (get_bits_count(&s->gb) + 7) >= s->gb.size_in_bits && get_bits_count 988 libavcodec/svq3.c ((get_bits_count(&s->gb) & 7) == 0 || show_bits(&s->gb, (-get_bits_count(&s->gb) & 7)) == 0)) { get_bits_count 990 libavcodec/svq3.c skip_bits(&s->gb, h->next_slice_index - get_bits_count(&s->gb)); get_bits_count 50 libavcodec/tiertexseqv.c src += (get_bits_count(&gb) + 7) / 8; get_bits_count 287 libavcodec/truemotion2.c buf += ((get_bits_count(&ctx->gb) + 31) >> 5) << 2; get_bits_count 288 libavcodec/truemotion2.c cur += ((get_bits_count(&ctx->gb) + 31) >> 5) << 2; get_bits_count 301 libavcodec/truemotion2.c buf += ((get_bits_count(&ctx->gb) + 31) >> 5) << 2; get_bits_count 302 libavcodec/truemotion2.c cur += ((get_bits_count(&ctx->gb) + 31) >> 5) << 2; get_bits_count 3669 libavcodec/vc1.c if(get_bits_count(&s->gb) > v->bits) { get_bits_count 3671 libavcodec/vc1.c av_log(s->avctx, AV_LOG_ERROR, "Bits overconsumption: %i > %i\n", get_bits_count(&s->gb), v->bits); get_bits_count 3800 libavcodec/vc1.c if(get_bits_count(&s->gb) > v->bits) { get_bits_count 3802 libavcodec/vc1.c av_log(s->avctx, AV_LOG_ERROR, "Bits overconsumption: %i > %i\n", get_bits_count(&s->gb), v->bits); get_bits_count 3850 libavcodec/vc1.c if(get_bits_count(&s->gb) > v->bits || get_bits_count(&s->gb) < 0) { get_bits_count 3852 libavcodec/vc1.c av_log(s->avctx, AV_LOG_ERROR, "Bits overconsumption: %i > %i at %ix%i\n", get_bits_count(&s->gb), v->bits,s->mb_x,s->mb_y); get_bits_count 3900 libavcodec/vc1.c if(get_bits_count(&s->gb) > v->bits || get_bits_count(&s->gb) < 0) { get_bits_count 3902 libavcodec/vc1.c av_log(s->avctx, AV_LOG_ERROR, "Bits overconsumption: %i > %i at %ix%i\n", get_bits_count(&s->gb), v->bits,s->mb_x,s->mb_y); get_bits_count 4044 libavcodec/vc1.c count = avctx->extradata_size*8 - get_bits_count(&gb); get_bits_count 1212 libavcodec/vorbis_dec.c AV_DEBUG("book %d Cbits %d cval %d bits:%d \n", book, cbits, cval, get_bits_count(gb)); get_bits_count 1693 libavcodec/vorbis_dec.c AV_DEBUG("parsed %d bytes %d bits, returned %d samples (*ch*bits) \n", get_bits_count(gb)/8, get_bits_count(gb)%8, len); get_bits_count 2307 libavcodec/vp3.c if(ptype != 0x81 && 8*header_len[i] != get_bits_count(&gb)) get_bits_count 2308 libavcodec/vp3.c av_log(avctx, AV_LOG_WARNING, "%d bits left in packet %X\n", 8*header_len[i] - get_bits_count(&gb), ptype); get_bits_count 264 libavcodec/wavpack.c if(get_bits_count(gb) >= ctx->data_size){ get_bits_count 274 libavcodec/wavpack.c if(get_bits_count(gb) >= ctx->data_size){ get_bits_count 831 libavcodec/wmadec.c pos = get_bits_count(&s->gb) + ((bit_offset + 4 + 4 + s->byte_offset_bits + 3) & ~7); get_bits_count 293 libavformat/rdt.c return consumed + (get_bits_count(&gb) >> 3);