diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2021-09-03 20:38:10 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2021-09-20 19:44:35 +0300 |
commit | 9636af88b892703ed13ce9216723c63029b6dd1a (patch) | |
tree | 341c32cab9e3f973303a39c3c407e669b8f7d765 /include | |
parent | bdde09b1121546506ad124bc5db1c95614953b29 (diff) |
Add automatic thread count selection
Supports Linux, MacOS, and Windows.
Diffstat (limited to 'include')
-rw-r--r-- | include/dav1d/dav1d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h index 6828e2b..cbb3ed4 100644 --- a/include/dav1d/dav1d.h +++ b/include/dav1d/dav1d.h @@ -59,8 +59,8 @@ typedef struct Dav1dLogger { } Dav1dLogger; typedef struct Dav1dSettings { - int n_threads; - int max_frame_delay; ///< internally clipped to $n_threads. Set to 1 for low-latency decoding. + 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 |