Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
omap3isp.h File Reference
#include <linux/types.h>
#include <linux/videodev2.h>

Go to the source code of this file.

Data Structures

struct  omap3isp_stat_event_status
 
struct  omap3isp_h3a_aewb_config
 
struct  omap3isp_stat_data
 
struct  omap3isp_hist_region
 
struct  omap3isp_hist_config
 
struct  omap3isp_h3a_af_hmf
 
struct  omap3isp_h3a_af_iir
 
struct  omap3isp_h3a_af_paxel
 
struct  omap3isp_h3a_af_config
 
struct  omap3isp_ccdc_lsc_config
 
struct  omap3isp_ccdc_bclamp
 
struct  omap3isp_ccdc_fpc
 
struct  omap3isp_ccdc_blcomp
 
struct  omap3isp_ccdc_culling
 
struct  omap3isp_ccdc_update_config
 
struct  omap3isp_prev_hmed
 
struct  omap3isp_prev_cfa
 
struct  omap3isp_prev_csup
 
struct  omap3isp_prev_wbal
 
struct  omap3isp_prev_blkadj
 
struct  omap3isp_prev_rgbtorgb
 
struct  omap3isp_prev_csc
 
struct  omap3isp_prev_yclimit
 
struct  omap3isp_prev_dcor
 
struct  omap3isp_prev_nf
 
struct  omap3isp_prev_gtables
 
struct  omap3isp_prev_luma
 
struct  omap3isp_prev_update_config
 

Macros

#define VIDIOC_OMAP3ISP_CCDC_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct omap3isp_ccdc_update_config)
 
#define VIDIOC_OMAP3ISP_PRV_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 2, struct omap3isp_prev_update_config)
 
#define VIDIOC_OMAP3ISP_AEWB_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 3, struct omap3isp_h3a_aewb_config)
 
#define VIDIOC_OMAP3ISP_HIST_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 4, struct omap3isp_hist_config)
 
#define VIDIOC_OMAP3ISP_AF_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 5, struct omap3isp_h3a_af_config)
 
#define VIDIOC_OMAP3ISP_STAT_REQ   _IOWR('V', BASE_VIDIOC_PRIVATE + 6, struct omap3isp_stat_data)
 
#define VIDIOC_OMAP3ISP_STAT_EN   _IOWR('V', BASE_VIDIOC_PRIVATE + 7, unsigned long)
 
#define V4L2_EVENT_OMAP3ISP_CLASS   (V4L2_EVENT_PRIVATE_START | 0x100)
 
#define V4L2_EVENT_OMAP3ISP_AEWB   (V4L2_EVENT_OMAP3ISP_CLASS | 0x1)
 
#define V4L2_EVENT_OMAP3ISP_AF   (V4L2_EVENT_OMAP3ISP_CLASS | 0x2)
 
#define V4L2_EVENT_OMAP3ISP_HIST   (V4L2_EVENT_OMAP3ISP_CLASS | 0x3)
 
#define OMAP3ISP_AEWB_MAX_SATURATION_LIM   1023
 
#define OMAP3ISP_AEWB_MIN_WIN_H   2
 
#define OMAP3ISP_AEWB_MAX_WIN_H   256
 
#define OMAP3ISP_AEWB_MIN_WIN_W   6
 
#define OMAP3ISP_AEWB_MAX_WIN_W   256
 
#define OMAP3ISP_AEWB_MIN_WINVC   1
 
#define OMAP3ISP_AEWB_MIN_WINHC   1
 
#define OMAP3ISP_AEWB_MAX_WINVC   128
 
#define OMAP3ISP_AEWB_MAX_WINHC   36
 
#define OMAP3ISP_AEWB_MAX_WINSTART   4095
 
#define OMAP3ISP_AEWB_MIN_SUB_INC   2
 
#define OMAP3ISP_AEWB_MAX_SUB_INC   32
 
#define OMAP3ISP_AEWB_MAX_BUF_SIZE   83600
 
