Re: [PATCH v3 0/2] [v3]Add hantro g1 video decoder support for RK3588

From: Nicolas Dufresne
Date: Thu Jan 18 2024 - 16:51:30 EST


Le jeudi 18 janvier 2024 à 14:53 +0100, Piotr Oniszczuk a écrit :
> > Wiadomość napisana przez amazingfate <liujianfeng1994@xxxxxxxxx> w dniu 18.01.2024, o godz. 12:30:
> >
> > Before rkvdec2 launching mainline
>
> Ooooo - is there concrete plan for this?
>
> Asking as imho rk35xx can be really nice multimedia soc.
>
> Can be…. but is not due current lack of hevc/vp9 hw decode in mainline due lack of rkvdec2 support
> This seems to be clear blocker for many multimedia use cases :-(
>
> Having rkvdec2 support via v4l2_request in mainline imho will make rk35xx killer soc for multimedia….
>
> ps: rkvdec support seems available since years on mainline and works well.
> So maybe rkvdec code base can be basis to gradually added support for rkvdec2?
>   

You'd be surprised that we are still upstreaming HEVC/10bit and 4:2:2 support
(well Jonas is) and are missing a proper solution to some needed HW reset logic
(to fix concurrent decoding). Though all these exist in some form in LibreELEC
patchset.

When this is behind, Jonas reported that he might be interested in looking into
rkvdec2. Consider that his is volunteer work, but it would indeed be amazing.
The HW work blob free (no firmware needed) supports up to 8K (rk3588). Some
early work on adding encoder interface for this type of HW is also in progress.
The AV1 decoder for rk3588 (which is a chip from Verisillicon, not RK) is
already upstream.

regards,
Nicolas