]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: rkvdec: vdpu383: Drop bitfields for the bitwriter
authorDetlev Casanova <detlev.casanova@collabora.com>
Thu, 2 Apr 2026 14:06:39 +0000 (10:06 -0400)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 4 May 2026 07:31:04 +0000 (09:31 +0200)
commit4ae45bf4663ed93c61e9f716e81455122fb66ee2
tree2dffaeca63d36a7b2cd0ff1b506617c452807b0b
parent9b77225be5972a1e13a1b535caddba997e976035
media: rkvdec: vdpu383: Drop bitfields for the bitwriter

The VDPU383 support for hevc and h264 use structs with bitfields to
represent the SPS and PPS.

Because the fields are mostly unaligned and numerous, it brings compiler
issues, especially with clang.

To prevent that, switch to using the global bitwriter previously
introduced instead.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-h264.c
drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-hevc.c