]> git.baikalelectronics.ru Git - kernel.git/commit
media: ti-vpe: cal: Fix pixel processing parameters
authorBenoit Parrot <bparrot@ti.com>
Tue, 12 Nov 2019 14:53:37 +0000 (15:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 9 Dec 2019 10:28:07 +0000 (11:28 +0100)
commitddc68e00f3e8b0ed0d36a5f486447691c50ac1cb
treec7b41fb7aeae05d5985c0cc61fb5934a29dec981
parent3c91f6d6a9c97a09fea7801c5d3ce9552c4ac0f2
media: ti-vpe: cal: Fix pixel processing parameters

The pixel processing unit was hard coded to only handle 8 bits per pixel
from input to output.

We now add handling for 10, 12 and 16 bits per pixel at the source and
setting the in-memory size (i.e. container size) to 16 bits for these 3
cases.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal.c