FROMLIST: v4l: add porter duff blend controls
authorJacob Chen <jacob2.chen@rock-chips.com>
Mon, 31 Jul 2017 06:31:13 +0000 (14:31 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 4 Aug 2017 07:38:54 +0000 (15:38 +0800)
commit10a0fcf693405cd1481f15c00843aa8d1f03700e
treec5b49a48c87a213037252a26436fcce35e187da3
parentb466f888abdd8aa25d7167e405df720460f59157
FROMLIST: v4l: add porter duff blend controls

At peresent, we don't have a control for Compositing and Blend.
All drivers are just doing copies while actually many hardwares
supports more functions.

So Adding V4L2 controls for Compositing and Blend, used for for
composting streams.
(am from https://patchwork.linuxtv.org/patch/42848/)
The values are based on porter duff operations.
Defined in below links.
https://developer.xamarin.com/api/type/Android.Graphics.PorterDuff+Mode/

Change-Id: I16245fc8389a433ebdcb228081a80daa48e8c539
Suggested-by: Nicolas Dufresne <nicolas@ndufresne.ca>
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h