/third_party/ffmpeg/libavcodec/ |
D | cbs_av1.c | 122 position = put_bits_count(pbc); in cbs_av1_write_uvlc() 189 position = put_bits_count(pbc); in cbs_av1_write_leb128() 275 position = put_bits_count(pbc); in cbs_av1_write_ns() 377 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_av1_write_increment() 452 position = put_bits_count(pbc); in cbs_av1_write_subexp() 719 #define byte_alignment(rw) (put_bits_count(rw) % 8) 1079 start_pos = put_bits_count(pbc); in cbs_av1_write_obu() 1167 end_pos = put_bits_count(pbc); in cbs_av1_write_obu() 1176 end_pos = put_bits_count(pbc); in cbs_av1_write_obu() 1183 end_pos = put_bits_count(pbc); in cbs_av1_write_obu() [all …]
|
D | xsubenc.c | 66 if (pb->size_in_bits - put_bits_count(pb) < 7*8) in xsub_encode_rle() 200 bytestream_put_le16(&rlelenptr, put_bits_count(&pb) >> 3); // Length of first field in xsub_encode() 214 return hdr - buf + put_bits_count(&pb)/8; in xsub_encode()
|
D | mpeg4audio.h | 149 int offset = put_bits_count(pb); in ff_copy_pce_data() 174 return put_bits_count(pb) - offset; in ff_copy_pce_data()
|
D | put_bits.h | 76 static inline int put_bits_count(PutBitContext *s) in put_bits_count() function 91 av_assert0(8*buffer_size >= put_bits_count(s)); in rebase_put_bits() 353 av_assert2((put_bits_count(s) & 7) == 0); in skip_put_bytes()
|
D | cbs_vp9.c | 85 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_vp9_write_s() 162 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_vp9_write_increment() 229 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_vp9_write_le() 393 #define byte_alignment(rw) (put_bits_count(rw) % 8) 533 av_assert0(put_bits_count(pbc) % 8 == 0); in cbs_vp9_write_unit()
|
D | ljpegenc.c | 89 if (pb->buf_end - pb->buf - (put_bits_count(pb) >> 3) < width * 4 * 4) { in ljpeg_encode_bgr() 214 if (pb->buf_end - pb->buf - (put_bits_count(pb) >> 3) < in ljpeg_encode_yuv() 257 header_bits = put_bits_count(&pb); in ljpeg_encode_frame()
|
D | mpegvideo_enc.c | 1942 if (put_bits_count(&s->pb) > max_size && in ff_mpv_encode_picture() 1991 assert(put_bits_count(&s->pb) == s->header_bits + s->mv_bits + in ff_mpv_encode_picture() 1995 s->frame_bits = put_bits_count(&s->pb); in ff_mpv_encode_picture() 2000 if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) < in ff_mpv_encode_picture() 2026 s->frame_bits = put_bits_count(&s->pb); in ff_mpv_encode_picture() 2719 score= put_bits_count(&s->pb); in encode_mb_hq() 2721 score+= put_bits_count(&s->pb2); in encode_mb_hq() 2722 score+= put_bits_count(&s->tex_pb); in encode_mb_hq() 2877 int offset = put_bits_count(&s->pb); in write_mb_info() 2898 if (put_bits_count(&s->pb) - s->prev_mb_info*8 >= s->mb_info*8) { in update_mb_info() [all …]
|
D | cbs.c | 340 av_assert0(put_bits_count(&pbc) <= 8 * ctx->write_buffer_size); in cbs_write_unit_data() 342 if (put_bits_count(&pbc) % 8) in cbs_write_unit_data() 343 unit->data_bit_padding = 8 - put_bits_count(&pbc) % 8; in cbs_write_unit_data() 349 ret = ff_cbs_alloc_unit_data(unit, put_bits_count(&pbc) / 8); in cbs_write_unit_data() 570 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in ff_cbs_write_unsigned() 649 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in ff_cbs_write_signed()
|
D | svq1enc.c | 376 (put_bits_count(&s->pb) >> 3) < 3000) { // FIXME: check size in svq1_encode_plane() 398 count[0][i] = put_bits_count(&s->reorder_pb[i]); in svq1_encode_plane() 430 score[1] += lambda * put_bits_count(&s->reorder_pb[5]); in svq1_encode_plane() 456 count[1][i] = put_bits_count(&s->reorder_pb[i]); in svq1_encode_plane() 652 while (put_bits_count(&s->pb) & 31) in svq1_encode_frame() 657 pkt->size = put_bits_count(&s->pb) / 8; in svq1_encode_frame()
|
D | dvdec.c | 418 ff_dlog(avctx, "***pass 2 size=%d MB#=%d\n", put_bits_count(&pb), mb_index); in dv_decode_video_segment() 421 init_get_bits(&gb, mb_bit_buffer, put_bits_count(&pb)); in dv_decode_video_segment() 441 ff_dlog(avctx, "***pass 3 size=%d\n", put_bits_count(&vs_pb)); in dv_decode_video_segment() 444 init_get_bits(&gb, vs_bit_buffer, put_bits_count(&vs_pb)); in dv_decode_video_segment()
|
D | mjpegenc_common.c | 328 s->esc_pos = put_bits_count(pb) >> 3; in ff_mjpeg_encode_picture_header() 340 int pad = (-put_bits_count(pb))&7; in ff_mjpeg_escape_FF() 346 size = put_bits_count(pb) - start * 8; in ff_mjpeg_escape_FF()
|
D | ffv1enc_template.c | 40 if (s->pb.buf_end - s->pb.buf - (put_bits_count(&s->pb) >> 3) < w * 4) { in RENAME() 104 (int)put_bits_count(&s->pb)); in RENAME()
|
D | wmaenc.c | 363 return put_bits_count(&s->pb) / 8 - s->avctx->block_align; in encode_frame() 410 av_assert0((put_bits_count(&s->pb) & 7) == 0); in encode_superframe() 411 i= avctx->block_align - (put_bits_count(&s->pb)+7)/8; in encode_superframe()
|
D | cbs_h2645.c | 172 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_write_ue_golomb() 223 ff_cbs_trace_syntax_element(ctx, put_bits_count(pbc), in cbs_write_se_golomb() 429 #define bit_position(rw) (put_bits_count(rw)) 430 #define byte_alignment(rw) (put_bits_count(rw) % 8) 960 if (put_bits_count(pbc) % 8 == 0) { in cbs_h2645_write_slice_data() 988 if (put_bits_count(pbc) % 8) in cbs_h2645_write_slice_data() 989 put_bits(pbc, 8 - put_bits_count(pbc) % 8, 0); in cbs_h2645_write_slice_data()
|
D | vorbisenc.c | 158 if (pb->size_in_bits - put_bits_count(pb) < cb->lens[entry]) in put_codeword() 640 hlens[0] = put_bits_count(&pb) >> 3; in put_main_header() 654 hlens[1] = put_bits_count(&pb) >> 3; in put_main_header() 728 hlens[2] = put_bits_count(&pb) >> 3; in put_main_header() 801 if (pb->size_in_bits - put_bits_count(pb) < 1 + 2 * ilog(range - 1)) in floor_encode() 1138 if (pb.size_in_bits - put_bits_count(&pb) < 1 + ilog(venc->nmodes - 1)) { in vorbis_encode_frame() 1188 avpkt->size = put_bits_count(&pb) >> 3; in vorbis_encode_frame()
|
D | mjpegenc.c | 210 ret = ff_mpv_reallocate_putbitbuffer(s, put_bits_count(&s->pb) / 8 + 100, in ff_mjpeg_encode_stuffing() 211 put_bits_count(&s->pb) / 4 + 1000); in ff_mjpeg_encode_stuffing() 221 s->esc_pos = put_bits_count(pbc) >> 3; in ff_mjpeg_encode_stuffing()
|
D | magicyuvenc.c | 398 count = put_bits_count(&pb) & 0x1F; in encode_slice() 403 count = put_bits_count(&pb); in encode_slice() 502 s->tables_size = (put_bits_count(&s->pb) + 7) >> 3; in magy_encode_frame()
|
D | cljrenc.c | 92 pkt->size = put_bits_count(&pb) / 8; in encode_frame()
|
D | bitstream.c | 80 if (CONFIG_SMALL || words < 16 || put_bits_count(pb) & 7) { in ff_copy_bits() 84 for (i = 0; put_bits_count(pb) & 31; i++) in ff_copy_bits()
|
D | asvenc.c | 170 av_assert0(a->pb.buf_end - a->pb.buf - (put_bits_count(&a->pb) >> 3) >= MAX_MB_SIZE); in encode_mb() 293 size = (put_bits_count(&a->pb) + 31) / 32; in encode_frame()
|
D | cbs_mpeg2.c | 324 if (put_bits_count(pbc) % 8 == 0) { in cbs_mpeg2_write_slice() 340 put_bits(pbc, 8 - put_bits_count(pbc) % 8, 0); in cbs_mpeg2_write_slice()
|
D | mpeg4videoenc.c | 868 length = (-put_bits_count(pbc)) & 7; in ff_mpeg4_stuffing() 1317 s->avctx->extradata_size = (put_bits_count(&s->pb) + 7) >> 3; in encode_init() 1337 const int pb2_len = put_bits_count(&s->pb2); in ff_mpeg4_merge_partitions() 1338 const int tex_pb_len = put_bits_count(&s->tex_pb); in ff_mpeg4_merge_partitions() 1339 const int bits = put_bits_count(&s->pb); in ff_mpeg4_merge_partitions() 1358 s->last_bits = put_bits_count(&s->pb); in ff_mpeg4_merge_partitions()
|
D | vc2enc.c | 234 cur_pos = put_bits_count(&s->pb) >> 3; in encode_parse_info() 747 bytes_start = put_bits_count(pb) >> 3; in encode_hq_slice() 757 bytes_len = (put_bits_count(pb) >> 3) - bytes_start - 1; in encode_hq_slice() 759 int len_diff = slice_bytes_max - (put_bits_count(pb) >> 3); in encode_hq_slice() 998 avpkt->size = put_bits_count(&s->pb) >> 3; in vc2_encode_frame()
|
D | hevc_ps_enc.c | 118 data_size = put_bits_count(&pb) / 8; in ff_hevc_encode_nal_vps()
|
D | dca.c | 85 return (put_bits_count(&pb) + 7) >> 3; in avpriv_dca_convert_bitstream()
|