android_kernel_xiaomi_sm8350/drivers/media
Trent Piepho 603d6f2c8f V4L/DVB (5890): zr36067: Add UYVY, RGB555X, RGB565X, and RGB32 formats
Add support for the UYVY and the other big endian output formats.  The
driver was naming formats based on the host endianess.  This is different
that all the other drivers appear to work and not what software appears
to expect.

Use ARRAY_SIZE() to find the the size of the zoran_formats array.

Change the way the driver handles setting the video format register.  Rather
than use some if and switch statements to set to register by looking at the
format id, the format list simply has a field with the proper bits to set.

Adds a bit of ifdef to make a driver without V4L1 support more possible.
Also create a macro for defining formats that handles vl41 and/or vl42
support to avoid repeated ifdefs in the format list.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-30 16:26:26 -03:00
..
common V4L/DVB (5859): use msecs_to_jiffies on InfraRed RC5 timeout 2007-07-20 17:35:49 -03:00
dvb V4L/DVB (5848): Av7110: fix typo 2007-07-20 17:35:41 -03:00
radio V4L/DVB (5877): radio-gemtek-pci: remove unused structure member 2007-07-20 17:35:56 -03:00
video V4L/DVB (5890): zr36067: Add UYVY, RGB555X, RGB565X, and RGB32 formats 2007-07-30 16:26:26 -03:00
Kconfig V4L/DVB (5791): Fix Kbuild for kbd-ir-i2c 2007-07-18 14:24:22 -03:00
Makefile V4L/DVB (5599): Use menuconfig objects II - DVB 2007-05-09 10:12:48 -03:00