Home
last modified time | relevance | path

Searched refs:get_bits_left (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/ffmpeg/libavcodec/
Ddynamic_hdr10_plus.c45 if (get_bits_left(gb) < 2) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
53 if (get_bits_left(gb) < ((19 * 8 + 1) * (s->num_windows - 1))) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
78 if (get_bits_left(gb) < 28) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
87 if (get_bits_left(gb) < 10) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
97 if (get_bits_left(gb) < (rows * cols * 4)) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
109 if (get_bits_left(gb) < (3 * 17 + 17 + 4)) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
120 if (get_bits_left(gb) < in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
130 if (get_bits_left(gb) < 10) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
135 if (get_bits_left(gb) < 1) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
140 if (get_bits_left(gb) < 10) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
[all …]
Dsiren.c585 if (get_bits_left(gb) <= 0) { in decode_vector()
599 if (error == 0 && get_bits_left(gb) >= 0) { in decode_vector()
666 return error == 1 ? AVERROR_INVALIDDATA : get_bits_left(gb); in decode_vector()
687 ret = categorize_regions(s->number_of_regions, get_bits_left(gb), in siren_decode()
696 ret = decode_vector(s, s->number_of_regions, get_bits_left(gb), in siren_decode()
702 if (get_bits_left(gb) > 0) { in siren_decode()
705 } while (get_bits_left(gb) > 0); in siren_decode()
706 } else if (get_bits_left(gb) < 0 && in siren_decode()
Dh264_sei.c133 int size_bits = get_bits_left(gb); in decode_picture_timing()
418 while (get_bits_left(gb) > 16 && show_bits(gb, 16)) { in ff_h264_sei_decode()
425 if (get_bits_left(gb) < 8) in ff_h264_sei_decode()
431 if (get_bits_left(gb) < 8) in ff_h264_sei_decode()
436 if (size > get_bits_left(gb) / 8) { in ff_h264_sei_decode()
438 type, 8*size, get_bits_left(gb)); in ff_h264_sei_decode()
482 if (get_bits_left(&gb_payload) < 0) { in ff_h264_sei_decode()
484 type, -get_bits_left(&gb_payload)); in ff_h264_sei_decode()
Dfaxcompr.c147 if (get_bits_left(gb) < cwi + 1) in decode_uncompressed()
214 if (get_bits_left(gb) <= 0) in decode_group3_1d_line()
234 if (get_bits_left(gb) > 12 && show_bits(gb, 12) == 15) { in decode_group3_1d_line()
262 if (get_bits_left(gb) <= 0) in decode_group3_2d_line()
286 if (get_bits_left(gb) <= 0) in decode_group3_2d_line()
312 if (get_bits_left(gb) < 3) in decode_group3_2d_line()
Descape124.c91 if (size >= INT_MAX / 34 || get_bits_left(gb) < size * 34) in unpack_codebook()
122 if (get_bits_left(gb) < 1) in decode_skip_count()
228 if (get_bits_left(&gb) < 64 + s->num_superblocks * 23LL / 4320) in escape124_decode_frame()
313 while (get_bits_left(&gb) >= 1 && !get_bits1(&gb)) { in escape124_decode_frame()
343 while (get_bits_left(&gb) >= 1 && !get_bits1(&gb)) { in escape124_decode_frame()
Dwmv2dec.c49 if (get_bits_left(&s->gb) < s->mb_height * s->mb_width) in parse_mb_skip()
58 if (get_bits_left(&s->gb) < 1) in parse_mb_skip()
73 if (get_bits_left(&s->gb) < 1) in parse_mb_skip()
92 if (coded_mb_count > get_bits_left(&s->gb)) in parse_mb_skip()
199 if (get_bits_left(&s->gb) * 8LL < (s->width+15)/16 * ((s->height+15)/16)) in ff_wmv2_decode_secondary_picture_header()
242 if (get_bits_left(&s->gb) < 2) in ff_wmv2_decode_secondary_picture_header()
401 if (get_bits_left(&s->gb) <= 0) in ff_wmv2_decode_mb()
411 if (get_bits_left(&s->gb) <= 0) in ff_wmv2_decode_mb()
Daacdec.c297 asclen = FFMIN(asclen, get_bits_left(gb)); in latm_decode_audio_specific_config()
306 if (get_bits_left(gb) <= 0) in latm_decode_audio_specific_config()
417 if (get_bits_left(gb) < 9) in read_stream_mux_config()
439 if (get_bits_left(gb) < 8) in read_payload_length_info()
470 if (mux_slot_length_bytes < 0 || mux_slot_length_bytes * 8LL > get_bits_left(gb)) { in read_audio_mux_element()
473 } else if (mux_slot_length_bytes * 8 + 256 < get_bits_left(gb)) { in read_audio_mux_element()
476 mux_slot_length_bytes * 8, get_bits_left(gb)); in read_audio_mux_element()
Dmpeg4audio.c35 if (get_bits_left(gb) < 112) in parse_config_ALS()
145 while (get_bits_left(gb) > 15) { in ff_mpeg4audio_get_config_gb()
154 if (get_bits_left(gb) > 11 && get_bits(gb, 11) == 0x548) in ff_mpeg4audio_get_config_gb()
Drtjpeg.c58 if (get_bits_left(gb) < (coeff << 1)) in get_block()
75 if (get_bits_left(gb) < (coeff << 2)) in get_block()
86 if (get_bits_left(gb) < (coeff << 3)) in get_block()
Dh263dec.c325 get_bits_left(&s->gb) >= 48 && in decode_slice()
333 get_bits_left(&s->gb) >= 0 && in decode_slice()
334 get_bits_left(&s->gb) < 137 && in decode_slice()
357 get_bits_left(&s->gb) >= 8 && in decode_slice()
358 get_bits_left(&s->gb) < 300 && in decode_slice()
368 get_bits_left(&s->gb) >= 64 && in decode_slice()
384 int left = get_bits_left(&s->gb); in decode_slice()
414 get_bits_left(&s->gb), show_bits(&s->gb, 24), s->padding_bug_score); in decode_slice()
649 (s->mb_y % s->slice_height) != 0 || get_bits_left(&s->gb) < 0) in ff_h263_decode_frame()
Dqdm2.c686 joined_stereo = (get_bits_left(gb) >= 1) ? get_bits1(gb) : 0; in synthfilt_build_sb_samples()
689 if (get_bits_left(gb) >= 16) in synthfilt_build_sb_samples()
708 zero_encoding = (get_bits_left(gb) >= 1) ? get_bits1(gb) : 0; in synthfilt_build_sb_samples()
715 if (get_bits_left(gb) >= 10) { in synthfilt_build_sb_samples()
742 if (get_bits_left(gb) >= 1) { in synthfilt_build_sb_samples()
756 if (get_bits_left(gb) >= 10) { in synthfilt_build_sb_samples()
781 if (get_bits_left(gb) >= 7) { in synthfilt_build_sb_samples()
798 if (get_bits_left(gb) >= 4) { in synthfilt_build_sb_samples()
812 if (get_bits_left(gb) >= 7) { in synthfilt_build_sb_samples()
880 if (get_bits_left(gb) < 16) in init_quantized_coeffs_elem0()
[all …]
Dbinkaudio.c182 if (get_bits_left(gb) < 64) in decode_block()
187 if (get_bits_left(gb) < 58) in decode_block()
193 if (get_bits_left(gb) < s->num_bands * 8) in decode_block()
327 if (!get_bits_left(gb)) { in binkaudio_receive_frame()
Dindeo2.c60 if ((width & 1) || width * height / (2*(IR2_CODES - 0x7F)) > get_bits_left(&ctx->gb)) in ir2_decode_plane()
85 if (get_bits_left(&ctx->gb) <= 0) in ir2_decode_plane()
129 if (get_bits_left(&ctx->gb) <= 0) in ir2_decode_plane_inter()
Dsmacker.c123 if (get_bits_left(gb) < 8) in smacker_decode_tree()
154 if (get_bits_left(gb) <= 0) in smacker_decode_bigtree()
340 if (skip == 4 || get_bits_left(&gb) < 0) in decode_header_trees()
357 if (get_bits_left(gb) < 1) in smk_get_code()
450 if (get_bits_left(&gb) < 1) in decode_frame()
675 if (get_bits_left(&gb) < 0) { in smka_decode_frame()
699 if (get_bits_left(&gb) < 0) { in smka_decode_frame()
Dtta.c271 unary = get_unary(&gb, 0, get_bits_left(&gb)); in tta_decode_frame()
282 if (get_bits_left(&gb) < k) { in tta_decode_frame()
343 if (i == s->last_frame_length && get_bits_left(&gb) / 8 == 4) { in tta_decode_frame()
351 if (get_bits_left(&gb) < 32) { in tta_decode_frame()
Dalac.c123 if(get_bits_left(&alac->gb) <= 0) in rice_decompress()
324 if(get_bits_left(&alac->gb) <= 0) in decode_element()
360 if(get_bits_left(&alac->gb) <= 0) in decode_element()
432 while (get_bits_left(&alac->gb) >= 3) { in alac_decode_frame()
453 if (ret < 0 && get_bits_left(&alac->gb)) in alac_decode_frame()
Dhevc_sei.c454 if (get_bits_left(gb) < 16 || payload_type > INT_MAX - 255) in decode_nal_sei_message()
461 if (get_bits_left(gb) < 8 + 8LL*payload_size) in decode_nal_sei_message()
466 if (get_bits_left(gb) < 8LL*payload_size) in decode_nal_sei_message()
477 return get_bits_left(gb) > 0 && show_bits(gb, 8) != 0x80; in more_rbsp_data()
Dmpc8.c212 if (get_bits_left(gb) < 0) { in mpc8_decode_frame()
368 if (get_bits_left(gb) < 0) { in mpc8_decode_frame()
369 av_log(avctx, AV_LOG_ERROR, "Overread %d\n", -get_bits_left(gb)); in mpc8_decode_frame()
371 } else if (c->cur_frame == 0 && get_bits_left(gb) < 8) {// we have only padding left in mpc8_decode_frame()
Ddca_lbr.c296 if (get_bits_left(&s->gb) < 1) { in parse_tonal()
377 if (get_bits_left(&s->gb) < 36) { in parse_tonal_chunk()
416 int left = get_bits_left(s); in ensure_bits()
534 if (get_bits_left(&s->gb) < 1) in parse_grid_1_chunk()
548 if (get_bits_left(&s->gb) < 0) { in parse_grid_1_chunk()
569 if (get_bits_left(&s->gb) >= 0) in parse_grid_1_chunk()
647 nblocks = FFMIN(get_bits_left(&s->gb) / 8, DCA_LBR_TIME_SAMPLES / 8); in parse_ch()
658 for (i = 0; i < DCA_LBR_TIME_SAMPLES && get_bits_left(&s->gb) >= 2; i++) { in parse_ch()
665 nblocks = FFMIN(get_bits_left(&s->gb) / 8, (DCA_LBR_TIME_SAMPLES + 4) / 5); in parse_ch()
676 nblocks = FFMIN(get_bits_left(&s->gb) / 7, (DCA_LBR_TIME_SAMPLES + 2) / 3); in parse_ch()
[all …]
Dituh263dec.c168 left= get_bits_left(&s->gb); in h263_decode_gob_header()
220 while (get_bits_left(&s->gb) >= 32 && show_bits_long(&s->gb, 32) != SLICE_START_CODE) { in ff_h263_resync()
224 if (get_bits_left(&s->gb) >= 32 && show_bits_long(&s->gb, 32) == SLICE_START_CODE) in ff_h263_resync()
247 left= get_bits_left(&s->gb); in ff_h263_resync()
979 if (get_bits_left(&s->gb) < 0) in ff_h263_decode_mb()
986 if (get_bits_left(&s->gb) < 16) { in ff_h263_decode_mb()
987 v >>= 16 - get_bits_left(&s->gb); in ff_h263_decode_mb()
1011 for(i= get_bits_left(&s->gb); i>24; i-=8) { in ff_h263_decode_picture_header()
1221 if ((s->width * s->height / 256 / 8) > get_bits_left(&s->gb)) in ff_h263_decode_picture_header()
1281 …if (s->pict_type == AV_PICTURE_TYPE_I && s->codec_tag == AV_RL32("ZYGO") && get_bits_left(&s->gb) … in ff_h263_decode_picture_header()
Dhevc_ps.c270 if (get_bits_left(gb) < 2+1+5 + 32 + 4 + 43 + 1) in decode_profile_tier_level()
344 get_bits_left(gb) < 8 + (8*2 * (max_num_sub_layers - 1 > 0))) { in parse_ptl()
367 if (get_bits_left(gb) < 8) { in parse_ptl()
533 (vps->vps_num_layer_sets - 1LL) * (vps->vps_max_layer_id + 1LL) > get_bits_left(gb)) { in ff_hevc_decode_nal_vps()
566 if (get_bits_left(gb) < 0) { in ff_hevc_decode_nal_vps()
568 "Overread VPS by %d bits\n", -get_bits_left(gb)); in ff_hevc_decode_nal_vps()
662 if (get_bits_left(gb) >= 68 && show_bits_long(gb, 21) == 0x100000) { in decode_vui()
697 if( get_bits_left(gb) < 66 && !alt) { in decode_vui()
723 if (get_bits_left(gb) < 8 && !alt) { in decode_vui()
742 if (get_bits_left(gb) < 1 && !alt) { in decode_vui()
[all …]
Dlagarithrac.c41 left = get_bits_left(gb) >> 3; in ff_lag_rac_init()
Dbink.c251 if (get_bits_left(gb) < 4) in read_tree()
341 if (get_bits_left(gb) < 1) in read_runs()
365 if (get_bits_left(gb) < 1) in read_motion_values()
410 if (get_bits_left(gb) < 1) in read_block_types()
447 if (get_bits_left(gb) < 2) in read_patterns()
468 if (get_bits_left(gb) < 1) in read_colors()
483 if (get_bits_left(gb) < 2) in read_colors()
510 if (get_bits_left(gb) < start_bits - has_sign) in read_dcs()
651 if (get_bits_left(gb) < 4) in read_dct_coeffs()
1103 if (get_bits_left(gb) < 4) in bink_decode_plane()
/third_party/ffmpeg/libavformat/
Drtpdec_h261.c128 while (get_bits_left(&gb) >= 8) in h261_handle_packet()
130 rtp_h261_ctx->endbyte_bits = get_bits_left(&gb); in h261_handle_packet()
Drtpdec_h263_rfc2190.c151 while (get_bits_left(&gb) >= 8) in h263_handle_packet()
153 data->endbyte_bits = get_bits_left(&gb); in h263_handle_packet()

123456