Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/
DEbmlUtil.cpp49 uint64_t powerOf2 = highestOneBit(u); in _powerOf2() local
50 return powerOf2 ? powerOf2 : 1; in _powerOf2()
76 uint64_t powerOf2 = _powerOf2(u); in encodeUnsigned() local
77 if (u + 1 == powerOf2 << 1) in encodeUnsigned()
78 powerOf2 <<= 1; in encodeUnsigned()
79 int shiftWidth = (7 + numberOfTrailingZeros(powerOf2)) / 7 * 7; in encodeUnsigned()
95 uint64_t powerOf2 = _powerOf2(u); in sizeOf() local
96 int unsignedLength = numberOfTrailingZeros(powerOf2) / 8 + 1; in sizeOf()