[media] v4l: vsp1: Add support for the RPF alpha multiplier on Gen3
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 22 Mar 2016 14:10:27 +0000 (11:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 22:14:24 +0000 (19:14 -0300)
commit30276a731a9c14123c95070197a08bafc148f7bc
tree58df9659146ea18c925fdb8df7095f232843833d
parent0e6b9c565f33cd8b22879947647abd6c076cd73e
[media] v4l: vsp1: Add support for the RPF alpha multiplier on Gen3

The Gen3 RPF includes an alpha multiplier that can both multiply the
alpha channel by a fixed global alpha value, and multiply the pixel
components to convert the input to premultiplied alpha.

As alpha premultiplication is available in the BRU for both Gen2 and
Gen3 we handle it there and use the Gen3 alpha multiplier for global
alpha multiplication only. This prevents conversion to premultiplied
alpha if no BRU is present in the pipeline, that use case will be
implemented later if needed.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1.h
drivers/media/platform/vsp1/vsp1_drv.c
drivers/media/platform/vsp1/vsp1_regs.h
drivers/media/platform/vsp1/vsp1_rpf.c
This page took 0.026331 seconds and 5 git commands to generate.