struct V4L2::FrameSizes::Stepwise
- V4L2::FrameSizes::Stepwise
- Struct
- Value
- Object
Overview
Represents a step-wise frame-size, with a minimum width/height, maximum width/height, and a step value for the width/height.
Defined in:
v4l2/frame_sizes.crConstructors
- .new(min_width : UInt32, max_width : UInt32, step_width : UInt32, min_height : UInt32, max_height : UInt32, step_height : UInt32)
-
.new(stepwise_struct : Linux::V4L2FrmSizeStepWise)
Initializes the step-wise frame-size from a Linux::V4L2FrmSizeStepWise struct.
Instance Method Summary
- #clone
- #copy_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)
- #max_height : UInt32
- #max_width : UInt32
- #min_height : UInt32
- #min_width : UInt32
- #step_height : UInt32
- #step_width : UInt32
-
#to_s : String
Converts the step-wise frame-size to a String.
Constructor Detail
def self.new(min_width : UInt32, max_width : UInt32, step_width : UInt32, min_height : UInt32, max_height : UInt32, step_height : UInt32)
#
def self.new(stepwise_struct : Linux::V4L2FrmSizeStepWise)
#
Initializes the step-wise frame-size from a Linux::V4L2FrmSizeStepWise struct.
Instance Method Detail
def copy_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)
#