1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use libc::{c_void, c_uint, uint64_t}; pub const FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG: uint64_t = 1; pub const FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO: uint64_t = 2; #[derive(Debug)] #[repr(C)] pub struct dxva_context { pub decoder: *mut c_void, pub cfg: *const c_void, pub surface_count: c_uint, pub surface: *mut c_void, pub workaround: uint64_t, pub report_id: c_uint, }