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

Jernej Skrabec jernej.skrabec at gmail.com
Sun Sep 12 01:20:49 PDT 2021


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




More information about the linux-arm-kernel mailing list