schema-grabberV4L2.json 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. {
  2. "type" : "object",
  3. "required" : true,
  4. "title" : "edt_conf_v4l2_heading_title",
  5. "properties":
  6. {
  7. "enable": {
  8. "type": "boolean",
  9. "title": "edt_conf_general_enable_title",
  10. "required": true,
  11. "default": false,
  12. "propertyOrder": 1
  13. },
  14. "available_devices": {
  15. "type": "string",
  16. "title": "edt_conf_grabber_discovered_title",
  17. "default": "edt_conf_grabber_discovery_inprogress",
  18. "options": {
  19. "infoText": "edt_conf_grabber_discovered_title_info"
  20. },
  21. "propertyOrder": 2,
  22. "required": false
  23. },
  24. "device": {
  25. "type": "string",
  26. "title": "edt_conf_enum_custom",
  27. "options": {
  28. "hidden": true
  29. },
  30. "required": true,
  31. "comment": "The 'available_devices' settings are dynamically inserted into the WebUI under PropertyOrder '2'.",
  32. "propertyOrder": 3
  33. },
  34. "device_inputs": {
  35. "type": "string",
  36. "title": "edt_conf_v4l2_input_title",
  37. "propertyOrder": 4,
  38. "required": false
  39. },
  40. "input": {
  41. "type": "integer",
  42. "title": "edt_conf_enum_custom",
  43. "default": 0,
  44. "options": {
  45. "hidden": true
  46. },
  47. "required": true,
  48. "propertyOrder": 5,
  49. "comment": "The 'device_inputs' settings are dynamically inserted into the WebUI under PropertyOrder '4'."
  50. },
  51. "standard": {
  52. "type": "string",
  53. "title": "edt_conf_v4l2_standard_title",
  54. "required": false,
  55. "propertyOrder": 6
  56. },
  57. "encoding": {
  58. "type": "string",
  59. "title": "edt_conf_v4l2_encoding_title",
  60. "required": false,
  61. "access": "advanced",
  62. "propertyOrder": 7
  63. },
  64. "resolutions": {
  65. "type": "string",
  66. "title": "edt_conf_v4l2_resolution_title",
  67. "propertyOrder": 8,
  68. "required": false
  69. },
  70. "width": {
  71. "type": "integer",
  72. "title": "edt_conf_fg_width_title",
  73. "default": 0,
  74. "minimum": 0,
  75. "append": "edt_append_pixel",
  76. "options": {
  77. "hidden": true
  78. },
  79. "required": true,
  80. "propertyOrder": 9,
  81. "comment": "The 'resolutions' settings are dynamically inserted into the WebUI under PropertyOrder '8'."
  82. },
  83. "height": {
  84. "type": "integer",
  85. "title": "edt_conf_fg_height_title",
  86. "default": 0,
  87. "minimum": 0,
  88. "append": "edt_append_pixel",
  89. "options": {
  90. "hidden": true
  91. },
  92. "required": true,
  93. "propertyOrder": 10,
  94. "comment": "The 'resolutions' settings are dynamically inserted into the WebUI under PropertyOrder '8'."
  95. },
  96. "framerates": {
  97. "type": "string",
  98. "title": "edt_conf_v4l2_framerate_title",
  99. "propertyOrder": 11,
  100. "required": false
  101. },
  102. "fps": {
  103. "type": "integer",
  104. "title": "edt_conf_enum_custom",
  105. "default": 15,
  106. "minimum": 0,
  107. "append": "fps",
  108. "options": {
  109. "hidden": true
  110. },
  111. "required": true,
  112. "propertyOrder": 12,
  113. "comment": "The 'framerates' setting is dynamically inserted into the WebUI under PropertyOrder '11'."
  114. },
  115. "fpsSoftwareDecimation": {
  116. "type": "integer",
  117. "title": "edt_conf_v4l2_fpsSoftwareDecimation_title",
  118. "minimum": 0,
  119. "maximum": 60,
  120. "default": 0,
  121. "required": true,
  122. "access": "expert",
  123. "propertyOrder": 13
  124. },
  125. "flip": {
  126. "type": "string",
  127. "title": "edt_conf_v4l2_flip_title",
  128. "enum": [ "NO_CHANGE", "HORIZONTAL", "VERTICAL", "BOTH" ],
  129. "default": "NO_CHANGE",
  130. "options": {
  131. "enum_titles": [ "edt_conf_enum_NO_CHANGE", "edt_conf_enum_HORIZONTAL", "edt_conf_enum_VERTICAL", "edt_conf_enum_BOTH" ]
  132. },
  133. "required": true,
  134. "access": "advanced",
  135. "propertyOrder": 14
  136. },
  137. "sizeDecimation": {
  138. "type": "integer",
  139. "title": "edt_conf_v4l2_sizeDecimation_title",
  140. "minimum": 1,
  141. "maximum": 30,
  142. "default": 8,
  143. "required": true,
  144. "propertyOrder": 15
  145. },
  146. "hardware_brightness": {
  147. "type": "integer",
  148. "title": "edt_conf_v4l2_hardware_brightness_title",
  149. "default": 0,
  150. "required": true,
  151. "access": "expert",
  152. "propertyOrder": 16
  153. },
  154. "hardware_contrast": {
  155. "type": "integer",
  156. "title": "edt_conf_v4l2_hardware_contrast_title",
  157. "default": 0,
  158. "required": true,
  159. "access": "expert",
  160. "propertyOrder": 17
  161. },
  162. "hardware_saturation": {
  163. "type": "integer",
  164. "title": "edt_conf_v4l2_hardware_saturation_title",
  165. "default": 0,
  166. "required": true,
  167. "access": "expert",
  168. "propertyOrder": 18
  169. },
  170. "hardware_hue": {
  171. "type": "integer",
  172. "title": "edt_conf_v4l2_hardware_hue_title",
  173. "default": 0,
  174. "required": true,
  175. "access": "expert",
  176. "propertyOrder": 19
  177. },
  178. "cropLeft": {
  179. "type": "integer",
  180. "title": "edt_conf_v4l2_cropLeft_title",
  181. "minimum": 0,
  182. "default": 0,
  183. "append": "edt_append_pixel",
  184. "required": true,
  185. "propertyOrder": 20
  186. },
  187. "cropRight": {
  188. "type": "integer",
  189. "title": "edt_conf_v4l2_cropRight_title",
  190. "minimum": 0,
  191. "default": 0,
  192. "append": "edt_append_pixel",
  193. "required": true,
  194. "propertyOrder": 21
  195. },
  196. "cropTop": {
  197. "type": "integer",
  198. "title": "edt_conf_v4l2_cropTop_title",
  199. "minimum": 0,
  200. "default": 0,
  201. "append": "edt_append_pixel",
  202. "required": true,
  203. "propertyOrder": 22
  204. },
  205. "cropBottom": {
  206. "type": "integer",
  207. "title": "edt_conf_v4l2_cropBottom_title",
  208. "minimum": 0,
  209. "default": 0,
  210. "append": "edt_append_pixel",
  211. "required": true,
  212. "propertyOrder": 23
  213. },
  214. "cecDetection": {
  215. "type": "boolean",
  216. "title": "edt_conf_v4l2_cecDetection_title",
  217. "default": false,
  218. "required": true,
  219. "access": "advanced",
  220. "propertyOrder": 24
  221. },
  222. "signalDetection": {
  223. "type": "boolean",
  224. "title": "edt_conf_v4l2_signalDetection_title",
  225. "default": false,
  226. "required": true,
  227. "access": "expert",
  228. "propertyOrder": 25
  229. },
  230. "redSignalThreshold": {
  231. "type": "integer",
  232. "title": "edt_conf_v4l2_redSignalThreshold_title",
  233. "minimum": 0,
  234. "maximum": 100,
  235. "default": 0,
  236. "append": "edt_append_percent",
  237. "options": {
  238. "dependencies": {
  239. "signalDetection": true
  240. }
  241. },
  242. "access": "expert",
  243. "required": true,
  244. "propertyOrder": 26
  245. },
  246. "greenSignalThreshold": {
  247. "type": "integer",
  248. "title": "edt_conf_v4l2_greenSignalThreshold_title",
  249. "minimum": 0,
  250. "maximum": 100,
  251. "default": 100,
  252. "append": "edt_append_percent",
  253. "options": {
  254. "dependencies": {
  255. "signalDetection": true
  256. }
  257. },
  258. "required": true,
  259. "access": "expert",
  260. "propertyOrder": 27
  261. },
  262. "blueSignalThreshold": {
  263. "type": "integer",
  264. "title": "edt_conf_v4l2_blueSignalThreshold_title",
  265. "minimum": 0,
  266. "maximum": 100,
  267. "default": 0,
  268. "append": "edt_append_percent",
  269. "options": {
  270. "dependencies": {
  271. "signalDetection": true
  272. }
  273. },
  274. "required": true,
  275. "access": "expert",
  276. "propertyOrder": 28
  277. },
  278. "noSignalCounterThreshold": {
  279. "type": "integer",
  280. "title": "edt_conf_v4l2_noSignalCounterThreshold_title",
  281. "minimum": 1,
  282. "maximum": 1000,
  283. "default": 200,
  284. "options": {
  285. "dependencies": {
  286. "signalDetection": true
  287. }
  288. },
  289. "required": true,
  290. "access": "expert",
  291. "propertyOrder": 29
  292. },
  293. "sDVOffsetMin": {
  294. "type": "number",
  295. "title": "edt_conf_v4l2_sDVOffsetMin_title",
  296. "minimum": 0.0,
  297. "maximum": 1.0,
  298. "default": 0.1,
  299. "step": 0.01,
  300. "options": {
  301. "dependencies": {
  302. "signalDetection": true
  303. }
  304. },
  305. "required": true,
  306. "access": "expert",
  307. "propertyOrder": 30
  308. },
  309. "sDVOffsetMax": {
  310. "type": "number",
  311. "title": "edt_conf_v4l2_sDVOffsetMax_title",
  312. "minimum": 0.0,
  313. "maximum": 1.0,
  314. "default": 0.9,
  315. "step": 0.01,
  316. "options": {
  317. "dependencies": {
  318. "signalDetection": true
  319. }
  320. },
  321. "required": true,
  322. "access": "expert",
  323. "propertyOrder": 31
  324. },
  325. "sDHOffsetMin": {
  326. "type": "number",
  327. "title": "edt_conf_v4l2_sDHOffsetMin_title",
  328. "minimum": 0.0,
  329. "maximum": 1.0,
  330. "default": 0.4,
  331. "step": 0.01,
  332. "options": {
  333. "dependencies": {
  334. "signalDetection": true
  335. }
  336. },
  337. "required": true,
  338. "access": "expert",
  339. "propertyOrder": 32
  340. },
  341. "sDHOffsetMax": {
  342. "type": "number",
  343. "title": "edt_conf_v4l2_sDHOffsetMax_title",
  344. "minimum": 0.0,
  345. "maximum": 1.0,
  346. "default": 0.46,
  347. "step": 0.01,
  348. "options": {
  349. "dependencies": {
  350. "signalDetection": true
  351. }
  352. },
  353. "required": true,
  354. "access": "expert",
  355. "propertyOrder": 33
  356. }
  357. },
  358. "additionalProperties": true
  359. }