Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/
DEbmlUtil.cpp47 uint64_t powerOf2 = highestOneBit(u); in _powerOf2() local
48 return powerOf2 ? powerOf2 : 1; in _powerOf2()
74 uint64_t powerOf2 = _powerOf2(u); in encodeUnsigned() local
75 if (u + 1 == powerOf2 << 1) in encodeUnsigned()
76 powerOf2 <<= 1; in encodeUnsigned()
77 int shiftWidth = (7 + numberOfTrailingZeros(powerOf2)) / 7 * 7; in encodeUnsigned()
93 uint64_t powerOf2 = _powerOf2(u); in sizeOf() local
94 int unsignedLength = numberOfTrailingZeros(powerOf2) / 8 + 1; in sizeOf()