pub enum CodecPictureParams {
H264(NV_ENC_PIC_PARAMS_H264),
Hevc(NV_ENC_PIC_PARAMS_HEVC),
Av1(NV_ENC_PIC_PARAMS_AV1),
}
Expand description
Codec specific picture parameters
Variants§
H264(NV_ENC_PIC_PARAMS_H264)
Parameters for H.264
Hevc(NV_ENC_PIC_PARAMS_HEVC)
Parameters for HEVC or H.265
Av1(NV_ENC_PIC_PARAMS_AV1)
Parameters for AV1
Implementations§
source§impl CodecPictureParams
impl CodecPictureParams
sourcepub fn get_codec_guid(&self) -> GUID
pub fn get_codec_guid(&self) -> GUID
Returns the GUID representing the codec for which the parameters are specified.
Trait Implementations§
source§impl From<CodecPictureParams> for NV_ENC_CODEC_PIC_PARAMS
impl From<CodecPictureParams> for NV_ENC_CODEC_PIC_PARAMS
source§fn from(value: CodecPictureParams) -> Self
fn from(value: CodecPictureParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CodecPictureParams
impl !Send for CodecPictureParams
impl !Sync for CodecPictureParams
impl Unpin for CodecPictureParams
impl UnwindSafe for CodecPictureParams
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