summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1/vsp1_bru.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-28 05:46:30 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-17 19:44:59 +0400
commita16e2794592b733d47f372f0cadcd9ff0f349ca9 (patch)
tree51be516df6eb087d9ce93817e3ff7fccd54f28c3 /drivers/media/platform/vsp1/vsp1_bru.h
parent9aca813e1401dcafe1c0a9d3b03795e254571504 (diff)
downloadlinux-a16e2794592b733d47f372f0cadcd9ff0f349ca9.tar.xz
[media] v4l: vsp1: bru: Make the background color configurable
Expose the background color to userspace through the V4L2_CID_BG_COLOR control. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_bru.h')
-rw-r--r--drivers/media/platform/vsp1/vsp1_bru.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_bru.h b/drivers/media/platform/vsp1/vsp1_bru.h
index 5b03479c5982..16b1c6554911 100644
--- a/drivers/media/platform/vsp1/vsp1_bru.h
+++ b/drivers/media/platform/vsp1/vsp1_bru.h
@@ -14,6 +14,7 @@
#define __VSP1_BRU_H__
#include <media/media-entity.h>
+#include <media/v4l2-ctrls.h>
#include <media/v4l2-subdev.h>
#include "vsp1_entity.h"
@@ -27,6 +28,8 @@ struct vsp1_rwpf;
struct vsp1_bru {
struct vsp1_entity entity;
+ struct v4l2_ctrl_handler ctrls;
+
struct {
struct vsp1_rwpf *rpf;
struct v4l2_rect compose;