]> git.ipfire.org Git - thirdparty/linux.git/commit
media: rkvdec: Extract rkvdec_fill_decoded_pixfmt into helper
authorJonas Karlman <jonas@kwiboo.se>
Tue, 25 Feb 2025 09:40:26 +0000 (10:40 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 8 Apr 2025 07:21:21 +0000 (07:21 +0000)
commitc74b78193ffd0a5cfdc7e0c3fa1d128e6c0c42d6
treebdd14a4e3f163d2e73e88370a5daee9fea2deb18
parent137149c63993c235fa37624cac6368f3cb4affc9
media: rkvdec: Extract rkvdec_fill_decoded_pixfmt into helper

Extract call to v4l2_fill_pixfmt_mp() and ajusting of sizeimage into a
helper. Replace current code with a call to the new helper.

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.c