libshveu is a library for controlling the SH-Mobile VEU.
The SH-Mobile processor series includes a hardware video engine unit (VEU) that supports colorspace conversion, rotation and scaling.
libshveu allows both synchronous and asynchronous access to the VEU. The synchronous API provides a one-shot function shveu_operation(). The asychronous API replaces this with a similar but non-blocking function, shveu_start(), and a corresponding shveu_wait().
There are also convenience functions for colorspace conversions that are commonly used with video encoding and decoding, shveu_rgb565_to_nv12() and shveu_nv12_to_rgb565().