shithub: dav1d

Download patch

ref: a73742326173fd60bf8d398f78420be77bf330d4
parent: acfbd09b7bbdcc3185d11560de52727a715b6bae
author: James Almer <jamrial@gmail.com>
date: Sat Mar 7 08:47:33 EST 2020

headers: split some public fields into separate lines and document them

The description was being added only to the last field of each line by Doxygen.

--- a/include/dav1d/headers.h
+++ b/include/dav1d/headers.h
@@ -336,7 +336,8 @@
     enum Dav1dFrameType frame_type; ///< type of the picture
     int width[2 /* { coded_width, superresolution_upscaled_width } */], height;
     int frame_offset; ///< frame number
-    int temporal_id, spatial_id; ///< spatial and temporal id of the frame for SVC
+    int temporal_id; ///< temporal id of the frame for SVC
+    int spatial_id; ///< spatial id of the frame for SVC
 
     int show_existing_frame;
     int existing_frame_idx;
--- a/include/dav1d/picture.h
+++ b/include/dav1d/picture.h
@@ -84,8 +84,11 @@
 
     uintptr_t reserved[4]; ///< reserved for future use
 
-    struct Dav1dRef *frame_hdr_ref, *seq_hdr_ref; ///< Frame parameter allocation origins
-    struct Dav1dRef *content_light_ref, *mastering_display_ref, *itut_t35_ref; ///< Metadata allocation origins
+    struct Dav1dRef *frame_hdr_ref; ///< Dav1dFrameHeader allocation origin
+    struct Dav1dRef *seq_hdr_ref; ///< Dav1dSequenceHeader allocation origin
+    struct Dav1dRef *content_light_ref; ///< Dav1dContentLightLevel allocation origin
+    struct Dav1dRef *mastering_display_ref; ///< Dav1dMasteringDisplay allocation origin
+    struct Dav1dRef *itut_t35_ref; ///< Dav1dITUTT35 allocation origin
     uintptr_t reserved_ref[4]; ///< reserved for future use
     struct Dav1dRef *ref; ///< Frame data allocation origin