Allow to set -camera-vflip
and -camera-hflip
This commit is contained in:
@ -138,7 +138,9 @@ option_value_t camera_formats[] = {
|
||||
{ "MJPEG", V4L2_PIX_FMT_MJPEG },
|
||||
{ "JPEG", V4L2_PIX_FMT_MJPEG },
|
||||
{ "H264", V4L2_PIX_FMT_H264 },
|
||||
{ "RG10", V4L2_PIX_FMT_SRGGB10P },
|
||||
{ "RG10", V4L2_PIX_FMT_SRGGB10 },
|
||||
{ "GB10P", V4L2_PIX_FMT_SGRBG10P },
|
||||
{ "RG10P", V4L2_PIX_FMT_SRGGB10P },
|
||||
{ "RGB565", V4L2_PIX_FMT_RGB565 },
|
||||
{ "RGBP", V4L2_PIX_FMT_RGB565 },
|
||||
{ "RGB24", V4L2_PIX_FMT_RGB24 },
|
||||
@ -167,6 +169,8 @@ option_t all_options[] = {
|
||||
DEFINE_OPTION_PTR(camera, options, list, "Set the camera options. List all available options with `-camera-list_options`."),
|
||||
DEFINE_OPTION(camera, auto_reconnect, uint, "Set the camera auto-reconnect delay in seconds."),
|
||||
DEFINE_OPTION_DEFAULT(camera, auto_focus, bool, "1", "Do auto-focus on start-up."),
|
||||
DEFINE_OPTION_DEFAULT(camera, vflip, bool, "1", "Do vertical image flip."),
|
||||
DEFINE_OPTION_DEFAULT(camera, hflip, bool, "1", "Do horizontal image flip."),
|
||||
|
||||
DEFINE_OPTION_PTR(camera, isp.options, list, "Set the ISP processing options. List all available options with `-camera-list_options`."),
|
||||
DEFINE_OPTION_PTR(camera, jpeg.options, list, "Set the JPEG compression options. List all available options with `-camera-list_options`."),
|
||||
|
Reference in New Issue
Block a user