Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dlossless.h277 int* const extra_bits) { in VP8LPrefixEncodeBitsNoLUT() argument
280 *extra_bits = highest_bit - 1; in VP8LPrefixEncodeBitsNoLUT()
285 int* const extra_bits, in VP8LPrefixEncodeNoLUT() argument
289 *extra_bits = highest_bit - 1; in VP8LPrefixEncodeNoLUT()
290 *extra_bits_value = distance & ((1 << *extra_bits) - 1); in VP8LPrefixEncodeNoLUT()
304 int* const extra_bits) { in VP8LPrefixEncodeBits() argument
308 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncodeBits()
310 VP8LPrefixEncodeBitsNoLUT(distance, code, extra_bits); in VP8LPrefixEncodeBits()
315 int* const extra_bits, in VP8LPrefixEncode() argument
320 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncode()
[all …]
/external/opencv3/3rdparty/libwebp/utils/
Dhuffman_encode.c288 tokens->extra_bits = 0; in CodeRepeatedValues()
297 tokens->extra_bits = 0; in CodeRepeatedValues()
303 tokens->extra_bits = repetitions - 3; in CodeRepeatedValues()
308 tokens->extra_bits = 3; in CodeRepeatedValues()
323 tokens->extra_bits = 0; in CodeRepeatedZeros()
329 tokens->extra_bits = repetitions - 3; in CodeRepeatedZeros()
334 tokens->extra_bits = repetitions - 11; in CodeRepeatedZeros()
339 tokens->extra_bits = 0x7f; // 138 repeated 0s in CodeRepeatedZeros()
Dhuffman_encode.h26 uint8_t extra_bits; // extra bits for escape codes member
/external/webp/src/utils/
Dhuffman_encode.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.h26 uint8_t extra_bits; // extra bits for escape codes member
/external/valgrind/VEX/switchback/
Dtest_emfloat.c1282 u16 extra_bits[INTERNAL_FPF_PRECISION]; in MultiplyInternalFPF() local
1359 extra_bits[i] = 0; in MultiplyInternalFPF()
1392 ShiftMantRight1(&carry, extra_bits); in MultiplyInternalFPF()
1405 ShiftMantLeft1(&carry, extra_bits); in MultiplyInternalFPF()
1413 if (IsMantissaZero(extra_bits)) in MultiplyInternalFPF()
1444 u16 extra_bits[INTERNAL_FPF_PRECISION]; in DivideInternalFPF() local
1539 extra_bits[i] = 0; in DivideInternalFPF()
1546 ShiftMantLeft1(&carry, extra_bits); in DivideInternalFPF()
1554 if (y->mantissa[j] > extra_bits[j]) in DivideInternalFPF()
1559 if (y->mantissa[j] < extra_bits[j]) in DivideInternalFPF()
[all …]
/external/webp/src/enc/
Dbackward_references.c549 int code, extra_bits; in GetLengthCost() local
550 VP8LPrefixEncodeBits(length, &code, &extra_bits); in GetLengthCost()
551 return m->literal_[VALUES_IN_BYTE + code] + extra_bits; in GetLengthCost()
556 int code, extra_bits; in GetDistanceCost() local
557 VP8LPrefixEncodeBits(distance, &code, &extra_bits); in GetDistanceCost()
558 return m->distance_[code] + extra_bits; in GetDistanceCost()
873 int code, extra_bits; in ComputeCacheEntropy() local
874 VP8LPrefixEncodeBits(len, &code, &extra_bits); in ComputeCacheEntropy()
876 VP8LPrefixEncodeBits(PixOrCopyDistance(v), &code, &extra_bits); in ComputeCacheEntropy()
Dvp8l.c541 const int extra_bits = tokens[i].extra_bits; in StoreHuffmanTreeToBitMask() local
545 VP8LPutBits(bw, extra_bits, 2); in StoreHuffmanTreeToBitMask()
548 VP8LPutBits(bw, extra_bits, 3); in StoreHuffmanTreeToBitMask()
551 VP8LPutBits(bw, extra_bits, 7); in StoreHuffmanTreeToBitMask()
Dhistogram.c151 int code, extra_bits; in VP8LHistogramAddSinglePixOrCopy() local
152 VP8LPrefixEncodeBits(PixOrCopyLength(v), &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
154 VP8LPrefixEncodeBits(PixOrCopyDistance(v), &code, &extra_bits); in VP8LHistogramAddSinglePixOrCopy()
/external/libopus/celt/
Drate.c498 int extra_bits; in interp_bits2pulses() local
501 extra_bits = extra_fine*C<<BITRES; in interp_bits2pulses()
502 fine_priority[j] = extra_bits >= excess-balance; in interp_bits2pulses()
503 excess -= extra_bits; in interp_bits2pulses()
/external/opencv3/3rdparty/libwebp/dec/
Dvp8l.c124 int extra_bits, offset; in GetCopyDistance() local
128 extra_bits = (distance_symbol - 2) >> 1; in GetCopyDistance()
129 offset = (2 + (distance_symbol & 1)) << extra_bits; in GetCopyDistance()
130 return offset + VP8LReadBits(br, extra_bits) + 1; in GetCopyDistance()
209 const int extra_bits = kCodeLengthExtraBits[slot]; in ReadHuffmanCodeLengths() local
211 int repeat = VP8LReadBits(br, extra_bits) + repeat_offset; in ReadHuffmanCodeLengths()
/external/opencv3/3rdparty/zlib/
Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
251 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
253 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
254 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
495 const intf *extra = desc->stat_desc->extra_bits;
/external/pdfium/third_party/zlib_v128/
Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
251 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
253 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
254 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
495 const intf *extra = desc->stat_desc->extra_bits; in gen_bitlen()
/external/zlib/src/
Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
251 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
253 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
254 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
495 const intf *extra = desc->stat_desc->extra_bits;
/external/libgdx/gdx/jni/gdx2d/
Djpgd.cpp518 inline int jpeg_decoder::huff_decode(huff_tables *pH, int& extra_bits) in huff_decode() argument
535 extra_bits = get_bits_no_markers(symbol & 0xF); in huff_decode()
544 extra_bits = symbol >> 16; in huff_decode()
552 extra_bits = get_bits_no_markers(bits) & ((1 << num_extra_bits) - 1); in huff_decode()
556 extra_bits = get_bits_no_markers(num_extra_bits); in huff_decode()
1792 int extra_bits; in decode_next_row() local
1793 s = huff_decode(pH, extra_bits); in decode_next_row()
1816 s = JPGD_HUFF_EXTEND(extra_bits, s); in decode_next_row()
2285 int extra_bits = 0; in make_huff_table() local
2295 extra_bits = ((1 << num_extra_bits) - 1) & (code >> (8 - total_codesize)); in make_huff_table()
[all …]
/external/opencv3/3rdparty/libwebp/enc/
Dvp8l.c290 const int extra_bits = tokens[i].extra_bits; in StoreHuffmanTreeToBitMask() local
294 VP8LWriteBits(bw, 2, extra_bits); in StoreHuffmanTreeToBitMask()
297 VP8LWriteBits(bw, 3, extra_bits); in StoreHuffmanTreeToBitMask()
300 VP8LWriteBits(bw, 7, extra_bits); in StoreHuffmanTreeToBitMask()
/external/webp/src/dec/
Dvp8l.c151 int extra_bits, offset; in GetCopyDistance() local
155 extra_bits = (distance_symbol - 2) >> 1; in GetCopyDistance()
156 offset = (2 + (distance_symbol & 1)) << extra_bits; in GetCopyDistance()
157 return offset + VP8LReadBits(br, extra_bits) + 1; in GetCopyDistance()
288 const int extra_bits = kCodeLengthExtraBits[slot]; in ReadHuffmanCodeLengths() local
290 int repeat = VP8LReadBits(br, extra_bits) + repeat_offset; in ReadHuffmanCodeLengths()
/external/crcalc/src/com/hp/creals/
DCR.java950 int extra_bits = rough_appr.bitLength() - 3; in ln() local
951 CR scaled_result = shiftRight(extra_bits).ln(); in ln()
952 return scaled_result.add(CR.valueOf(extra_bits).multiply(ln2)); in ln()
/external/chromium-trace/catapult/tracing/third_party/jszip/
Djszip.min.js14extra_bits,n=b.stat_desc.extra_base,o=b.stat_desc.max_length,p=0;for(f=0;U>=f;f++)a.bl_count[f]=0;…