Re: [PATCH v6 07/13] media: verisilicon: Check AV1 bitstreams bit depth

From: AngeloGioacchino Del Regno
Date: Thu Apr 13 2023 - 05:16:43 EST


Il 12/04/23 13:56, Benjamin Gaignard ha scritto:
The driver supports 8 and 10 bits bitstreams, make sure to discard
other cases.
It could happens that userland test if V4L2_CID_STATELESS_AV1_SEQUENCE
exists without setting bit_depth field in this case use
HANTRO_DEFAULT_BIT_DEPTH value.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxxxxxxxxx>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>