Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEColorMatrix.h82 float cosHue = cos(value * piFloat / 180); in calculateHueRotateComponents() local
84 components[0] = 0.213 + cosHue * 0.787 - sinHue * 0.213; in calculateHueRotateComponents()
85 components[1] = 0.715 - cosHue * 0.715 - sinHue * 0.715; in calculateHueRotateComponents()
86 components[2] = 0.072 - cosHue * 0.072 + sinHue * 0.928; in calculateHueRotateComponents()
87 components[3] = 0.213 - cosHue * 0.213 + sinHue * 0.143; in calculateHueRotateComponents()
88 components[4] = 0.715 + cosHue * 0.285 + sinHue * 0.140; in calculateHueRotateComponents()
89 components[5] = 0.072 - cosHue * 0.072 - sinHue * 0.283; in calculateHueRotateComponents()
90 components[6] = 0.213 - cosHue * 0.213 - sinHue * 0.787; in calculateHueRotateComponents()
91 components[7] = 0.715 - cosHue * 0.715 + sinHue * 0.715; in calculateHueRotateComponents()
92 components[8] = 0.072 + cosHue * 0.928 + sinHue * 0.072; in calculateHueRotateComponents()
DFEColorMatrix.cpp200 float cosHue = cosf(hue * piFloat / 180); in hueRotateMatrix() local
202 matrix[0] = 0.213f + cosHue * 0.787f - sinHue * 0.213f; in hueRotateMatrix()
203 matrix[1] = 0.715f - cosHue * 0.715f - sinHue * 0.715f; in hueRotateMatrix()
204 matrix[2] = 0.072f - cosHue * 0.072f + sinHue * 0.928f; in hueRotateMatrix()
206 matrix[5] = 0.213f - cosHue * 0.213f + sinHue * 0.143f; in hueRotateMatrix()
207 matrix[6] = 0.715f + cosHue * 0.285f + sinHue * 0.140f; in hueRotateMatrix()
208 matrix[7] = 0.072f - cosHue * 0.072f - sinHue * 0.283f; in hueRotateMatrix()
210 matrix[10] = 0.213f - cosHue * 0.213f - sinHue * 0.787f; in hueRotateMatrix()
211 matrix[11] = 0.715f - cosHue * 0.715f + sinHue * 0.715f; in hueRotateMatrix()
212 matrix[12] = 0.072f + cosHue * 0.928f + sinHue * 0.072f; in hueRotateMatrix()