Searched refs:cos_hue (Results 1 – 5 of 5) sorted by relevance
81 float cos_hue = cosf(hue * kPiFloat / 180); in HueRotateMatrix() local83 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()
74 float cos_hue = cosf(hue * base::kPiFloat / 180.f); in GetHueRotateMatrix() local76 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()
47 float cos_hue; member192 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_()