Home
last modified time | relevance | path

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

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/filters/
H A Dfe_color_matrix.cc81 float cos_hue = cosf(hue * kPiFloat / 180); in HueRotateMatrix() local
83 matrix[0] = 0.213f + cos_hue * 0.787f - sin_hue * 0.213f; in HueRotateMatrix()
84 matrix[1] = 0.715f - cos_hue * 0.715f - sin_hue * 0.715f; in HueRotateMatrix()
85 matrix[2] = 0.072f - cos_hue * 0.072f + sin_hue * 0.928f; in HueRotateMatrix()
87 matrix[5] = 0.213f - cos_hue * 0.213f + sin_hue * 0.143f; in HueRotateMatrix()
88 matrix[6] = 0.715f + cos_hue * 0.285f + sin_hue * 0.140f; in HueRotateMatrix()
89 matrix[7] = 0.072f - cos_hue * 0.072f - sin_hue * 0.283f; in HueRotateMatrix()
91 matrix[10] = 0.213f - cos_hue * 0.213f - sin_hue * 0.787f; in HueRotateMatrix()
92 matrix[11] = 0.715f - cos_hue * 0.715f + sin_hue * 0.715f; in HueRotateMatrix()
93 matrix[12] = 0.072f + cos_hue * 0.928f + sin_hue * 0.072f; in HueRotateMatrix()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/graphics/filters/
H A Dfe_color_matrix.cc81 float cos_hue = cosf(hue * kPiFloat / 180); in HueRotateMatrix() local
83 matrix[0] = 0.213f + cos_hue * 0.787f - sin_hue * 0.213f; in HueRotateMatrix()
84 matrix[1] = 0.715f - cos_hue * 0.715f - sin_hue * 0.715f; in HueRotateMatrix()
85 matrix[2] = 0.072f - cos_hue * 0.072f + sin_hue * 0.928f; in HueRotateMatrix()
87 matrix[5] = 0.213f - cos_hue * 0.213f + sin_hue * 0.143f; in HueRotateMatrix()
88 matrix[6] = 0.715f + cos_hue * 0.285f + sin_hue * 0.140f; in HueRotateMatrix()
89 matrix[7] = 0.072f - cos_hue * 0.072f - sin_hue * 0.283f; in HueRotateMatrix()
91 matrix[10] = 0.213f - cos_hue * 0.213f - sin_hue * 0.787f; in HueRotateMatrix()
92 matrix[11] = 0.715f - cos_hue * 0.715f + sin_hue * 0.715f; in HueRotateMatrix()
93 matrix[12] = 0.072f + cos_hue * 0.928f + sin_hue * 0.072f; in HueRotateMatrix()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/paint/
H A Drender_surface_filters.cc74 float cos_hue = cosf(hue * base::kPiFloat / 180.f); in GetHueRotateMatrix() local
76 matrix[0] = 0.213f + cos_hue * 0.787f - sin_hue * 0.213f; in GetHueRotateMatrix()
77 matrix[1] = 0.715f - cos_hue * 0.715f - sin_hue * 0.715f; in GetHueRotateMatrix()
78 matrix[2] = 0.072f - cos_hue * 0.072f + sin_hue * 0.928f; in GetHueRotateMatrix()
80 matrix[5] = 0.213f - cos_hue * 0.213f + sin_hue * 0.143f; in GetHueRotateMatrix()
81 matrix[6] = 0.715f + cos_hue * 0.285f + sin_hue * 0.140f; in GetHueRotateMatrix()
82 matrix[7] = 0.072f - cos_hue * 0.072f - sin_hue * 0.283f; in GetHueRotateMatrix()
84 matrix[10] = 0.213f - cos_hue * 0.213f - sin_hue * 0.787f; in GetHueRotateMatrix()
85 matrix[11] = 0.715f - cos_hue * 0.715f + sin_hue * 0.715f; in GetHueRotateMatrix()
86 matrix[12] = 0.072f + cos_hue * 0.928f + sin_hue * 0.072f; in GetHueRotateMatrix()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/paint/
H A Drender_surface_filters.cc74 float cos_hue = cosf(hue * base::kPiFloat / 180.f); in GetHueRotateMatrix() local
76 matrix[0] = 0.213f + cos_hue * 0.787f - sin_hue * 0.213f; in GetHueRotateMatrix()
77 matrix[1] = 0.715f - cos_hue * 0.715f - sin_hue * 0.715f; in GetHueRotateMatrix()
78 matrix[2] = 0.072f - cos_hue * 0.072f + sin_hue * 0.928f; in GetHueRotateMatrix()
80 matrix[5] = 0.213f - cos_hue * 0.213f + sin_hue * 0.143f; in GetHueRotateMatrix()
81 matrix[6] = 0.715f + cos_hue * 0.285f + sin_hue * 0.140f; in GetHueRotateMatrix()
82 matrix[7] = 0.072f - cos_hue * 0.072f - sin_hue * 0.283f; in GetHueRotateMatrix()
84 matrix[10] = 0.213f - cos_hue * 0.213f - sin_hue * 0.787f; in GetHueRotateMatrix()
85 matrix[11] = 0.715f - cos_hue * 0.715f + sin_hue * 0.715f; in GetHueRotateMatrix()
86 matrix[12] = 0.072f + cos_hue * 0.928f + sin_hue * 0.072f; in GetHueRotateMatrix()
/dports/emulators/mednafen/mednafen/src/nes/ntsc/
H A Dnes_ntsc.cpp47 float cos_hue; member
192 impl->cos_hue = (float) cos( hue ); in init_ntsc_impl()
428 float wi = q * impl.sin_hue + i * impl.cos_hue; in nes_ntsc_init_()
429 float wq = q * impl.cos_hue - i * impl.sin_hue; in nes_ntsc_init_()
439 i = wi * impl.cos_hue - wq * impl.sin_hue; in nes_ntsc_init_()
440 q = wi * impl.sin_hue + wq * impl.cos_hue; in nes_ntsc_init_()