# \[PATCH 4/5\] mbxfb: Add YUV video overlay support

- From: Raphael Assenat \<hidden\>
- Date: 2006-09-05 14:59:53 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2006/09/13456569
- Thread: https://ratatoskr.run/linux-fbdev/2006/09/13456569/t.md

```text
This patch adds a way to create and use the video plane (YUV overlay) and
scaling video scaling features of the chip.

The overlay is configured, resized and modified using a device specific
ioctl.

Also included in this patch:
 - If no platform data was passed, print an error and exit instead of crashing.
 - Added a write_reg(_dly) macro. This improves readability when
   manipulating chip registers. (no more udelay() after each write).
 - Comments about some issues.

Signed-off-by: Raphael Assenat <redacted>
```

## Attachments

- [mbxfb-yuv-overlay.diff](https://ratatoskr.run/linux-fbdev/2006/09/13456569/attachment/0) (text/plain, 17184 bytes)
- [(unnamed)](https://ratatoskr.run/linux-fbdev/2006/09/13456569/attachment/1) (text/plain, 373 bytes)
- [(unnamed)](https://ratatoskr.run/linux-fbdev/2006/09/13456569/attachment/2) (text/plain, 182 bytes)
