1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 2 /* 3 * Xilinx Controls Header 4 * 5 * Copyright (C) 2013-2015 Ideas on Board 6 * Copyright (C) 2013-2015 Xilinx, Inc. 7 * 8 * Contacts: Hyun Kwon <hyun.kwon@xilinx.com> 9 * Laurent Pinchart <laurent.pinchar 10 * 11 * This software is licensed under the terms o 12 * License version 2, as published by the Free 13 * may be copied, distributed, and modified un 14 * 15 * This program is distributed in the hope tha 16 * but WITHOUT ANY WARRANTY; without even the 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR 18 * GNU General Public License for more details 19 */ 20 21 #ifndef __UAPI_XILINX_V4L2_CONTROLS_H__ 22 #define __UAPI_XILINX_V4L2_CONTROLS_H__ 23 24 #include <linux/v4l2-controls.h> 25 26 #define V4L2_CID_XILINX_OFFSET 0xc000 27 #define V4L2_CID_XILINX_BASE (V4L2_CID_USER 28 29 /* 30 * Private Controls for Xilinx Video IPs 31 */ 32 33 /* 34 * Xilinx TPG Video IP 35 */ 36 37 #define V4L2_CID_XILINX_TPG 38 39 /* Draw cross hairs */ 40 #define V4L2_CID_XILINX_TPG_CROSS_HAIRS 41 /* Enable a moving box */ 42 #define V4L2_CID_XILINX_TPG_MOVING_BOX 43 /* Mask out a color component */ 44 #define V4L2_CID_XILINX_TPG_COLOR_MASK 45 /* Enable a stuck pixel feature */ 46 #define V4L2_CID_XILINX_TPG_STUCK_PIXEL 47 /* Enable a noisy output */ 48 #define V4L2_CID_XILINX_TPG_NOISE 49 /* Enable the motion feature */ 50 #define V4L2_CID_XILINX_TPG_MOTION 51 /* Configure the motion speed of moving patter 52 #define V4L2_CID_XILINX_TPG_MOTION_SPEED 53 /* The row of horizontal cross hair location * 54 #define V4L2_CID_XILINX_TPG_CROSS_HAIR_ROW 55 /* The colum of vertical cross hair location * 56 #define V4L2_CID_XILINX_TPG_CROSS_HAIR_COLUMN 57 /* Set starting point of sine wave for horizon 58 #define V4L2_CID_XILINX_TPG_ZPLATE_HOR_START 59 /* Set speed of the horizontal component */ 60 #define V4L2_CID_XILINX_TPG_ZPLATE_HOR_SPEED 61 /* Set starting point of sine wave for vertica 62 #define V4L2_CID_XILINX_TPG_ZPLATE_VER_START 63 /* Set speed of the vertical component */ 64 #define V4L2_CID_XILINX_TPG_ZPLATE_VER_SPEED 65 /* Moving box size */ 66 #define V4L2_CID_XILINX_TPG_BOX_SIZE 67 /* Moving box color */ 68 #define V4L2_CID_XILINX_TPG_BOX_COLOR 69 /* Upper limit count of generated stuck pixels 70 #define V4L2_CID_XILINX_TPG_STUCK_PIXEL_THRESH 71 /* Noise level */ 72 #define V4L2_CID_XILINX_TPG_NOISE_GAIN 73 74 #endif /* __UAPI_XILINX_V4L2_CONTROLS_H__ */ 75
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.