[libcamera-devel] Fixing debayering?

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Jul 6 12:50:52 CEST 2022


Hi Rafael,

On Wed, Jul 06, 2022 at 12:26:29PM +0300, Rafael Diniz via libcamera-devel wrote:
> Hi all,
> 
> The last annoying bug I can find in using qcam on the Pinephone (at 
> least on lower resolutions, as high resolutions are still borked) is the 
> debayering from SBGGR8, which is clearly producing artifacts. Where can 
> I find its implementation? I plan to read it and compare to the 
> canonical one and see what could be wrong.

The implementation is in src/qcam/assets/shader/bayer_8.vert and
src/qcam/assets/shader/bayer_8.frag.

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list