Struct libdav1d_sys::Dav1dSettings
source · #[repr(C)]pub struct Dav1dSettings {Show 13 fields
pub n_threads: c_int,
pub max_frame_delay: c_int,
pub apply_grain: c_int,
pub operating_point: c_int,
pub all_layers: c_int,
pub frame_size_limit: c_uint,
pub allocator: Dav1dPicAllocator,
pub logger: Dav1dLogger,
pub strict_std_compliance: c_int,
pub output_invisible_frames: c_int,
pub inloop_filters: Type,
pub decode_frame_type: Dav1dDecodeFrameType,
pub reserved: [u8; 16],
}
Fields§
§n_threads: c_int
< number of threads (0 = number of logical cores in host system, default 0)
max_frame_delay: c_int
< Set to 1 for low-latency decoding (0 = ceil(sqrt(n_threads)), default 0)
apply_grain: c_int
< whether to apply film grain on output frames (default 1)
operating_point: c_int
< select an operating point for scalable AV1 bitstreams (0 - 31, default 0)
all_layers: c_int
< output all spatial layers of a scalable AV1 biststream (default 1)
frame_size_limit: c_uint
< maximum frame size, in pixels (0 = unlimited, default 0)
allocator: Dav1dPicAllocator
< Picture allocator callback.
logger: Dav1dLogger
< Logger callback.
strict_std_compliance: c_int
< whether to abort decoding on standard compliance violations < that don’t affect actual bitstream decoding (e.g. inconsistent < or invalid metadata, default 0)
output_invisible_frames: c_int
< 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)
inloop_filters: Type
< postfilters to enable during decoding (default < DAV1D_INLOOPFILTER_ALL)
decode_frame_type: Dav1dDecodeFrameType
< frame types to decode (default < DAV1D_DECODEFRAMETYPE_ALL)
reserved: [u8; 16]
< reserved for future use
Trait Implementations§
source§impl Clone for Dav1dSettings
impl Clone for Dav1dSettings
source§fn clone(&self) -> Dav1dSettings
fn clone(&self) -> Dav1dSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more