Home
last modified time | relevance | path

Searched refs:get_bits_count (Results 1 - 25 of 113) sorted by relevance

12345

/third_party/ffmpeg/libavcodec/
H A Dmpeg4audio.c96 int start_bit_index = get_bits_count(gb); in ff_mpeg4audio_get_config_gb()
123 specific_config_bitindex = get_bits_count(gb); in ff_mpeg4audio_get_config_gb()
130 specific_config_bitindex = get_bits_count(gb); in ff_mpeg4audio_get_config_gb()
H A Dwmaprodec.c1209 s->subframe_offset = get_bits_count(&s->gb); in decode_subframe()
1281 if (get_bits_count(&s->gb) + num_fill_bits > s->num_saved_bits) { in decode_subframe()
1337 while (get_bits_count(&s->gb) + 5 < s->num_saved_bits && in decode_subframe()
1371 get_bits_count(&s->gb) - s->subframe_offset); in decode_subframe()
1377 get_bits_count(&s->gb) < s->num_saved_bits) { in decode_subframe()
1385 get_bits_count(&s->gb) - s->subframe_offset); in decode_subframe()
1484 get_bits_count(gb) - s->frame_offset); in decode_frame()
1523 if (len != (get_bits_count(gb) - s->frame_offset) + 2) { in decode_frame()
1528 len - (get_bits_count(gb) - s->frame_offset) - 1); in decode_frame()
1534 skip_bits_long(gb, len - (get_bits_count(g in decode_frame()
[all...]
H A Dgolomb.h569 int pos = get_bits_count(s); in get_ue()
571 int len = get_bits_count(s) - pos; in get_ue()
584 int pos = get_bits_count(s); in get_se()
586 int len = get_bits_count(s) - pos; in get_se()
599 int pos = get_bits_count(s); in get_te()
601 int len = get_bits_count(s) - pos; in get_te()
H A Ddcadec.h100 if (p < get_bits_count(s) || p > s->size_in_bits) in ff_dca_seek_bits()
102 skip_bits_long(s, p - get_bits_count(s)); in ff_dca_seek_bits()
H A Daac_adtstoasc_bsf.c95 pkt->size -= get_bits_count(&gb)/8; in aac_adtstoasc_filter()
96 pkt->data += get_bits_count(&gb)/8; in aac_adtstoasc_filter()
H A Dcbs_av1.c37 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( in cbs_av1_read_unit()
[all...]
H A Dmpegaudiodec_template.c514 ret = handle_crc(s, get_bits_count(&s->gb) - 16); in mp_decode_layer2()
727 av_assert2((get_bits_count(&s->gb) & 7) == 0); in switch_buffer()
730 *end_pos = *end_pos2 + get_bits_count(&s->gb) - *pos; in switch_buffer()
731 *pos = get_bits_count(&s->gb); in switch_buffer()
783 int pos = get_bits_count(&s->gb); in huffman_decode()
848 pos = get_bits_count(&s->gb); in huffman_decode()
882 bits_left = end_pos2 - get_bits_count(&s->gb); in huffman_decode()
893 i = get_bits_count(&s->gb); in huffman_decode()
1298 const uint8_t *ptr = s->gb.buffer + (get_bits_count(&s->gb) >> 3); in mp_decode_layer3()
1301 av_assert1((get_bits_count( in mp_decode_layer3()
[all...]
H A Dwmalosslessdec.c847 s->subframe_offset = get_bits_count(&s->gb); in decode_subframe()
957 bits * s->num_channels * subframe_len, get_bits_count(&s->gb)); in decode_subframe()
1103 if (len != (get_bits_count(gb) - s->frame_offset) + 2) { in decode_frame()
1108 len - (get_bits_count(gb) - s->frame_offset) - 1); in decode_frame()
1114 skip_bits_long(gb, len - (get_bits_count(gb) - s->frame_offset) - 1); in decode_frame()
1131 return s->buf_bit_size - get_bits_count(gb); in remaining_bits()
1152 s->frame_offset = get_bits_count(gb) & 7; in save_bits()
1168 ff_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3), in save_bits()
1171 int align = 8 - (get_bits_count(gb) & 7); in save_bits()
1175 ff_copy_bits(&s->pb, gb->buffer + (get_bits_count(g in save_bits()
[all...]
H A Drtjpeg.c31 n = (-get_bits_count(gb)) & (a - 1); \
145 return get_bits_count(&gb) / 8; in ff_rtjpeg_decode_frame_yuv420()
H A Dmlpdec.c510 int start_count = get_bits_count(gbp); in read_restart_header()
618 checksum = ff_mlp_restart_checksum(buf, get_bits_count(gbp) - start_count); in read_restart_header()
992 expected_stream_pos = get_bits_count(gbp); in read_block_data()
1016 if (get_bits_count(gbp) != expected_stream_pos) in read_block_data()
1309 if (get_bits_count(&gb) >= substream_data_len[substr] * 8) in read_access_unit()
1314 skip_bits(&gb, (-get_bits_count(&gb)) & 15); in read_access_unit()
1316 if (substream_data_len[substr] * 8 - get_bits_count(&gb) >= 32) { in read_access_unit()
1335 if (substream_data_len[substr] * 8 - get_bits_count(&gb) != 16) in read_access_unit()
1347 if (substream_data_len[substr] * 8 != get_bits_count(&gb)) in read_access_unit()
H A Dcbs_vp9.c35 position = get_bits_count(gbc); in cbs_vp9_read_s()
104 position = get_bits_count(gbc); in cbs_vp9_read_increment()
181 position = get_bits_count(gbc); in cbs_vp9_read_le()
325 #define byte_alignment(rw) (get_bits_count(rw) % 8)
501 pos = get_bits_count(&gbc); in cbs_vp9_read_unit()
H A Daacps_common.c116 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()
H A Drv10.c543 if (ret != SLICE_ERROR && active_bits_size >= get_bits_count(&s->gb)) { in rv10_decode_packet()
546 if (get_bits_count(&s->gb) + 16 > active_bits_size) in rv10_decode_packet()
547 v >>= get_bits_count(&s->gb) + 16 - active_bits_size; in rv10_decode_packet()
552 if (ret != SLICE_ERROR && active_bits_size < get_bits_count(&s->gb) && in rv10_decode_packet()
553 8 * buf_size2 >= get_bits_count(&s->gb)) { in rv10_decode_packet()
560 if (ret == SLICE_ERROR || active_bits_size < get_bits_count(&s->gb)) { in rv10_decode_packet()
H A Dlagarithrac.c43 l->bytestream = gb->buffer + get_bits_count(gb) / 8; in ff_lag_rac_init()
H A Dmpegvideodec.h77 get_bits_count(s) - 1, s->size_in_bits, msg); in check_marker()
H A Dflashsv.c222 zstream->next_in = avpkt->data + get_bits_count(gb) / 8; in flashsv_decode_block()
238 s->blocks[blk_idx].pos = s->keyframedata + (get_bits_count(gb) / 8); in flashsv_decode_block()
495 if ((get_bits_count(&gb) / 8) != buf_size) in flashsv_decode_frame()
497 buf_size, (get_bits_count(&gb) / 8)); in flashsv_decode_frame()
H A Dh263dec.c173 int pos = (get_bits_count(&s->gb) + 7) >> 3; in get_consumed_bytes()
219 const uint8_t *start = s->gb.buffer + get_bits_count(&s->gb) / 8; in decode_slice()
271 get_bits_count(&s->gb), show_bits(&s->gb, 24)); in decode_slice()
342 const int bits_count = get_bits_count(&s->gb); in decode_slice()
353 else if (v == 0x7F && ((get_bits_count(&s->gb) + 8) & 8) && in decode_slice()
H A Dmetasound.c239 if (get_bits_count(&gb) & 3) in metasound_read_bitstream()
240 skip_bits(&gb, 4 - (get_bits_count(&gb) & 3)); in metasound_read_bitstream()
243 return (get_bits_count(&gb) + 7) / 8; in metasound_read_bitstream()
H A Dh264_sei.c139 int index = get_bits_count(gb); in decode_picture_timing()
187 return ff_parse_a53_cc(&h->buf_ref, gb->buffer + get_bits_count(gb) / 8, size); in decode_registered_user_data_closed_caption()
492 ret = init_get_bits8(&gb_payload, gb->buffer + get_bits_count(gb) / 8, size); in ff_h264_sei_decode()
H A Ddca_core.c155 int n, ch, nchannels, header_size = 0, header_pos = get_bits_count(&s->gb); in parse_coding_header()
863 int ret, mask, header_size, header_pos = get_bits_count(&s->gb); in parse_xxch_frame()
1078 int i, ch1, ch2, ret, header_size, header_pos = get_bits_count(&s->gb); in parse_xbr_frame()
1128 header_pos = get_bits_count(&s->gb); in parse_xbr_frame()
1394 int n, ch, header_size = 0, header_pos = get_bits_count(&s->gb); in parse_x96_coding_header()
1548 int i, ret, header_size, header_pos = get_bits_count(&s->gb); in parse_x96_frame_exss()
1600 header_pos = get_bits_count(&s->gb); in parse_x96_frame_exss()
1630 skip_bits_long(&s->gb, -get_bits_count(&s->gb) & 31); in parse_aux_data()
1638 aux_pos = get_bits_count(&s->gb); in parse_aux_data()
1673 skip_bits(&s->gb, -get_bits_count( in parse_aux_data()
[all...]
H A Ddirac_arith.c103 c->bytestream = gb->buffer + get_bits_count(gb)/8; in ff_dirac_init_arith_decoder()
H A Dcbs_sei_syntax_template.c266 get_bits_count(rw) + 8 * payload_size)); in message_list()
267 skip_bits_long(&payload_gbc, get_bits_count(rw)); in message_list()
H A Dmss2.c522 buf += get_bits_count(&gb) >> 3; in mss2_decode_frame()
523 buf_size -= get_bits_count(&gb) >> 3; in mss2_decode_frame()
666 buf += get_bits_count(&gb) >> 3; in mss2_decode_frame()
667 buf_size -= get_bits_count(&gb) >> 3; in mss2_decode_frame()
H A Dinterplayacm.c605 s->skip = get_bits_count(gb) - 8 * (get_bits_count(gb) / 8); in decode_frame()
606 n = get_bits_count(gb) / 8; in decode_frame()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_encoder_bitstream.h59 int32_t get_bits_count() in get_bits_count() function in d3d12_video_encoder_bitstream

Completed in 28 milliseconds

12345