diff options
author | Xavier Roumegue <xavier.roumegue@oss.nxp.com> | 2022-07-30 17:48:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-08-29 15:32:13 +0200 |
commit | 9d5c3c06980510b27e8f7ff033a21120e42c9715 (patch) | |
tree | 419241c16351ac21639455ccfb2799516f6488c8 /include/uapi/linux/dw100.h | |
parent | media: v4l: uapi: Add user control base for DW100 controls (diff) | |
download | linux-dev-9d5c3c06980510b27e8f7ff033a21120e42c9715.tar.xz linux-dev-9d5c3c06980510b27e8f7ff033a21120e42c9715.zip |
media: uapi: Add a control for DW100 driver
The DW100 driver gets the dewarping mapping as a binary blob from the
userspace application through a custom control.
The blob format is hardware specific so create a dedicated control for
this purpose.
Signed-off-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/uapi/linux/dw100.h')
-rw-r--r-- | include/uapi/linux/dw100.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/uapi/linux/dw100.h b/include/uapi/linux/dw100.h new file mode 100644 index 000000000000..3356496edd6b --- /dev/null +++ b/include/uapi/linux/dw100.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ +/* Copyright 2022 NXP */ + +#ifndef __UAPI_DW100_H__ +#define __UAPI_DW100_H__ + +#include <linux/v4l2-controls.h> + +/* + * Check Documentation/userspace-api/media/drivers/dw100.rst for control details. + */ +#define V4L2_CID_DW100_DEWARPING_16x16_VERTEX_MAP (V4L2_CID_USER_DW100_BASE + 1) + +#endif |