[libcamera-devel] Fixing debayering?

Rafael Diniz rafael at riseup.net
Wed Jul 6 13:29:56 CEST 2022


Hi Jacopo,

I'm using SBGGR8 in qcam just because it is the only format it works.

I always get
Stream configuration adjusted to  XXXXxYYYY-SBGGR8


Rafael

On 7/6/22 07:05, Jacopo Mondi wrote:
> I let people with more exerience about qcam reply about the debayering
> thing, but I wonder one thing: you've been experimenting with RAW
> formats, are you doing so becaue you need RAW ? Because if you're
> "just" trying to see how to provide a preview I would really switch to
> YUV/RGB. The pinephone doesn't have any ISP, debayering is then
> delegated to either the CPU or the GPU.
> 
> Your sensor (the ov5640 at least) supports YUV/RGB natively, and the
> simple pipeline handler allows you to capture those formats.
> 
> 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.
>>
>> Best regards,
>> Rafael Diniz
>>
> 
> 
> 
-------------- 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/af9f5061/attachment.sig>


More information about the libcamera-devel mailing list