Home
last modified time | relevance | path

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

/external/libaom/libaom/test/
Dlog2_test.cc35 EXPECT_EQ(av1_ceil_log2(0), 0); in TEST()
37 EXPECT_EQ(av1_ceil_log2(n), static_cast<int>(ceil(log2(n)))); in TEST()
43 EXPECT_EQ(av1_ceil_log2(power_of_2 - 1), exponent); in TEST()
44 EXPECT_EQ(av1_ceil_log2(power_of_2), exponent); in TEST()
47 EXPECT_EQ(av1_ceil_log2(power_of_2 + 1), exponent + 1); in TEST()
/external/libaom/libaom/av1/encoder/
Dpalette.c59 int bits_per_delta = AOMMAX(av1_ceil_log2(max_delta + 1 - min_val), min_bits); in delta_encode_cost()
65 bits_per_delta = AOMMIN(bits_per_delta, av1_ceil_log2(range)); in delta_encode_cost()
114 return AOMMAX(av1_ceil_log2(max_d + 1), *min_bits); in av1_get_palette_delta_bits_v()
Dbitstream.c665 int bits = AOMMAX(av1_ceil_log2(max_delta + 1 - min_val), min_bits); in delta_encode_palette_colors()
672 bits = AOMMIN(bits, av1_ceil_log2(range)); in delta_encode_palette_colors()
/external/libaom/libaom/av1/common/
Dentropymode.h192 static INLINE int av1_ceil_log2(int n) { in av1_ceil_log2() function
/external/libaom/libaom/av1/decoder/
Ddecodemv.c473 bits = AOMMIN(bits, av1_ceil_log2(range)); in read_palette_colors_y()
507 bits = AOMMIN(bits, av1_ceil_log2(range)); in read_palette_colors_uv()