[−][src]Struct opencv::cudacodec::EncoderParams
Different parameters for CUDA video encoder.
Implementations
impl EncoderParams
[src]
pub fn as_raw_EncoderParams(&self) -> *const c_void
[src]
pub fn as_raw_mut_EncoderParams(&mut self) -> *mut c_void
[src]
impl EncoderParams
[src]
pub fn default() -> Result<EncoderParams>
[src]
pub fn new(config_file: &str) -> Result<EncoderParams>
[src]
Constructors.
Parameters
- configFile: Config file name.
Creates default parameters or reads parameters from config file.
Trait Implementations
impl Boxed for EncoderParams
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for EncoderParams
[src]
impl EncoderParamsTrait for EncoderParams
[src]
fn as_raw_EncoderParams(&self) -> *const c_void
[src]
fn as_raw_mut_EncoderParams(&mut self) -> *mut c_void
[src]
fn p_interval(&self) -> i32
[src]
fn set_p_interval(&mut self, val: i32)
[src]
fn idr_period(&self) -> i32
[src]
fn set_idr_period(&mut self, val: i32)
[src]
fn dynamic_gop(&self) -> i32
[src]
fn set_dynamic_gop(&mut self, val: i32)
[src]
fn rc_type(&self) -> i32
[src]
fn set_rc_type(&mut self, val: i32)
[src]
fn avg_bitrate(&self) -> i32
[src]
fn set_avg_bitrate(&mut self, val: i32)
[src]
fn peak_bitrate(&self) -> i32
[src]
fn set_peak_bitrate(&mut self, val: i32)
[src]
fn qp_level_intra(&self) -> i32
[src]
fn set_qp_level_intra(&mut self, val: i32)
[src]
fn qp_level_inter_p(&self) -> i32
[src]
fn set_qp_level_inter_p(&mut self, val: i32)
[src]
fn qp_level_inter_b(&self) -> i32
[src]
fn set_qp_level_inter_b(&mut self, val: i32)
[src]
fn deblock_mode(&self) -> i32
[src]
fn set_deblock_mode(&mut self, val: i32)
[src]
fn profile_level(&self) -> i32
[src]
fn set_profile_level(&mut self, val: i32)
[src]
fn force_intra(&self) -> i32
[src]
fn set_force_intra(&mut self, val: i32)
[src]
fn force_idr(&self) -> i32
[src]
fn set_force_idr(&mut self, val: i32)
[src]
fn clear_stat(&self) -> i32
[src]
fn set_clear_stat(&mut self, val: i32)
[src]
fn di_mode(&self) -> i32
[src]
fn set_di_mode(&mut self, val: i32)
[src]
fn presets(&self) -> i32
[src]
fn set_presets(&mut self, val: i32)
[src]
fn disable_cabac(&self) -> i32
[src]
fn set_disable_cabac(&mut self, val: i32)
[src]
fn nalu_framing_type(&self) -> i32
[src]
fn set_nalu_framing_type(&mut self, val: i32)
[src]
fn disable_spspps(&self) -> i32
[src]
fn set_disable_spspps(&mut self, val: i32)
[src]
fn load(&mut self, config_file: &str) -> Result<()>
[src]
fn save(&self, config_file: &str) -> Result<()>
[src]
impl Send for EncoderParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for EncoderParams
impl !Sync for EncoderParams
impl Unpin for EncoderParams
impl UnwindSafe for EncoderParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,