diff options
author | Laurent Pinchart | 2016-03-04 00:17:49 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-06-17 13:14:36 +0200 |
commit | ccd3d95a93de25e971b23d2230b5c0a2e15d5cb7 (patch) | |
tree | 4fa676748a9e2e2a46ae0bf1ac71b07f8c106f41 /drivers/media/platform/vsp1/vsp1_entity.h | |
parent | [media] v4l: vsp1: Replace container_of() with dedicated macro (diff) | |
download | kernel-qcow2-linux-ccd3d95a93de25e971b23d2230b5c0a2e15d5cb7.tar.gz kernel-qcow2-linux-ccd3d95a93de25e971b23d2230b5c0a2e15d5cb7.tar.xz kernel-qcow2-linux-ccd3d95a93de25e971b23d2230b5c0a2e15d5cb7.zip |
[media] v4l: vsp1: Make vsp1_entity_get_pad_compose() more generic
Turn the helper into a function that can retrieve crop and compose
selection rectangles.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_entity.h')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_entity.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_entity.h b/drivers/media/platform/vsp1/vsp1_entity.h index aaab05f4952c..a240fc1c59a6 100644 --- a/drivers/media/platform/vsp1/vsp1_entity.h +++ b/drivers/media/platform/vsp1/vsp1_entity.h @@ -122,9 +122,9 @@ vsp1_entity_get_pad_format(struct vsp1_entity *entity, struct v4l2_subdev_pad_config *cfg, unsigned int pad); struct v4l2_rect * -vsp1_entity_get_pad_compose(struct vsp1_entity *entity, - struct v4l2_subdev_pad_config *cfg, - unsigned int pad); +vsp1_entity_get_pad_selection(struct vsp1_entity *entity, + struct v4l2_subdev_pad_config *cfg, + unsigned int pad, unsigned int target); int vsp1_entity_init_cfg(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg); |