aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-10-20 12:12:12 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-12-31 19:51:56 +0100
commit58226980a64e074b91dc562ac50f307b88581c74 (patch)
tree99b1be8a56aa27f308694b4883bd92080bf11611 /libavutil
parentb8425d0e2630f5d237df76522c7f2b8230e826d6 (diff)
downloadffmpeg-58226980a64e074b91dc562ac50f307b88581c74.tar.gz
avutil/lfg: Document the AVLFG struct
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d6fea2ef221a2f438cc55e82c61d0375750edf94) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/lfg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/lfg.h b/libavutil/lfg.h
index 03f779ad8a..ab38a8a0df 100644
--- a/libavutil/lfg.h
+++ b/libavutil/lfg.h
@@ -24,6 +24,12 @@
#include <stdint.h>
+/**
+ * Context structure for the Lagged Fibonacci PRNG.
+ * The exact layout, types and content of this struct may change and should
+ * not be accessed directly. Only its sizeof() is guranteed to stay the same
+ * to allow easy instanciation.
+ */
typedef struct AVLFG {
unsigned int state[64];
int index;