diff options
author | Ezequiel Garcia <[email protected]> | 2020-07-09 18:36:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 13:37:49 +0200 |
commit | d70cca7323442026e20c474314518c446cb4766f (patch) | |
tree | ab960b5d3d8671c433a54dde6a979ebcbdffb9fa /drivers/media/test-drivers/vimc/vimc-sensor.c | |
parent | 9363aa33f6a9acfd16f98c749f17f6c65d184670 (diff) |
hantro: h264: Refuse to decode unsupported bitstream
The hardware only supports 4:2:0 or 4:0:0 (monochrome),
8-bit depth content.
Verify that the SPS refers to a supported bitstream, and refuse
unsupported bitstreams by failing at TRY_EXT_CTRLS time.
Given the JPEG compression level control is the only one
that needs setting, a specific ops is provided.
Signed-off-by: Ezequiel Garcia <[email protected]>
Reviewed-by: Philipp Zabel <[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/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions