Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4716

Camera board • Switching HDR and non-HDR for Camera Module 3 in kernel driver

$
0
0
Hi,

I'm planning to work on doing 24/7 Youtube livestreaming using Pi 3B and Camera Module 3. The current challenge that I'm facing right now is that I wanted to enable HDR during daytime and then switch to non-HDR (regular 2x2 binned) during nighttime (due to very noisy HDR footage in low light). I wanted to switch between HDR and non-HDR mode without shutting down the camera (which may terminate the livestream)

While it is not possible in user-mode, I saw there are registers for 1080p non-HDR mode (mode_2x2binned_regs) and 1080p HDR mode (mode_hdr_regs) in the IMX 708 driver (https://github.com/raspberrypi/linux/bl ... c/imx708.c). While I do not have any technical details on IMX 708 mode of operations (because there's no technical specs on that sensor), is it possible to just write these registers (and enable/disable other settings) in kernel while the camera is in recording? And will there be any issues on the footage if this is possible?

If this is not possible, is there any workaround that can be done in kernel driver? (For example, sending last duplicated frame while the driver turns off the camera, switches between HDR and non-HDR mode, and then reinitializes camera). Thanks

Statistics: Posted by ongeelim — Thu May 09, 2024 1:42 pm — Replies 0 — Views 22



Viewing all articles
Browse latest Browse all 4716

Trending Articles