#define OMAP3ISP_AF_IIRSH_MIN   0
 
#define OMAP3ISP_AF_IIRSH_MAX   4095
 
#define OMAP3ISP_AF_PAXEL_HORIZONTAL_COUNT_MIN   1
 
#define OMAP3ISP_AF_PAXEL_HORIZONTAL_COUNT_MAX   36
 
#define OMAP3ISP_AF_PAXEL_VERTICAL_COUNT_MIN   1
 
#define OMAP3ISP_AF_PAXEL_VERTICAL_COUNT_MAX   128
 
#define OMAP3ISP_AF_PAXEL_INCREMENT_MIN   2
 
#define OMAP3ISP_AF_PAXEL_INCREMENT_MAX   32
 
#define OMAP3ISP_AF_PAXEL_HEIGHT_MIN   2
 
#define OMAP3ISP_AF_PAXEL_HEIGHT_MAX   256
 
#define OMAP3ISP_AF_PAXEL_WIDTH_MIN   16
 
#define OMAP3ISP_AF_PAXEL_WIDTH_MAX   256
 
#define OMAP3ISP_AF_PAXEL_HZSTART_MIN   1
 
#define OMAP3ISP_AF_PAXEL_HZSTART_MAX   4095
 
#define OMAP3ISP_AF_PAXEL_VTSTART_MIN   0
 
#define OMAP3ISP_AF_PAXEL_VTSTART_MAX   4095
 
#define OMAP3ISP_AF_THRESHOLD_MAX   255
 
#define OMAP3ISP_AF_COEF_MAX   4095
 
#define OMAP3ISP_AF_PAXEL_SIZE   48
 
#define OMAP3ISP_AF_MAX_BUF_SIZE   221184
 
#define OMAP3ISP_HIST_BINS_32   0
 
#define OMAP3ISP_HIST_BINS_64   1
 
#define OMAP3ISP_HIST_BINS_128   2
 
#define OMAP3ISP_HIST_BINS_256   3
 
#define OMAP3ISP_HIST_MEM_SIZE_BINS(n)   ((1 << ((n)+5))*4*4)
 
#define OMAP3ISP_HIST_MEM_SIZE   1024
 
#define OMAP3ISP_HIST_MIN_REGIONS   1
 
#define OMAP3ISP_HIST_MAX_REGIONS   4
 
#define OMAP3ISP_HIST_MAX_WB_GAIN   255
 
#define OMAP3ISP_HIST_MIN_WB_GAIN   0
 
#define OMAP3ISP_HIST_MAX_BIT_WIDTH   14
 
#define OMAP3ISP_HIST_MIN_BIT_WIDTH   8
 
#define OMAP3ISP_HIST_MAX_WG   4
 
#define OMAP3ISP_HIST_MAX_BUF_SIZE   4096
 
#define OMAP3ISP_HIST_SOURCE_CCDC   0
 
#define OMAP3ISP_HIST_SOURCE_MEM   1
 
#define OMAP3ISP_HIST_CFA_BAYER   0
 
#define OMAP3ISP_HIST_CFA_FOVEONX3   1
 
#define OMAP3ISP_AF_NUM_COEF   11
 
#define OMAP3ISP_CCDC_ALAW   (1 << 0)
 
#define OMAP3ISP_CCDC_LPF   (1 << 1)
 
#define OMAP3ISP_CCDC_BLCLAMP   (1 << 2)
 
#define OMAP3ISP_CCDC_BCOMP   (1 << 3)
 
#define OMAP3ISP_CCDC_FPC   (1 << 4)
 
#define OMAP3ISP_CCDC_CULL   (1 << 5)
 
#define OMAP3ISP_CCDC_CONFIG_LSC   (1 << 7)
 
#define OMAP3ISP_CCDC_TBL_LSC   (1 << 8)
 
#define OMAP3ISP_RGB_MAX   3
 
#define OMAP3ISP_PREV_LUMAENH   (1 << 0)
 
#define OMAP3ISP_PREV_INVALAW   (1 << 1)
 
