put_bits_count    122 libavcodec/aacenc.c     avctx->extradata_size = put_bits_count(&pb) >> 3;
put_bits_count    524 libavcodec/aacenc.c     padbits = -put_bits_count(&s->pb) & 7;
put_bits_count    829 libavcodec/aacenc.c         frame_bits = put_bits_count(&s->pb);
put_bits_count    887 libavcodec/aacenc.c     s->last_frame_pb_count = put_bits_count(&s->pb);
put_bits_count    895 libavcodec/aacenc.c     avpkt->size = put_bits_count(&s->pb) >> 3;
put_bits_count   1621 libavcodec/ac3enc.c     av_assert2(s->frame_size * 8 - put_bits_count(&s->pb) >= 18);
put_bits_count    488 libavcodec/alacenc.c     return put_bits_count(pb) >> 3;
put_bits_count    176 libavcodec/asvenc.c     av_assert0(a->pb.buf_end - a->pb.buf - (put_bits_count(&a->pb) >> 3) >= MAX_MB_SIZE);
put_bits_count    295 libavcodec/asvenc.c     while (put_bits_count(&a->pb) & 31)
put_bits_count    298 libavcodec/asvenc.c     size = put_bits_count(&a->pb) / 32;
put_bits_count     75 libavcodec/bitstream.c     if (CONFIG_SMALL || words < 16 || put_bits_count(pb) & 7) {
put_bits_count     79 libavcodec/bitstream.c         for (i = 0; put_bits_count(pb) & 31; i++)
put_bits_count    322 libavcodec/cbs.c     av_assert0(put_bits_count(&pbc) <= 8 * ctx->write_buffer_size);
put_bits_count    324 libavcodec/cbs.c     if (put_bits_count(&pbc) % 8)
put_bits_count    325 libavcodec/cbs.c         unit->data_bit_padding = 8 - put_bits_count(&pbc) % 8;
put_bits_count    331 libavcodec/cbs.c     ret = ff_cbs_alloc_unit_data(ctx, unit, put_bits_count(&pbc) / 8);
put_bits_count    552 libavcodec/cbs.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    631 libavcodec/cbs.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    121 libavcodec/cbs_av1.c         position = put_bits_count(pbc);
put_bits_count    193 libavcodec/cbs_av1.c         position = put_bits_count(pbc);
put_bits_count    279 libavcodec/cbs_av1.c         position = put_bits_count(pbc);
put_bits_count    381 libavcodec/cbs_av1.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    456 libavcodec/cbs_av1.c         position = put_bits_count(pbc);
put_bits_count    723 libavcodec/cbs_av1.c #define byte_alignment(rw) (put_bits_count(rw) % 8)
put_bits_count   1090 libavcodec/cbs_av1.c     start_pos = put_bits_count(pbc);
put_bits_count   1176 libavcodec/cbs_av1.c     end_pos = put_bits_count(pbc);
put_bits_count   1185 libavcodec/cbs_av1.c         end_pos = put_bits_count(pbc);
put_bits_count   1192 libavcodec/cbs_av1.c     end_pos = put_bits_count(pbc);
put_bits_count   1204 libavcodec/cbs_av1.c     data_pos = put_bits_count(pbc) / 8;
put_bits_count   1224 libavcodec/cbs_av1.c     av_assert0(put_bits_count(pbc) % 8 == 0);
put_bits_count   1615 libavcodec/cbs_av1_syntax_template.c         start_pos = put_bits_count(rw);
put_bits_count   1638 libavcodec/cbs_av1_syntax_template.c             fh_bits  = put_bits_count(rw) - start_pos;
put_bits_count    172 libavcodec/cbs_h2645.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    223 libavcodec/cbs_h2645.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    421 libavcodec/cbs_h2645.c #define byte_alignment(rw) (put_bits_count(rw) % 8)
put_bits_count   1129 libavcodec/cbs_h2645.c     if (put_bits_count(pbc) % 8 == 0) {
put_bits_count   1157 libavcodec/cbs_h2645.c         if (put_bits_count(pbc) % 8)
put_bits_count   1158 libavcodec/cbs_h2645.c             put_bits(pbc, 8 - put_bits_count(pbc) % 8, 0);
put_bits_count    844 libavcodec/cbs_h264_syntax_template.c     start_position = put_bits_count(rw);
put_bits_count    917 libavcodec/cbs_h264_syntax_template.c     end_position = put_bits_count(rw);
put_bits_count   2148 libavcodec/cbs_h265_syntax_template.c     start_position = put_bits_count(rw);
put_bits_count   2219 libavcodec/cbs_h265_syntax_template.c     current_position = put_bits_count(rw) - start_position;
put_bits_count   2230 libavcodec/cbs_h265_syntax_template.c     current->payload_size = (put_bits_count(rw) - start_position) >> 3;
put_bits_count    343 libavcodec/cbs_jpeg.c         av_assert0(put_bits_count(pbc) % 8 == 0);
put_bits_count    353 libavcodec/cbs_mpeg2.c         if (put_bits_count(pbc) % 8 == 0) {
put_bits_count    369 libavcodec/cbs_mpeg2.c             put_bits(pbc, 8 - put_bits_count(pbc) % 8, 0);
put_bits_count     85 libavcodec/cbs_vp9.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    162 libavcodec/cbs_vp9.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    229 libavcodec/cbs_vp9.c         ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc),
put_bits_count    393 libavcodec/cbs_vp9.c #define byte_alignment(rw) (put_bits_count(rw) % 8)
put_bits_count    541 libavcodec/cbs_vp9.c     av_assert0(put_bits_count(pbc) % 8 == 0);
put_bits_count     92 libavcodec/cljrenc.c     pkt->size   = put_bits_count(&pb) / 8;
put_bits_count     85 libavcodec/dca.c         return (put_bits_count(&pb) + 7) >> 3;
put_bits_count   1209 libavcodec/dcaenc.c     for (i = put_bits_count(&c->pb); i < 8*c->frame_size; i++)
put_bits_count   1216 libavcodec/dcaenc.c     avpkt->size     = put_bits_count(&c->pb) >> 3;
put_bits_count    940 libavcodec/dnxhdenc.c     if (put_bits_count(&ctx->m.pb) & 31)
put_bits_count    941 libavcodec/dnxhdenc.c         put_bits(&ctx->m.pb, 32 - (put_bits_count(&ctx->m.pb) & 31), 0);
put_bits_count    417 libavcodec/dvdec.c         ff_dlog(avctx, "***pass 2 size=%d MB#=%d\n", put_bits_count(&pb), mb_index);
put_bits_count    420 libavcodec/dvdec.c         init_get_bits(&gb, mb_bit_buffer, put_bits_count(&pb));
put_bits_count    440 libavcodec/dvdec.c     ff_dlog(avctx, "***pass 3 size=%d\n", put_bits_count(&vs_pb));
put_bits_count    443 libavcodec/dvdec.c     init_get_bits(&gb, vs_bit_buffer, put_bits_count(&vs_pb));
put_bits_count    982 libavcodec/dvenc.c         pos = put_bits_count(&pbs[j]) >> 3;
put_bits_count   1242 libavcodec/ffv1enc.c             bytes = fs->ac_byte_count + (put_bits_count(&fs->pb) + 7) / 8;
put_bits_count     40 libavcodec/ffv1enc_template.c         if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) < w * 4) {
put_bits_count    104 libavcodec/ffv1enc_template.c                     (int)put_bits_count(&s->pb));
put_bits_count   1237 libavcodec/flacenc.c                  put_bits_count(&s->pb) >> 3);
put_bits_count   1307 libavcodec/flacenc.c                             put_bits_count(&s->pb)>>3));
put_bits_count   1319 libavcodec/flacenc.c     return put_bits_count(&s->pb) >> 3;
put_bits_count    118 libavcodec/hevc_ps_enc.c     data_size = put_bits_count(&pb) / 8;
put_bits_count    446 libavcodec/huffyuvenc.c     if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) < 2 * 4 * count) {
put_bits_count    498 libavcodec/huffyuvenc.c     if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) < count * s->bps / 2) {
put_bits_count    660 libavcodec/huffyuvenc.c     if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) < 4 * count) {
put_bits_count    705 libavcodec/huffyuvenc.c     if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) <
put_bits_count   1000 libavcodec/huffyuvenc.c     size += (put_bits_count(&s->pb) + 31) / 8;
put_bits_count    392 libavcodec/jpeglsenc.c     size = put_bits_count(&pb2);
put_bits_count    415 libavcodec/jpeglsenc.c     pkt->size   = put_bits_count(&pb) >> 3;
put_bits_count     87 libavcodec/ljpegenc.c         if (pb->buf_end - pb->buf - (put_bits_count(pb) >> 3) < width * 4 * 4) {
put_bits_count    212 libavcodec/ljpegenc.c         if (pb->buf_end - pb->buf - (put_bits_count(pb) >> 3) <
put_bits_count    255 libavcodec/ljpegenc.c     header_bits = put_bits_count(&pb);
put_bits_count    189 libavcodec/lzwenc.c     int ret = put_bits_count(&s->pb) >> 3;
put_bits_count    411 libavcodec/magicyuvenc.c     count = put_bits_count(&pb) & 0x1F;
put_bits_count    416 libavcodec/magicyuvenc.c     count = put_bits_count(&pb);
put_bits_count    515 libavcodec/magicyuvenc.c     s->tables_size = (put_bits_count(&s->pb) + 7) >> 3;
put_bits_count    356 libavcodec/mjpegenc_common.c         s->esc_pos = put_bits_count(pb) >> 3;
put_bits_count    416 libavcodec/mjpegenc_common.c     int pad = (-put_bits_count(pb))&7;
put_bits_count    422 libavcodec/mjpegenc_common.c     size = put_bits_count(pb) - start * 8;
put_bits_count    566 libavcodec/mjpegenc_common.c     ret = ff_mpv_reallocate_putbitbuffer(s, put_bits_count(&s->pb) / 8 + 100,
put_bits_count    567 libavcodec/mjpegenc_common.c                                             put_bits_count(&s->pb) / 4 + 1000);
put_bits_count    578 libavcodec/mjpegenc_common.c     s->esc_pos = put_bits_count(pbc) >> 3;
put_bits_count    812 libavcodec/mlpenc.c     unsigned int start_count = put_bits_count(pb);
put_bits_count    839 libavcodec/mlpenc.c     checksum = ff_mlp_restart_checksum(pb->buf, put_bits_count(pb) - start_count);
put_bits_count   1111 libavcodec/mlpenc.c         put_bits(&pb, (-put_bits_count(&pb)) & 15, 0);
put_bits_count   1124 libavcodec/mlpenc.c         parity   = ff_mlp_calculate_parity(buf, put_bits_count(&pb) >> 3) ^ 0xa9;
put_bits_count   1125 libavcodec/mlpenc.c         checksum = ff_mlp_checksum8       (buf, put_bits_count(&pb) >> 3);
put_bits_count   1132 libavcodec/mlpenc.c         end += put_bits_count(&pb) >> 3;
put_bits_count   1135 libavcodec/mlpenc.c         buf += put_bits_count(&pb) >> 3;
put_bits_count    440 libavcodec/mpeg12enc.c     s->vbv_delay_ptr = s->pb.buf + put_bits_count(&s->pb) / 8;
put_bits_count    149 libavcodec/mpeg4audio.h     int offset = put_bits_count(pb);
put_bits_count    174 libavcodec/mpeg4audio.h     return put_bits_count(pb) - offset;
put_bits_count    868 libavcodec/mpeg4videoenc.c     length = (-put_bits_count(pbc)) & 7;
put_bits_count   1318 libavcodec/mpeg4videoenc.c         s->avctx->extradata_size = (put_bits_count(&s->pb) + 7) >> 3;
put_bits_count   1338 libavcodec/mpeg4videoenc.c     const int pb2_len    = put_bits_count(&s->pb2);
put_bits_count   1339 libavcodec/mpeg4videoenc.c     const int tex_pb_len = put_bits_count(&s->tex_pb);
put_bits_count   1340 libavcodec/mpeg4videoenc.c     const int bits       = put_bits_count(&s->pb);
put_bits_count   1359 libavcodec/mpeg4videoenc.c     s->last_bits = put_bits_count(&s->pb);
put_bits_count    776 libavcodec/mpegaudioenc_template.c     avpkt->size = put_bits_count(&s->pb) / 8;
put_bits_count    756 libavcodec/mpegvideo.h     const int bits= put_bits_count(&s->pb);
put_bits_count   1902 libavcodec/mpegvideo_enc.c             if (put_bits_count(&s->pb) > max_size &&
put_bits_count   1951 libavcodec/mpegvideo_enc.c             assert(put_bits_count(&s->pb) == s->header_bits + s->mv_bits +
put_bits_count   1955 libavcodec/mpegvideo_enc.c         s->frame_bits  = put_bits_count(&s->pb);
put_bits_count   1960 libavcodec/mpegvideo_enc.c             if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) <
put_bits_count   1985 libavcodec/mpegvideo_enc.c             s->frame_bits  = put_bits_count(&s->pb);
put_bits_count   2674 libavcodec/mpegvideo_enc.c     score= put_bits_count(&s->pb);
put_bits_count   2676 libavcodec/mpegvideo_enc.c         score+= put_bits_count(&s->pb2);
put_bits_count   2677 libavcodec/mpegvideo_enc.c         score+= put_bits_count(&s->tex_pb);
put_bits_count   2835 libavcodec/mpegvideo_enc.c     int offset = put_bits_count(&s->pb);
put_bits_count   2856 libavcodec/mpegvideo_enc.c     if (put_bits_count(&s->pb) - s->prev_mb_info*8 >= s->mb_info*8) {
put_bits_count   2861 libavcodec/mpegvideo_enc.c         s->prev_mb_info = put_bits_count(&s->pb)/8;
put_bits_count   2869 libavcodec/mpegvideo_enc.c     s->last_mb_info = put_bits_count(&s->pb)/8;
put_bits_count   2877 libavcodec/mpegvideo_enc.c     if (   s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb)>>3) < threshold
put_bits_count   2906 libavcodec/mpegvideo_enc.c     if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb)>>3) < threshold)
put_bits_count   2930 libavcodec/mpegvideo_enc.c     s->last_bits= put_bits_count(&s->pb);
put_bits_count   2991 libavcodec/mpegvideo_enc.c             if(s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb)>>3) < MAX_MB_BYTES){
put_bits_count   2996 libavcodec/mpegvideo_enc.c                 if(   s->pb2   .buf_end - s->pb2   .buf - (put_bits_count(&s->    pb2)>>3) < MAX_MB_BYTES
put_bits_count   2997 libavcodec/mpegvideo_enc.c                    || s->tex_pb.buf_end - s->tex_pb.buf - (put_bits_count(&s->tex_pb )>>3) < MAX_MB_BYTES){
put_bits_count   3017 libavcodec/mpegvideo_enc.c                 current_packet_size= ((put_bits_count(&s->pb)+7)>>3) - (s->ptr_lastgob - s->pb.buf);
put_bits_count   3050 libavcodec/mpegvideo_enc.c                     av_assert2((put_bits_count(&s->pb)&7) == 0);
put_bits_count   3054 libavcodec/mpegvideo_enc.c                         int r= put_bits_count(&s->pb)/8 + s->picture_number + 16 + s->mb_x + s->mb_y;
put_bits_count   3095 libavcodec/mpegvideo_enc.c                         int bits= put_bits_count(&s->pb);
put_bits_count   3357 libavcodec/mpegvideo_enc.c                 pb_bits_count= put_bits_count(&s->pb);
put_bits_count   3363 libavcodec/mpegvideo_enc.c                     pb2_bits_count= put_bits_count(&s->pb2);
put_bits_count   3368 libavcodec/mpegvideo_enc.c                     tex_pb_bits_count= put_bits_count(&s->tex_pb);
put_bits_count   3373 libavcodec/mpegvideo_enc.c                 s->last_bits= put_bits_count(&s->pb);
put_bits_count   3536 libavcodec/mpegvideo_enc.c                     s->mb_x + s->mb_y * s->mb_stride, put_bits_count(&s->pb));
put_bits_count   3595 libavcodec/mpegvideo_enc.c     av_assert1(put_bits_count(&src->pb) % 8 ==0);
put_bits_count   3596 libavcodec/mpegvideo_enc.c     av_assert1(put_bits_count(&dst->pb) % 8 ==0);
put_bits_count   3597 libavcodec/mpegvideo_enc.c     avpriv_copy_bits(&dst->pb, src->pb.buf, put_bits_count(&src->pb));
put_bits_count   3873 libavcodec/mpegvideo_enc.c     s->last_bits= put_bits_count(&s->pb);
put_bits_count   3912 libavcodec/mpegvideo_enc.c     bits= put_bits_count(&s->pb);
put_bits_count    377 libavcodec/nellymoserenc.c             put_bits(&pb, NELLY_HEADER_BITS + NELLY_DETAIL_BITS - put_bits_count(&pb), 0);
put_bits_count    461 libavcodec/proresenc_anatoliy.c     *a_data_size = put_bits_count(&pb) >> 3;
put_bits_count    474 libavcodec/proresenc_kostya.c     saved_pos = put_bits_count(pb);
put_bits_count    482 libavcodec/proresenc_kostya.c     return (put_bits_count(pb) - saved_pos) >> 3;
put_bits_count    525 libavcodec/proresenc_kostya.c     int saved_pos = put_bits_count(pb);
put_bits_count    547 libavcodec/proresenc_kostya.c     return (put_bits_count(pb) - saved_pos) >> 3;
put_bits_count     82 libavcodec/put_bits.h     av_assert0(8*buffer_size >= put_bits_count(s));
put_bits_count    335 libavcodec/put_bits.h     av_assert2((put_bits_count(s) & 7) == 0);
put_bits_count    191 libavcodec/sbcenc.c     return (put_bits_count(&pb) + 7) / 8;
put_bits_count    696 libavcodec/sonic.c     avctx->extradata_size = put_bits_count(&pb)/8;
put_bits_count    376 libavcodec/svq1enc.c                 (put_bits_count(&s->pb) >> 3) < 3000) { // FIXME: check size
put_bits_count    398 libavcodec/svq1enc.c                     count[0][i] = put_bits_count(&s->reorder_pb[i]);
put_bits_count    430 libavcodec/svq1enc.c                     score[1]        += lambda * put_bits_count(&s->reorder_pb[5]);
put_bits_count    456 libavcodec/svq1enc.c                         count[1][i] = put_bits_count(&s->reorder_pb[i]);
put_bits_count    654 libavcodec/svq1enc.c     while (put_bits_count(&s->pb) & 31)
put_bits_count    659 libavcodec/svq1enc.c     pkt->size = put_bits_count(&s->pb) / 8;
put_bits_count    111 libavcodec/tests/cabac.c     return (put_bits_count(&c->pb)+7)>>3;
put_bits_count    185 libavcodec/ttaenc.c     out_bytes = put_bits_count(&pb) >> 3;
put_bits_count    377 libavcodec/utvideoenc.c     count = put_bits_count(&pb) & 0x1F;
put_bits_count    383 libavcodec/utvideoenc.c     count = put_bits_count(&pb);
put_bits_count    234 libavcodec/vc2enc.c     cur_pos = put_bits_count(&s->pb) >> 3;
put_bits_count    747 libavcodec/vc2enc.c         bytes_start = put_bits_count(pb) >> 3;
put_bits_count    757 libavcodec/vc2enc.c         bytes_len = (put_bits_count(pb) >> 3) - bytes_start - 1;
put_bits_count    759 libavcodec/vc2enc.c             int len_diff = slice_bytes_max - (put_bits_count(pb) >> 3);
put_bits_count    997 libavcodec/vc2enc.c     avpkt->size = put_bits_count(&s->pb) >> 3;
put_bits_count    158 libavcodec/vorbisenc.c     if (pb->size_in_bits - put_bits_count(pb) < cb->lens[entry])
put_bits_count    640 libavcodec/vorbisenc.c     hlens[0] = put_bits_count(&pb) >> 3;
put_bits_count    654 libavcodec/vorbisenc.c     hlens[1] = put_bits_count(&pb) >> 3;
put_bits_count    728 libavcodec/vorbisenc.c     hlens[2] = put_bits_count(&pb) >> 3;
put_bits_count    801 libavcodec/vorbisenc.c     if (pb->size_in_bits - put_bits_count(pb) < 1 + 2 * ilog(range - 1))
put_bits_count   1138 libavcodec/vorbisenc.c     if (pb.size_in_bits - put_bits_count(&pb) < 1 + ilog(venc->nmodes - 1)) {
put_bits_count   1188 libavcodec/vorbisenc.c     avpkt->size = put_bits_count(&pb) >> 3;
put_bits_count    265 libavcodec/vp9_raw_reorder_bsf.c         while (put_bits_count(&pb) < 16)
put_bits_count   2780 libavcodec/wavpackenc.c     data_size = put_bits_count(&s->pb) >> 3;
put_bits_count   2794 libavcodec/wavpackenc.c         data_size = put_bits_count(&s->pb) >> 3;
put_bits_count    363 libavcodec/wmaenc.c     return put_bits_count(&s->pb) / 8 - s->avctx->block_align;
put_bits_count    410 libavcodec/wmaenc.c     av_assert0((put_bits_count(&s->pb) & 7) == 0);
put_bits_count    411 libavcodec/wmaenc.c     i= avctx->block_align - (put_bits_count(&s->pb)+7)/8;
put_bits_count   1570 libavcodec/wmaprodec.c         buflen = (put_bits_count(&s->pb) + len + 7) >> 3;
put_bits_count   1884 libavcodec/wmavoice.c     if (nbits > pb->size_in_bits - put_bits_count(pb))
put_bits_count     65 libavcodec/xsubenc.c             if (pb->size_in_bits - put_bits_count(pb) < 7*8)
put_bits_count    199 libavcodec/xsubenc.c     bytestream_put_le16(&rlelenptr, put_bits_count(&pb) >> 3); // Length of first field
put_bits_count    214 libavcodec/xsubenc.c     return hdr - buf + put_bits_count(&pb)/8;
put_bits_count    564 libavfilter/vf_signature.c     fwrite(buffer, 1, put_bits_count(&buf)/8, f);
put_bits_count    217 libavformat/latmenc.c     len = put_bits_count(&bs) >> 3;
put_bits_count    579 libavformat/movenc.c     size = put_bits_count(&pbc) >> 3;