Thanks for the patch, Mauro. Just a correction below. > >+/* cos(x) = sin(x + pi radians) */ >+ This should pi / 2. Correcting for the same below. >+#define fixp_cos32_rad(rad, twopi) \ >+ fixp_sin32_rad(rad + twopi/2, twopi) fixp_sin32_rad(rad + twopi/4, twopi) >+ I think this patch will serve the need. I will test it for vivid sir tone generation. I will rework my patches to use sin/cos functions from fixp-arith.h. > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html