#define OMAP3ISP_PREV_HRZ_MED   (1 << 2)
 
#define OMAP3ISP_PREV_CFA   (1 << 3)
 
#define OMAP3ISP_PREV_CHROMA_SUPP   (1 << 4)
 
#define OMAP3ISP_PREV_WB   (1 << 5)
 
#define OMAP3ISP_PREV_BLKADJ   (1 << 6)
 
#define OMAP3ISP_PREV_RGB2RGB   (1 << 7)
 
#define OMAP3ISP_PREV_COLOR_CONV   (1 << 8)
 
#define OMAP3ISP_PREV_YC_LIMIT   (1 << 9)
 
#define OMAP3ISP_PREV_DEFECT_COR   (1 << 10)
 
#define OMAP3ISP_PREV_DRK_FRM_CAPTURE   (1 << 12)
 
#define OMAP3ISP_PREV_DRK_FRM_SUBTRACT   (1 << 13)
 
#define OMAP3ISP_PREV_LENS_SHADING   (1 << 14)
 
#define OMAP3ISP_PREV_NF   (1 << 15)
 
#define OMAP3ISP_PREV_GAMMA   (1 << 16)
 
#define OMAP3ISP_PREV_NF_TBL_SIZE   64
 
#define OMAP3ISP_PREV_CFA_TBL_SIZE   576
 
#define OMAP3ISP_PREV_CFA_BLK_SIZE   (OMAP3ISP_PREV_CFA_TBL_SIZE / 4)
 
#define OMAP3ISP_PREV_GAMMA_TBL_SIZE   1024
 
#define OMAP3ISP_PREV_YENH_TBL_SIZE   128
 
#define OMAP3ISP_PREV_DETECT_CORRECT_CHANNELS   4
 

Enumerations

enum  omap3isp_h3a_af_fvmode { OMAP3ISP_AF_MODE_SUMMED = 0, OMAP3ISP_AF_MODE_PEAK = 1 }
 
enum  omap3isp_h3a_af_rgbpos {
  OMAP3ISP_AF_GR_GB_BAYER = 0, OMAP3ISP_AF_RG_GB_BAYER = 1, OMAP3ISP_AF_GR_BG_BAYER = 2, OMAP3ISP_AF_RG_BG_BAYER = 3,
  OMAP3ISP_AF_GG_RB_CUSTOM = 4, OMAP3ISP_AF_RB_GG_CUSTOM = 5
}
 
enum  omap3isp_alaw_ipwidth { OMAP3ISP_ALAW_BIT12_3 = 0x3, OMAP3ISP_ALAW_BIT11_2 = 0x4, OMAP3ISP_ALAW_BIT10_1 = 0x5, OMAP3ISP_ALAW_BIT9_0 = 0x6 }
 
enum  omap3isp_cfa_fmt {
  OMAP3ISP_CFAFMT_BAYER, OMAP3ISP_CFAFMT_SONYVGA, OMAP3ISP_CFAFMT_RGBFOVEON, OMAP3ISP_CFAFMT_DNSPL,
  OMAP3ISP_CFAFMT_HONEYCOMB, OMAP3ISP_CFAFMT_RRGGBBFOVEON
}
 

Macro Definition Documentation

#define OMAP3ISP_AEWB_MAX_BUF_SIZE   83600

Definition at line 94 of file omap3isp.h.

#define OMAP3ISP_AEWB_MAX_SATURATION_LIM   1023

Definition at line 82 of file omap3isp.h.

#define OMAP3ISP_AEWB_MAX_SUB_INC   32

Definition at line 93 of file omap3isp.h.

#define OMAP3ISP_AEWB_MAX_WIN_H   256

Definition at line 84 of file omap3isp.h.

#define OMAP3ISP_AEWB_MAX_WIN_W   256

Definition at line 86 of file omap3isp.h.

#define OMAP3ISP_AEWB_MAX_WINHC   36

Definition at line 90 of file omap3isp.h.

