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

From: Ajay kumar
Date: Fri Jun 02 2017 - 09:08:58 EST


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.

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

Thanks,
Ajay Kumar