Re: [PATCH v3 9/9] [media] vivid: Local optimization

From: Ricardo Ribalda Delgado
Date: Sat Jul 16 2016 - 06:52:41 EST


Hi

On Sat, Jul 16, 2016 at 12:41 PM, Ricardo Ribalda Delgado
<ricardo.ribalda@xxxxxxxxx> wrote:

> - cr = clamp(cr, 16 << 4, 240 << 4);
> + y = clamp(y >> 4, 16, 235);
> + cb = clamp(cb >> 4, 16, 240);
> + cr = clamp(cr > 4, 16, 240);
This line is obviously wrong, sorry about that.

I wait for some more comments and add it to v4.

Regards!