Re: [PATCH v5 0/5] media: rockchip: rkvdec: add support for the VDPU346 variant

From: Diederik de Haas

Date: Sun Nov 22 2026 - 08:34:35 EST


On Fri Nov 20, 2026 at 9:16 PM CET, Diederik de Haas wrote:
> On Fri Nov 20, 2026 at 6:36 PM CET, Daniel Golle wrote:
>> This series adds the VDPU346 decoder of the RK3566 and RK3568 to the
>> rkvdec driver, for H.264 and HEVC. It continues Christian Hewitt's v3
>> ...
>> Known limits, none of them introduced here:
>>
>> - FFmpeg's v4l2-request hwaccel does not set the HEVC EXT_SPS_ST_RPS
>> and EXT_SPS_LT_RPS controls, so HEVC through FFmpeg decodes wrongly
>> on this decoder as on the VDPU381 ("Long and short term RPS not
>> set"). The handling of these controls is also the subject of [6].
>
> FWIW and IIUC, Detlev has a patch for that here:
> https://gitlab.collabora.com/detlev/ffmpeg/-/commits/v4l2-request-ext-sps-rps-n8.1

FWIW, I submitted and made a minor update to that patch here:
https://github.com/LibreELEC/LibreELEC.tv/pull/11686

which updates the comment that kernel 7.1+ is needed for those controls
and added the EXT_SPS_ST_RPS and EXT_SPS_LT_RPS split with 64 and 32.