video: Extended vivi pixel format support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | video: Precalculate vivi yuv valuesdrivers/ | +58 | 0 replies | |
| 2/5 | video: Teach vivi about multiple pixel formatsdrivers/ | +67 | 0 replies | |
| 3/5 | video: Add uyvy pixel format support to vividrivers/ | +20 | 0 replies | |
| 4/5 | video: Add support for rgb565 pixel formats to vividrivers/ | +40 | 0 replies | |
| 5/5 | video: Add support for rgb555 pixel formats to vividrivers/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/05] video: Extended vivi pixel format support
Extended vivi pixel format support
[PATCH 01/05] video: Precalculate vivi yuv values [PATCH 02/05] video: Teach vivi about multiple pixel formats [PATCH 03/05] video: Add uyvy pixel format support to vivi [PATCH 04/05] video: Add support for rgb565 pixel formats to vivi [PATCH 05/05] video: Add support for rgb555 pixel formats to vivi
These patches improve the RGB->YUV color space conversion code in vivi.c and also add support for the following pixel formats:
V4L2_PIX_FMT_UYVYV4L2_PIX_FMT_RGB565 /* gggbbbbb rrrrrggg */V4L2_PIX_FMT_RGB565X /* rrrrrggg gggbbbbb */V4L2_PIX_FMT_RGB555 /* gggbbbbb arrrrrgg */V4L2_PIX_FMT_RGB555X /* arrrrrgg gggbbbbb */
With these patches the vivi driver can be used as a reference for testing the byte order of 16-bit pixel formats. This allows testing of user space software without actual capture hardware. It is also useful for people who are developing new drivers and have doubts which 16-bit RGB interpretation is the valid one (RGB vs BGR).
The color space conversion code is updated to use precalculated YUV values instead of doing RGB->YUV calculation for every two pixels.
---
drivers/media/video/vivi.c | 314 +++++++++++++++++++++++++++++++------------- 1 file changed, 225 insertions(+), 89 deletions(-)
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list