Lines Matching refs:cos

296 …q = (double)sqrt(2.0f/(M_PI*x))*(double)(KernelBessel_P1(x)*(1.0f/sqrt(2.0f)*(sin(x)-cos(x)))-8.0f…  in KernelBessel_Order1()
297 (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); in KernelBessel_Order1()
313 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); in filter_blackman()
509 if ((x >= -1.0) && (x <= 1.0)) return ((cos(x * M_PI) + 1.0)/2.0); in filter_cosine()
563 return(0.5 + 0.5 * cos(M_PI * x)); in filter_hanning()
1700 …const unsigned int new_width = (unsigned int)(abs((int)(src_w * cos(_angle))) + abs((int)(src_h * … in gdImageRotateNearestNeighbour()
1701 …_height = (unsigned int)(abs((int)(src_w * sin(_angle))) + abs((int)(src_h * cos(_angle))) + 0.5f); in gdImageRotateNearestNeighbour()
1705 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateNearestNeighbour()
1749 …const unsigned int new_width = (unsigned int)(abs((int)(src_w * cos(_angle))) + abs((int)(src_h * … in gdImageRotateGeneric()
1750 …_height = (unsigned int)(abs((int)(src_w * sin(_angle))) + abs((int)(src_h * cos(_angle))) + 0.5f); in gdImageRotateGeneric()
1754 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateGeneric()
1808 unsigned int new_width = abs((int)(src_w*cos(_angle))) + abs((int)(src_h*sin(_angle) + 0.5f)); in gdImageRotateBilinear()
1809 unsigned int new_height = abs((int)(src_w*sin(_angle))) + abs((int)(src_h*cos(_angle) + 0.5f)); in gdImageRotateBilinear()
1813 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBilinear()
1923 …const unsigned int new_width = abs((int)(src_w*cos(_angle))) + abs((int)(src_h*sin(_angle) + 0.5f)… in gdImageRotateBicubicFixed()
1924 …const unsigned int new_height = abs((int)(src_w*sin(_angle))) + abs((int)(src_h*cos(_angle) + 0.5f… in gdImageRotateBicubicFixed()
1928 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBicubicFixed()