Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. menu "Camera configuration"
  2. config OV7670_SUPPORT
  3. bool "Support OV7670 VGA"
  4. default y
  5. help
  6. Enable this option if you want to use the OV7670.
  7. Disable this option to save memory.
  8. config OV7725_SUPPORT
  9. bool "Support OV7725 VGA"
  10. default y
  11. help
  12. Enable this option if you want to use the OV7725.
  13. Disable this option to save memory.
  14. config NT99141_SUPPORT
  15. bool "Support NT99141 HD"
  16. default y
  17. help
  18. Enable this option if you want to use the NT99141.
  19. Disable this option to save memory.
  20. config OV2640_SUPPORT
  21. bool "Support OV2640 2MP"
  22. default y
  23. help
  24. Enable this option if you want to use the OV2640.
  25. Disable this option to save memory.
  26. config OV3660_SUPPORT
  27. bool "Support OV3660 3MP"
  28. default y
  29. help
  30. Enable this option if you want to use the OV3360.
  31. Disable this option to save memory.
  32. config OV5640_SUPPORT
  33. bool "Support OV5640 5MP"
  34. default y
  35. help
  36. Enable this option if you want to use the OV5640.
  37. Disable this option to save memory.
  38. config GC2145_SUPPORT
  39. bool "Support GC2145 2MP"
  40. default y
  41. help
  42. Enable this option if you want to use the GC2145.
  43. Disable this option to save memory.
  44. config GC032A_SUPPORT
  45. bool "Support GC032A VGA"
  46. default y
  47. help
  48. Enable this option if you want to use the GC032A.
  49. Disable this option to save memory.
  50. config GC0308_SUPPORT
  51. bool "Support GC0308 VGA"
  52. default y
  53. help
  54. Enable this option if you want to use the GC0308.
  55. Disable this option to save memory.
  56. config BF3005_SUPPORT
  57. bool "Support BF3005(BYD3005) VGA"
  58. default y
  59. help
  60. Enable this option if you want to use the BF3005.
  61. Disable this option to save memory.
  62. config BF20A6_SUPPORT
  63. bool "Support BF20A6(BYD20A6) VGA"
  64. default y
  65. help
  66. Enable this option if you want to use the BF20A6.
  67. Disable this option to save memory.
  68. config SC101IOT_SUPPORT
  69. bool "Support SC101IOT HD"
  70. default n
  71. help
  72. Enable this option if you want to use the SC101IOT.
  73. Disable this option to save memory.
  74. choice SC101_REGS_SELECT
  75. prompt "SC101iot default regs"
  76. default SC101IOT_720P_15FPS_ENABLED
  77. depends on SC101IOT_SUPPORT
  78. help
  79. Currently SC010iot has several register sets available.
  80. Select the one that matches your needs.
  81. config SC101IOT_720P_15FPS_ENABLED
  82. bool "xclk20M_720p_15fps"
  83. help
  84. Select this option means that when xclk is 20M, the frame rate is 15fps at 720p resolution.
  85. config SC101IOT_VGA_25FPS_ENABLED
  86. bool "xclk20M_VGA_25fps"
  87. help
  88. Select this option means that when xclk is 20M, the frame rate is 25fps at VGA resolution.
  89. endchoice
  90. config SC030IOT_SUPPORT
  91. bool "Support SC030IOT VGA"
  92. default y
  93. help
  94. Enable this option if you want to use the SC030IOT.
  95. Disable this option to save memory.
  96. choice SCCB_HARDWARE_I2C_PORT
  97. bool "I2C peripheral to use for SCCB"
  98. default SCCB_HARDWARE_I2C_PORT1
  99. config SCCB_HARDWARE_I2C_PORT0
  100. bool "I2C0"
  101. config SCCB_HARDWARE_I2C_PORT1
  102. bool "I2C1"
  103. endchoice
  104. config SCCB_CLK_FREQ
  105. int "SCCB clk frequency"
  106. default 100000
  107. range 100000 400000
  108. help
  109. Increasing this value can reduce the initialization time of the sensor.
  110. Please refer to the relevant instructions of the sensor to adjust the value.
  111. choice GC_SENSOR_WINDOW_MODE
  112. bool "GalaxyCore Sensor Window Mode"
  113. depends on (GC2145_SUPPORT || GC032A_SUPPORT || GC0308_SUPPORT)
  114. default GC_SENSOR_SUBSAMPLE_MODE
  115. help
  116. This option determines how to reduce the output size when the resolution you set is less than the maximum resolution.
  117. SUBSAMPLE_MODE has a bigger perspective and WINDOWING_MODE has a higher frame rate.
  118. config GC_SENSOR_WINDOWING_MODE
  119. bool "Windowing Mode"
  120. config GC_SENSOR_SUBSAMPLE_MODE
  121. bool "Subsample Mode"
  122. endchoice
  123. config CAMERA_TASK_STACK_SIZE
  124. int "CAM task stack size"
  125. default 2048
  126. help
  127. Camera task stack size
  128. choice CAMERA_TASK_PINNED_TO_CORE
  129. bool "Camera task pinned to core"
  130. default CAMERA_CORE0
  131. help
  132. Pin the camera handle task to a certain core(0/1). It can also be done automatically choosing NO_AFFINITY.
  133. config CAMERA_CORE0
  134. bool "CORE0"
  135. config CAMERA_CORE1
  136. bool "CORE1"
  137. config CAMERA_NO_AFFINITY
  138. bool "NO_AFFINITY"
  139. endchoice
  140. config CAMERA_DMA_BUFFER_SIZE_MAX
  141. int "DMA buffer size"
  142. range 8192 32768
  143. default 32768
  144. help
  145. Maximum value of DMA buffer
  146. Larger values may fail to allocate due to insufficient contiguous memory blocks, and smaller value may cause DMA interrupt to be too frequent.
  147. config CAMERA_CONVERTER_ENABLED
  148. bool "Enable camera RGB/YUV converter"
  149. depends on IDF_TARGET_ESP32S3
  150. default n
  151. help
  152. Enable this option if you want to use RGB565/YUV422/YUV420/YUV411 format conversion.
  153. choice CAMERA_CONV_PROTOCOL
  154. bool "Camera converter protocol"
  155. depends on CAMERA_CONVERTER_ENABLED
  156. default LCD_CAM_CONV_BT601_ENABLED
  157. help
  158. Supports format conversion under both BT601 and BT709 standards.
  159. config LCD_CAM_CONV_BT601_ENABLED
  160. bool "BT601"
  161. config LCD_CAM_CONV_BT709_ENABLED
  162. bool "BT709"
  163. endchoice
  164. config LCD_CAM_CONV_FULL_RANGE_ENABLED
  165. bool "Camera converter full range mode"
  166. depends on CAMERA_CONVERTER_ENABLED
  167. default y
  168. help
  169. Supports format conversion under both full color range mode and limited color range mode.
  170. If full color range mode is selected, the color range of RGB or YUV is 0~255.
  171. If limited color range mode is selected, the color range of RGB is 16~240, and the color range of YUV is Y[16~240], UV[16~235].
  172. Full color range mode has a wider color range, so details in the image show more clearly.
  173. Please confirm the color range mode of the current camera sensor, incorrect color range mode may cause color difference in the final converted image.
  174. Full range mode is used by default. If this option is not selected, the format conversion function will be done using the limited range mode.
  175. endmenu