Struct nvidia_video_codec_sdk::safe::EncodePictureParams
source · pub struct EncodePictureParams {
pub input_timestamp: u64,
pub picture_type: NV_ENC_PIC_TYPE,
pub codec_params: Option<CodecPictureParams>,
}
Expand description
Optional parameters for Session::encode_picture
.
Fields§
§input_timestamp: u64
Opaque data used for identifying the corresponding encoded frame
picture_type: NV_ENC_PIC_TYPE
The picture type to use, if picture type decision is disabled in the encoder
codec_params: Option<CodecPictureParams>
Codec-specific parameters
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EncodePictureParams
impl !Send for EncodePictureParams
impl !Sync for EncodePictureParams
impl Unpin for EncodePictureParams
impl UnwindSafe for EncodePictureParams
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