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