Searched refs:MaxColor (Results 1 – 2 of 2) sorted by relevance
202 unsigned int i, j, Index = 0, NumEntries, MinColor, MaxColor; in SubdivColorMap() local274 MaxColor = QuantizedColor->RGB[SortRGBAxis]; /* Max. of first half */ in SubdivColorMap()277 MaxColor <<= (8 - BITS_PER_PRIM_COLOR); in SubdivColorMap()301 MaxColor - NewColorSubdiv[Index].RGBMin[SortRGBAxis]; in SubdivColorMap()
618 float const MaxColor = max(Color.x, max(Color.y, Color.z)); local620 float const ExpSharedP = max(-15.f - 1.f, floor(log2(MaxColor))) + 1.0f + 15.f;621 float const MaxShared = floor(MaxColor / pow(2.0f, (ExpSharedP - 16.f - 9.f)) + 0.5f);