Struct gstreamer_video_sys::GstVideoFormatInfo[][src]

#[repr(C)]
pub struct GstVideoFormatInfo {
Show fields pub format: GstVideoFormat, pub name: *const c_char, pub description: *const c_char, pub flags: GstVideoFormatFlags, pub bits: c_uint, pub n_components: c_uint, pub shift: [c_uint; 4], pub depth: [c_uint; 4], pub pixel_stride: [c_int; 4], pub n_planes: c_uint, pub plane: [c_uint; 4], pub poffset: [c_uint; 4], pub w_sub: [c_uint; 4], pub h_sub: [c_uint; 4], pub unpack_format: GstVideoFormat, pub unpack_func: GstVideoFormatUnpack, pub pack_lines: c_int, pub pack_func: GstVideoFormatPack, pub tile_mode: GstVideoTileMode, pub tile_ws: c_uint, pub tile_hs: c_uint, pub _gst_reserved: [gpointer; 4],
}

Fields

format: GstVideoFormatname: *const c_chardescription: *const c_charflags: GstVideoFormatFlagsbits: c_uintn_components: c_uintshift: [c_uint; 4]depth: [c_uint; 4]pixel_stride: [c_int; 4]n_planes: c_uintplane: [c_uint; 4]poffset: [c_uint; 4]w_sub: [c_uint; 4]h_sub: [c_uint; 4]unpack_format: GstVideoFormatunpack_func: GstVideoFormatUnpackpack_lines: c_intpack_func: GstVideoFormatPacktile_mode: GstVideoTileModetile_ws: c_uinttile_hs: c_uint_gst_reserved: [gpointer; 4]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.