/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2013 - 2014 Texas Instruments, Inc. * * Benoit Parrot <[email protected]> * Lad, Prabhakar <[email protected]> * * This program is free software; you may redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #ifndef AM437X_VPFE_USER_H #define AM437X_VPFE_USER_H #include <linux/videodev2.h> enum vpfe_ccdc_data_size { … }; /* enum for No of pixel per line to be avg. in Black Clamping*/ enum vpfe_ccdc_sample_length { … }; /* enum for No of lines in Black Clamping */ enum vpfe_ccdc_sample_line { … }; /* enum for Alaw gamma width */ enum vpfe_ccdc_gamma_width { … }; /* structure for ALaw */ struct vpfe_ccdc_a_law { … }; /* structure for Black Clamping */ struct vpfe_ccdc_black_clamp { … }; /* structure for Black Level Compensation */ struct vpfe_ccdc_black_compensation { … }; /* Structure for CCDC configuration parameters for raw capture mode passed * by application */ struct vpfe_ccdc_config_params_raw { … }; /* * Private IOCTL * VIDIOC_AM437X_CCDC_CFG - Set CCDC configuration for raw capture * This is an experimental ioctl that will change in future kernels. So use * this ioctl with care ! **/ #define VIDIOC_AM437X_CCDC_CFG … #endif /* AM437X_VPFE_USER_H */