drivers: media: imx708: Adjust broken line correction parameter
authorNick Hollinghurst <nick.hollinghurst@raspberrypi.com>
Wed, 8 Nov 2023 10:57:45 +0000 (10:57 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:13 +0000 (11:35 +0000)
commit7dec250e6ad9e0b8903728a6ceb1e385d57f1612
treee74fa870a22c2998eceedbda23ad864bb1063259
parent7bf8986885a81e62de8b56b013201decec9d51f7
drivers: media: imx708: Adjust broken line correction parameter

In full-resolution mode, the LPF_INTENSITY_EN and LPF_INTENSITY
registers control Quad Bayer Re-mosaic broken line correction.
Expose this as a module parameter "qbc_adjust": zero disables
the correction and values in the range 2 to 5 set its strength.

There is a trade-off between coloured and monochrome patterns.
The previous fixed value 4 could produce ladder/spots artefacts
in coloured textures. The new default value 2 may suit a wider
range of scenes.

Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
drivers/media/i2c/imx708.c