]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: rkvdec: h264: Don't hardcode SPS/PPS parameters
authorAlex Bee <knaerzche@gmail.com>
Tue, 25 Feb 2025 09:40:25 +0000 (10:40 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 8 Apr 2025 07:21:21 +0000 (07:21 +0000)
commit137149c63993c235fa37624cac6368f3cb4affc9
treebe627daaf1bf395b048935fe92141a0420391f30
parentd5e0aa61470c48ddc04d433a00e79cef8716377a
media: rkvdec: h264: Don't hardcode SPS/PPS parameters

Some SPS/PPS parameters are currently hardcoded in the driver even
though they exist in the stable uapi controls.

Use values from SPS/PPS controls instead of hardcoding them.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
[jonas@kwiboo.se: constraint_set_flags condition, commit message]
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Tested-by: Christopher Obbard <chris.obbard@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/staging/media/rkvdec/rkvdec-h264.c