[libcamera-devel] Fixing debayering?
Rafael Diniz
rafael at riseup.net
Wed Jul 6 13:37:04 CEST 2022
Thanks Laurent.
I'm wondering if the frames SBGGR8 passed to this code are in the
required format...
/** Monochrome RGBA or GL_LUMINANCE Bayer encoded texture.*/
Trying to dig a bit further.
Rafael
On 7/6/22 07:50, Laurent Pinchart wrote:
> 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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220706/d4ba05c3/attachment.sig>
More information about the libcamera-devel
mailing list