#define OMAP3ISP_AEWB_MAX_WINSTART   4095

Definition at line 91 of file omap3isp.h.

#define OMAP3ISP_AEWB_MAX_WINVC   128

Definition at line 89 of file omap3isp.h.

#define OMAP3ISP_AEWB_MIN_SUB_INC   2

Definition at line 92 of file omap3isp.h.

#define OMAP3ISP_AEWB_MIN_WIN_H   2

Definition at line 83 of file omap3isp.h.

#define OMAP3ISP_AEWB_MIN_WIN_W   6

Definition at line 85 of file omap3isp.h.

#define OMAP3ISP_AEWB_MIN_WINHC   1

Definition at line 88 of file omap3isp.h.

#define OMAP3ISP_AEWB_MIN_WINVC   1

Definition at line 87 of file omap3isp.h.

#define OMAP3ISP_AF_COEF_MAX   4095

Definition at line 113 of file omap3isp.h.

#define OMAP3ISP_AF_IIRSH_MAX   4095

Definition at line 97 of file omap3isp.h.

#define OMAP3ISP_AF_IIRSH_MIN   0

Definition at line 96 of file omap3isp.h.

#define OMAP3ISP_AF_MAX_BUF_SIZE   221184

Definition at line 115 of file omap3isp.h.

#define OMAP3ISP_AF_NUM_COEF   11

Definition at line 232 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_HEIGHT_MAX   256

Definition at line 105 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_HEIGHT_MIN   2

Definition at line 104 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_HORIZONTAL_COUNT_MAX   36

Definition at line 99 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_HORIZONTAL_COUNT_MIN   1

Definition at line 98 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_HZSTART_MAX   4095

Definition at line 109 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_HZSTART_MIN   1

Definition at line 108 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_INCREMENT_MAX   32

Definition at line 103 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_INCREMENT_MIN   2

Definition at line 102 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_SIZE   48

Definition at line 114 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_VERTICAL_COUNT_MAX   128

Definition at line 101 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_VERTICAL_COUNT_MIN   1

Definition at line 100 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_VTSTART_MAX   4095

Definition at line 111 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_VTSTART_MIN   0

Definition at line 110 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_WIDTH_MAX   256

Definition at line 107 of file omap3isp.h.

#define OMAP3ISP_AF_PAXEL_WIDTH_MIN   16

Definition at line 106 of file omap3isp.h.

#define OMAP3ISP_AF_THRESHOLD_MAX   255

Definition at line 112 of file omap3isp.h.

#define OMAP3ISP_CCDC_ALAW   (1 << 0)

Definition at line 294 of file omap3isp.h.

#define OMAP3ISP_CCDC_BCOMP   (1 << 3)

Definition at line 297 of file omap3isp.h.

#define OMAP3ISP_CCDC_BLCLAMP   (1 << 2)

Definition at line 296 of file omap3isp.h.

#define OMAP3ISP_CCDC_CONFIG_LSC   (1 << 7)

Definition at line 300 of file omap3isp.h.

#define OMAP3ISP_CCDC_CULL   (1 << 5)

Definition at line 299 of file omap3isp.h.

#define OMAP3ISP_CCDC_FPC   (1 << 4)

Definition at line 298 of file omap3isp.h.

#define OMAP3ISP_CCDC_LPF   (1 << 1)

Definition at line 295 of file omap3isp.h.

#define OMAP3ISP_CCDC_TBL_LSC   (1 << 8)

Definition at line 301 of file omap3isp.h.

#define OMAP3ISP_HIST_BINS_128   2

Definition at line 181 of file omap3isp.h.

#define OMAP3ISP_HIST_BINS_256   3

Definition at line 182 of file omap3isp.h.

#define OMAP3ISP_HIST_BINS_32   0

Definition at line 179 of file omap3isp.h.

#define OMAP3ISP_HIST_BINS_64   1

Definition at line 180 of file omap3isp.h.

#define OMAP3ISP_HIST_CFA_BAYER   0

Definition at line 202 of file omap3isp.h.

