mbox series

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

Message ID 20210912082051.404645-1-jernej.skrabec@gmail.com (mailing list archive)
Headers show
Series media: cedrus: validate H264 and H265 SPS controls | expand

Message

Jernej Škrabec Sept. 12, 2021, 8:20 a.m. UTC
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(+)