shithub: dav1d

Download patch

ref: ecc5078cec3df5a9974e8d90f89eed96cb3494a1
parent: a73742326173fd60bf8d398f78420be77bf330d4
author: James Almer <jamrial@gmail.com>
date: Sat Mar 7 08:49:27 EST 2020

headers: add missing doxy to some Dav1dSettings fields

--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -49,7 +49,7 @@
 typedef struct Dav1dLogger {
     void *cookie; ///< Custom data to pass to the callback.
     /**
-     * Logger callback. Default prints to stderr. May be NULL to disable logging.
+     * Logger callback.
      *
      * @param cookie Custom pointer passed to all calls.
      * @param format The vprintf compatible format string.
@@ -66,8 +66,8 @@
     int all_layers; ///< output all spatial layers of a scalable AV1 biststream
     unsigned frame_size_limit; ///< maximum frame size, in pixels (0 = unlimited)
     uint8_t reserved[32]; ///< reserved for future use
-    Dav1dPicAllocator allocator;
-    Dav1dLogger logger;
+    Dav1dPicAllocator allocator; ///< Picture allocator callback.
+    Dav1dLogger logger; ///< Logger callback. May be set to NULL to disable logging.
 } Dav1dSettings;
 
 /**