Definition at line 228 of file g_serialized.c.
234 static uint64_t B[5] =
236 0x5555555555555555ULL,
237 0x3333333333333333ULL,
238 0x0F0F0F0F0F0F0F0FULL,
239 0x00FF00FF00FF00FFULL,
240 0x0000FFFF0000FFFFULL
242 static uint64_t S[5] = { 1, 2, 4, 8, 16 };
244 for ( i = 4; i >= 0; i-- )
246 x = (
x | (
x << S[i])) & B[i];
247 y = (
y | (
y << S[i])) & B[i];
References pixval::x, and pixval::y.
Referenced by gbox_get_sortable_hash(), and gserialized_cmp().