V4L2::FrameSizes::Stepwise
Inherits Struct < Value < Object
Represents a step-wise frame-size, with a minimum width/height, maximum width/height, and a step value for the width/height.
Constructors
new(min_width : UInt32, max_width : UInt32, step_width : UInt32, min_height : UInt32, max_height : UInt32, step_height : UInt32)
Sourcenew(stepwise_struct : Linux::V4L2FrmSizeStepWise)
Initializes the step-wise frame-size from a Linux::V4L2FrmSizeStepWise struct.
Instance methods
clone
Sourcecopy_with(min_width _min_width = @min_width, max_width _max_width = @max_width, step_width _step_width = @step_width, min_height _min_height = @min_height, max_height _max_height = @max_height, step_height _step_height = @step_height)
Sourcemax_height
max_width
min_height
min_width
step_height
step_width