Skip to content

Commit

Permalink
Merge pull request #10 from MacDaddyFPV/veye-profiles
Browse files Browse the repository at this point in the history
update settings map for veye profiles
  • Loading branch information
MacDaddyFPV authored Sep 6, 2021
2 parents 85e05bf + 28039a9 commit d6a5d20
Showing 1 changed file with 30 additions and 23 deletions.
53 changes: 30 additions & 23 deletions qml/ui/SettingsMap.qml
Original file line number Diff line number Diff line change
Expand Up @@ -109,29 +109,36 @@ Item {
upperLimit: 5610,
interval: 1,
unit: ""},
"EXTRAPARAMS_IMX290": {title: "Extra parameters for VEYE 290/327",
"VEYE_MIPI_profile": {title: "VEYE MIPI Camera Profile",
info: "Choose between defualt profiles or custom settings below",
itemType: "choice",
choiceValues: [{title: "Sunny", value: "3"},
{title: "Cloudy", value: "2"},
{title: "Low light", value: "1"},
{title: "Custom", value: "0"}]},
"EXTRAPARAMS_VEYE": {title: "Extra parameters for VEYE Cameras",
info: "Default is: -cd H264 -n -fl -ih -pf high -if both",
itemType: "string"},
"IMX290_videoformat": {title: "VEYE 290/327 Video Format",
"VEYE_MIPI_videoformat": {title: "VEYE MIPI Camera Video Format",
info: "[PAL(50Hz) 25fps],[NTSC(60Hz) 30fps]",
itemType: "choice",
choiceValues: [{title: "PAL", value: "PAL"},
{title: "NTSC", value: "NTSC"}]},
"IMX290_wdrmode": {title: "VEYE 290/327 WDR Mode",
"VEYE_MIPI0_wdrmode": {title: "VEYE MIPI Camera WDR Mode",
info: "Change the mode for the wide dynamic range",
itemType: "choice",
choiceValues: [{title: "DOL WDR Enable", value: "0x03"},
{title: "Back Light Mode ON, HIGH", value: "0x02"},
{title: "Back Light Mode ON, LOW", value: "0x01"},
{title: "Back Light Mode OFF", value: "0x00"}]},
"IMX290_mirrormode": {title: "VEYE 290/327 Mirror Mode",
"VEYE_MIPI_mirrormode": {title: "VEYE MIPI Camera Mirror Mode",
info: "Change the orientation of the camera image",
itemType: "choice",
choiceValues: [{title: "Normal", value: "0x00"},
{title: "Mirror", value: "0x01"},
{title: "V-Flip", value: "0x02"},
{title: "Mirror And V-Flip(180 Degree Rotate)", value: "0x03"}]},
"IMX290_denoise": {title: "VEYE 290/327 Denoise Mode",
"VEYE_MIPI0_denoise": {title: "VEYE MIPI Camera Denoise Mode",
info: "Change the denoise mode of the camera",
itemType: "choice",
choiceValues: [{title: "NR 2D Mode = OFF; NR 3D Mode = OFF", value: "0x00"},
Expand All @@ -150,14 +157,14 @@ Item {
{title: "NR 2D Mode =HIGH; NR 3D Mode = LOW", value: "0x0D"},
{title: "NR 2D Mode = HIGH; NR 3D Mode = MIDDLE", value: "0x0E"},
{title: "NR 2D Mode = HIGH; NR 3D Mode = HIGH", value: "0x0F"}]},
"IMX290_agc": {title: "VEYE 290/327 Auto Gain Control",
"VEYE_MIPI0_agc": {title: "VEYE MIPI Camera Auto Gain Control",
info: "agc indicated max gain of AE mode. Agc stands for auto gain control. It is a part of auto exposure, in different light intensity, will try to adjust the gain of sensor to achieve the same image brightness. range: 0 to 15 [0,0x0F]",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0x0F,
unit: ""},
"IMX290_lowlight": {title: "VEYE 290/327 Lowlight Setting",
"VEYE_MIPI0_lowlight": {title: "VEYE MIPI Camera Lowlight Setting",
info: "In the case of low illuminance, the camera module can prolong the exposure time and reduce the frame rate by configuring this parameter to achieve a better effect of low illuminance. Note that it is not suitable for use in a sports scene.",
itemType: "choice",
choiceValues: [{title: "1/2*(FRAME RATE)", value: "0x01"},
Expand All @@ -170,75 +177,75 @@ Item {
{title: "1/25*(FRAME RATE)", value: "0x0F"},
{title: "1/30*(FRAME RATE)", value: "0x11"},
{title: "Fixed frame rate (25/30)", value: "0x00"}]},
"IMX290_brightness": {title: "VEYE 290/327 Brightness Control",
"VEYE_MIPI0_brightness": {title: "VEYE MIPI Camera Brightness Control",
info: "AE Target Brightness,rang: 0 to 100 [0,0x64]",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0x64,
unit: ""},
"IMX290_aespeed1": {title: "VEYE 290/327 AE 1",
"VEYE_MIPI0_aespeed1": {title: "VEYE MIPI Camera AE 1",
info: "AE adjust speed,p1 is agc speed, p2 is shutter speed,Slow to Fast: 0 to 100 [0,0x64]",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0x64,
unit: ""},
"IMX290_aespeed2": {title: "VEYE 290/327 AE 2",
"VEYE_MIPI0_aespeed2": {title: "VEYE MIPI Camera AE 2",
info: "AE adjust speed,p1 is agc speed, p2 is shutter speed,Slow to Fast: 0 to 100 [0,0x64]",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0x64,
unit: ""},
"IMX290_contrast": {title: "VEYE 290/327 Contrast",
"VEYE_MIPI0_contrast": {title: "VEYE MIPI Camera Contrast",
info: "Contrast,range: 0 to 255 [0,0xFF],default: 0x80.",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0xFF,
unit: ""},
"IMX290_saturation": {title: "VEYE 290/327 Saturation",
"VEYE_MIPI0_saturation": {title: "VEYE MIPI Camera Saturation",
info: "Saturation, range: 0 to 100 [0,0x64].",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0x64,
unit: ""},
"IMX290_sharppen1": {title: "VEYE 290/327 Sharpen ON/OFF",
"VEYE_MIPI0_sharppen1": {title: "VEYE MIPI Camera Sharpen ON/OFF",
info: "Toggle to turn sharpen on and off",
itemType: "switch",
valueType: "hex3",
checkedValue: 0x1,
uncheckedValue: 0x0},
"IMX290_sharppen2": {title: "VEYE 290/327 Sharpen Strength",
"VEYE_MIPI0_sharppen2": {title: "VEYE MIPI Camera Sharpen Strength",
info: "sharppen strength, range: 0 to 10 [0x0-0xA]",
itemType: "range",
valueType: "hex3",
from: 0x0,
to: 0xA,
unit: ""},
"IMX290_wdrtargetbr": {title: "VEYE 290/327 AE Target Value In WDR Mode",
"VEYE_MIPI0_wdrtargetbr": {title: "VEYE MIPI Camera AE Target Value In WDR Mode",
info: "Takes effect in WDR mode. range: 0 to 255 [0-0xFF], default : 0x80.",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0xFF,
unit: ""},
"IMX290_wdrbtargetbr": {title: "VEYE 290/327 AE Target Value Of The Bright Area In WDR Mode",
"VEYE_MIPI0_wdrbtargetbr": {title: "VEYE MIPI Camera AE Target Value Of The Bright Area In WDR Mode",
info: "Takes effect in WDR mode. range: 0 to 255 [0-0xFF], default : 0x80.",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0xFF,
unit: ""},
"IMX290_daynightmode": {title: "VEYE 290/327 Day/Night Mode",
"VEYE_MIPI0_daynightmode": {title: "VEYE MIPI Camera Day/Night Mode",
info: "See http://wiki.veye.cc/index.php/VEYE-MIPI-290/327_i2c/#daynightmode for more information",
itemType: "choice",
choiceValues: [{title: "Color Mode", value: "0xFF"},
{title: "Black&White Mode", value: "0xFE"},
{title: "Trigger Mode", value: "0xFC"}]},
"IMX290_mshutter": {title: "VEYE 290/327 Manual Shutter Setting",
"VEYE_MIPI0_mshutter": {title: "VEYE MIPI Camera Manual Shutter Setting",
info: "Value is exposure time(seconds). If value is greater than or equal to 0x4B, it will reduce framerate.",
itemType: "choice",
choiceValues: [{title: "auto mode", value: "0x40"},
Expand All @@ -261,31 +268,31 @@ Item {
{title: "1/30 (25) *20", value: "0x51"},
{title: "1/30 (25) *25", value: "0x52"},
{title: "1/30 (25) *30", value: "0x53"}]},
"IMX290_wbmode": {title: "VEYE 290/327 White Balance Mode",
"VEYE_MIPI0_wbmode": {title: "VEYE MIPI Camera White Balance Mode",
info: "White balance mode setting.",
itemType: "choice",
choiceValues: [{title: "Auto white balance", value: "0x18"},
{title: "Manual white balance", value: "0x1B"}]},
"IMX290_mwbgain1": {title: "VEYE 290/327 Manual White Balance Gain",
"VEYE_MIPI0_mwbgain1": {title: "VEYE MIPI Camera Manual White Balance Gain",
info: "Rgain setting in manual white balance mode.arameter range: 0 to 255 [0,0xFF].",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0xFF,
unit: ""},
"IMX290_mwbgain2": {title: "VEYE 290/327 Manual White Balance Gain",
"VEYE_MIPI0_mwbgain2": {title: "VEYE MIPI Camera Manual White Balance Gain",
info: "Bgain setting in manual white balance mode.arameter range: 0 to 255 [0,0xFF].",
itemType: "range",
valueType: "hex4",
from: 0x00,
to: 0xFF,
unit: ""},
"IMX290_yuvseq": {title: "VEYE 290/327 YUV SEQ",
"VEYE_MIPI0_yuvseq": {title: "VEYE MIPI Camera YUV SEQ",
info: "Set yuv seq of camera. Note: only supported on hdver >= 0x4",
itemType: "choice",
choiceValues: [{title: "YUYV", value: "YUYV"},
{title: "UYVY", value: "UYVY"}]},
"IMX307_imagedir": {title: "VEYE 307 Mirror Mode",
"VEYE_CS_imagedir": {title: "VEYE CS Camera Mirror Mode",
info: "Used to flip/mirror the IMX307 camera, separate setting from IMX290 because they don't handle it the same way.",
itemType: "choice",
choiceValues: [{title: "Normal", value: "0"},
Expand Down

0 comments on commit d6a5d20

Please sign in to comment.