struct

V4L2::FrameSizes::Discrete

Inherits Struct < Value < Object

Represents a discrete frame-size of a specific width and height.

Constructors

new(width : UInt32, height : UInt32)
Source
new(discrete_struct : Linux::V4L2FrmSizeDiscrete)

Initializes a discrete frame-size from a Linux::V4L2FrmSizeDiscrete struct.

Source

Instance methods

clone
Source
copy_with(width _width = @width, height _height = @height)
Source
height
to_s

Converts the discrete frame-size to a String.

Source
width