Searched refs:Log2FloorNonZero (Results 1 – 9 of 9) sorted by relevance
36 uint32_t nbits = Log2FloorNonZero(insertlen - 2) - 1u; in GetInsertLengthCode()39 return (uint16_t)(Log2FloorNonZero(insertlen - 66) + 10); in GetInsertLengthCode()53 uint32_t nbits = Log2FloorNonZero(copylen - 6) - 1u; in GetCopyLengthCode()56 return (uint16_t)(Log2FloorNonZero(copylen - 70) + 12); in GetCopyLengthCode()
124 const uint32_t nbits = Log2FloorNonZero(tail) - 1u; in EmitInsertLen()131 const uint32_t nbits = Log2FloorNonZero(tail); in EmitInsertLen()153 const size_t nbits = Log2FloorNonZero(tail) - 1; in EmitCopyLen()160 const size_t nbits = Log2FloorNonZero(tail); in EmitCopyLen()178 const size_t nbits = Log2FloorNonZero(tail) - 1; in EmitCopyLenLastDistance()194 const size_t nbits = Log2FloorNonZero(tail); in EmitCopyLenLastDistance()212 uint32_t nbits = Log2FloorNonZero(d) - 1; in EmitDistance()615 const size_t table_bits = Log2FloorNonZero(table_size); in FOR_TABLE_BITS_()
189 const uint32_t nbits = Log2FloorNonZero(tail) - 1u; in EmitInsertLen()197 const uint32_t nbits = Log2FloorNonZero(tail); in EmitInsertLen()238 const uint32_t nbits = Log2FloorNonZero(tail) - 1u; in EmitCopyLen()246 const uint32_t nbits = Log2FloorNonZero(tail); in EmitCopyLen()269 const uint32_t nbits = Log2FloorNonZero(tail) - 1; in EmitCopyLenLastDistance()285 const uint32_t nbits = Log2FloorNonZero(tail); in EmitCopyLenLastDistance()307 const uint32_t nbits = Log2FloorNonZero(d) - 1u; in EmitDistance()751 const size_t table_bits = Log2FloorNonZero(table_size); in FOR_TABLE_BITS_()
21 static BROTLI_INLINE uint32_t Log2FloorNonZero(size_t n) { in Log2FloorNonZero() function
36 size_t bucket = Log2FloorNonZero(dist) - 1; in PrefixEncodeCopyDistance()
90 size_t lg = (length == 1) ? 1 : Log2FloorNonZero((uint32_t)(length - 1)) + 1; in BrotliEncodeMlen()128 size_t nbits = Log2FloorNonZero(n); in StoreVarLenUint8()658 max_prefix = max_reps > 0 ? Log2FloorNonZero(max_reps) : 0; in RunLengthCodeZeros()677 uint32_t run_length_prefix = Log2FloorNonZero(reps); in RunLengthCodeZeros()1211 Log2FloorNonZero(num_distance_symbols - 1) + 1; in BrotliStoreMetaBlockFast()
137 BROTLI_DISTANCE_BIT_PENALTY * Log2FloorNonZero(backward_reference_offset); in BackwardReferenceScore()
1155 (Log2FloorNonZero((uint32_t)block_size - 1) + 1); in WriteMetadataHeader()
400 inline int Log2FloorNonZero(uint64 n) { in Log2FloorNonZero() function421 int b = std::min(kNumBins - 1, Log2FloorNonZero(v)); in BinNumForSize()