Re: [PATCH 2/2] hantro: h264: Refuse to decode unsupported bitstream

From: Philipp Zabel
Date: Mon Jun 29 2020 - 16:41:13 EST


On Fri, 2020-06-26 at 14:11 -0300, Ezequiel Garcia wrote:
> The hardware only supports 4:2:0 or 4:0:0 (monochrome),
> 8-bit depth content.
>
> Verify that the PPS 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 <ezequiel@xxxxxxxxxxxxx>

Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

regards
Philipp