/third_party/ffmpeg/libavcodec/ |
D | mpeg4audio.c | 103 int start_bit_index = get_bits_count(gb); in ff_mpeg4audio_get_config_gb() 130 specific_config_bitindex = get_bits_count(gb); in ff_mpeg4audio_get_config_gb() 137 specific_config_bitindex = get_bits_count(gb); in ff_mpeg4audio_get_config_gb()
|
D | dcadec.h | 91 if (p < get_bits_count(s) || p > s->size_in_bits) in ff_dca_seek_bits() 93 skip_bits_long(s, p - get_bits_count(s)); in ff_dca_seek_bits()
|
D | wmaprodec.c | 1195 s->subframe_offset = get_bits_count(&s->gb); in decode_subframe() 1267 if (get_bits_count(&s->gb) + num_fill_bits > s->num_saved_bits) { in decode_subframe() 1323 while (get_bits_count(&s->gb) + 5 < s->num_saved_bits && in decode_subframe() 1357 get_bits_count(&s->gb) - s->subframe_offset); in decode_subframe() 1363 get_bits_count(&s->gb) < s->num_saved_bits) { in decode_subframe() 1371 get_bits_count(&s->gb) - s->subframe_offset); in decode_subframe() 1479 get_bits_count(gb) - s->frame_offset); in decode_frame() 1518 if (len != (get_bits_count(gb) - s->frame_offset) + 2) { in decode_frame() 1523 len - (get_bits_count(gb) - s->frame_offset) - 1); in decode_frame() 1529 skip_bits_long(gb, len - (get_bits_count(gb) - s->frame_offset) - 1); in decode_frame() [all …]
|
D | wmalosslessdec.c | 843 s->subframe_offset = get_bits_count(&s->gb); in decode_subframe() 953 bits * s->num_channels * subframe_len, get_bits_count(&s->gb)); in decode_subframe() 1099 if (len != (get_bits_count(gb) - s->frame_offset) + 2) { in decode_frame() 1104 len - (get_bits_count(gb) - s->frame_offset) - 1); in decode_frame() 1110 skip_bits_long(gb, len - (get_bits_count(gb) - s->frame_offset) - 1); in decode_frame() 1127 return s->buf_bit_size - get_bits_count(gb); in remaining_bits() 1148 s->frame_offset = get_bits_count(gb) & 7; in save_bits() 1164 ff_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3), in save_bits() 1167 int align = 8 - (get_bits_count(gb) & 7); in save_bits() 1171 ff_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3), len); in save_bits() [all …]
|
D | golomb.h | 571 int pos = get_bits_count(s); in get_ue() 573 int len = get_bits_count(s) - pos; in get_ue() 586 int pos = get_bits_count(s); in get_se() 588 int len = get_bits_count(s) - pos; in get_se() 601 int pos = get_bits_count(s); in get_te() 603 int len = get_bits_count(s) - pos; in get_te()
|
D | aac_adtstoasc_bsf.c | 96 pkt->size -= get_bits_count(&gb)/8; in aac_adtstoasc_filter() 97 pkt->data += get_bits_count(&gb)/8; in aac_adtstoasc_filter()
|
D | aacps_common.c | 116 int count = get_bits_count(gb); in ps_read_extension_data() 131 return get_bits_count(gb) - count; in ps_read_extension_data() 138 int bit_count_start = get_bits_count(gb_host); in ff_ps_read_data() 276 bits_consumed = get_bits_count(gb) - bit_count_start; in ff_ps_read_data()
|
D | rtjpeg.c | 31 n = (-get_bits_count(gb)) & (a - 1); \ 145 return get_bits_count(&gb) / 8; in ff_rtjpeg_decode_frame_yuv420()
|
D | cbs_av1.c | 37 position = get_bits_count(gbc); in cbs_av1_read_uvlc() 154 position = get_bits_count(gbc); in cbs_av1_read_leb128() 220 position = get_bits_count(gbc); in cbs_av1_read_ns() 319 position = get_bits_count(gbc); in cbs_av1_read_increment() 396 position = get_bits_count(gbc); in cbs_av1_read_subexp() 641 #define byte_alignment(rw) (get_bits_count(rw) % 8) 818 pos = get_bits_count(&gbc); in cbs_av1_split_fragment() 854 pos = get_bits_count(gbc); in cbs_av1_ref_tile_data() 910 start_pos = get_bits_count(&gbc); in cbs_av1_read_unit() 1031 end_pos = get_bits_count(&gbc); in cbs_av1_read_unit()
|
D | rv10.c | 542 if (ret != SLICE_ERROR && active_bits_size >= get_bits_count(&s->gb)) { in rv10_decode_packet() 545 if (get_bits_count(&s->gb) + 16 > active_bits_size) in rv10_decode_packet() 546 v >>= get_bits_count(&s->gb) + 16 - active_bits_size; in rv10_decode_packet() 551 if (ret != SLICE_ERROR && active_bits_size < get_bits_count(&s->gb) && in rv10_decode_packet() 552 8 * buf_size2 >= get_bits_count(&s->gb)) { in rv10_decode_packet() 559 if (ret == SLICE_ERROR || active_bits_size < get_bits_count(&s->gb)) { in rv10_decode_packet()
|
D | mpegaudiodec_template.c | 512 ret = handle_crc(s, get_bits_count(&s->gb) - 16); in mp_decode_layer2() 725 av_assert2((get_bits_count(&s->gb) & 7) == 0); in switch_buffer() 728 *end_pos = *end_pos2 + get_bits_count(&s->gb) - *pos; in switch_buffer() 729 *pos = get_bits_count(&s->gb); in switch_buffer() 781 int pos = get_bits_count(&s->gb); in huffman_decode() 846 pos = get_bits_count(&s->gb); in huffman_decode() 880 bits_left = end_pos2 - get_bits_count(&s->gb); in huffman_decode() 891 i = get_bits_count(&s->gb); in huffman_decode() 1296 const uint8_t *ptr = s->gb.buffer + (get_bits_count(&s->gb) >> 3); in mp_decode_layer3() 1299 av_assert1((get_bits_count(&s->gb) & 7) == 0); in mp_decode_layer3() [all …]
|
D | cbs_vp9.c | 36 position = get_bits_count(gbc); in cbs_vp9_read_s() 105 position = get_bits_count(gbc); in cbs_vp9_read_increment() 182 position = get_bits_count(gbc); in cbs_vp9_read_le() 326 #define byte_alignment(rw) (get_bits_count(rw) % 8) 502 pos = get_bits_count(&gbc); in cbs_vp9_read_unit()
|
D | mlpdec.c | 482 int start_count = get_bits_count(gbp); in read_restart_header() 589 checksum = ff_mlp_restart_checksum(buf, get_bits_count(gbp) - start_count); in read_restart_header() 963 expected_stream_pos = get_bits_count(gbp); in read_block_data() 987 if (get_bits_count(gbp) != expected_stream_pos) in read_block_data() 1270 if (get_bits_count(&gb) >= substream_data_len[substr] * 8) in read_access_unit() 1275 skip_bits(&gb, (-get_bits_count(&gb)) & 15); in read_access_unit() 1277 if (substream_data_len[substr] * 8 - get_bits_count(&gb) >= 32) { in read_access_unit() 1296 if (substream_data_len[substr] * 8 - get_bits_count(&gb) != 16) in read_access_unit() 1308 if (substream_data_len[substr] * 8 != get_bits_count(&gb)) in read_access_unit()
|
D | lagarithrac.c | 43 l->bytestream = gb->buffer + get_bits_count(gb) / 8; in ff_lag_rac_init()
|
D | metasound.c | 237 if (get_bits_count(&gb) & 3) in metasound_read_bitstream() 238 skip_bits(&gb, 4 - (get_bits_count(&gb) & 3)); in metasound_read_bitstream() 241 return (get_bits_count(&gb) + 7) / 8; in metasound_read_bitstream()
|
D | flashsv.c | 202 s->zstream.next_in = avpkt->data + get_bits_count(gb) / 8; in flashsv_decode_block() 218 s->blocks[blk_idx].pos = s->keyframedata + (get_bits_count(gb) / 8); in flashsv_decode_block() 501 if ((get_bits_count(&gb) / 8) != buf_size) in flashsv_decode_frame() 503 buf_size, (get_bits_count(&gb) / 8)); in flashsv_decode_frame()
|
D | h263dec.c | 169 int pos = (get_bits_count(&s->gb) + 7) >> 3; in get_consumed_bytes() 213 const uint8_t *start = s->gb.buffer + get_bits_count(&s->gb) / 8; in decode_slice() 265 get_bits_count(&s->gb), show_bits(&s->gb, 24)); in decode_slice() 336 const int bits_count = get_bits_count(&s->gb); in decode_slice() 347 else if (v == 0x7F && ((get_bits_count(&s->gb) + 8) & 8) && in decode_slice()
|
D | h264_sei.c | 132 int index = get_bits_count(gb); in decode_picture_timing() 180 return ff_parse_a53_cc(&h->buf_ref, gb->buffer + get_bits_count(gb) / 8, size); in decode_registered_user_data_closed_caption() 442 ret = init_get_bits8(&gb_payload, gb->buffer + get_bits_count(gb) / 8, size); in ff_h264_sei_decode()
|
D | dirac_arith.c | 103 c->bytestream = gb->buffer + get_bits_count(gb)/8; in ff_dirac_init_arith_decoder()
|
D | get_bits.h | 219 static inline int get_bits_count(const GetBitContext *s) in get_bits_count() function 617 get_bits_count(s) - 1, s->size_in_bits, msg); in check_marker() 695 int n = -get_bits_count(s) & 7; in align_get_bits() 851 return gb->size_in_bits - get_bits_count(gb); in get_bits_left()
|
D | cbs_sei_syntax_template.c | 266 get_bits_count(rw) + 8 * payload_size)); in FUNC() 267 skip_bits_long(&payload_gbc, get_bits_count(rw)); in FUNC()
|
D | av1_parse.h | 137 *start_pos = get_bits_count(&gb) / 8; in parse_obu_header()
|
D | dca_core.c | 153 int n, ch, nchannels, header_size = 0, header_pos = get_bits_count(&s->gb); in parse_coding_header() 861 int ret, mask, header_size, header_pos = get_bits_count(&s->gb); in parse_xxch_frame() 1076 int i, ch1, ch2, ret, header_size, header_pos = get_bits_count(&s->gb); in parse_xbr_frame() 1126 header_pos = get_bits_count(&s->gb); in parse_xbr_frame() 1392 int n, ch, header_size = 0, header_pos = get_bits_count(&s->gb); in parse_x96_coding_header() 1546 int i, ret, header_size, header_pos = get_bits_count(&s->gb); in parse_x96_frame_exss() 1598 header_pos = get_bits_count(&s->gb); in parse_x96_frame_exss() 1628 skip_bits_long(&s->gb, -get_bits_count(&s->gb) & 31); in parse_aux_data() 1636 aux_pos = get_bits_count(&s->gb); in parse_aux_data() 1671 skip_bits(&s->gb, -get_bits_count(&s->gb) & 7); in parse_aux_data() [all …]
|
D | tak_parser.c | 86 get_bits_count(&gb) / 8)) { in tak_parse()
|
/third_party/ffmpeg/libavformat/ |
D | rtpenc_vc2hq.c | 78 frag_len = (get_bits_count(&gc) + 7) / 8; /* length of transform parameters */ in send_picture()
|