[FFmpeg-devel] [PATCH] avutil/softfloat: Basic documentation for av_sincos_sf()

Michael Niedermayer michael at niedermayer.cc
Tue Jun 20 02:39:50 EEST 2023


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavutil/softfloat.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 1520027ddc..399ca6d682 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -236,6 +236,10 @@ static av_always_inline SoftFloat av_sqrt_sf(SoftFloat val)
 
 /**
  * Rounding-to-nearest used.
+ *
+ * @param a angle in units of (1ULL<<30)/M_PI radians
+ * @param s pointer to where   sine in units of (1<<30) is returned
+ * @param c pointer to where cosine in units of (1<<30) is returned
  */
 static av_unused void av_sincos_sf(int a, int *s, int *c)
 {
-- 
2.17.1



More information about the ffmpeg-devel mailing list