Re: Support for RGB/YUV 10, 12 BPC(bits per color/component) image data formats in kernel

From: Sakari Ailus
Date: Sat Jun 03 2017 - 04:19:10 EST


Hi Ajay,

On Fri, Jun 02, 2017 at 06:38:53PM +0530, Ajay kumar wrote:
> Hi all,
>
> I have tried searching for RGB/YUV 10, 12 BPC formats in videodev2.h,
> media-bus-format.h and drm_fourcc.h
> I could only find RGB 10BPC support in drm_fourcc.h.
> I guess not much support is present for formats with (BPC > 8) in the kernel.

What's "BPC"? Most YUV and RGB formats have only 8 bits per sample. More
format definitions may be added if there's a driver that makes use of them.

>
> Are there any plans to add fourcc defines for such formats?
> Also, I wanted to how to define fourcc code for those formats?

--
Regards,

Sakari Ailus
e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx