pub struct DecoderConfig {
pub n_threads: usize,
pub max_frame_delay: usize,
pub apply_grain: bool,
pub operating_point: usize,
pub all_layers: bool,
pub frame_size_limit: Option<u32>,
pub strict_std_compliance: bool,
pub output_invisible_frames: bool,
pub inloop_filters: InloopFilterType,
pub decode_frame_type: DecodeFrameType,
}Expand description
デコーダーの設定
Fields§
§n_threads: usizeデコードに使用するスレッド数
max_frame_delay: usize最大フレーム遅延 (0 で dav1d が自動決定)
apply_grain: boolフィルムグレインを適用するかどうか
operating_point: usizeスケーラブル AV1 のオペレーティングポイント (0-31)
all_layers: boolスケーラブル AV1 の全空間レイヤーを出力するか
frame_size_limit: Option<u32>最大フレームサイズ制限 (ピクセル単位、None で無制限)
strict_std_compliance: boolビットストリーム規格違反時にデコードを中断するか
output_invisible_frames: bool非表示フレームも出力するか
inloop_filters: InloopFilterType有効にするインループフィルター
decode_frame_type: DecodeFrameTypeデコードするフレーム種別
Implementations§
Source§impl DecoderConfig
impl DecoderConfig
Trait Implementations§
Source§impl Clone for DecoderConfig
impl Clone for DecoderConfig
Source§fn clone(&self) -> DecoderConfig
fn clone(&self) -> DecoderConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecoderConfig
impl Debug for DecoderConfig
Auto Trait Implementations§
impl Freeze for DecoderConfig
impl RefUnwindSafe for DecoderConfig
impl Send for DecoderConfig
impl Sync for DecoderConfig
impl Unpin for DecoderConfig
impl UnsafeUnpin for DecoderConfig
impl UnwindSafe for DecoderConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more