Home
last modified time | relevance | path

Searched refs:extra_bits (Results 1 – 24 of 24) sorted by relevance

/external/webp/src/dsp/
Dlossless_common.h100 int* const extra_bits) { in VP8LPrefixEncodeBitsNoLUT() argument
103 *extra_bits = highest_bit - 1; in VP8LPrefixEncodeBitsNoLUT()
108 int* const extra_bits, in VP8LPrefixEncodeNoLUT() argument
112 *extra_bits = highest_bit - 1; in VP8LPrefixEncodeNoLUT()
113 *extra_bits_value = distance & ((1 << *extra_bits) - 1); in VP8LPrefixEncodeNoLUT()
127 int* const extra_bits) { in VP8LPrefixEncodeBits() argument
131 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncodeBits()
133 VP8LPrefixEncodeBitsNoLUT(distance, code, extra_bits); in VP8LPrefixEncodeBits()
138 int* const extra_bits, in VP8LPrefixEncode() argument
143 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncode()
[all …]
/external/webp/src/utils/
Dhuffman_encode_utils.c267 tokens->extra_bits = 0; in CodeRepeatedValues()
276 tokens->extra_bits = 0; in CodeRepeatedValues()
282 tokens->extra_bits = repetitions - 3; in CodeRepeatedValues()
287 tokens->extra_bits = 3; in CodeRepeatedValues()
302 tokens->extra_bits = 0; in CodeRepeatedZeros()
308 tokens->extra_bits = repetitions - 3; in CodeRepeatedZeros()
313 tokens->extra_bits = repetitions - 11; in CodeRepeatedZeros()
318 tokens->extra_bits = 0x7f; // 138 repeated 0s in CodeRepeatedZeros()
Dhuffman_encode_utils.h26 uint8_t extra_bits; // extra bits for escape codes member
/external/brotli/c/enc/
Dprefix.h28 uint32_t* extra_bits) { in PrefixEncodeCopyDistance() argument
31 *extra_bits = 0; in PrefixEncodeCopyDistance()
45 *extra_bits = (uint32_t)((dist - offset) >> postfix_bits); in PrefixEncodeCopyDistance()
Dmetablock.c95 double extra_bits = 0.0; in ComputeDistanceCost() local
122 extra_bits += dist_prefix >> 10; in ComputeDistanceCost()
126 *cost = BrotliPopulationCostDistance(&histo) + extra_bits; in ComputeDistanceCost()
Dbrotli_bit_stream.c678 const uint32_t extra_bits = reps - (1u << run_length_prefix); in RunLengthCodeZeros() local
679 v[*out_size] = run_length_prefix + (extra_bits << 9); in RunLengthCodeZeros()
683 const uint32_t extra_bits = (1u << max_prefix) - 1u; in RunLengthCodeZeros() local
684 v[*out_size] = max_prefix + (extra_bits << 9); in RunLengthCodeZeros()
/external/epid-sdk/epid/common-testhelper/
Dprng-testhelper.h63 unsigned int extra_bits = num_bits % CHAR_BIT; in Generate() local
71 if (0 != extra_bits) { in Generate()
/external/epid-sdk/epid/member/tiny/math/unittests/
Donetimepad.h84 size_t extra_bits = num_bits % CHAR_BIT; in Generate() local
100 if (0 != extra_bits) { in Generate()
/external/webp/src/enc/
Dbackward_references_cost_enc.c109 int code, extra_bits; in GetLengthCost() local
110 VP8LPrefixEncodeBits(length, &code, &extra_bits); in GetLengthCost()
111 return m->literal_[VALUES_IN_BYTE + code] + extra_bits; in GetLengthCost()
116 int code, extra_bits; in GetDistanceCost() local
117 VP8LPrefixEncodeBits(distance, &code, &extra_bits); in GetDistanceCost()
118 return m->distance_[code] + extra_bits; in GetDistanceCost()
Dhistogram_enc.c213 int code, extra_bits; in VP8LHistogramAddSinglePixOrCopy() local
214 VP8LPrefixEncodeBits(PixOrCopyLength(v), &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
217 VP8LPrefixEncodeBits(PixOrCopyDistance(v), &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
221 &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
Dvp8l_enc.c568 const int extra_bits = tokens[i].extra_bits; in StoreHuffmanTreeToBitMask() local
572 VP8LPutBits(bw, extra_bits, 2); in StoreHuffmanTreeToBitMask()
575 VP8LPutBits(bw, extra_bits, 3); in StoreHuffmanTreeToBitMask()
578 VP8LPutBits(bw, extra_bits, 7); in StoreHuffmanTreeToBitMask()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc449 int extra_bits = field_generators_[i]->ExtraRuntimeHasBitsNeeded(); in CalculateHasBits() local
450 if (extra_bits) { in CalculateHasBits()
452 total_bits += extra_bits; in CalculateHasBits()
/external/libopus/celt/
Drate.c504 int extra_bits; in interp_bits2pulses() local
507 extra_bits = extra_fine*C<<BITRES; in interp_bits2pulses()
508 fine_priority[j] = extra_bits >= excess-balance; in interp_bits2pulses()
509 excess -= extra_bits; in interp_bits2pulses()
/external/brotli/c/dec/
Ddecode.c546 uint32_t extra_bits = 3; /* for BROTLI_REPEAT_ZERO_CODE_LENGTH */ in ProcessRepeatedCodeLength() local
550 extra_bits = 2; in ProcessRepeatedCodeLength()
559 *repeat <<= extra_bits; in ProcessRepeatedCodeLength()
623 uint32_t extra_bits = in ReadSymbolCodeLengths() local
626 (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(extra_bits); in ReadSymbolCodeLengths()
627 BrotliDropBits(br, extra_bits); in ReadSymbolCodeLengths()
666 uint32_t extra_bits = code_len - 14U; in SafeReadSymbolCodeLengths() local
668 BitMask(extra_bits); in SafeReadSymbolCodeLengths()
669 if (available_bits < BROTLI_HC_FAST_LOAD_BITS(p) + extra_bits) { in SafeReadSymbolCodeLengths()
673 BrotliDropBits(br, BROTLI_HC_FAST_LOAD_BITS(p) + extra_bits); in SafeReadSymbolCodeLengths()
/external/python/cpython2/Modules/zlib/
Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
249 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
251 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
252 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
493 const intf *extra = desc->stat_desc->extra_bits;
/external/zlib/src/
Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
249 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
251 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
252 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
493 const intf *extra = desc->stat_desc->extra_bits;
/external/u-boot/lib/zlib/
Dtrees.c124 const intf *extra_bits; /* extra bits for each code or NULL */ member
256 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
258 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
259 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
501 const intf *extra = desc->stat_desc->extra_bits;
/external/webp/src/dec/
Dvp8l_dec.c152 int extra_bits, offset; in GetCopyDistance() local
156 extra_bits = (distance_symbol - 2) >> 1; in GetCopyDistance()
157 offset = (2 + (distance_symbol & 1)) << extra_bits; in GetCopyDistance()
158 return offset + VP8LReadBits(br, extra_bits) + 1; in GetCopyDistance()
289 const int extra_bits = kCodeLengthExtraBits[slot]; in ReadHuffmanCodeLengths() local
291 int repeat = VP8LReadBits(br, extra_bits) + repeat_offset; in ReadHuffmanCodeLengths()
/external/crcalc/src/com/hp/creals/
DCR.java992 int extra_bits = rough_appr.bitLength() - 3; in ln() local
993 CR scaled_result = shiftRight(extra_bits).ln(); in ln()
994 return scaled_result.add(CR.valueOf(extra_bits).multiply(ln2)); in ln()
/external/python/cpython2/Objects/
Dlongobject.c3095 Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits; in long_true_divide() local
3312 extra_bits = MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG; in long_true_divide()
3313 assert(extra_bits == 2 || extra_bits == 3); in long_true_divide()
3316 mask = (digit)1 << (extra_bits - 1); in long_true_divide()
/external/python/cpython3/Objects/
Dlongobject.c3727 Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits; in long_true_divide() local
3946 extra_bits = Py_MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG; in long_true_divide()
3947 assert(extra_bits == 2 || extra_bits == 3); in long_true_divide()
3950 mask = (digit)1 << (extra_bits - 1); in long_true_divide()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_bitstream.c130 const vp9_extra_bit *const extra_bits = in pack_mb_tokens() local
175 const vp9_extra_bit *const b = &extra_bits[t]; in pack_mb_tokens()
/external/u-boot/fs/yaffs2/
Dyaffs_guts.c81 int extra_bits; in calc_shifts_ceiling() local
84 shifts = extra_bits = 0; in calc_shifts_ceiling()
88 extra_bits++; in calc_shifts_ceiling()
93 if (extra_bits) in calc_shifts_ceiling()
/external/e2fsprogs/misc/
Dfuse2fs.c383 __u64 extra_bits = extra & EXT4_EPOCH_MASK; in ext4_decode_extra_time() local
390 time->tv_sec += extra_bits << 32; in ext4_decode_extra_time()