Re: [PATCH v4 2/4] gpu: ipu-v3: ipu-ic: Simplify selection of encoding matrix

From: Philipp Zabel
Date: Mon Feb 11 2019 - 05:00:16 EST


On Fri, 2019-02-08 at 17:47 -0800, Steve Longerbeam wrote:
> Simplify the selection of the Y'CbCr encoding matrices in init_csc().
> A side-effect of this change is that init_csc() now allows YUV->YUV
> using the identity matrix, intead of returning error.
>
> Signed-off-by: Steve Longerbeam <slongerbeam@xxxxxxxxx>

Note that this only works if both YUV encodings have the same range.

regards
Philipp