media: hevc: Fix dependent slice segment flags
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 27 Apr 2021 07:15:54 +0000 (09:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:55:51 +0000 (16:55 +0200)
commit893c243e52f2e1a3f5de27f5f773c8c275522caf
tree9bb4090c120852e7d2d145d310c9a22ebaf0504c
parenta245f93ad06706ab0a06fd90c9723c436da4843c
media: hevc: Fix dependent slice segment flags

[ Upstream commit 67a7e53d5b21f3a84efc03a4e62db7caf97841ef ]

Dependent slice segment flag for PPS control is misnamed. It should have
"enabled" at the end. It only tells if this flag is present in slice
header or not and not the actual value.

Fix this by renaming the PPS flag and introduce another flag for slice
control which tells actual value.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
drivers/staging/media/sunxi/cedrus/cedrus_h265.c
include/media/hevc-ctrls.h