use crate::codec::vp9::parser::BitDepth;
use crate::encoder::PredictionStructure;
use crate::encoder::Tunings;
use crate::Resolution;
pub struct VP9;
#[derive(Clone)]
pub struct EncoderConfig {
pub bit_depth: BitDepth,
pub resolution: Resolution,
pub pred_structure: PredictionStructure,
pub initial_tunings: Tunings,
}
impl Default for EncoderConfig {
fn default() -> Self {
Self {
bit_depth: BitDepth::Depth8,
resolution: Resolution { width: 320, height: 240 },
pred_structure: PredictionStructure::LowDelay { limit: 2048 },
initial_tunings: Default::default(),
}
}
}