#include <dav1d.h>

| Data Fields | |
| 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 | 
| int | output_invisible_frames | 
| enum Dav1dInloopFilterType | inloop_filters | 
| enum Dav1dDecodeFrameType | decode_frame_type | 
| uint8_t | reserved [16] | 
| reserved for future use | |
| int Dav1dSettings::all_layers | 
output all spatial layers of a scalable AV1 biststream (default 1)
| Dav1dPicAllocator Dav1dSettings::allocator | 
Picture allocator callback.
| int Dav1dSettings::apply_grain | 
whether to apply film grain on output frames (default 1)
| enum Dav1dDecodeFrameType Dav1dSettings::decode_frame_type | 
frame types to decode (default DAV1D_DECODEFRAMETYPE_ALL)
| unsigned Dav1dSettings::frame_size_limit | 
maximum frame size, in pixels (0 = unlimited, default 0)
| enum Dav1dInloopFilterType Dav1dSettings::inloop_filters | 
postfilters to enable during decoding (default DAV1D_INLOOPFILTER_ALL)
| Dav1dLogger Dav1dSettings::logger | 
Logger callback.
| int Dav1dSettings::max_frame_delay | 
Set to 1 for low-latency decoding (0 = ceil(sqrt(n_threads)), default 0)
| int Dav1dSettings::n_threads | 
number of threads (0 = number of logical cores in host system, default 0)
| int Dav1dSettings::operating_point | 
select an operating point for scalable AV1 bitstreams (0 - 31, default 0)
| int Dav1dSettings::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, default 0)
| uint8_t Dav1dSettings::reserved[16] | 
reserved for future use
| int Dav1dSettings::strict_std_compliance | 
whether to abort decoding on standard compliance violations that don't affect actual bitstream decoding (e.g. inconsistent or invalid metadata, default 0)