mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 04:55:30 +04:00
The Raspberry Pi HEVC decoder writes its pictures in Broadcom's 128-byte column layout, which libgstvideo has no format for. A decoder negotiating it as DMA_DRM NV12 or P030 with the SAND128 modifier fails to configure its buffer pool, so hardware HEVC never reaches a sink. Add the NV12_128C8 and NV12_10LE32_128C8 formats with their DRM mappings, translate their column strides in GL memory and EGL dma-buf import, and let the decoder base class read DMA_DRM caps when it sets up its pool. Patches 200 to 204 are the upstream merge request's. It lists NV12_10LE32_128C8 in GST_VIDEO_FORMATS_ALL_STR for little-endian hosts only; patch 205 adds it to the big-endian list. Link: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9247 Signed-off-by: Daniel Golle <daniel@makrotopia.org>