Skip to content

Commit 8c29965

Browse files
committed
feat: improve pixelformat and device selection process
1 parent ddee7ba commit 8c29965

File tree

4 files changed

+224
-94
lines changed

4 files changed

+224
-94
lines changed

main/Kconfig.projbuild

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,31 @@ config RECEIVE_CUSTOM_MESSAGE
604604
help
605605
Enable custom message reception, allow the device to receive custom messages from the server (preferably through the MQTT protocol)
606606

607+
menu "Camera Configuration"
608+
depends on !IDF_TARGET_ESP32
609+
610+
config XIAOZHI_ENABLE_CAMERA_DEBUG_MODE
611+
bool "Enable Camera Debug Mode"
612+
default n
613+
help
614+
Enable camera debug mode, print camera debug information to the console.
615+
Only works on boards that support camera.
616+
617+
config XIAOZHI_ENABLE_CAMERA_ENDIANNESS_SWAP
618+
bool "Enable software camera buffer endianness swapping (USE WITH CAUTION)"
619+
default n
620+
depends on !CAMERA_SENSOR_SWAP_PIXEL_BYTE_ORDER
621+
help
622+
This option treats the camera buffer as a uint16_t[] array and performs byte-swapping (endianness conversion) on each element.
623+
624+
Should only be modified by development board integration engineers.
625+
626+
**Incorrect usage may result in incorrect image colors!**
627+
628+
ATTENTION: If the option CAMERA_SENSOR_SWAP_PIXEL_BYTE_ORDER is available for your sensor, please use that instead.
629+
630+
endmenu
631+
607632
menu TAIJIPAI_S3_CONFIG
608633
depends on BOARD_TYPE_ESP32S3_Taiji_Pi
609634
choice I2S_TYPE_TAIJIPI_S3

0 commit comments

Comments
 (0)