struct V4L2::FrameSizes::Discrete

Overview

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

Defined in:

v4l2/frame_sizes.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : UInt32, height : UInt32) #

[View source]
def self.new(discrete_struct : Linux::V4L2FrmSizeDiscrete) #

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


[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(width _width = @width, height _height = @height) #

[View source]
def height : UInt32 #

def to_s : String #

Converts the discrete frame-size to a String.


[View source]
def width : UInt32 #