[PATCH v5 01/15] media: uapi: HEVC: Add v4l2_ctrl_hevc_ext_sps_[ls]t_rps controls

Nicolas Dufresne nicolas.dufresne at collabora.com
Wed Dec 17 05:34:33 PST 2025


Hi,

Le mardi 16 décembre 2025 à 17:18 -0500, Detlev Casanova a écrit :
> > Before going that route, how big are these two arrays ? Short term can be 64
> > ref, long term 32, how big in bytes that is ? Was is worth goign with
> > dynamic
> > array ? Its not like slices, where we can have 600 or more.
> 
> The short term one can still be quite big, it's about 80 bytes per 
> element, so 5120 bytes for the 64.
> 
> I don't know how often we go that high, I've seen around 10 short term 
> ref sets in test videos.

We've never defined a threshold, so its hard to just define which direction to
go. I generally think using dynamic array was logical thing to do though.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20251217/8f32e54f/attachment-0001.sig>


More information about the Linux-rockchip mailing list