Home
last modified time | relevance | path

Searched refs:bits_left (Results 1 – 7 of 7) sorted by relevance

/external/jpeg/
Djdhuff.h85 int bits_left; /* # of unused bits in it */ member
97 int bits_left; /* # of unused bits in it */ member
105 register int bits_left; \
113 bits_left = permstate.bits_left;
119 permstate.bits_left = bits_left
140 { if (bits_left < (nbits)) { \
141 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \
143 get_buffer = (state).get_buffer; bits_left = (state).bits_left; } }
146 (((int) (get_buffer >> (bits_left -= (nbits)))) & ((1<<(nbits))-1))
149 (((int) (get_buffer >> (bits_left - (nbits)))) & ((1<<(nbits))-1))
[all …]
Djdhuff.c133 entropy->bitstate.bits_left = 0; in start_pass_huff_decoder()
294 register bit_buf_type get_buffer, register int bits_left, in jpeg_fill_bit_buffer() argument
308 while (bits_left < MIN_GET_BITS) { in jpeg_fill_bit_buffer()
359 bits_left += 8; in jpeg_fill_bit_buffer()
367 if (nbits > bits_left) { in jpeg_fill_bit_buffer()
378 get_buffer <<= MIN_GET_BITS - bits_left; in jpeg_fill_bit_buffer()
379 bits_left = MIN_GET_BITS; in jpeg_fill_bit_buffer()
387 state->bits_left = bits_left; in jpeg_fill_bit_buffer()
400 register bit_buf_type get_buffer, register int bits_left, in jpeg_huff_decode() argument
424 state->bits_left = bits_left; in jpeg_huff_decode()
[all …]
Djdphuff.c183 entropy->bitstate.bits_left = 0; in start_pass_phuff_decoder()
234 cinfo->marker->discarded_bytes += entropy->bitstate.bits_left / 8; in process_restart()
235 entropy->bitstate.bits_left = 0; in process_restart()
674 + entropy->bitstate.bits_left; in jpeg_get_huffman_decoder_configuration_progressive()
/external/libpng/contrib/pngminus/
Dpnm2png.c478 static int bits_left = 0; in get_data() local
488 if (bits_left <= 0) in get_data()
491 bits_left = 8; in get_data()
499 bits_left -= depth; in get_data()
/external/libvpx/vp8/encoder/
Dfirstpass.c231 …max_bits = (int)(((double)cpi->bits_left / (cpi->total_stats->count - (double)cpi->common.current_… in frame_max_bits()
1146 …cpi->bits_left = (long long)(cpi->total_stats->duration * cpi->oxcf.target_bandwidth / 10000000.0)… in vp8_init_second_pass()
1147 cpi->bits_left -= (long long)(cpi->total_stats->duration * two_pass_min_rate / 10000000.0); in vp8_init_second_pass()
1570 cpi->kf_group_bits = (cpi->bits_left > 0) ? cpi->bits_left : 0; in define_gf_group()
1785 cpi->gf_group_bits = (cpi->bits_left > 0) ? cpi->bits_left : 0;; in assign_std_frame_bits()
1970 …mate_max_q(cpi, (cpi->total_coded_error_left / frames_left), (int)(cpi->bits_left / frames_left), … in vp8_second_pass()
1988 …mate_max_q(cpi, (cpi->total_coded_error_left / frames_left), (int)(cpi->bits_left / frames_left), … in vp8_second_pass()
2202 if ((cpi->bits_left > 0) && ((int)cpi->modified_total_error_left > 0)) in vp8_find_next_key_frame()
2212 cpi->kf_group_bits = (long long)( cpi->bits_left * in vp8_find_next_key_frame()
2475 ((double)cpi->bits_left * in vp8_find_next_key_frame()
[all …]
Donyx_int.h473 long long bits_left; member
Donyx_if.c4445 cpi->est_max_qcorrection_factor, (int)cpi->bits_left, in encode_frame_to_data_rate()
4447 (double)cpi->bits_left / cpi->total_coded_error_left, in encode_frame_to_data_rate()
4463 cpi->est_max_qcorrection_factor, (int)cpi->bits_left, in encode_frame_to_data_rate()
4674 cpi->bits_left -= 8 * *size; in Pass2Encode()
4680 cpi->bits_left += (long long)(two_pass_min_rate / cpi->oxcf.frame_rate); in Pass2Encode()