Home
last modified time | relevance | path

Searched refs:GammaToLinear (Results 1 – 1 of 1) sorted by relevance

/external/webp/src/enc/
Dpicture_csp.c106 static WEBP_INLINE uint32_t GammaToLinear(uint8_t v) { in GammaToLinear() function
130 static WEBP_INLINE uint32_t GammaToLinear(uint8_t v) { return v; } in GammaToLinear() function
566 GammaToLinear((ptr)[0]) + \
567 GammaToLinear((ptr)[(step)]) + \
568 GammaToLinear((ptr)[rgb_stride]) + \
569 GammaToLinear((ptr)[rgb_stride + (step)]), 0) \
572 LinearToGamma(GammaToLinear((ptr)[0]) + GammaToLinear((ptr)[rgb_stride]), 1)
734 a_ptr[0] * GammaToLinear(src[0]) + in LinearToGammaWeighted()
735 a_ptr[step] * GammaToLinear(src[step]) + in LinearToGammaWeighted()
736 a_ptr[rgb_stride] * GammaToLinear(src[rgb_stride]) + in LinearToGammaWeighted()
[all …]