mirror of
https://github.com/openwrt/video.git
synced 2026-10-13 20:57:43 +04:00
fd188acfb623ffa74918da1a458ffd1fc9125d76
ply_pixel_buffer_get_size() reports the logical area while ply_pixel_buffer_get_argb32_data() points at the device pixel buffer. Where the device scale is above one, the plutovg surface then describes the buffer as too narrow and with too short a stride, so each odd logical row lands in the right half of the panel and the image collapses into a fraction of it. The damaged area is handed over in logical coordinates as well, while ply_renderer_head_flush_area() reads it as device pixels. Size the surface in device pixels, scale the canvas by the device scale so a theme keeps drawing in logical coordinates, and report the damaged area in device pixels. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Video packages feed
Description
This is an OpenWrt package feed containing video / graphics (as in 'higher than just curses') related libraries and applications which are not considered to be so called "core" packages.
Usage
To use these packages, add the following line to the feeds.conf in the OpenWrt buildroot:
src-git video https://github.com/openwrt/video.git
This feed should be included and enabled by default in the OpenWrt buildroot. To install all its package definitions, run:
./scripts/feeds update video
./scripts/feeds install -a -p video
The video packages should now appear in menuconfig in section 'Video'.
Languages
Makefile
52.9%
C
34.8%
UnrealScript
9.6%
Shell
2.7%