mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-12 18:00:12 +00:00
4841189456
* [DEV #1416] Add support for libcamera Autofocus parameters * [DEVMINOR] Fix Go formatting * [DEV] Support AF window parameter for rpiCamera * [DEV] Update default .yml file to add rpiCameraAfWindow parameter
35 lines
674 B
Go
35 lines
674 B
Go
package rpicamera
|
|
|
|
// Params is a set of camera parameters.
|
|
type Params struct {
|
|
CameraID int
|
|
Width int
|
|
Height int
|
|
HFlip bool
|
|
VFlip bool
|
|
Brightness float64
|
|
Contrast float64
|
|
Saturation float64
|
|
Sharpness float64
|
|
Exposure string
|
|
AWB string
|
|
Denoise string
|
|
Shutter int
|
|
Metering string
|
|
Gain float64
|
|
EV float64
|
|
ROI string
|
|
TuningFile string
|
|
Mode string
|
|
FPS int
|
|
IDRPeriod int
|
|
Bitrate int
|
|
Profile string
|
|
Level string
|
|
AfMode string
|
|
AfRange string
|
|
AfSpeed string
|
|
LensPosition float64
|
|
AfWindow string
|
|
}
|