aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-06-20 01:26:33 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2023-06-23 02:06:46 +0200
commit4aa1a42a91438b7107d2d77db1fc5ca95c27740c (patch)
treeb6fb765bf8b40e0a29dcaf4a2ad6b69bd83163b1 /libavutil
parentd84677abd8ffb8ca8ad94eced6d9e03928f35d79 (diff)
downloadffmpeg-4aa1a42a91438b7107d2d77db1fc5ca95c27740c.tar.gz
avutil/softfloat: Basic documentation for av_sincos_sf()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/softfloat.h4
1 files changed, 4 insertions, 0 deletions
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)
{