/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jdhuff.h | 103 int bits_left; /* # of unused bits in it */ member 115 int bits_left; /* # of unused bits in it */ member 123 register int bits_left; \ 131 bits_left = permstate.bits_left; 137 permstate.bits_left = bits_left 158 if (bits_left < (nbits)) { \ 159 if (!jpeg_fill_bit_buffer(&(state), get_buffer, bits_left, nbits)) \ 161 get_buffer = (state).get_buffer; bits_left = (state).bits_left; \ 166 (((int)(get_buffer >> (bits_left -= (nbits)))) & ((1 << (nbits)) - 1)) 169 (((int)(get_buffer >> (bits_left - (nbits)))) & ((1 << (nbits)) - 1)) [all …]
|
D | jdhuff.c | 124 entropy->bitstate.bits_left = 0; in start_pass_huff_decoder() 286 register bit_buf_type get_buffer, register int bits_left, in jpeg_fill_bit_buffer() argument 300 while (bits_left < MIN_GET_BITS) { in jpeg_fill_bit_buffer() 351 bits_left += 8; in jpeg_fill_bit_buffer() 359 if (nbits > bits_left) { in jpeg_fill_bit_buffer() 370 get_buffer <<= MIN_GET_BITS - bits_left; in jpeg_fill_bit_buffer() 371 bits_left = MIN_GET_BITS; in jpeg_fill_bit_buffer() 379 state->bits_left = bits_left; in jpeg_fill_bit_buffer() 395 bits_left += 8; \ 413 if (bits_left <= 16) { \ [all …]
|
D | jdphuff.c | 180 entropy->bitstate.bits_left = 0; in start_pass_phuff_decoder() 237 cinfo->marker->discarded_bytes += entropy->bitstate.bits_left / 8; in process_restart() 238 entropy->bitstate.bits_left = 0; in process_restart()
|
/third_party/gstreamer/gstplugins_bad/gst/siren/ |
D | encoder.c | 97 int bits_left; in Siren7_EncodeFrame() local 157 bits_left = 16 - sample_rate_bits; in Siren7_EncodeFrame() 162 i = drp_num_bits[region] - bits_left; in Siren7_EncodeFrame() 165 bits_left -= drp_num_bits[region]; in Siren7_EncodeFrame() 168 bits_left += 16 - drp_num_bits[region]; in Siren7_EncodeFrame() 169 out_word = drp_code_bits[region] << bits_left; in Siren7_EncodeFrame() 182 if (current_word_bits_left < bits_left) { in Siren7_EncodeFrame() 183 bits_left -= current_word_bits_left; in Siren7_EncodeFrame() 185 (current_word >> (32 - current_word_bits_left)) << bits_left; in Siren7_EncodeFrame() 189 (short) (out_word + (current_word >> (32 - bits_left))); in Siren7_EncodeFrame() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | get_bits.h | 65 unsigned bits_left; member 222 return s->index - s->bits_left; in get_bits_count() 237 s->cache = (uint64_t)AV_RL32(s->buffer + (s->index >> 3)) << s->bits_left | s->cache; in refill_32() 239 s->cache = s->cache | (uint64_t)AV_RB32(s->buffer + (s->index >> 3)) << (32 - s->bits_left); in refill_32() 241 s->bits_left += 32; in refill_32() 256 s->bits_left = 64; in refill_64() 270 s->bits_left -= n; in get_val() 312 s->bits_left -= n; in skip_remaining() 385 if (n > s->bits_left) { in get_bits() 391 if (s->bits_left < 32) in get_bits() [all …]
|
D | cbs_sei_syntax_template.c | 175 size_t bits_left; in FUNC() local 181 bits_left = 8 * current->payload_size - bits_written; in FUNC() 182 if (bits_left > 8) in FUNC() 183 skip_bits_long(&tmp, bits_left - 8); in FUNC() 184 trailing_bits = get_bits(&tmp, FFMIN(bits_left, 8)); in FUNC() 192 bits_left - 1 - trailing_zero_bits; in FUNC() 199 bits_left = current->extension_bit_length; in FUNC() 200 for (i = 0; bits_left > 0; i++) { in FUNC() 201 int length = FFMIN(bits_left, 8); in FUNC() 205 bits_left -= length; in FUNC()
|
D | aacps_common.c | 135 PSCommonContext *ps, int bits_left) in ff_ps_read_data() argument 277 if (bits_consumed <= bits_left) { in ff_ps_read_data() 281 …av_log(avctx, AV_LOG_ERROR, "Expected to read %d PS bits actually read %d.\n", bits_left, bits_con… in ff_ps_read_data() 284 skip_bits_long(gb_host, bits_left); in ff_ps_read_data() 289 return bits_left; in ff_ps_read_data()
|
D | dvdec.c | 264 int bits_left = get_bits_left(gb); in bit_copy() local 265 while (bits_left >= MIN_CACHE_BITS) { in bit_copy() 267 bits_left -= MIN_CACHE_BITS; in bit_copy() 269 if (bits_left > 0) in bit_copy() 270 put_bits(pb, bits_left, get_bits(gb, bits_left)); in bit_copy()
|
D | cbs_h2645.c | 241 int bits_left = payload_size * 8 - cur_pos; in cbs_h265_payload_extension_present() local 242 return (bits_left > 0 && in cbs_h265_payload_extension_present() 243 (bits_left > 7 || show_bits(gbc, bits_left) & MAX_UINT_BITS(bits_left - 1))); in cbs_h265_payload_extension_present() 339 int bits_left = get_bits_left(gbc); in cbs_h2645_read_more_rbsp_data() local 340 if (bits_left > 8) in cbs_h2645_read_more_rbsp_data() 342 if (bits_left == 0) in cbs_h2645_read_more_rbsp_data() 344 if (show_bits(gbc, bits_left) & MAX_UINT_BITS(bits_left - 1)) in cbs_h2645_read_more_rbsp_data()
|
D | cook.c | 427 int exp_idx, bias, tmpbias1, tmpbias2, bits_left, num_bits, index, v, i, j; in categorize() local 435 bits_left = p->bits_per_subpacket - get_bits_count(&q->gb); in categorize() 437 if (bits_left > q->samples_per_channel) in categorize() 438 bits_left = q->samples_per_channel + in categorize() 439 ((bits_left - q->samples_per_channel) * 5) / 8; in categorize() 452 if (num_bits >= bits_left - 32) in categorize() 467 if (tmpbias1 + tmpbias2 > 2 * bits_left) { /* ---> */ in categorize()
|
D | h263dec.c | 337 const int bits_left = s->gb.size_in_bits - bits_count; in decode_slice() local 339 if (bits_left == 0) { in decode_slice() 341 } else if (bits_left != 1) { in decode_slice() 345 if (v == 0x7F && bits_left <= 8) in decode_slice() 348 bits_left <= 16) in decode_slice()
|
D | proresdec2.c | 480 int max_coeffs, i, bits_left; in decode_ac_coeffs() local 492 bits_left = gb->size_in_bits - re_index; in decode_ac_coeffs() 493 if (!bits_left || (bits_left < 32 && !SHOW_UBITS(re, gb, bits_left))) in decode_ac_coeffs()
|
D | aacps.h | 99 PSCommonContext *ps, int bits_left);
|
D | dvenc.c | 171 int prev, bits_left; in dv_encode_ac() local 180 for (; size > (bits_left = put_bits_left(pb)); pb++) { in dv_encode_ac() 181 if (bits_left) { in dv_encode_ac() 182 size -= bits_left; in dv_encode_ac() 183 put_bits(pb, bits_left, vlc >> size); in dv_encode_ac()
|
D | opus_celt.c | 100 int bits_left = f->framebits - opus_rc_tell(rc); in celt_decode_final_energy() local 103 for (i = f->start_band; i < f->end_band && bits_left >= f->channels; i++) { in celt_decode_final_energy() 113 bits_left--; in celt_decode_final_energy()
|
D | mpegaudiodec_template.c | 754 int last_pos, bits_left; in huffman_decode() local 880 bits_left = end_pos2 - get_bits_count(&s->gb); in huffman_decode() 881 if (bits_left < 0 && (s->err_recognition & (AV_EF_BUFFER|AV_EF_COMPLIANT))) { in huffman_decode() 882 av_log(s->avctx, AV_LOG_ERROR, "bits_left=%d\n", bits_left); in huffman_decode() 884 } else if (bits_left > 0 && (s->err_recognition & (AV_EF_BUFFER|AV_EF_AGGRESSIVE))) { in huffman_decode() 885 av_log(s->avctx, AV_LOG_ERROR, "bits_left=%d\n", bits_left); in huffman_decode() 889 skip_bits_long(&s->gb, bits_left); in huffman_decode()
|
/third_party/mesa3d/src/util/ |
D | vl_vlc.h | 357 vl_vlc_limit(struct vl_vlc *vlc, unsigned bits_left) in vl_vlc_limit() argument 359 assert(bits_left <= vl_vlc_bits_left(vlc)); in vl_vlc_limit() 362 if (bits_left < vl_vlc_valid_bits(vlc)) { in vl_vlc_limit() 363 vlc->invalid_bits = 32 - bits_left; in vl_vlc_limit() 368 assert((bits_left - vl_vlc_valid_bits(vlc)) % 8 == 0); in vl_vlc_limit() 369 vlc->bytes_left = (bits_left - vl_vlc_valid_bits(vlc)) / 8; in vl_vlc_limit()
|
D | vl_rbsp.h | 53 unsigned valid, bits_left = vl_vlc_bits_left(nal); in vl_rbsp_init() local 63 vl_vlc_limit(&rbsp->nal, bits_left - vl_vlc_bits_left(nal)); in vl_rbsp_init()
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue_util.c | 66 size_t bits_left = range->num; in rogue_distribute_value() local 73 size_t bits_to_place = MIN2(bits_left, max_bits); in rogue_distribute_value() 92 bits_left -= bits_to_place; in rogue_distribute_value()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | dboolhuff.c | 46 size_t bits_left = bytes_left * CHAR_BIT; in vp8dx_bool_decoder_fill() local 47 int x = (int) (shift + CHAR_BIT - bits_left); in vp8dx_bool_decoder_fill() 63 if (x < 0 || bits_left) { in vp8dx_bool_decoder_fill()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | dboolhuff.h | 57 size_t bits_left = ((_bufend)-(_bufptr))*CHAR_BIT; \ 59 x = shift + CHAR_BIT - bits_left; \ 65 if(!bits_left) break; \
|
/third_party/skia/third_party/externals/libpng/contrib/pngminus/ |
D | pnm2png.c | 564 static int bits_left = 0; in get_data() local 574 if (bits_left <= 0) in get_data() 577 bits_left = 8; in get_data() 585 bits_left -= depth; in get_data()
|
/third_party/node/deps/v8/src/bigint/ |
D | bigint.h | 502 int bits_left; in ParsePowerTwo() local 506 bits_left = kDigitBits; in ParsePowerTwo() 515 if (bits_left < char_bits) break; in ParsePowerTwo() 516 bits_left -= char_bits; in ParsePowerTwo() 529 last_multiplier_ = bits_left; in ParsePowerTwo()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_astc.cpp | 939 int bits_left = colour_endpoint_bits; in unpack_colour_endpoints() local 941 int bits_to_read = MIN2(bits_left, 8 + ce_bits * 5); in unpack_colour_endpoints() 954 bits_left -= 8 + ce_bits * 5; in unpack_colour_endpoints() 958 int bits_left = colour_endpoint_bits; in unpack_colour_endpoints() local 960 int bits_to_read = MIN2(bits_left, 7 + ce_bits * 3); in unpack_colour_endpoints() 971 bits_left -= 7 + ce_bits * 3; in unpack_colour_endpoints() 1112 int bits_left = weight_bits; in unpack_weights() local 1114 int bits_to_read = MIN2(bits_left, 8 + 5*wt_bits); in unpack_weights() 1126 bits_left -= 8 + wt_bits * 5; in unpack_weights() 1132 int bits_left = weight_bits; in unpack_weights() local [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/ |
D | gstvp9statefulparser.c | 156 guint32 bits_left; member 206 if (G_UNLIKELY (bd->bits_left < bd->count_to_fill)) { in fill_bool() 215 bits_to_read = MIN (max_bits_to_read, bd->bits_left); in fill_bool() 222 bd->bits_left -= bits_to_read; in fill_bool() 282 bd->bits_left = 8 * size_in_bytes; in init_bool() 300 guint8 bits = bd->bits_left; in exit_bool() 309 bd->bits_left, padding); in exit_bool()
|