Searched refs:LinearToGamma (Results 1 - 1 of 1) sorted by relevance

/external/webp/src/enc/
H A Dpicture_csp_enc.c122 static WEBP_INLINE int LinearToGamma(uint32_t base_value, int shift) { function
131 static WEBP_INLINE int LinearToGamma(uint32_t base_value, int shift) { function
563 #define SUM4(ptr, step) LinearToGamma( \
570 LinearToGamma(GammaToLinear((ptr)[0]) + GammaToLinear((ptr)[rgb_stride]), 1)
717 // Note that LinearToGamma() expects the values to be premultiplied by 4,
740 return LinearToGamma(DIVIDE_BY_ALPHA(sum, total_a), 0);

Completed in 93 milliseconds