Hi Prabhakar
On 01/10/2024 21:07, Prabhakar Mahadev Lad wrote:
Hi Dan,
From: Daniel Scally <dan.scally+renesas@xxxxxxxxxxxxxxxx>
The Renesas Camera Receiver Unit in the RZ/G2L and RZ/V2H SoCs can output
RAW data captured from an image sensor without conversion to an RGB/YUV
format. In that case the data are packed into 64-bit blocks, with a
variable amount of padding in the most significant bits depending on the
bitdepth of the data. Add new V4L2 pixel format codes for the new formats,
along with documentation to describe them.
Signed-off-by: Daniel Scally <dan.scally+renesas@xxxxxxxxxxxxxxxx>
---
.../userspace-api/media/v4l/pixfmt-bayer.rst | 1 +
.../media/v4l/pixfmt-srggbnn-cru.rst | 143 ++++++++++++++++++
drivers/media/v4l2-core/v4l2-common.c | 12 ++
drivers/media/v4l2-core/v4l2-ioctl.c | 12 ++
include/uapi/linux/videodev2.h | 16 ++
5 files changed, 184 insertions(+)
create mode 100644 Documentation/userspace-api/media/v4l/pixfmt-srggbnn-
cru.rst
When trying to build the htmldocs I get the below warnings, is this expected?
Oops - no, sorry, not sure how I missed those! When you've posted your next version I'll rebase this
series on top, and I'll fix these warnings then.
Thanks
Dan
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sbggr10
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sgbrg10
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sgrbg10
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-srggb10
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sbggr12
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sgbrg12
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sgrbg12
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-srggb12
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sbggr14
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sgbrg14
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-sgrbg14
linux/Documentation/output/videodev2.h.rst:6: WARNING: undefined label: v4l2-pix-fmt-cru-srggb14
Cheers,
Prabhakar