Lines Matching refs:VLC_BITS
121 uint16_t *symbols = av_mallocz(5 << VLC_BITS); in generate_joint_tables()
126 bits = symbols + (1 << VLC_BITS); in generate_joint_tables()
127 len = (uint8_t *)(bits + (1 << VLC_BITS)); in generate_joint_tables()
135 int limit = VLC_BITS - len0; in generate_joint_tables()
146 av_assert0(i < (1 << VLC_BITS)); in generate_joint_tables()
154 if ((ret = ff_init_vlc_sparse(&s->vlc[4 + p], VLC_BITS, i, len, 1, 1, in generate_joint_tables()
168 int limit0 = VLC_BITS - len0; in generate_joint_tables()
181 av_assert0(i < (1 << VLC_BITS)); in generate_joint_tables()
198 if ((ret = init_vlc(&s->vlc[4], VLC_BITS, i, len, 1, 1, in generate_joint_tables()
226 if ((ret = init_vlc(&s->vlc[i], VLC_BITS, s->vlc_n, s->len[i], 1, 1, in read_huffman_tables()
266 if ((ret = init_vlc(&s->vlc[i], VLC_BITS, 256, s->len[i], 1, 1, in read_old_huffman_tables()
624 s->vlc[0].table, s->vlc[plane1].table, VLC_BITS, 3, OP8bits)
658 s->vlc[plane].table, s->vlc[plane].table, VLC_BITS, 3, OP)
665 dst0 = get_vlc2(&s->gb, s->vlc[plane].table, VLC_BITS, 3)<<2;\
667 dst1 = get_vlc2(&s->gb, s->vlc[plane].table, VLC_BITS, 3)<<2;\
689 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_plane_bitstream()
691 &s->gb, re, VLC_BITS, 3); in decode_plane_bitstream()
709 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_plane_bitstream()
711 &s->gb, re, VLC_BITS, 3); in decode_plane_bitstream()
725 int dst = get_vlc2(&s->gb, s->vlc[plane].table, VLC_BITS, 3)<<2; in decode_plane_bitstream()
760 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1()
770 &s->gb, re, VLC_BITS, 3); in decode_bgr_1()
773 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1()
774 VLC_INTERN(code, s->vlc[0].table, &s->gb, re, VLC_BITS, 3); in decode_bgr_1()
778 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1()
779 VLC_INTERN(code, s->vlc[2].table, &s->gb, re, VLC_BITS, 3); in decode_bgr_1()
783 &s->gb, re, VLC_BITS, 3); in decode_bgr_1()
786 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1()
788 &s->gb, re, VLC_BITS, 3); in decode_bgr_1()
791 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1()
793 &s->gb, re, VLC_BITS, 3); in decode_bgr_1()
798 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1()
800 &s->gb, re, VLC_BITS, 3); in decode_bgr_1()