diff options
author | Ezequiel Garcia <[email protected]> | 2020-07-09 18:36:34 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 13:26:25 +0200 |
commit | 9363aa33f6a9acfd16f98c749f17f6c65d184670 (patch) | |
tree | 7b507ba0a6822001aab837777e491eebdb525f66 /drivers/media/test-drivers/vimc | |
parent | 46d7aaebbe441d5381e35d8e16df784690e65ef3 (diff) |
rkvdec: h264: Refuse to decode unsupported bitstream
The hardware only supports 4:2:2, 4:2:0 or 4:0:0 (monochrome),
8-bit or 10-bit depth content.
Verify that the SPS refers to a supported bitstream, and refuse
unsupported bitstreams by failing at TRY_EXT_CTRLS time.
The driver is currently broken on 10-bit and 4:2:2
so disallow those as well.
Signed-off-by: Ezequiel Garcia <[email protected]>
Reviewed-by: Jonas Karlman <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc')
0 files changed, 0 insertions, 0 deletions