videotestsrc: rgb2bayer: bayer2rgb: Support video/x-bayer 10/12/14/16 bit depths
Add support for 10/12/14/16 bit bayer formats into videotestsrc
, rgb2bayer
, bayer2rgb
.
This is useful e.g. for validation of various v4l2 devices, which now generate more than 8bit
bayer data, but there is no easy way to convert them into something viewable. Add the support
for it. Bayer data above 8bpp are converted into RGBA64
to retain precision.
DEPENDS: !4857 (merged)
Edited by Marek Vasut