Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dlossless_common.h101 const int highest_bit = BitsLog2Floor(--distance); in VP8LPrefixEncodeBitsNoLUT() local
102 const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; in VP8LPrefixEncodeBitsNoLUT()
103 *extra_bits = highest_bit - 1; in VP8LPrefixEncodeBitsNoLUT()
104 *code = 2 * highest_bit + second_highest_bit; in VP8LPrefixEncodeBitsNoLUT()
110 const int highest_bit = BitsLog2Floor(--distance); in VP8LPrefixEncodeNoLUT() local
111 const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; in VP8LPrefixEncodeNoLUT()
112 *extra_bits = highest_bit - 1; in VP8LPrefixEncodeNoLUT()
114 *code = 2 * highest_bit + second_highest_bit; in VP8LPrefixEncodeNoLUT()

Completed in 4 milliseconds