/third_party/ffmpeg/libavcodec/ |
D | get_bits.h | 208 # define SHOW_UBITS(name, gb, num) SHOW_UBITS_LE(name, gb, num) macro 211 # define SHOW_UBITS(name, gb, num) SHOW_UBITS_BE(name, gb, num) macro 404 tmp = SHOW_UBITS(re, s, n); in get_bits() 462 tmp = SHOW_UBITS(re, s, n); in show_bits() 711 index = SHOW_UBITS(name, gb, bits); \ 721 index = SHOW_UBITS(name, gb, nb_bits) + code; \ 730 index = SHOW_UBITS(name, gb, nb_bits) + code; \ 744 index = SHOW_UBITS(name, gb, bits); \ 756 index = SHOW_UBITS(name, gb, nb_bits) + level; \ 766 index = SHOW_UBITS(name, gb, nb_bits) + level; \
|
D | golomb.h | 417 buf = SHOW_UBITS(re, gb, esc_len); in get_ur_golomb() 483 …for (i = 0; i + MIN_CACHE_BITS <= limit && SHOW_UBITS(re, gb, MIN_CACHE_BITS) == 0; i += MIN_CACHE… in get_ur_golomb_jpegls() 491 for (; i < limit && SHOW_UBITS(re, gb, 1) == 0; i++) { in get_ur_golomb_jpegls() 500 buf = SHOW_UBITS(re, gb, 16) << (k-16); in get_ur_golomb_jpegls() 503 buf |= SHOW_UBITS(re, gb, k-16); in get_ur_golomb_jpegls() 506 buf = SHOW_UBITS(re, gb, k); in get_ur_golomb_jpegls() 515 buf = SHOW_UBITS(re, gb, esc_len); in get_ur_golomb_jpegls()
|
D | msmpeg4dec.c | 727 last= SHOW_UBITS(re, &s->gb, 1); SKIP_CACHE(re, &s->gb, 1); in ff_msmpeg4_decode_block() 728 run= SHOW_UBITS(re, &s->gb, 6); SKIP_CACHE(re, &s->gb, 6); in ff_msmpeg4_decode_block() 733 last= SHOW_UBITS(re, &s->gb, 1); SKIP_BITS(re, &s->gb, 1); in ff_msmpeg4_decode_block() 739 ll= SHOW_UBITS(re, &s->gb, 3); SKIP_BITS(re, &s->gb, 3); in ff_msmpeg4_decode_block() 741 ll= 8+SHOW_UBITS(re, &s->gb, 1); SKIP_BITS(re, &s->gb, 1); in ff_msmpeg4_decode_block() 745 while(ll<8 && SHOW_UBITS(re, &s->gb, 1)==0){ in ff_msmpeg4_decode_block() 753 … s->esc3_run_length= SHOW_UBITS(re, &s->gb, 2) + 3; SKIP_BITS(re, &s->gb, 2); in ff_msmpeg4_decode_block() 756 run= SHOW_UBITS(re, &s->gb, s->esc3_run_length); in ff_msmpeg4_decode_block() 759 sign= SHOW_UBITS(re, &s->gb, 1); in ff_msmpeg4_decode_block() 762 level= SHOW_UBITS(re, &s->gb, s->esc3_level_length); in ff_msmpeg4_decode_block()
|
D | mpeg12.c | 284 run = SHOW_UBITS(re, gb, 6) + 1; in ff_mpeg1_decode_block_intra() 291 level = SHOW_UBITS(re, gb, 8) - 256; in ff_mpeg1_decode_block_intra() 294 level = SHOW_UBITS(re, gb, 8); in ff_mpeg1_decode_block_intra()
|
D | huffyuvdec.c | 582 index = SHOW_UBITS(name, gb, nb_bits) + code; \ 590 index = SHOW_UBITS(name, gb, nb_bits) + code; \ 602 unsigned int index = SHOW_UBITS(name, gb, bits); \ 610 index = SHOW_UBITS(name, gb, bits); \ 689 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_plane_bitstream() 709 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_plane_bitstream() 760 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1() 773 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1() 778 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1() 786 index = SHOW_UBITS(re, &s->gb, VLC_BITS); in decode_bgr_1() [all …]
|
D | ituh263dec.c | 518 int is11 = SHOW_UBITS(re, &s->gb, 1); in h263_decode_block() 520 run = SHOW_UBITS(re, &s->gb, 7) + 1; in h263_decode_block() 532 run = SHOW_UBITS(re, &s->gb, 7) + 1; in h263_decode_block() 534 level = (int8_t)SHOW_UBITS(re, &s->gb, 8); in h263_decode_block() 543 level = SHOW_UBITS(re, &s->gb, 5); in h263_decode_block() 551 if (SHOW_UBITS(re, &s->gb, 1)) in h263_decode_block()
|
D | proresdec2.c | 424 val = SHOW_UBITS(re, gb, bits) - (1 << exp_order) + \ 429 val = (q << rice_order) + SHOW_UBITS(re, gb, rice_order); \ 493 if (!bits_left || (bits_left < 32 && !SHOW_UBITS(re, gb, bits_left))) in decode_ac_coeffs()
|
D | mpeg12dec.c | 183 run = SHOW_UBITS(re, &s->gb, 6) + 1; in mpeg1_decode_block_inter() 189 level = SHOW_UBITS(re, &s->gb, 8) - 256; in mpeg1_decode_block_inter() 192 level = SHOW_UBITS(re, &s->gb, 8); in mpeg1_decode_block_inter() 272 run = SHOW_UBITS(re, &s->gb, 6) + 1; in mpeg1_fast_decode_block_inter() 278 level = SHOW_UBITS(re, &s->gb, 8) - 256; in mpeg1_fast_decode_block_inter() 281 level = SHOW_UBITS(re, &s->gb, 8); in mpeg1_fast_decode_block_inter() 365 run = SHOW_UBITS(re, &s->gb, 6) + 1; in mpeg2_decode_block_non_intra() 443 run = SHOW_UBITS(re, &s->gb, 6) + 1; in mpeg2_fast_decode_block_non_intra() 530 run = SHOW_UBITS(re, &s->gb, 6) + 1; in mpeg2_decode_block_intra() 611 run = SHOW_UBITS(re, &s->gb, 6) + 1; in mpeg2_fast_decode_block_intra()
|
D | h261dec.c | 322 run = SHOW_UBITS(re, &s->gb, 6) + 1; in h261_decode_block() 329 if (SHOW_UBITS(re, &s->gb, 1)) in h261_decode_block()
|
D | speedhq.c | 259 run = SHOW_UBITS(re, gb, 6) + 1; in decode_dct_block() 261 level = SHOW_UBITS(re, gb, 12) - 2048; in decode_dct_block()
|
D | mpeg4videodec.c | 1130 if (SHOW_UBITS(re, &s->gb, 1) == 0) { in mpeg4_decode_block() 1137 last = SHOW_UBITS(re, &s->gb, 1); in mpeg4_decode_block() 1139 run = SHOW_UBITS(re, &s->gb, 6); in mpeg4_decode_block() 1143 if (SHOW_UBITS(re, &s->gb, 1) == 0) { in mpeg4_decode_block() 1150 level = SHOW_UBITS(re, &s->gb, 11); in mpeg4_decode_block() 1153 if (SHOW_UBITS(re, &s->gb, 5) != 0x10) { in mpeg4_decode_block() 1177 last = SHOW_UBITS(re, &s->gb, 1); in mpeg4_decode_block() 1179 run = SHOW_UBITS(re, &s->gb, 6); in mpeg4_decode_block() 1187 if (SHOW_UBITS(re, &s->gb, 1) == 0) { in mpeg4_decode_block() 1198 if (SHOW_UBITS(re, &s->gb, 1) == 0) { in mpeg4_decode_block()
|
D | mdec.c | 103 run = SHOW_UBITS(re, &a->gb, 6)+1; LAST_SKIP_BITS(re, &a->gb, 6); in mdec_decode_block_intra()
|
D | eamad.c | 172 run = SHOW_UBITS(re, &s->gb, 6)+1; LAST_SKIP_BITS(re, &s->gb, 6); in decode_block_intra()
|
D | dvdec.c | 225 pos, SHOW_UBITS(re, gb, 16), re_index); in dv_decode_ac()
|
D | dnxhddec.c | 421 level += SHOW_UBITS(bs, &row->gb, index_bits) << 7; in dnxhd_decode_dct_block()
|
D | mjpegdec.c | 942 block[j] += SHOW_UBITS(re, &s->gb, 1) * \ 984 val = SHOW_UBITS(re, &s->gb, 1); in decode_block_refinement() 1005 run += SHOW_UBITS(re, &s->gb, val); in decode_block_refinement()
|
D | aacdec_template.c | 1898 sign = nnz ? SHOW_UBITS(re, gb, nnz) << (cb_idx >> 12) : 0; in decode_spectrum_and_dequant() 1939 bits = SHOW_UBITS(re, gb, nnz) << (32-nnz); in decode_spectrum_and_dequant() 1959 n = (1 << b) + SHOW_UBITS(re, gb, b); in decode_spectrum_and_dequant()
|