diff options
author | James Almer <jamrial@gmail.com> | 2022-01-11 18:56:08 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-01-11 19:40:14 +0300 |
commit | 6da4937abf6ad52eab6cc57913de2a053d4be9ee (patch) | |
tree | 62cadd69d783c428399a27ca25a2d3e93c31300d /include | |
parent | 4ddaf7a206386939dfa9e06584971a26e8b39ecc (diff) |
dav1d.h: mention the defaults for each Dav1dSettings option
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dav1d/dav1d.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h index b7a79f7..a03fe93 100644 --- a/include/dav1d/dav1d.h +++ b/include/dav1d/dav1d.h @@ -59,21 +59,21 @@ typedef struct Dav1dLogger { } Dav1dLogger; typedef struct Dav1dSettings { - int n_threads; ///< number of threads (0 = auto) - int max_frame_delay; ///< Set to 1 for low-latency decoding (0 = auto) - int apply_grain; - int operating_point; ///< select an operating point for scalable AV1 bitstreams (0 - 31) - int all_layers; ///< output all spatial layers of a scalable AV1 biststream - unsigned frame_size_limit; ///< maximum frame size, in pixels (0 = unlimited) + int n_threads; ///< number of threads (0 = number of logical cores in host system, default 0) + int max_frame_delay; ///< Set to 1 for low-latency decoding (0 = ceil(sqrt(n_threads)), default 0) + int apply_grain; ///< whether to apply film grain on output frames (default 1) + int operating_point; ///< select an operating point for scalable AV1 bitstreams (0 - 31, default 0) + int all_layers; ///< output all spatial layers of a scalable AV1 biststream (default 1) + unsigned frame_size_limit; ///< maximum frame size, in pixels (0 = unlimited, default 0) Dav1dPicAllocator allocator; ///< Picture allocator callback. Dav1dLogger logger; ///< Logger callback. int strict_std_compliance; ///< whether to abort decoding on standard compliance violations ///< that don't affect actual bitstream decoding (e.g. inconsistent - ///< or invalid metadata) + ///< or invalid metadata, default 0) int output_invisible_frames; ///< output invisibly coded frames (in coding order) in addition ///< to all visible frames. Because of show-existing-frame, this ///< means some frames may appear twice (once when coded, - ///< once when shown) + ///< once when shown, default 0) uint8_t reserved[24]; ///< reserved for future use } Dav1dSettings; |