1564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* 2564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * Video for Linux Two header file for samsung 3564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * 4564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * Copyright (C) 2009, Dongsoo Nathaniel Kim<dongsoo45.kim@samsung.com> 5564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * 6564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * This header file contains several v4l2 APIs to be proposed to v4l2 7564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * community and until bein accepted, will be used restrictly in Samsung's 8564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * camera interface driver FIMC. 9564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * 10564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * This program is free software; you can redistribute it and/or modify 11564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * it under the terms of the GNU General Public License as published by 12564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * the Free Software Foundation; either version 2 of the License, or 13564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * (at your option) any later version. 14564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin */ 15564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 16564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* 17564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * Copyright 2008, The Android Open Source Project 18564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * Copyright 2010, Samsung Electronics Co. LTD 19564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * 20564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * Licensed under the Apache License, Version 2.0 (the "License"); 21564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * you may not use this file except in compliance with the License. 22564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * You may obtain a copy of the License at 23564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * 24564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * http://www.apache.org/licenses/LICENSE-2.0 25564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * 26564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * Unless required by applicable law or agreed to in writing, software 27564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * distributed under the License is distributed toggle an "AS IS" BASIS, 28564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 29564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * See the License for the specific language governing permissions and 30564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * limitations under the License. 31564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin */ 32564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 33564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#ifndef __LINUX_VIDEODEV2_EXYNOS_CAMERA_H 34564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define __LINUX_VIDEODEV2_EXYNOS_CAMERA_H 35564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 36564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Values for 'capabilities' field */ 37564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Object detection device */ 38564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CAP_OBJ_RECOGNITION 0x10000000 39564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* strobe control */ 40564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CAP_STROBE 0x20000000 41564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 42564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FOCUS_MODE (V4L2_CID_CAMERA_CLASS_BASE+17) 43564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Focus Methods */ 44564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_focus_mode { 45564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_MODE_AUTO = 0, 46564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_MODE_MACRO = 1, 47564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_MODE_MANUAL = 2, 48564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_MODE_LASTP = 2, 49564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 50564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 51564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_ZOOM_MODE (V4L2_CID_CAMERA_CLASS_BASE+18) 52564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Zoom Methods */ 53564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_zoom_mode { 54564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_ZOOM_MODE_CONTINUOUS = 0, 55564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_ZOOM_MODE_OPTICAL = 1, 56564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_ZOOM_MODE_DIGITAL = 2, 57564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_ZOOM_MODE_LASTP = 2, 58564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 59564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 60564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Exposure Methods */ 61564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_PHOTOMETRY (V4L2_CID_CAMERA_CLASS_BASE+19) 62564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_photometry_mode { 63564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PHOTOMETRY_MULTISEG = 0, /*Multi Segment*/ 64564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PHOTOMETRY_CWA = 1, /*Centre Weighted Average*/ 65564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PHOTOMETRY_SPOT = 2, 66564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PHOTOMETRY_AFSPOT = 3, /*Spot metering on focused point*/ 67564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PHOTOMETRY_LASTP = V4L2_PHOTOMETRY_AFSPOT, 68564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 69564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 70564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Manual exposure control items menu type: iris, shutter, iso */ 71564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_APERTURE (V4L2_CID_CAMERA_CLASS_BASE+20) 72564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_SHUTTER (V4L2_CID_CAMERA_CLASS_BASE+21) 73564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_ISO (V4L2_CID_CAMERA_CLASS_BASE+22) 74564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 75564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Following CIDs are menu type */ 76564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_SCENEMODE (V4L2_CID_CAMERA_CLASS_BASE+23) 77564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_STABILIZE (V4L2_CID_CAMERA_CLASS_BASE+24) 78564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_MULTISHOT (V4L2_CID_CAMERA_CLASS_BASE+25) 79564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 80564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Control dynamic range */ 81564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_DR (V4L2_CID_CAMERA_CLASS_BASE+26) 82564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 83564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* White balance preset control */ 84564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_WHITE_BALANCE_PRESET (V4L2_CID_CAMERA_CLASS_BASE+27) 85564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_SENSOR_FW_VER (V4L2_CID_CAMERA_CLASS_BASE + 28) 86564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_PHONE_FW_VER (V4L2_CID_CAMERA_CLASS_BASE + 29) 87564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 88564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* CID extensions */ 89564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_ROTATION (V4L2_CID_PRIVATE_BASE + 0) 90564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_PADDR_Y (V4L2_CID_PRIVATE_BASE + 1) 91564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_PADDR_CB (V4L2_CID_PRIVATE_BASE + 2) 92564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_PADDR_CR (V4L2_CID_PRIVATE_BASE + 3) 93564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_PADDR_CBCR (V4L2_CID_PRIVATE_BASE + 4) 94564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_OVERLAY_AUTO (V4L2_CID_PRIVATE_BASE + 5) 95564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_OVERLAY_VADDR0 (V4L2_CID_PRIVATE_BASE + 6) 96564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_OVERLAY_VADDR1 (V4L2_CID_PRIVATE_BASE + 7) 97564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_OVERLAY_VADDR2 (V4L2_CID_PRIVATE_BASE + 8) 98564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_OVLY_MODE (V4L2_CID_PRIVATE_BASE + 9) 99564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_DST_INFO (V4L2_CID_PRIVATE_BASE + 10) 100564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* UMP secure id control */ 101564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_GET_UMP_SECURE_ID (V4L2_CID_PRIVATE_BASE + 11) 102564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_GET_PHY_SRC_YADDR (V4L2_CID_PRIVATE_BASE + 12) 103564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_GET_PHY_SRC_CADDR (V4L2_CID_PRIVATE_BASE + 13) 104564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IMAGE_EFFECT_FN (V4L2_CID_PRIVATE_BASE + 16) 105564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IMAGE_EFFECT_APPLY (V4L2_CID_PRIVATE_BASE + 17) 106564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IMAGE_EFFECT_CB (V4L2_CID_PRIVATE_BASE + 18) 107564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IMAGE_EFFECT_CR (V4L2_CID_PRIVATE_BASE + 19) 108564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_RESERVED_MEM_BASE_ADDR (V4L2_CID_PRIVATE_BASE + 20) 109564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FIMC_VERSION (V4L2_CID_PRIVATE_BASE + 21) 110564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 111564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_STREAM_PAUSE (V4L2_CID_PRIVATE_BASE + 53) 112564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CACHE_FLUSH (V4L2_CID_PRIVATE_BASE + 61) 113564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_RESERVED_MEM_SIZE (V4L2_CID_PRIVATE_BASE + 63) 114564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 115564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* CID Extensions for camera sensor operations */ 116564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_PREVIEW_ONOFF (V4L2_CID_PRIVATE_BASE + 64) 117564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_CAPTURE (V4L2_CID_PRIVATE_BASE + 65) 118564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* #define V4L2_CID_CAM_JPEG_MEMSIZE (V4L2_CID_PRIVATE_BASE + 66) */ 119564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 120564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_DATE_INFO_YEAR (V4L2_CID_PRIVATE_BASE + 14) 121564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_DATE_INFO_MONTH (V4L2_CID_PRIVATE_BASE + 15) 122564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_DATE_INFO_DATE (V4L2_CID_PRIVATE_BASE + 22) 123564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_SENSOR_VER (V4L2_CID_PRIVATE_BASE + 23) 124564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_FW_MINOR_VER (V4L2_CID_PRIVATE_BASE + 24) 125564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_FW_MAJOR_VER (V4L2_CID_PRIVATE_BASE + 25) 126564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_PRM_MINOR_VER (V4L2_CID_PRIVATE_BASE + 26) 127564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_PRM_MAJOR_VER (V4L2_CID_PRIVATE_BASE + 27) 128564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_FW_VER (V4L2_CID_PRIVATE_BASE + 28) 129564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_SET_FW_ADDR (V4L2_CID_PRIVATE_BASE + 29) 130564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_SET_FW_SIZE (V4L2_CID_PRIVATE_BASE + 30) 131564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_UPDATE_FW (V4L2_CID_PRIVATE_BASE + 31) 132564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_firmware_mode { 133564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FW_MODE_UPDATE, 134564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FW_MODE_VERSION, 135564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FW_MODE_DUMP, 136564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 137564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 138564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_JPEG_MAIN_SIZE (V4L2_CID_PRIVATE_BASE + 32) 139564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_JPEG_MAIN_OFFSET (V4L2_CID_PRIVATE_BASE + 33) 140564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_JPEG_THUMB_SIZE (V4L2_CID_PRIVATE_BASE + 34) 141564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_JPEG_THUMB_OFFSET (V4L2_CID_PRIVATE_BASE + 35) 142564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_JPEG_POSTVIEW_OFFSET (V4L2_CID_PRIVATE_BASE + 36) 143564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_JPEG_QUALITY (V4L2_CID_PRIVATE_BASE + 37) 144564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_SENSOR_MAKER (V4L2_CID_PRIVATE_BASE + 38) 145564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_SENSOR_OPTICAL (V4L2_CID_PRIVATE_BASE + 39) 146564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_AF_VER_LOW (V4L2_CID_PRIVATE_BASE + 40) 147564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_AF_VER_HIGH (V4L2_CID_PRIVATE_BASE + 41) 148564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_GAMMA_RG_LOW (V4L2_CID_PRIVATE_BASE + 42) 149564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_GAMMA_RG_HIGH (V4L2_CID_PRIVATE_BASE + 43) 150564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_GAMMA_BG_LOW (V4L2_CID_PRIVATE_BASE + 44) 151564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_GAMMA_BG_HIGH (V4L2_CID_PRIVATE_BASE + 45) 152564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_DUMP_FW (V4L2_CID_PRIVATE_BASE + 46) 153564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAM_GET_DUMP_SIZE (V4L2_CID_PRIVATE_BASE + 47) 154564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_VT_MODE (V4L2_CID_PRIVATE_BASE + 48) 155564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_VGA_BLUR (V4L2_CID_PRIVATE_BASE + 49) 156564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_CAPTURE (V4L2_CID_PRIVATE_BASE + 50) 157564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_HDR (V4L2_CID_PRIVATE_BASE + 51) 158564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 159564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_MAIN_SW_DATE_INFO_YEAR (V4L2_CID_PRIVATE_BASE + 54) 160564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_MAIN_SW_DATE_INFO_MONTH (V4L2_CID_PRIVATE_BASE + 55) 161564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_MAIN_SW_DATE_INFO_DATE (V4L2_CID_PRIVATE_BASE + 56) 162564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_MAIN_SW_FW_MINOR_VER (V4L2_CID_PRIVATE_BASE + 57) 163564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_MAIN_SW_FW_MAJOR_VER (V4L2_CID_PRIVATE_BASE + 58) 164564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_MAIN_SW_PRM_MINOR_VER (V4L2_CID_PRIVATE_BASE + 59) 165564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_MAIN_SW_PRM_MAJOR_VER (V4L2_CID_PRIVATE_BASE + 60) 166564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 167564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FIMC_IS_BASE (V4L2_CTRL_CLASS_CAMERA | 0x1000) 168564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FIMC_IS_TUNE_BASE (V4L2_CTRL_CLASS_CAMERA | 0x2000) 169564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 170564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_LOAD_FW (V4L2_CID_FIMC_IS_BASE + 10) 171564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_INIT_PARAM (V4L2_CID_FIMC_IS_BASE + 11) 172564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_RESET (V4L2_CID_FIMC_IS_BASE + 12) 173564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_S_POWER (V4L2_CID_FIMC_IS_BASE + 13) 174564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_set_power { 175564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_POWER_OFF, 176564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_POWER_ON 177564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 178564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 179564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_S_STREAM (V4L2_CID_FIMC_IS_BASE + 14) 180564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_set_stream { 181564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DISABLE_STREAM, 182564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ENABLE_STREAM 183564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 184564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 185564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_S_SCENARIO_MODE (V4L2_CID_FIMC_IS_BASE + 15) 186564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_S_FORMAT_SCENARIO (V4L2_CID_FIMC_IS_BASE + 16) 187564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum scenario_mode { 188564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_MODE_PREVIEW_STILL, 189564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_MODE_PREVIEW_VIDEO, 190564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_MODE_CAPTURE_STILL, 191564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_MODE_CAPTURE_VIDEO, 192564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_MODE_MAX 193564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 194564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 195c0b6e17e87cb606e25526b3e66604b2e23729ad7hyeonmyeong Choi#define V4L2_CID_IS_G_COMPLETES (V4L2_CID_FIMC_IS_BASE + 18) 196c0b6e17e87cb606e25526b3e66604b2e23729ad7hyeonmyeong Choi 197564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* global */ 198564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_SHOT_MODE_NORMAL (V4L2_CID_FIMC_IS_BASE + 101) 199564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* value : 1 : single shot , >=2 : continuous shot */ 200564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 201564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_SENSOR_NUM (V4L2_CID_FIMC_IS_BASE + 201) 202564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 203564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_FOCUS_MODE (V4L2_CID_FIMC_IS_BASE + 401) 204564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_focus_mode { 205564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_AUTO, 206564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_MACRO, 207564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_INFINITY, 208564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_CONTINUOUS, 209564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_TOUCH, 210564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_FACEDETECT, 211564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_IDLE, 212564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FOCUS_MODE_MAX, 213564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 214564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 215564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_FLASH_MODE (V4L2_CID_FIMC_IS_BASE + 402) 216564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_flash_mode { 217564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FLASH_MODE_OFF, 218564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FLASH_MODE_AUTO, 219564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FLASH_MODE_AUTO_REDEYE, 220564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FLASH_MODE_ON, 221564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FLASH_MODE_TORCH, 222564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FLASH_MODE_MAX 223564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 224564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 225564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_AWB_MODE (V4L2_CID_FIMC_IS_BASE + 403) 226564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_awb_mode { 227564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_AUTO, 228564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_DAYLIGHT, 229564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_CLOUDY, 230564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_TUNGSTEN, 231564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_FLUORESCENT, 232564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_MAX 233564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 234564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 235564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_IMAGE_EFFECT (V4L2_CID_FIMC_IS_BASE + 404) 236564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_image_effect { 237564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_DISABLE, 238564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_MONOCHROME, 239564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_NEGATIVE_MONO, 240564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_NEGATIVE_COLOR, 241564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_SEPIA, 242564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_SEPIA_CB, 243564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_SEPIA_CR, 244564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_NEGATIVE, 245564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_ARTFREEZE, 246564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_EMBOSSING, 247564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_SILHOUETTE, 248564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_IMAGE_EFFECT_MAX 249564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 250564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 251564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_ISO (V4L2_CID_FIMC_IS_BASE + 405) 252564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_iso { 253564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_AUTO, 254564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_50, 255564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_100, 256564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_200, 257564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_400, 258564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_800, 259564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_1600, 260564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISO_MAX 261564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 262564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 263564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_CONTRAST (V4L2_CID_FIMC_IS_BASE + 406) 264564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_contrast { 265564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_CONTRAST_AUTO, 266564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_CONTRAST_MINUS_2, 267564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_CONTRAST_MINUS_1, 268564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_CONTRAST_DEFAULT, 269564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_CONTRAST_PLUS_1, 270564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_CONTRAST_PLUS_2, 271564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_CONTRAST_MAX 272564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 273564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 274564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_SATURATION (V4L2_CID_FIMC_IS_BASE + 407) 275564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_saturation { 276564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SATURATION_MINUS_2, 277564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SATURATION_MINUS_1, 278564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SATURATION_DEFAULT, 279564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SATURATION_PLUS_1, 280564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SATURATION_PLUS_2, 281564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SATURATION_MAX 282564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 283564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 284564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_SHARPNESS (V4L2_CID_FIMC_IS_BASE + 408) 285564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_sharpness { 286564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SHARPNESS_MINUS_2, 287564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SHARPNESS_MINUS_1, 288564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SHARPNESS_DEFAULT, 289564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SHARPNESS_PLUS_1, 290564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SHARPNESS_PLUS_2, 291564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SHARPNESS_MAX 292564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 293564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 294564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_EXPOSURE (V4L2_CID_FIMC_IS_BASE + 409) 295564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_exposure { 296564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_MINUS_4, 297564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_MINUS_3, 298564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_MINUS_2, 299564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_MINUS_1, 300564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_DEFAULT, 301564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_PLUS_1, 302564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_PLUS_2, 303564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_PLUS_3, 304564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_PLUS_4, 305564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_EXPOSURE_MAX 306564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 307564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 308564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_BRIGHTNESS (V4L2_CID_FIMC_IS_BASE + 410) 309564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_brightness { 310564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_BRIGHTNESS_MINUS_2, 311564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_BRIGHTNESS_MINUS_1, 312564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_BRIGHTNESS_DEFAULT, 313564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_BRIGHTNESS_PLUS_1, 314564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_BRIGHTNESS_PLUS_2, 315564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_BRIGHTNESS_MAX 316564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 317564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 318564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_HUE (V4L2_CID_FIMC_IS_BASE + 411) 319564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_hue { 320564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_HUE_MINUS_2, 321564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_HUE_MINUS_1, 322564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_HUE_DEFAULT, 323564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_HUE_PLUS_1, 324564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_HUE_PLUS_2, 325564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_HUE_MAX 326564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 327564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 328564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_METERING (V4L2_CID_FIMC_IS_BASE + 412) 329564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_metering { 330564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_METERING_AVERAGE, 331564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_METERING_SPOT, 332564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_METERING_MATRIX, 333564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_METERING_CENTER, 334564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_METERING_MAX 335564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 336564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_METERING_POSITION_X (V4L2_CID_FIMC_IS_BASE + 500) 337564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_METERING_POSITION_Y (V4L2_CID_FIMC_IS_BASE + 501) 338564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_METERING_WINDOW_X (V4L2_CID_FIMC_IS_BASE + 502) 339564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_METERING_WINDOW_Y (V4L2_CID_FIMC_IS_BASE + 503) 340564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 341564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_AFC_MODE (V4L2_CID_FIMC_IS_BASE + 413) 342564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_afc_mode { 343564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AFC_DISABLE, 344564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AFC_AUTO, 345564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AFC_MANUAL_50HZ, 346564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AFC_MANUAL_60HZ, 347564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AFC_MAX 348564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 349564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 350564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_AWB_LOCK_UNLOCK (V4L2_CID_FIMC_IS_BASE + 496) 351564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_awb_lock_unlock { 352564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_LOCK, 353564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_UNLOCK, 354564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AWB_LOCK_UNLOCK_MAX 355564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 356564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 357564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_AE_LOCK_UNLOCK (V4L2_CID_FIMC_IS_BASE + 497) 358564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_ae_lock_unlock { 359564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AE_LOCK, 360564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AE_UNLOCK, 361564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_AE_LOCK_UNLOCK_MAX 362564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 363564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 364564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_COUNT (V4L2_CID_FIMC_IS_BASE + 600) 365564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_FRAME_NUMBER (V4L2_CID_FIMC_IS_BASE + 601) 366564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_CONFIDENCE (V4L2_CID_FIMC_IS_BASE + 602) 367564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_SMILE_LEVEL (V4L2_CID_FIMC_IS_BASE + 603) 368564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_BLINK_LEVEL (V4L2_CID_FIMC_IS_BASE + 604) 369564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_TOPLEFT_X (V4L2_CID_FIMC_IS_BASE + 605) 370564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_TOPLEFT_Y (V4L2_CID_FIMC_IS_BASE + 606) 371564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_BOTTOMRIGHT_X (V4L2_CID_FIMC_IS_BASE + 607) 372564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_FACE_BOTTOMRIGHT_Y (V4L2_CID_FIMC_IS_BASE + 608) 373564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_LEFT_EYE_TOPLEFT_X (V4L2_CID_FIMC_IS_BASE + 609) 374564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_LEFT_EYE_TOPLEFT_Y (V4L2_CID_FIMC_IS_BASE + 610) 375564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_LEFT_EYE_BOTTOMRIGHT_X (V4L2_CID_FIMC_IS_BASE + 611) 376564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_LEFT_EYE_BOTTOMRIGHT_Y (V4L2_CID_FIMC_IS_BASE + 612) 377564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_RIGHT_EYE_TOPLEFT_X (V4L2_CID_FIMC_IS_BASE + 613) 378564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_RIGHT_EYE_TOPLEFT_Y (V4L2_CID_FIMC_IS_BASE + 614) 379564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_RIGHT_EYE_BOTTOMRIGHT_X (V4L2_CID_FIMC_IS_BASE + 615) 380564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_RIGHT_EYE_BOTTOMRIGHT_Y (V4L2_CID_FIMC_IS_BASE + 616) 381564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_MOUTH_TOPLEFT_X (V4L2_CID_FIMC_IS_BASE + 617) 382564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_MOUTH_TOPLEFT_Y (V4L2_CID_FIMC_IS_BASE + 618) 383564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_MOUTH_BOTTOMRIGHT_X (V4L2_CID_FIMC_IS_BASE + 619) 384564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_MOUTH_BOTTOMRIGHT_Y (V4L2_CID_FIMC_IS_BASE + 620) 385564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_ANGLE (V4L2_CID_FIMC_IS_BASE + 621) 386564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_YAW_ANGLE (V4L2_CID_FIMC_IS_BASE + 622) 387564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_NEXT (V4L2_CID_FIMC_IS_BASE + 623) 388564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_GET_DATA (V4L2_CID_FIMC_IS_BASE + 624) 389564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 390564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_MAX_FACE_NUMBER (V4L2_CID_FIMC_IS_BASE + 650) 391564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_ROLL_ANGLE (V4L2_CID_FIMC_IS_BASE + 651) 392564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_roll_angle { 393564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* 0, 45, 0, -45 */ 394564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ROLL_ANGLE_BASIC = 0, 395564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* 0, 30, 0, -30, 0, 45, 0, -45 */ 396564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ROLL_ANGLE_PRECISE_BASIC = 1, 397564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* 0, 90, 0, -90 */ 398564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ROLL_ANGLE_SIDES = 2, 399564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* 0, 90, 0, -90 0, 45, 0, -45 */ 400564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ROLL_ANGLE_PRECISE_SIDES = 3, 401564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* 0, 90, 0, -90, 0, 180 */ 402564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ROLL_ANGLE_FULL = 4, 403564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* 0, 90, 0, -90, 0, 180, 0, 135, 0, -135 */ 404564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ROLL_ANGLE_PRECISE_FULL = 5, 405564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 406564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 407564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_YAW_ANGLE (V4L2_CID_FIMC_IS_BASE + 652) 408564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_yaw_angle { 409564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_YAW_ANGLE_0 = 0, 410564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_YAW_ANGLE_45 = 1, 411564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_YAW_ANGLE_90 = 2, 412564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_YAW_ANGLE_45_90 = 3, 413564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 414564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 415564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_SMILE_MODE (V4L2_CID_FIMC_IS_BASE + 653) 416564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_smile_mode { 417564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_SMILE_MODE_DISABLE = 0, 418564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_SMILE_MODE_ENABLE = 1, 419564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 420564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 421564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_BLINK_MODE (V4L2_CID_FIMC_IS_BASE + 654) 422564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_blink_mode { 423564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_BLINK_MODE_DISABLE = 0, 424564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_BLINK_MODE_ENABLE = 1, 425564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 426564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 427564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_EYE_DETECT_MODE (V4L2_CID_FIMC_IS_BASE + 655) 428564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_eye_detect_mode { 429564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_EYE_DETECT_DISABLE = 0, 430564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_EYE_DETECT_ENABLE = 1, 431564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 432564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 433564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_MOUTH_DETECT_MODE (V4L2_CID_FIMC_IS_BASE + 656) 434564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_mouth_detect_mode { 435564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_MOUTH_DETECT_DISABLE = 0, 436564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_MOUTH_DETECT_ENABLE = 1, 437564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 438564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 439564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_ORIENTATION_MODE (V4L2_CID_FIMC_IS_BASE + 657) 440564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_orientation_mode { 441564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ORIENTATION_DISABLE = 0, 442564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_ORIENTATION_ENABLE = 1, 443564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 444564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 445564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_ORIENTATION (V4L2_CID_FIMC_IS_BASE + 658) 446564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FD_SET_DATA_ADDRESS (V4L2_CID_FIMC_IS_BASE + 659) 447564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 448564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_ISP (V4L2_CID_FIMC_IS_BASE + 440) 449564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_isp_bypass_mode { 450564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_BYPASS_DISABLE, 451564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_BYPASS_ENABLE, 452564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_BYPASS_MAX 453564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 454564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 455564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_DRC (V4L2_CID_FIMC_IS_BASE + 441) 456564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_drc_bypass_mode { 457564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_BYPASS_DISABLE, 458564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_BYPASS_ENABLE, 459564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_BYPASS_MAX 460564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 461564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 462564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_FD (V4L2_CID_FIMC_IS_BASE + 442) 463564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_bypass_mode { 464564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_BYPASS_DISABLE, 465564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_BYPASS_ENABLE, 466564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_BYPASS_MAX 467564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 468564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 469564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_ODC (V4L2_CID_FIMC_IS_BASE + 443) 470564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_odc_bypass_mode { 471564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ODC_BYPASS_DISABLE, 472564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ODC_BYPASS_ENABLE, 473564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ODC_BYPASS_MAX 474564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 475564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 476564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_DIS (V4L2_CID_FIMC_IS_BASE + 444) 477564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_dis_bypass_mode { 478564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DIS_BYPASS_DISABLE, 479564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DIS_BYPASS_ENABLE, 480564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DIS_BYPASS_MAX 481564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 482564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 483564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_3DNR (V4L2_CID_FIMC_IS_BASE + 445) 484564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_tdnr_bypass_mode { 485564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_BYPASS_DISABLE, 486564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_BYPASS_ENABLE, 487564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_BYPASS_MAX 488564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 489564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 490564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_SCALERC (V4L2_CID_FIMC_IS_BASE + 446) 491564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_scalerc_bypass_mode { 492564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERC_BYPASS_DISABLE, 493564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERC_BYPASS_ENABLE, 494564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERC_BYPASS_MAX 495564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 496564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 497564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_SCALERP (V4L2_CID_FIMC_IS_BASE + 446) 498564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_scalerp_bypass_mode { 499564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERP_BYPASS_DISABLE, 500564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERP_BYPASS_ENABLE, 501564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERP_BYPASS_MAX 502564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 503564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 504564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_ROTATION_MODE (V4L2_CID_FIMC_IS_BASE + 450) 505564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_rotation_mode { 506564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ROTATION_0, 507564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ROTATION_90, 508564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ROTATION_180, 509564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ROTATION_270, 510564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ROTATION_MAX 511564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 512564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 513564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_3DNR_1ST_FRAME_MODE (V4L2_CID_FIMC_IS_BASE + 451) 514564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_tdnr_1st_frame_mode { 515564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_1ST_FRAME_NOPROCESSING, 516564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_1ST_FRAME_2DNR, 517564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_MAX 518564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 519564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 520564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_OBJECT_POSITION_X (V4L2_CID_FIMC_IS_BASE + 452) 521564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_OBJECT_POSITION_Y (V4L2_CID_FIMC_IS_BASE + 453) 522564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_WINDOW_SIZE_X (V4L2_CID_FIMC_IS_BASE + 454) 523564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_WINDOW_SIZE_Y (V4L2_CID_FIMC_IS_BASE + 455) 524564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 525564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_EXIF_EXPTIME (V4L2_CID_FIMC_IS_BASE + 456) 526564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_EXIF_FLASH (V4L2_CID_FIMC_IS_BASE + 457) 527564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_EXIF_ISO (V4L2_CID_FIMC_IS_BASE + 458) 528564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_EXIF_SHUTTERSPEED (V4L2_CID_FIMC_IS_BASE + 459) 529564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_EXIF_BRIGHTNESS (V4L2_CID_FIMC_IS_BASE + 460) 530564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 531564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_ISP_SEL_INPUT (V4L2_CID_FIMC_IS_BASE + 461) 532564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_isp_sel_input { 533564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_INPUT_OTF, 534564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_INPUT_DMA1, 535564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_INPUT_DMA2, 536564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_INPUT_DMA12, 537564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_INPUT_MAX 538564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 539564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 540564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_ISP_SEL_OUTPUT (V4L2_CID_FIMC_IS_BASE + 462) 541564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_isp_sel_output { 542564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_OTF, 543564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_DMA1, 544564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_DMA2, 545564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_DMA12, 546564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_OTF_DMA1, 547564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_OTF_DMA2, 548564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_OTF_DMA12, 549564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_OUTPUT_MAX 550564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 551564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 552564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_DRC_SEL_INPUT (V4L2_CID_FIMC_IS_BASE + 463) 553564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_drc_sel_input { 554564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_INPUT_OTF, 555564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_INPUT_DMA, 556564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_INPUT_MAX 557564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 558564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 559564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_FD_SEL_INPUT (V4L2_CID_FIMC_IS_BASE + 464) 560564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_sel_input { 561564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_INPUT_OTF, 562564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_INPUT_DMA, 563564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_INPUT_MAX 564564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 565564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 566564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_INIT_WIDTH (V4L2_CID_FIMC_IS_BASE + 465) 567564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CAMERA_INIT_HEIGHT (V4L2_CID_FIMC_IS_BASE + 466) 568564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 569564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_ISP (V4L2_CID_FIMC_IS_BASE + 467) 570564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_isp_cmd_mode { 571564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_COMMAND_STOP, 572564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_COMMAND_START, 573564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ISP_COMMAND_MAX 574564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 575564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 576564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_DRC (V4L2_CID_FIMC_IS_BASE + 468) 577564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_drc_cmd_mode { 578564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_COMMAND_STOP, 579564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_COMMAND_START, 580564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DRC_COMMAND_MAX 581564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 582564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 583564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_FD (V4L2_CID_FIMC_IS_BASE + 469) 584564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_fd_cmd_mode { 585564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_COMMAND_STOP, 586564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_COMMAND_START, 587564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_FD_COMMAND_MAX 588564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 589564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 590564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_ODC (V4L2_CID_FIMC_IS_BASE + 470) 591564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_odc_cmd_mode { 592564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ODC_COMMAND_STOP, 593564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ODC_COMMAND_START, 594564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_ODC_COMMAND_MAX 595564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 596564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 597564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_DIS (V4L2_CID_FIMC_IS_BASE + 471) 598564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_dis_cmd_mode { 599564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DIS_COMMAND_STOP, 600564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DIS_COMMAND_START, 601564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_DIS_COMMAND_MAX 602564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 603564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 604564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_TDNR (V4L2_CID_FIMC_IS_BASE + 472) 605564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_tdnr_cmd_mode { 606564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_COMMAND_STOP, 607564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_COMMAND_START, 608564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_TDNR_COMMAND_MAX 609564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 610564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 611564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_SCALERC (V4L2_CID_FIMC_IS_BASE + 473) 612564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_scalerc_cmd_mode { 613564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERC_COMMAND_STOP, 614564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERC_COMMAND_START, 615564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERC_COMMAND_MAX 616564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 617564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 618564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CMD_SCALERP (V4L2_CID_FIMC_IS_BASE + 474) 619564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum is_scalerp_cmd_mode { 620564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERP_COMMAND_STOP, 621564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERP_COMMAND_START, 622564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IS_SCALERP_COMMAND_MAX 623564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 624564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 625564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_SENSOR_OFFSET_X (V4L2_CID_FIMC_IS_BASE + 480) 626564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_SENSOR_OFFSET_Y (V4L2_CID_FIMC_IS_BASE + 481) 627564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_SENSOR_WIDTH (V4L2_CID_FIMC_IS_BASE + 482) 628564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_SENSOR_HEIGHT (V4L2_CID_FIMC_IS_BASE + 483) 629564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 630564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_FRAME_VALID (V4L2_CID_FIMC_IS_BASE + 484) 631564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_FRAME_VALID (V4L2_CID_FIMC_IS_BASE + 485) 632564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_FRAME_BADMARK (V4L2_CID_FIMC_IS_BASE + 486) 633564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_FRAME_BADMARK (V4L2_CID_FIMC_IS_BASE + 487) 634564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_FRAME_CAPTURED (V4L2_CID_FIMC_IS_BASE + 488) 635564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_FRAME_CAPTURED (V4L2_CID_FIMC_IS_BASE + 489) 636564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_SET_FRAME_NUMBER (V4L2_CID_FIMC_IS_BASE + 490) 637564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_FRAME_NUMBER (V4L2_CID_FIMC_IS_BASE + 491) 638564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_CLEAR_FRAME_NUMBER (V4L2_CID_FIMC_IS_BASE + 492) 639564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_GET_LOSTED_FRAME_NUMBER (V4L2_CID_FIMC_IS_BASE + 493) 640564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_ISP_DMA_BUFFER_NUM (V4L2_CID_FIMC_IS_BASE + 494) 641564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_ISP_DMA_BUFFER_ADDRESS (V4L2_CID_FIMC_IS_BASE + 495) 642564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 643564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_ZOOM_STATE (V4L2_CID_FIMC_IS_BASE + 660) 644564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_ZOOM_MAX_LEVEL (V4L2_CID_FIMC_IS_BASE + 661) 645564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_ZOOM (V4L2_CID_FIMC_IS_BASE + 662) 646564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_FW_DEBUG_REGION_ADDR (V4L2_CID_FIMC_IS_BASE + 663) 647564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 648564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_TUNE_SEL_ENTRY (V4L2_CID_FIMC_IS_TUNE_BASE) 649564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_TUNE_SENSOR_EXPOSURE (V4L2_CID_FIMC_IS_TUNE_BASE + 1) 650564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_TUNE_SENSOR_ANALOG_GAIN (V4L2_CID_FIMC_IS_TUNE_BASE + 2) 651564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_TUNE_SENSOR_FRAME_RATE (V4L2_CID_FIMC_IS_TUNE_BASE + 3) 652564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_IS_TUNE_SENSOR_ACTUATOR_POS (V4L2_CID_FIMC_IS_TUNE_BASE + 4) 653564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 654564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_blur { 655564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BLUR_LEVEL_0 = 0, 656564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BLUR_LEVEL_1, 657564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BLUR_LEVEL_2, 658564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BLUR_LEVEL_3, 659564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BLUR_LEVEL_MAX, 660564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 661564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 662564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#if 1 663564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SCENE_MODE (V4L2_CID_PRIVATE_BASE+70) 664564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_scene_mode { 665564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_BASE, 666564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_NONE, 667564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_PORTRAIT, 668564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_NIGHTSHOT, 669564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_BACK_LIGHT, 670564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_LANDSCAPE, 671564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_SPORTS, 672564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_PARTY_INDOOR, 673564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_BEACH_SNOW, 674564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_SUNSET, 675564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_DUSK_DAWN, 676564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_FALL_COLOR, 677564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_FIREWORKS, 678564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_TEXT, 679564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_CANDLE_LIGHT, 680564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SCENE_MODE_MAX, 681564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 682564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 683564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_FLASH_MODE (V4L2_CID_PRIVATE_BASE+71) 684564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_flash_mode { 685564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FLASH_MODE_BASE, 686564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FLASH_MODE_OFF, 687564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FLASH_MODE_AUTO, 688564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FLASH_MODE_ON, 689564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FLASH_MODE_TORCH, 690564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FLASH_MODE_MAX, 691564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 692564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 693564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_BRIGHTNESS (V4L2_CID_PRIVATE_BASE+72) 694564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_ev_mode { 695564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_MINUS_4 = -4, 696564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_MINUS_3 = -3, 697564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_MINUS_2 = -2, 698564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_MINUS_1 = -1, 699564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_DEFAULT = 0, 700564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_PLUS_1 = 1, 701564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_PLUS_2 = 2, 702564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_PLUS_3 = 3, 703564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_PLUS_4 = 4, 704564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin EV_MAX, 705564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 706564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 707564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_WHITE_BALANCE (V4L2_CID_PRIVATE_BASE+73) 708564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_wb_mode { 709564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WHITE_BALANCE_BASE = 0, 710564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WHITE_BALANCE_AUTO, 711564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WHITE_BALANCE_SUNNY, 712564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WHITE_BALANCE_CLOUDY, 713564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WHITE_BALANCE_TUNGSTEN, 714564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WHITE_BALANCE_FLUORESCENT, 715564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WHITE_BALANCE_MAX, 716564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 717564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 718564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EFFECT (V4L2_CID_PRIVATE_BASE+74) 719564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_effect_mode { 720564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_BASE = 0, 721564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_NONE, 722564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_BNW, 723564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_SEPIA, 724564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_AQUA, 725564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_ANTIQUE, 726564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_NEGATIVE, 727564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_SHARPEN, 728564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin IMAGE_EFFECT_MAX, 729564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 730564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 731564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_ISO (V4L2_CID_PRIVATE_BASE+75) 732564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_iso_mode { 733564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_AUTO = 0, 734564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_50, 735564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_100, 736564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_200, 737564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_400, 738564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_800, 739564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_1600, 740564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_SPORTS, 741564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_NIGHT, 742564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_MOVIE, 743564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ISO_MAX, 744564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 745564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 746564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_METERING (V4L2_CID_PRIVATE_BASE+76) 747564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_metering_mode { 748564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin METERING_BASE = 0, 749564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin METERING_MATRIX, 750564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin METERING_CENTER, 751564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin METERING_SPOT, 752564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin METERING_MAX, 753564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 754564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 755564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_CONTRAST (V4L2_CID_PRIVATE_BASE+77) 756564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_contrast_mode { 757564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CONTRAST_MINUS_2 = 0, 758564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CONTRAST_MINUS_1, 759564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CONTRAST_DEFAULT, 760564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CONTRAST_PLUS_1, 761564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CONTRAST_PLUS_2, 762564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CONTRAST_MAX, 763564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 764564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 765564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SATURATION (V4L2_CID_PRIVATE_BASE+78) 766564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_saturation_mode { 767564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SATURATION_MINUS_2 = 0, 768564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SATURATION_MINUS_1, 769564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SATURATION_DEFAULT, 770564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SATURATION_PLUS_1, 771564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SATURATION_PLUS_2, 772564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SATURATION_MAX, 773564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 774564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 775564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SHARPNESS (V4L2_CID_PRIVATE_BASE+79) 776564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_sharpness_mode { 777564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SHARPNESS_MINUS_2 = 0, 778564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SHARPNESS_MINUS_1, 779564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SHARPNESS_DEFAULT, 780564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SHARPNESS_PLUS_1, 781564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SHARPNESS_PLUS_2, 782564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SHARPNESS_MAX, 783564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 784564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 785564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_WDR (V4L2_CID_PRIVATE_BASE+80) 786564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_wdr_mode { 787564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WDR_OFF, 788564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WDR_ON, 789564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin WDR_MAX, 790564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 791564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 792564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_ANTI_SHAKE (V4L2_CID_PRIVATE_BASE+81) 793564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_anti_shake_mode { 794564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_SHAKE_OFF, 795564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_SHAKE_STILL_ON, 796564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_SHAKE_MOVIE_ON, 797564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_SHAKE_MAX, 798564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 799564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 800564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_TOUCH_AF_START_STOP (V4L2_CID_PRIVATE_BASE+82) 801564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_touch_af { 802564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin TOUCH_AF_STOP = 0, 803564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin TOUCH_AF_START, 804564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin TOUCH_AF_MAX, 805564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 806564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 807564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SMART_AUTO (V4L2_CID_PRIVATE_BASE+83) 808564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_smart_auto { 809564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_OFF = 0, 810564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_ON, 811564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_MAX, 812564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 813564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 814564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_VINTAGE_MODE (V4L2_CID_PRIVATE_BASE+84) 815564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_vintage_mode { 816564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin VINTAGE_MODE_BASE, 817564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin VINTAGE_MODE_OFF, 818564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin VINTAGE_MODE_NORMAL, 819564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin VINTAGE_MODE_WARM, 820564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin VINTAGE_MODE_COOL, 821564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin VINTAGE_MODE_BNW, 822564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin VINTAGE_MODE_MAX, 823564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 824564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 825564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_JPEG_QUALITY (V4L2_CID_PRIVATE_BASE+85) 826564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* (V4L2_CID_PRIVATE_BASE+86) */ 827564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_GPS_LATITUDE (V4L2_CID_CAMERA_CLASS_BASE+30) 828564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* (V4L2_CID_PRIVATE_BASE+87) */ 829564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_GPS_LONGITUDE (V4L2_CID_CAMERA_CLASS_BASE + 31) 830564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* (V4L2_CID_PRIVATE_BASE+88) */ 831564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_GPS_TIMESTAMP (V4L2_CID_CAMERA_CLASS_BASE + 32) 832564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* (V4L2_CID_PRIVATE_BASE+89)*/ 833564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_GPS_ALTITUDE (V4L2_CID_CAMERA_CLASS_BASE + 33) 834564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_TIME_INFO (V4L2_CID_CAMERA_CLASS_BASE + 34) 835564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_GPS_PROCESSINGMETHOD (V4L2_CID_CAMERA_CLASS_BASE+35) 836564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 837564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FOCUS_AUTO_MODE (V4L2_CID_CAMERA_CLASS_BASE+36) 838564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_focus_mode_type { 839564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_AUTO_NORMAL = 0, 840564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_AUTO_MACRO, 841564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_AUTO_CONTINUOUS, 842564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_AUTO_FACE_DETECTION, 843564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_AUTO_RECTANGLE, 844564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_FOCUS_AUTO_MAX, 845564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 846564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FOCUS_AUTO_RECTANGLE_LEFT (V4L2_CID_CAMERA_CLASS_BASE+37) 847564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FOCUS_AUTO_RECTANGLE_TOP (V4L2_CID_CAMERA_CLASS_BASE+38) 848564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FOCUS_AUTO_RECTANGLE_WIDTH (V4L2_CID_CAMERA_CLASS_BASE+39) 849564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_FOCUS_AUTO_RECTANGLE_HEIGHT (V4L2_CID_CAMERA_CLASS_BASE+40) 850564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 851564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_ZOOM (V4L2_CID_PRIVATE_BASE+90) 852564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_zoom_level { 853564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_0 = 0, 854564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_1, 855564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_2, 856564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_3, 857564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_4, 858564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_5, 859564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_6, 860564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_7, 861564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_8, 862564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_9, 863564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_10, 864564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_11, 865564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_12, 866564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ZOOM_LEVEL_MAX = 31, 867564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 868564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 869564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_FACE_DETECTION (V4L2_CID_PRIVATE_BASE+91) 870564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_face_detection { 871564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_DETECTION_OFF = 0, 872564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_DETECTION_ON, 873564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_DETECTION_NOLINE, 874564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_DETECTION_ON_BEAUTY, 875564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_DETECTION_MAX, 876564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 877564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 878564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SMART_AUTO_STATUS (V4L2_CID_PRIVATE_BASE+92) 879564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_smart_auto_status { 880564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_AUTO = 0, 881564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_LANDSCAPE, 882564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_PORTRAIT, 883564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_MACRO, 884564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_NIGHT, 885564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_PORTRAIT_NIGHT, 886564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_BACKLIT, 887564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_PORTRAIT_BACKLIT, 888564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_ANTISHAKE, 889564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_PORTRAIT_ANTISHAKE, 890564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SMART_AUTO_STATUS_MAX, 891564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 892564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 893564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SET_AUTO_FOCUS (V4L2_CID_PRIVATE_BASE+93) 894564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_auto_focus { 895564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AUTO_FOCUS_OFF = 0, 896564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AUTO_FOCUS_ON, 897564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AUTO_FOCUS_MAX, 898564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 899564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 900564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_BEAUTY_SHOT (V4L2_CID_PRIVATE_BASE+94) 901564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_beauty_shot { 902564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BEAUTY_SHOT_OFF = 0, 903564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BEAUTY_SHOT_ON, 904564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin BEAUTY_SHOT_MAX, 905564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 906564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 907564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_AEAWB_LOCK_UNLOCK (V4L2_CID_PRIVATE_BASE+95) 908564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_ae_awb_lockunlock { 909564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AE_UNLOCK_AWB_UNLOCK = 0, 910564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AE_LOCK_AWB_UNLOCK, 911564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AE_UNLOCK_AWB_LOCK, 912564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AE_LOCK_AWB_LOCK, 913564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin AE_AWB_MAX 914564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 915564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 916564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_FACEDETECT_LOCKUNLOCK (V4L2_CID_PRIVATE_BASE+96) 917564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_face_lock { 918564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_LOCK_OFF = 0, 919564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_LOCK_ON, 920564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FIRST_FACE_TRACKING, 921564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FACE_LOCK_MAX, 922564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 923564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 924564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_OBJECT_POSITION_X (V4L2_CID_PRIVATE_BASE+97) 925564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_OBJECT_POSITION_Y (V4L2_CID_PRIVATE_BASE+98) 926564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_FOCUS_MODE (V4L2_CID_PRIVATE_BASE+99) 927564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_focusmode { 928564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_AUTO = 0, 929564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_MACRO, 930564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_FACEDETECT, 931564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_AUTO_DEFAULT, 932564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_MACRO_DEFAULT, 933564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_FACEDETECT_DEFAULT, 934564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_INFINITY, 935564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_FIXED, 93648bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin FOCUS_MODE_CONTINUOUS, 93748bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin FOCUS_MODE_CONTINUOUS_PICTURE, 93848bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin FOCUS_MODE_CONTINUOUS_PICTURE_MACRO, 93948bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin FOCUS_MODE_CONTINUOUS_VIDEO, 940564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_TOUCH, 941564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_MAX, 942564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FOCUS_MODE_DEFAULT = (1 << 8), 943564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 944564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 945564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_OBJ_TRACKING_STATUS (V4L2_CID_PRIVATE_BASE+100) 946564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_obj_tracking_status { 947564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OBJECT_TRACKING_STATUS_BASE, 948564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OBJECT_TRACKING_STATUS_PROGRESSING, 949564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OBJECT_TRACKING_STATUS_SUCCESS, 950564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OBJECT_TRACKING_STATUS_FAIL, 951564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OBJECT_TRACKING_STATUS_MISSING, 952564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OBJECT_TRACKING_STATUS_MAX, 953564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 954564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 955564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_OBJ_TRACKING_START_STOP (V4L2_CID_PRIVATE_BASE+101) 956564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_ot_start_stop { 957564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OT_STOP = 0, 958564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OT_START, 959564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin OT_MAX, 960564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 961564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 962564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_CAF_START_STOP (V4L2_CID_PRIVATE_BASE+102) 963564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_caf_start_stop { 964564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAF_STOP = 0, 965564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAF_START, 966564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAF_MAX, 967564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 968564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 969564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_AUTO_FOCUS_RESULT (V4L2_CID_PRIVATE_BASE+103) 970564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_af_status { 971564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_AF_STATUS_IN_PROGRESS = 0, 972564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_AF_STATUS_SUCCESS, 973564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_AF_STATUS_FAIL, 974564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_AF_STATUS_1ST_SUCCESS, 975564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_AF_STATUS_MAX, 976564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 977564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_FRAME_RATE (V4L2_CID_PRIVATE_BASE+104) 978564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_frame_rate { 979564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_AUTO = 0, 980564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_7 = 7, 981564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_15 = 15, 982564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_20 = 20, 983564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_30 = 30, 984564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_60 = 60, 985564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_120 = 120, 986564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin FRAME_RATE_MAX 987564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 988564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 989564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_ANTI_BANDING (V4L2_CID_PRIVATE_BASE+105) 990564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_anti_banding{ 991564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_BANDING_AUTO = 0, 992564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_BANDING_50HZ = 1, 993564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_BANDING_60HZ = 2, 994564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin ANTI_BANDING_OFF = 3, 995564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 996564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 997564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SET_GAMMA (V4L2_CID_PRIVATE_BASE+106) 998564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_gamma_mode{ 999564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin GAMMA_OFF = 0, 1000564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin GAMMA_ON = 1, 1001564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin GAMMA_MAX, 1002564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1003564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1004564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SET_SLOW_AE (V4L2_CID_PRIVATE_BASE+107) 1005564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_slow_ae_mode{ 1006564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SLOW_AE_OFF, 1007564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SLOW_AE_ON, 1008564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SLOW_AE_MAX, 1009564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1010564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1011564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_BATCH_REFLECTION (V4L2_CID_PRIVATE_BASE+108) 1012564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_ORIENTATION (V4L2_CID_PRIVATE_BASE+109) 1013564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1014564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* s1_camera [ Defense process by ESD input ] */ 1015564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_RESET (V4L2_CID_PRIVATE_BASE+111) 1016564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_CHECK_DATALINE (V4L2_CID_PRIVATE_BASE+112) 1017564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_CHECK_DATALINE_STOP (V4L2_CID_PRIVATE_BASE+113) 1018564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1019564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#endif 1020564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1021564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Modify NTTS1 */ 1022564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#if defined(CONFIG_ARIES_NTT) 1023564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_AE_AWB_DISABLE_LOCK (V4L2_CID_PRIVATE_BASE+114) 1024564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#endif 1025564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_THUMBNAIL_NULL (V4L2_CID_PRIVATE_BASE+115) 1026564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SENSOR_MODE (V4L2_CID_PRIVATE_BASE+116) 1027564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_sensor_mode { 1028564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SENSOR_CAMERA, 1029564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin SENSOR_MOVIE, 1030564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1031564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1032564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shintypedef enum { 1033564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin STREAM_MODE_CAM_OFF, 1034564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin STREAM_MODE_CAM_ON, 1035564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin STREAM_MODE_MOVIE_OFF, 1036564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin STREAM_MODE_MOVIE_ON, 1037564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin} stream_mode_t; 1038564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1039564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_EXPTIME (V4L2_CID_PRIVATE_BASE+117) 1040564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_FLASH (V4L2_CID_PRIVATE_BASE+118) 1041564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_ISO (V4L2_CID_PRIVATE_BASE+119) 1042564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_TV (V4L2_CID_PRIVATE_BASE+120) 1043564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_BV (V4L2_CID_PRIVATE_BASE+121) 1044564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_EXIF_EBV (V4L2_CID_PRIVATE_BASE+122) 1045564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_CHECK_ESD (V4L2_CID_PRIVATE_BASE+123) 1046564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_APP_CHECK (V4L2_CID_PRIVATE_BASE+124) 1047564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_BUSFREQ_LOCK (V4L2_CID_PRIVATE_BASE+125) 1048564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_BUSFREQ_UNLOCK (V4L2_CID_PRIVATE_BASE+126) 1049564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 105048bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin#define V4L2_CID_CAMERA_FACE_ZOOM (V4L2_CID_PRIVATE_BASE + 132) 105148bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shinenum v4l2_face_zoom { 105248bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin FACE_ZOOM_STOP = 0, 105348bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin FACE_ZOOM_START 105448bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin}; 105548bac8e5ed7f9f782d18774414cdc706f9e5b56aJiyoung Shin 1056564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* control for post processing block in ISP */ 1057564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SET_ODC (V4L2_CID_PRIVATE_BASE+127) 1058564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum set_odc_mode { 1059564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_ODC_ON, 1060564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_ODC_OFF 1061564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1062564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1063564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SET_DIS (V4L2_CID_PRIVATE_BASE+128) 1064564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum set_dis_mode { 1065564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_DIS_ON, 1066564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_DIS_OFF 1067564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1068564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1069564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_SET_3DNR (V4L2_CID_PRIVATE_BASE+129) 1070564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum set_3dnr_mode { 1071564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_3DNR_ON, 1072564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin CAMERA_3DNR_OFF 1073564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1074564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1075564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_EMBEDDEDDATA_ENABLE (V4L2_CID_PRIVATE_BASE+130) 1076564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1077564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_CHECK_SENSOR_STATUS (V4L2_CID_PRIVATE_BASE+150) 1078564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_CID_CAMERA_DEFAULT_FOCUS_POSITION (V4L2_CID_PRIVATE_BASE+151) 1079564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1080564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Pixel format FOURCC depth Description */ 1081564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_pix_format_mode { 1082564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PIX_FMT_MODE_PREVIEW, 1083564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PIX_FMT_MODE_CAPTURE, 1084564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PIX_FMT_MODE_HDR, 1085564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PIX_FMT_MODE_VT_MIRROR, 1086564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_PIX_FMT_MODE_VT_NONMIRROR, 1087564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1088564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1089564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* 12 Y/CbCr 4:2:0 64x32 macroblocks */ 1090564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_PIX_FMT_NV12T v4l2_fourcc('T', 'V', '1', '2') 1091564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_PIX_FMT_NV21T v4l2_fourcc('T', 'V', '2', '1') 1092564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_PIX_FMT_INTERLEAVED v4l2_fourcc('I', 'T', 'L', 'V') 1093564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1094564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* 1095564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * * V4L2 extention for digital camera 1096564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin * */ 1097564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Strobe flash light */ 1098564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_strobe_control { 1099564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* turn off the flash light */ 1100564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_CONTROL_OFF = 0, 1101564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* turn on the flash light */ 1102564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_CONTROL_ON = 1, 1103564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* act guide light before splash */ 1104564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_CONTROL_AFGUIDE = 2, 1105564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* charge the flash light */ 1106564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_CONTROL_CHARGE = 3, 1107564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1108564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1109564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_strobe_conf { 1110564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_OFF = 0, /* Always off */ 1111564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_ON = 1, /* Always splashes */ 1112564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* Auto control presets */ 1113564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_AUTO = 2, 1114564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_REDEYE_REDUCTION = 3, 1115564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_SLOW_SYNC = 4, 1116564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_FRONT_CURTAIN = 5, 1117564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_REAR_CURTAIN = 6, 1118564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* Extra manual control presets */ 1119564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* keep turned on until turning off */ 1120564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_PERMANENT = 7, 1121564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_EXTERNAL = 8, 1122564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1123564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1124564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_strobe_status { 1125564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_STATUS_OFF = 0, 1126564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* while processing configurations */ 1127564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_STATUS_BUSY = 1, 1128564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_STATUS_ERR = 2, 1129564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_STATUS_CHARGING = 3, 1130564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_STROBE_STATUS_CHARGED = 4, 1131564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1132564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1133564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* capabilities field */ 1134564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* No strobe supported */ 1135564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_NONE 0x0000 1136564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Always flash off mode */ 1137564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_OFF 0x0001 1138564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Always use flash light mode */ 1139564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_ON 0x0002 1140564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Flashlight works automatic */ 1141564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_AUTO 0x0004 1142564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Red-eye reduction */ 1143564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_REDEYE 0x0008 1144564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Slow sync */ 1145564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_SLOWSYNC 0x0010 1146564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Front curtain */ 1147564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_FRONT_CURTAIN 0x0020 1148564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Rear curtain */ 1149564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_REAR_CURTAIN 0x0040 1150564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* keep turned on until turning off */ 1151564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_PERMANENT 0x0080 1152564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* use external strobe */ 1153564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define V4L2_STROBE_CAP_EXTERNAL 0x0100 1154564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1155564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Set mode and Get status */ 1156564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinstruct v4l2_strobe { 1157564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* off/on/charge:0/1/2 */ 1158564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin enum v4l2_strobe_control control; 1159564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* supported strobe capabilities */ 1160564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u32 capabilities; 1161564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin enum v4l2_strobe_conf mode; 1162564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin enum v4l2_strobe_status status; /* read only */ 1163564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* default is 0 and range of value varies from each models */ 1164564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u32 flash_ev; 1165564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u32 reserved[4]; 1166564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1167564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1168564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define VIDIOC_S_STROBE _IOWR('V', 83, struct v4l2_strobe) 1169564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define VIDIOC_G_STROBE _IOR('V', 84, struct v4l2_strobe) 1170564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1171564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin/* Object recognition and collateral actions */ 1172564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_recog_mode { 1173564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOGNITION_MODE_OFF = 0, 1174564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOGNITION_MODE_ON = 1, 1175564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOGNITION_MODE_LOCK = 2, 1176564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1177564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1178564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_recog_action { 1179564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOGNITION_ACTION_NONE = 0, /* only recognition */ 1180564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOGNITION_ACTION_BLINK = 1, /* Capture on blinking */ 1181564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOGNITION_ACTION_SMILE = 2, /* Capture on smiling */ 1182564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1183564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1184564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinenum v4l2_recog_pattern { 1185564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOG_PATTERN_FACE = 0, /* Face */ 1186564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOG_PATTERN_HUMAN = 1, /* Human */ 1187564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin V4L2_RECOG_PATTERN_CHAR = 2, /* Character */ 1188564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1189564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1190564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinstruct v4l2_recog_rect { 1191564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin enum v4l2_recog_pattern p; /* detected pattern */ 1192564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin struct v4l2_rect o; /* detected area */ 1193564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u32 reserved[4]; 1194564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1195564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1196564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinstruct v4l2_recog_data { 1197564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u8 detect_cnt; /* detected object counter */ 1198564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin struct v4l2_rect o; /* detected area */ 1199564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u32 reserved[4]; 1200564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1201564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1202564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shinstruct v4l2_recognition { 1203564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin enum v4l2_recog_mode mode; 1204564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1205564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* Which pattern to detect */ 1206564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin enum v4l2_recog_pattern pattern; 1207564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1208564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* How many object to detect */ 1209564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u8 obj_num; 1210564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1211564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* select detected object */ 1212564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u32 detect_idx; 1213564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1214564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin /* read only :Get object coordination */ 1215564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin struct v4l2_recog_data data; 1216564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1217564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin enum v4l2_recog_action action; 1218564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin __u32 reserved[4]; 1219564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin}; 1220564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1221564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define VIDIOC_S_RECOGNITION _IOWR('V', 85, struct v4l2_recognition) 1222564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#define VIDIOC_G_RECOGNITION _IOR('V', 86, struct v4l2_recognition) 1223564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin 1224564463a90717018a0094466d704b75bccf8d6b1dJiyoung Shin#endif /* __LINUX_VIDEODEV2_EXYNOS_CAMERA_H */ 1225