Commit Graph

5 Commits

Author SHA1 Message Date
yuquanjun 96cf5579bd Add RTSP deployment infrastructure and documentation
- Add .gitignore to exclude build artifacts and mediamtx binary
- Add deploy-rtsp.sh script for automated MediaMTX setup
- Add mediamtx.yml configuration with detailed comments
- Update README with RTSP usage instructions and architecture
- Document ISP processing pipeline and performance metrics
2026-04-19 17:25:37 +08:00
yuquanjun c32fd1b233 Add V4L2 controls (EXPOSURE/GAIN/VBLANK/HBLANK/PIXEL_RATE/LINK_FREQ) and libcamera support
- Add mandatory V4L2 controls required by libcamera:
  PIXEL_RATE, LINK_FREQ, EXPOSURE, ANALOGUE_GAIN, VBLANK, HBLANK
- Add V4L2_SUBDEV_FL_HAS_DEVNODE flag to create /dev/v4l-subdev0
- Rename driver .name to 'ov5647' to use existing IPA cam_helper
- Add sc235hai_set_exposure/gain/vts() register write functions
- Add sc235hai_init_controls() and sc235hai_s_ctrl() ctrl ops
- Register exposure (3e00/01/02), gain (3e08/09), VTS (320e/0f)

Result: libcamera v0.6.0 recognizes camera, mediamtx RTSP stream
working at rtsp://[board]:8554/cam with ISP processing
2026-04-19 14:17:12 +08:00
yuquanjun 55dfae8c2c Fix: Correct Bayer pattern declaration from GRBG to BGGR (SBGGR10_1X10) per CFA statistical analysis. Hardware outputs BGGR not GRBG. Eliminates green color cast in demosaiced output. 2026-04-14 19:17:16 +08:00
yuquanjun a2750dcd6e Add register verification logging and black-level correction diagnostics - Grayscale image verified working 2026-04-14 16:30:23 +08:00
yuquanjun 9a586e13f0 Initial commit: SC235HAI/SC231AI camera driver for Raspberry Pi Zero 2W 2026-04-14 15:28:44 +08:00