#define OMAP3ISP_HIST_CFA_FOVEONX3   1

Definition at line 203 of file omap3isp.h.

#define OMAP3ISP_HIST_MAX_BIT_WIDTH   14

Definition at line 192 of file omap3isp.h.

#define OMAP3ISP_HIST_MAX_BUF_SIZE   4096

Definition at line 195 of file omap3isp.h.

#define OMAP3ISP_HIST_MAX_REGIONS   4

Definition at line 189 of file omap3isp.h.

#define OMAP3ISP_HIST_MAX_WB_GAIN   255

Definition at line 190 of file omap3isp.h.

#define OMAP3ISP_HIST_MAX_WG   4

Definition at line 194 of file omap3isp.h.

#define OMAP3ISP_HIST_MEM_SIZE   1024

Definition at line 187 of file omap3isp.h.

#define OMAP3ISP_HIST_MEM_SIZE_BINS (   n)    ((1 << ((n)+5))*4*4)

Definition at line 185 of file omap3isp.h.

#define OMAP3ISP_HIST_MIN_BIT_WIDTH   8

Definition at line 193 of file omap3isp.h.

#define OMAP3ISP_HIST_MIN_REGIONS   1

Definition at line 188 of file omap3isp.h.

#define OMAP3ISP_HIST_MIN_WB_GAIN   0

Definition at line 191 of file omap3isp.h.

#define OMAP3ISP_HIST_SOURCE_CCDC   0

Definition at line 198 of file omap3isp.h.

#define OMAP3ISP_HIST_SOURCE_MEM   1

Definition at line 199 of file omap3isp.h.

#define OMAP3ISP_PREV_BLKADJ   (1 << 6)

Definition at line 426 of file omap3isp.h.

#define OMAP3ISP_PREV_CFA   (1 << 3)

Definition at line 423 of file omap3isp.h.

#define OMAP3ISP_PREV_CFA_BLK_SIZE   (OMAP3ISP_PREV_CFA_TBL_SIZE / 4)

Definition at line 440 of file omap3isp.h.

#define OMAP3ISP_PREV_CFA_TBL_SIZE   576

Definition at line 439 of file omap3isp.h.

#define OMAP3ISP_PREV_CHROMA_SUPP   (1 << 4)

Definition at line 424 of file omap3isp.h.

#define OMAP3ISP_PREV_COLOR_CONV   (1 << 8)

Definition at line 428 of file omap3isp.h.

#define OMAP3ISP_PREV_DEFECT_COR   (1 << 10)

Definition at line 430 of file omap3isp.h.

#define OMAP3ISP_PREV_DETECT_CORRECT_CHANNELS   4

Definition at line 444 of file omap3isp.h.

#define OMAP3ISP_PREV_DRK_FRM_CAPTURE   (1 << 12)

Definition at line 432 of file omap3isp.h.

#define OMAP3ISP_PREV_DRK_FRM_SUBTRACT   (1 << 13)

Definition at line 433 of file omap3isp.h.

#define OMAP3ISP_PREV_GAMMA   (1 << 16)

Definition at line 436 of file omap3isp.h.

#define OMAP3ISP_PREV_GAMMA_TBL_SIZE   1024

Definition at line 441 of file omap3isp.h.

#define OMAP3ISP_PREV_HRZ_MED   (1 << 2)

Definition at line 422 of file omap3isp.h.

#define OMAP3ISP_PREV_INVALAW   (1 << 1)

Definition at line 421 of file omap3isp.h.

#define OMAP3ISP_PREV_LENS_SHADING   (1 << 14)

Definition at line 434 of file omap3isp.h.

#define OMAP3ISP_PREV_LUMAENH   (1 << 0)

Definition at line 420 of file omap3isp.h.

#define OMAP3ISP_PREV_NF   (1 << 15)

Definition at line 435 of file omap3isp.h.

#define OMAP3ISP_PREV_NF_TBL_SIZE   64

Definition at line 438 of file omap3isp.h.

