Home
last modified time | relevance | path

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

12

/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.c91 double extra_bits = 0.0; in ComputeDistanceCost() local
118 extra_bits += dist_prefix >> 10; in ComputeDistanceCost()
122 *cost = BrotliPopulationCostDistance(&histo) + extra_bits; in ComputeDistanceCost()
Dbrotli_bit_stream.c663 const uint32_t extra_bits = reps - (1u << run_length_prefix); in RunLengthCodeZeros() local
664 v[*out_size] = run_length_prefix + (extra_bits << 9); in RunLengthCodeZeros()
668 const uint32_t extra_bits = (1u << max_prefix) - 1u; in RunLengthCodeZeros() local
669 v[*out_size] = max_prefix + (extra_bits << 9); in RunLengthCodeZeros()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dvad.cc86 char extra_bits = 0; in main() local
88 extra_bits = kBitmaskBuffSize - next; in main()
91 out_file.write(&extra_bits, 1); in main()
Dannotations.py244 extra_bits = struct.unpack('B', raw_data[-1])[0]
245 assert 0 <= extra_bits <= 8
249 num_frames = 8 * (num_bytes - 2) - extra_bits # 8 frames for each byte.
255 for j in range(8 if i < num_bytes - 3 else (8 - extra_bits)):
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc968 int extra_bits = field->is_required() ? kRequiredBit : 0; in GetExperimentalJavaFieldType() local
970 extra_bits |= kUtf8CheckBit; in GetExperimentalJavaFieldType()
974 extra_bits |= kCheckInitialized; in GetExperimentalJavaFieldType()
982 extra_bits |= kMapWithProto2EnumValue; in GetExperimentalJavaFieldType()
985 return kMapFieldType | extra_bits; in GetExperimentalJavaFieldType()
989 return GetExperimentalJavaFieldTypeForRepeated(field) | extra_bits; in GetExperimentalJavaFieldType()
993 extra_bits; in GetExperimentalJavaFieldType()
995 return GetExperimentalJavaFieldTypeForSingular(field) | extra_bits; in GetExperimentalJavaFieldType()
/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.c214 int code, extra_bits; in VP8LHistogramAddSinglePixOrCopy() local
215 VP8LPrefixEncodeBits(PixOrCopyLength(v), &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
218 VP8LPrefixEncodeBits(PixOrCopyDistance(v), &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
222 &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
Dvp8l_enc.c590 const int extra_bits = tokens[i].extra_bits; in StoreHuffmanTreeToBitMask() local
594 VP8LPutBits(bw, extra_bits, 2); in StoreHuffmanTreeToBitMask()
597 VP8LPutBits(bw, extra_bits, 3); in StoreHuffmanTreeToBitMask()
600 VP8LPutBits(bw, extra_bits, 7); in StoreHuffmanTreeToBitMask()
Dbackward_references_enc.c787 int code, extra_bits, extra_bits_value; in CalculateBestCacheSize() local
795 VP8LPrefixEncode(len, &code, &extra_bits, &extra_bits_value); in CalculateBestCacheSize()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc446 int extra_bits = field_generators_[i]->ExtraRuntimeHasBitsNeeded(); in CalculateHasBits() local
447 if (extra_bits) { in CalculateHasBits()
449 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/rust/crates/libz-sys/src/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/angle/third_party/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/
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/libwebsockets/win32port/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/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/brotli/c/dec/
Ddecode.c551 uint32_t extra_bits = 3; /* for BROTLI_REPEAT_ZERO_CODE_LENGTH */ in ProcessRepeatedCodeLength() local
555 extra_bits = 2; in ProcessRepeatedCodeLength()
564 *repeat <<= extra_bits; in ProcessRepeatedCodeLength()
629 uint32_t extra_bits = in ReadSymbolCodeLengths() local
632 (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(extra_bits); in ReadSymbolCodeLengths()
633 BrotliDropBits(br, extra_bits); in ReadSymbolCodeLengths()
673 uint32_t extra_bits = code_len - 14U; in SafeReadSymbolCodeLengths() local
675 BitMask(extra_bits); in SafeReadSymbolCodeLengths()
676 if (available_bits < BROTLI_HC_FAST_LOAD_BITS(p) + extra_bits) { in SafeReadSymbolCodeLengths()
680 BrotliDropBits(br, BROTLI_HC_FAST_LOAD_BITS(p) + extra_bits); in SafeReadSymbolCodeLengths()
/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/rust/crates/bitflags/src/
Dlib.rs534 let extra_bits = self.bits & !$BitFlags::all().bits(); localVariable
535 if extra_bits != 0 {
541 $crate::_core::fmt::LowerHex::fmt(&extra_bits, f)?;
/external/rust/crates/libz-sys/src/zlib-ng/
Dtrees.c49 const int *extra_bits; /* extra bits for each code or NULL */ member
191 const int *extra = desc->stat_desc->extra_bits; in gen_bitlen()
/external/crcalc/src/com/hp/creals/
DCR.java998 int extra_bits = rough_appr.bitLength() - 3; in ln() local
999 CR scaled_result = shiftRight(extra_bits).ln(); in ln()
1000 return scaled_result.add(CR.valueOf(extra_bits).multiply(ln2)); in ln()

12