struct V4L2::FrameSizes::Discrete
- V4L2::FrameSizes::Discrete
- Struct
- Value
- Object
Overview
Represents a discrete frame-size of a specific width and height.
Defined in:
v4l2/frame_sizes.crConstructors
- .new(width : UInt32, height : UInt32)
-
.new(discrete_struct : Linux::V4L2FrmSizeDiscrete)
Initializes a discrete frame-size from a Linux::V4L2FrmSizeDiscrete struct.
Instance Method Summary
- #clone
- #copy_with(width _width = @width, height _height = @height)
- #height : UInt32
-
#to_s : String
Converts the discrete frame-size to a String.
- #width : UInt32
Constructor Detail
def self.new(discrete_struct : Linux::V4L2FrmSizeDiscrete)
#
Initializes a discrete frame-size from a Linux::V4L2FrmSizeDiscrete struct.