#define OMAP3ISP_PREV_RGB2RGB   (1 << 7)

Definition at line 427 of file omap3isp.h.

#define OMAP3ISP_PREV_WB   (1 << 5)

Definition at line 425 of file omap3isp.h.

#define OMAP3ISP_PREV_YC_LIMIT   (1 << 9)

Definition at line 429 of file omap3isp.h.

#define OMAP3ISP_PREV_YENH_TBL_SIZE   128

Definition at line 442 of file omap3isp.h.

#define OMAP3ISP_RGB_MAX   3

Definition at line 303 of file omap3isp.h.

#define V4L2_EVENT_OMAP3ISP_AEWB   (V4L2_EVENT_OMAP3ISP_CLASS | 0x1)

Definition at line 69 of file omap3isp.h.

#define V4L2_EVENT_OMAP3ISP_AF   (V4L2_EVENT_OMAP3ISP_CLASS | 0x2)

Definition at line 70 of file omap3isp.h.

#define V4L2_EVENT_OMAP3ISP_CLASS   (V4L2_EVENT_PRIVATE_START | 0x100)

Definition at line 68 of file omap3isp.h.

#define V4L2_EVENT_OMAP3ISP_HIST   (V4L2_EVENT_OMAP3ISP_CLASS | 0x3)

Definition at line 71 of file omap3isp.h.

#define VIDIOC_OMAP3ISP_AEWB_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 3, struct omap3isp_h3a_aewb_config)

Definition at line 49 of file omap3isp.h.

#define VIDIOC_OMAP3ISP_AF_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 5, struct omap3isp_h3a_af_config)

Definition at line 53 of file omap3isp.h.

#define VIDIOC_OMAP3ISP_CCDC_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct omap3isp_ccdc_update_config)

Definition at line 45 of file omap3isp.h.

#define VIDIOC_OMAP3ISP_HIST_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 4, struct omap3isp_hist_config)

Definition at line 51 of file omap3isp.h.

#define VIDIOC_OMAP3ISP_PRV_CFG   _IOWR('V', BASE_VIDIOC_PRIVATE + 2, struct omap3isp_prev_update_config)

Definition at line 47 of file omap3isp.h.

#define VIDIOC_OMAP3ISP_STAT_EN   _IOWR('V', BASE_VIDIOC_PRIVATE + 7, unsigned long)

Definition at line 57 of file omap3isp.h.

#define VIDIOC_OMAP3ISP_STAT_REQ   _IOWR('V', BASE_VIDIOC_PRIVATE + 6, struct omap3isp_stat_data)

Definition at line 55 of file omap3isp.h.

Enumeration Type Documentation

Enumerator:
OMAP3ISP_ALAW_BIT12_3 
OMAP3ISP_ALAW_BIT11_2 
OMAP3ISP_ALAW_BIT10_1 
OMAP3ISP_ALAW_BIT9_0 

Definition at line 306 of file omap3isp.h.

Enumerator:
OMAP3ISP_CFAFMT_BAYER 
OMAP3ISP_CFAFMT_SONYVGA 
OMAP3ISP_CFAFMT_RGBFOVEON 
OMAP3ISP_CFAFMT_DNSPL 
OMAP3ISP_CFAFMT_HONEYCOMB 
OMAP3ISP_CFAFMT_RRGGBBFOVEON 

Definition at line 462 of file omap3isp.h.

Enumerator:
OMAP3ISP_AF_MODE_SUMMED 
OMAP3ISP_AF_MODE_PEAK 

Definition at line 234 of file omap3isp.h.

Enumerator:
OMAP3ISP_AF_GR_GB_BAYER 
OMAP3ISP_AF_RG_GB_BAYER 
OMAP3ISP_AF_GR_BG_BAYER 
OMAP3ISP_AF_RG_BG_BAYER 
OMAP3ISP_AF_GG_RB_CUSTOM 
OMAP3ISP_AF_RB_GG_CUSTOM 

Definition at line 240 of file omap3isp.h.