link: https://linux-sunxi.org/Sunxi-cedrus
Support for Sunxi-Cedrus is implemented through various components, either in kernel space or userspace:
- the Cedrus V4L2 M2M kernel driver
- the v4l2-request VAAPI backend
Additional userspace components are also available, for development purposes:
- the v4l2-request-test standalone tool, that allows testing the -Cedrus VPU driver
- the sun4i-specific libdrm, with support for allocating buffers in the MB32-tiled NV12 format used by the VPU
- libdrm-sun4i
- libva
- libva-v4l2-request
- v4l2-request-test
root@orangepizeroplus2:/usr/lib# ls -l1 lib*so* dri/*so*
-rwxr-xr-x 1 master master 236168 Jan 15 00:40 dri/v4l2_request_drv_video.so
lrwxrwxrwx 1 root root 19 May 5 2012 libcpufreq.so.0 -> libcpufreq.so.0.0.0
-rw-r--r-- 1 root root 13904 May 5 2012 libcpufreq.so.0.0.0
lrwxrwxrwx 1 root root 25 Jan 15 00:45 libdrm_freedreno.so -> libdrm_freedreno.so.1.0.0
lrwxrwxrwx 1 root root 25 Jan 15 00:45 libdrm_freedreno.so.1 -> libdrm_freedreno.so.1.0.0
-rwxr-xr-x 1 master master 102392 Jan 11 10:28 libdrm_freedreno.so.1.0.0
lrwxrwxrwx 1 root root 15 Jan 15 00:45 libdrm.so -> libdrm.so.2.4.0
lrwxrwxrwx 1 root root 15 Jan 15 00:45 libdrm.so.2 -> libdrm.so.2.4.0
-rwxr-xr-x 1 master master 196112 Jan 11 10:28 libdrm.so.2.4.0
lrwxrwxrwx 1 root root 15 Jan 15 00:45 libkms.so -> libkms.so.1.0.0
lrwxrwxrwx 1 root root 15 Jan 15 00:45 libkms.so.1 -> libkms.so.1.0.0
-rwxr-xr-x 1 master master 22744 Jan 11 10:28 libkms.so.1.0.0
lrwxrwxrwx 1 root root 20 Jan 15 00:45 libva-drm.so -> libva-drm.so.2.400.0
lrwxrwxrwx 1 root root 20 Jan 15 00:45 libva-drm.so.2 -> libva-drm.so.2.400.0
-rwxr-xr-x 1 master master 35520 Jan 11 15:25 libva-drm.so.2.400.0
lrwxrwxrwx 1 root root 16 Jan 15 00:45 libva.so -> libva.so.2.400.0
lrwxrwxrwx 1 root root 16 Jan 15 00:45 libva.so.2 -> libva.so.2.400.0
-rwxr-xr-x 1 master master 393496 Jan 11 15:25 libva.so.2.400.0
uname -a
Linux orangepizeroplus2 4.20.1 #1 SMP Mon Jan 14 08:55:10 +07 2019 armv7l GNU/Linux