]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vsp1: bru: Support premultiplied alpha at the BRU inputs
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 May 2014 23:35:36 +0000 (20:35 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:58 +0000 (12:44 -0300)
commit71af0d01249000141aafb9ff8d5c448145f8da41
treedcb61eade2ca91eb25dd4e22fde0f3698ed55dcc
parent55ce2eb045d054742655043516aee92802f9d5c2
[media] v4l: vsp1: bru: Support premultiplied alpha at the BRU inputs

Adjust the BRU blending formula to avoid the multiplication by alpha
when the corresponding input format is premultiplied. As this requires
access to the RPFs connected to the BRU inputs from the BRU module,
store pointers to the RPFs in the BRU structure when validating the
pipeline.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1_bru.c
drivers/media/platform/vsp1/vsp1_bru.h
drivers/media/platform/vsp1/vsp1_video.c