Searched refs:total_a (Results 1 – 1 of 1) sorted by relevance
360 uint32_t total_a, int step, in LinearToGammaWeighted() argument367 assert(total_a > 0 && total_a <= 4 * 0xff); in LinearToGammaWeighted()369 assert((uint64_t)sum * kInvAlpha[total_a] < ((uint64_t)1 << 32)); in LinearToGammaWeighted()371 return LinearToGamma(DIVIDE_BY_ALPHA(sum, total_a), 0); in LinearToGammaWeighted()