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