Struct nvidia_video_codec_sdk::sys::nvcuvid::CUVIDEOFORMAT
source · #[repr(C)]pub struct CUVIDEOFORMAT {Show 14 fields
pub codec: cudaVideoCodec,
pub frame_rate: CUVIDEOFORMAT__bindgen_ty_1,
pub progressive_sequence: c_uchar,
pub bit_depth_luma_minus8: c_uchar,
pub bit_depth_chroma_minus8: c_uchar,
pub min_num_decode_surfaces: c_uchar,
pub coded_width: c_uint,
pub coded_height: c_uint,
pub display_area: CUVIDEOFORMAT__bindgen_ty_2,
pub chroma_format: cudaVideoChromaFormat,
pub bitrate: c_uint,
pub display_aspect_ratio: CUVIDEOFORMAT__bindgen_ty_3,
pub video_signal_description: CUVIDEOFORMAT__bindgen_ty_4,
pub seqhdr_data_length: c_uint,
}
Fields§
§codec: cudaVideoCodec
§frame_rate: CUVIDEOFORMAT__bindgen_ty_1
§progressive_sequence: c_uchar
§bit_depth_luma_minus8: c_uchar
§bit_depth_chroma_minus8: c_uchar
§min_num_decode_surfaces: c_uchar
§coded_width: c_uint
§coded_height: c_uint
§display_area: CUVIDEOFORMAT__bindgen_ty_2
§chroma_format: cudaVideoChromaFormat
§bitrate: c_uint
§display_aspect_ratio: CUVIDEOFORMAT__bindgen_ty_3
§video_signal_description: CUVIDEOFORMAT__bindgen_ty_4
§seqhdr_data_length: c_uint
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CUVIDEOFORMAT
impl Send for CUVIDEOFORMAT
impl Sync for CUVIDEOFORMAT
impl Unpin for CUVIDEOFORMAT
impl UnwindSafe for CUVIDEOFORMAT
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