Searched refs:costh (Results 1 – 1 of 1) sorted by relevance
1057 int sinth, costh, tmpmatrix[CMATRIX_LEN]; in ov7670_calc_cmatrix() local1061 costh = ov7670_cosine(info->hue); in ov7670_calc_cmatrix()1063 matrix[0] = (matrix[3]*sinth + matrix[0]*costh)/1000; in ov7670_calc_cmatrix()1064 matrix[1] = (matrix[4]*sinth + matrix[1]*costh)/1000; in ov7670_calc_cmatrix()1065 matrix[2] = (matrix[5]*sinth + matrix[2]*costh)/1000; in ov7670_calc_cmatrix()1066 matrix[3] = (matrix[3]*costh - matrix[0]*sinth)/1000; in ov7670_calc_cmatrix()1067 matrix[4] = (matrix[4]*costh - matrix[1]*sinth)/1000; in ov7670_calc_cmatrix()1068 matrix[5] = (matrix[5]*costh - matrix[2]*sinth)/1000; in ov7670_calc_cmatrix()