[libcamera-devel,0/4] qcam: viewfinder_gl: add RAW10P and RAW12P format support
mbox series

Message ID 20210113130832.15549-1-andrey.konovalov@linaro.org
Headers show
Series
  • qcam: viewfinder_gl: add RAW10P and RAW12P format support
Related show

Message

Andrey Konovalov Jan. 13, 2021, 1:08 p.m. UTC
This patchset replaces the seies I posted earlier:
[PATCH][RFC v2 0/2] qcam: viewfinder_gl: add RAW12P format support

The new patchset adds support for both 10-bit, and 12-bit raw Bayer packed
formats. Unlike the earlier RAW12P only patchset, the new one uses GL_RED
texture to store the image data. Not only this allows to use the same shader
code in 10-bit and 12-bit cases. But it also turned out that sampling from
GL_RED texture is easier (less "patterns") than from GL_RGB - even though
we loose the "auto-skipping the LS bytes of pixel values" feature in the
12-bit case.