Go to the documentation of this file.
28 #ifndef OMAP3_ISP_H3A_H
29 #define OMAP3_ISP_H3A_H
39 #define AEWB_PACKET_SIZE 16
40 #define AEWB_SATURATION_LIMIT 0x3ff
43 #define PCR_CHNG (1 << 0)
44 #define AEWWIN1_CHNG (1 << 1)
45 #define AEWINSTART_CHNG (1 << 2)
46 #define AEWINBLK_CHNG (1 << 3)
47 #define AEWSUBWIN_CHNG (1 << 4)
48 #define PRV_WBDGAIN_CHNG (1 << 5)
49 #define PRV_WBGAIN_CHNG (1 << 6)
52 #define ISPH3A_PCR_AF_EN (1 << 0)
53 #define ISPH3A_PCR_AF_ALAW_EN (1 << 1)
54 #define ISPH3A_PCR_AF_MED_EN (1 << 2)
55 #define ISPH3A_PCR_AF_BUSY (1 << 15)
56 #define ISPH3A_PCR_AEW_EN (1 << 16)
57 #define ISPH3A_PCR_AEW_ALAW_EN (1 << 17)
58 #define ISPH3A_PCR_AEW_BUSY (1 << 18)
59 #define ISPH3A_PCR_AEW_MASK (ISPH3A_PCR_AEW_ALAW_EN | \
60 ISPH3A_PCR_AEW_AVE2LMT_MASK)
71 #define AFCOEF_OFFSET 0x00000004
74 #define AF_BUSYAF (1 << 15)
75 #define AF_FVMODE (1 << 14)
76 #define AF_RGBPOS (0x7 << 11)
77 #define AF_MED_TH (0xFF << 3)
78 #define AF_MED_EN (1 << 2)
79 #define AF_ALAW_EN (1 << 1)
80 #define AF_EN (1 << 0)
81 #define AF_PCR_MASK (AF_FVMODE | AF_RGBPOS | AF_MED_TH | \
82 AF_MED_EN | AF_ALAW_EN)
85 #define AF_PAXW (0x7F << 16)
89 #define AF_AFINCV (0xF << 13)
90 #define AF_PAXVC (0x7F << 6)
94 #define AF_PAXSH (0xFFF<<16)
95 #define AF_PAXSV 0xFFF
98 #define AF_COEF_MASK0 0xFFF
99 #define AF_COEF_MASK1 (0xFFF<<16)
102 #define AF_RGBPOS_SHIFT 11
103 #define AF_MED_TH_SHIFT 3
104 #define AF_PAXW_SHIFT 16
105 #define AF_LINE_INCR_SHIFT 13
106 #define AF_VT_COUNT_SHIFT 6
107 #define AF_HZ_START_SHIFT 16
108 #define AF_COEF_SHIFT 16