[PATCH 0/2] media: cedrus: validate H264 and H265 SPS controls

From: Jernej Skrabec
Date: Sun Sep 12 2021 - 04:21:18 EST


Since Cedrus core doesn't support decoding all possible H264 and H265
formats, it's good to add some validation, which would reject unsupported
combinations.

Patch 1 adds H265 10-bit capability flag, currently supported only on H6.

Patch 2 adds H264/H265 SPS validation callback.

Please take a look.

Best regards,
Jernej

Jernej Skrabec (2):
media: cedrus: Add H265 10-bit capability flag
media: cedrus: add check for H264 and H265 limitations

drivers/staging/media/sunxi/cedrus/cedrus.c | 47 +++++++++++++++++++++
drivers/staging/media/sunxi/cedrus/cedrus.h | 1 +
2 files changed, 48 insertions(+)

--
2.33.0