v4l2-0.1.0.3: interface to Video For Linux Two (V4L2)

Portabilityno
Stabilityno
Maintainerclaude@mathr.co.uk
Safe HaskellNone

Graphics.V4L2.VideoInput

Description

 

Synopsis

Documentation

videoInputs :: Device -> IO (Map VideoInputID VideoInputInfo)Source

Enumerate video inputs.

getVideoInput :: Device -> IO VideoInputIDSource

Query the current video input.

Exceptions:

  • InvalidArgument - this device has no video inputs

setVideoInput :: Device -> VideoInputID -> IO ()Source

Select the current video input.

Exceptions:

  • InvalidArgument - no video input with this index
  • ResourceBusy - the video input cannot be switched now