KS7306 is a CCD digital signal processor.
The electronic video signal that passed the color
filter array(CFA) pattern of CCD is put to the process
of dual correlation sampling and then converted to
digital video signal by A/D converter.
Taking the digital video signal so processed as an
input, KS7306 performs luminance and chroma
signal process and finally outputs signals encoded to
NTSC/PAL broadcast standards, and generates
detection signals for AE/AF/AWB.
DevicePackage
KS7306100-QFP-1414
FEATURES
• Offers 10 bit input digital signal processing.
• Carries built-in 2H line memory.(10bit 1024)
• Performs Y signal processing.
• Performs C signal processing.
• Carries an encorder capable to NTSC/PAL dual form application.
• Carries built-in Y/C 2-channal DA converter.
• Carries built-in AE/AF/AWB detection system.
• Provides micom parallel interface.
• Micom capable to control variable parameters.
• Offers digital effects interfacing
• Suites Hi8/Normal CCD application.
• Suites 470K,520K,570K and 620K CCD controlled EIS system application.
• Supports 16:9 aspect wide TV (full mode) application.
APPLICATIONS
CCD camera ( camcorder, CCTV, digital still camera, etc.).
1BFIBurst Flag
2LALTILine Alternation for PAL System
3IDILine Identifer
4HDIHorizontal Driving Pulse
5VDDIPPower Supply for Internal Logic
6VDIVetical Driving Pulse
7LHLDILine Hold Signal
8PCLKISystem Clock
9PBLKIPre-Blanking Pulse
10VSSIGGround for Internal Logic
11NECIExt. Micom select (NEC/SAM 8*)
12ASIAddress Strobe for Micom I/F
13VSKIPIVertical Skip Pulse
14WRNIWrite Enable (Active Low) for Micom I/F
15VDDPOPPower Supply for Input & Output PAD
16RDNIRead Enable (Active Low) for Micom I/F
17MD7I/OMicom Address & Data Port 7
18MD6I/OMicom Address & Data Port 6
19MD5I/OMicom Address & Data Port 5
20VSSPOGGround for Input & Output Pad
21MD4I/OMicom Address & Data Port 4
22MD3I/OMicom Address & Data Port 3
23MD2I/OMicom Address & Data Port 2
24MD1I/OMicom Address & Data Port 1
25MD0I/OMicom Address & Data Port 0
26RSTNISystem Reset (Active Low)
27HCONIHorizontal Sync. Signal (S1,S2 Control)
28HSYNCOHorizontal Sync. Signal
29 VSYNCOVertical Sync. Signal
30TST3OTest Output 3
31AFZONEOAuto Focus Window Zone Pulse
32CSYNCOOComposite Sync. Output (Processor Delay Matched Signal)
33FSCOColor Subcarrier Signal
34BFOOBurst Flag Output (Processor Delay Matched Signal)
35VSSAAGAnalog Ground
VID-97-D004
February 1997
3
Page 4
KS7306 DIGITAL CAMERA PROCESSOR
(Continued)
NO.SymbolI/ODescription
36VDDAAPAnalog Power
37AYOD/A Converted Luminance Signal
38BCAPIBypass Capacitor Port for D/A Converter
39IREFICurrent Source Reference Port D/A Converter
40VREFIVoltage Source Reference Port D/A Converter
41ACOD/A converted Chroma Signal
42VDDAAPAnalog Power
43VSSAAGAnalog Ground
44INDIRIInput Mode Select for I/O Bidirectional Pin
45TST4OTest Output 4
46XCKIExternal Clock for Multimedia PC
47UVCKOR-Y / B-Y Identifier
48DZCSYNCOI/O
49DZBFOI/O
50DZCBLKOI/O
51TST1I/OTest I/O
52DZCBLKII/O
53DZBFII/O
54DZCSYNCII/O
55VDDIPPower Supply for Internal Logic
56TST2I/OTest I/O
57YI7IDigital Zoom Processed Luminance Input 7
58YI6IDigital Zoom Processed Luminance Input 6
59YI5IDigital Zoom Processed Luminance Input 5
60VSSIGGround for Internal Logic
61YI4IDigital Zoom Processed Luminance Input 4
62YI3IDigital Zoom Processed Luminance Input 3
63YI2IDigital Zoom Processed Luminance Input 2
64YI1IDigital Zoom Processed Luminance Input 1
65VDDPOPPower Supply for Input / Output Pad
66YI0IDigital Zoom Processed Luminance Input 0
67YO7OLuminance Output 7 for Digital Zoom
68YO6OLuminance Output 6 for Digital Zoom
69TO5OLuminance Output 5 for Digital Zoom
70VSSPOGGround for Input & Output Pad
71YO4OLuminance Output 4 for Digital Zoom
72YO3OLuminance Output 3 for Digital Zoom
Delay Matched Composite Sync. Output for Digital Zoom or Test I/O
Delay Matched Burst Flag Output for Digital Zoom or Test I/O
Delay Matched Composite Blank Output for Digital Zoom or Test I/O
Delay Matched Composite Blank input for Digital Zoom or Test I/O
Delay Matched Burst Flag input for Digital Zoom or Test I/O
Delay Matched Composite Sync. input for Digital Zoom or Test I/O
VID-97-D004
February 1997
4
Page 5
KS7306 DIGITAL CAMERA PROCESSOR
(Continued)
NO.SymbolI/ODescription
73YO2OLuminance Output 2 for Digital Zoom
74YO1OLuminance Output 1 for Digital Zoom
75YO0OLuminance Output 0 for Digital Zoom
76UVIO3I/ODigital Zoom Processed Chroma Input 3/4:2:2 Chroma Output 7
77UVIO2I/ODigital Zoom Processed Chroma Input 2/4:2:2 Chroma Output 6
78UVIO1I/ODigital Zoom Processed Chroma Input 1/4:2:2 Chroma Output 5
79UVIO0I/ODigital Zoom Processed Chroma Input 0/4:2:2 Chroma Output 4
80VDDIPPower for Internal Logic
81UVO3OChroma Output 3 for Digital Zoom / 4:2:2 Chroma Output 3
82UVO2OChroma Output 2 for Digital Zoom / 4:2:2 Chroma Output 2
83UVO1OChroma Output 1 for Digital Zoom / 4:2:2 Chroma Output 1
84UVO0OChroma Output 0 for Digital Zoom / 4:2:2 Chroma Output 0
85VSSIGGround for Iternal Logic
86CD9ICCD Data Input 9 Precessed ADC or FCM
87CD8ICCD Data Input 8 Precessed ADC or FCM
88CD7ICCD Data Input 7 Precessed ADC or FCM
89CD6ICCD Data Input 6 Precessed ADC or FCM
90VDDPOPPower Supply for Input & Output Pad
91CD5ICCD Data Input 5 Precessed ADC or FCM
92CD4ICCD Data Input 4 Precessed ADC or FCM
93CD3ICCD Data Input 3 Precessed ADC or FCM
94CD2ICCD Data Input 2 Precessed ADC or FCM
95VSSPOGGround for Input & Output Pad
96CD1ICCD Data Input 1 Precessed ADC or FCM
97CD0ICCD Data Input 0 Precessed ADC or FCM
98FSC4IColor Subcarrier x 4
99CBLKIComposite Blank Signal
100CSYNCIComposte Sync. Signal
VID-97-D004
February 1997
5
Page 6
KS7306 DIGITAL CAMERA PROCESSOR
ABSOLUTE MAXIMUM RATINGS
CharacteristicsSymbolValueUnit
Supply VoltageV
Teminal input VoltageV
Power DissipationP
Ta = 25°C4.755.05.25V
Ta = 25°C0.7V
Ta = 25°C--0.3V
IOH = -1mA2.4--V
IOL = 1mA--0.4V
V
= 5V-140160mA
DD
VI = 0~V
VI = 0~V
DD
DD
-0.3 to 7V
-0.3 to VDD +0.3V
700mW
-40 ~ +125
100mA
DD
--V
DD
-10-10
-10-10
°C
°C
V
µA
µA
AC
CharacteristicsSymbolTest ConditionMinTyp.MaxUnit
Input Data Setup Time
T
SU
VDD = 5±5%,
5
-
-
Ta = 0 ~70°C
Input Data Hold Time
T
HD
VDD = 5±5%,
5
-
50
Ta = 0 ~70°C
PCLK
CD9~0
T
HD
T
SU
nsec
nsec
VID-97-D004
February 1997
6
Page 7
KS7306 DIGITAL CAMERA PROCESSOR
MICOM INTERFACE
1. NEC MICOM INTERFACE
CharacteristicsSymbolMinTypMaxUnit
Address setup timeTast15--nsec
Address hold timeThat35--nsec
AS pulse widthTasw35--nsec
RDN pulse widthTrdw400--nsec
WRN pulse widthTwrw400--nsec
Data delay from RDN,WRNTd--100nsec
Data hold timeTdh0--nsec
MD7~0
AS
RDM
WRN
Tast
ADDRDATA
Tsaw
Taht
Td
Trdw
Twrw
Tdh
READ Mode
( WRN = ″1″)
WRITE Mode
( RDN = ″1″)
VID-97-D004
February 1997
7
Page 8
KS7306 DIGITAL CAMERA PROCESSOR
2. SAM8 MICOM INTERFACE
CharacteristicsSymbolMinTypMaxUnit
Address setup timeTast15--nsec
Address hold timeThat35--nsec
AS pulse widthTasw35--nsec
RDN pulse widthTrdw400--nsec
WRN pulse widthTwrw400--nsec
Data delay from RDN,WRNTd--100nsec
Data hold timeTdh0--nsec
Tast
MD7~0
AS
RDM
WRN
ADDRDATA
TsawTaht
Twrw
TdTdh
Trdw
READ Mode
( WRN = ″1″ )
WRITE Mode
( RDN = ″1″ )
VID-97-D004
February 1997
8
Page 9
KS7306 DIGITAL CAMERA PROCESSOR
SYSTEM DESCRIPTION
The video data output from CCD go through CDS IC (KA7307) and become quantized by 10 bit ADC.
For hand tremble correction in the CCD controlled gyro sensor method, the quatized video data are fed
to FCM in which effective pixel section of the data gets corrected and extended, then the data are
entered to the signal processor (KS7306) for YC coding so that the data are propely encoded to
conform with NTSC/PAL broadcasting method.
The encoded data is converted to analog signal by the built-in DAC and output Y.C signal finally.
The camera embodies current video status detection function needed for AE/AF/AWB function as an
automatic control provision of the camera system. The function of signal processing and video status
detection is implemented by data communication with the micom through the parallel interfaces to
allow setting of variable parameters, transmisson of detection signals, and reception of control signals
that are necessary in the signal processing. The clock used in IC' s is supplied by a separate IC, the
timining generator (KS7213). For the zooming, the Y,(R-Y)(B-Y) interface to the processing is
provided. And the interface allows interfacing with IC' s for the option of other digital effects.
The timing generator generates time pulse and video syncronizing signal required in all functional
block of the camera system. The clock supports the vertical expansion mode especially required in
CCD controlled gyro sensor and electronic zooming.
Using the clock furnished by the clock generator, the digital zoom (KS7314) performs zooming by
means of vertical interpolation of expanded CCD output and horizontal expansion and interpolation of
the output.
In this camera system, IC' s used for FCM, gyro, microcontroller, and DZ functions respectively are
the ones required only in the system that employs CCD controlled gyro sensor and electronic zooming
for optional funtions while a system pursuing electronic zooming alone requires employment of DZ IC
only to achieve the purpose. The CCDs of 510H (NTSC/PAL) and 760H (NTSC/PAL) allow a range of
system configurations that support 470K, 520K, and 620K (wobble correction CCD) pixels. The figure
below illustrates the camera system.
A/D; Analog to Digital
CCD; Charge Coupled Device
FCM; Frquency Converting Memory
DZ; Digital Camera Process
DCP; Digital Camera Process
CCD
CDS
KA7307
V-Driver
KS7221
A BLOCK DIAGRAM OF CAMERA SYSTEM CONFIGRATION
A/D
10bit
<OPTION>
Gyro
uCOM
FCM
KS7308
TG
KS7213
DZ
KS7314
DCP
KS7306
System
µCOM
Y
C
VID-97-D004
February 1997
9
Page 10
KS7306 DIGITAL CAMERA PROCESSOR
OPD- PROCESSOR
CD9 ~ 0
YI7 ~ 0
YO7 ~ 0
AY
ENCODER
AY
IFEFFECTSFCBMDAC
CSUP
HUE &
MD7 ~ 0
MICOM
INTERFACE
INT. REGISTER
BF
LALT
FSCA
UVO3 ~ 0
UVIO3 ~ 0
AWB
INTEGRATOR
WRN
RDN
AS
LPFγDLYIFEFFECTBLKSYNCYDLDAC
Y PROCESSOR
DET
DEFECT
PREPROCESSOR
CLAMP
BLOCK DIAGRAM
PBLK
HAP
DEFECT
CORRECT
VSKIP
( - )
VAP
DET
HL / EDGE
LM
CDIFF
MATRIX
γ
W/B
RGB
MATRIX
B
/C
R
/C
LPF
L
Y
C PROCESSOR
LM
LHLD
AF ZONE
AE
INTEGRATOR
AF
INTEGRATOR
ID
HCON
TIMING
INTERFACE
HD
VD
PCLK
CBLK
CSYNC
RSTN
XCK
VID-97-D004
February 1997
10
Page 11
KS7306 DIGITAL CAMERA PROCESSOR
Y
OMDL
OMDH
OA2W1L
OA1W1L
OA2W1M
OA1W1M
OA1W2L
OA2W2L
OA1W2M
OA2W2M
OAP2W1L
OAP1W2L
OAP1W1L
OWN
OAP2W2L
OWSH
OACCL
16
OACCM
OA2W1H
OA1W1H
24
INTEGRATOR
HPF
2
OA1W2H
OA2W2H
OAP2W1H
OAP1W2H
OAP1W1H
16
Peak & Hold
MUX
OAP2W2H
OPC1A
OPC1B
OPC2B
OPC2A
OWM
OWSV
8
Window Control
OPC1E
OPC1C
OPC1D
OPC2E
OPC2C
OPC2D
OPC1F
OPC1G
OPC2F
OPC2G
OACCH
24
INTEGRATOR
Detection
16
INTEGRATOR
MUX
6
SRAM
Memory
(16b *48w)
OADR
Memory Control
OYL
6
OBYTH
OADR
LPF
8
OPD-PROCESSOR BLOCK DIAGRAM
VID-97-D004
February 1997
Comparator
6
(R-Y)/(B-Y)
OYH
OADS
ORYTH
11
Page 12
KS7306 DIGITAL CAMERA PROCESSOR
OPERATION OF BLOCKS
1. Preprocess
In case of signal processing of a camera with single CCD, before the performance of main processing,
it takes the optical black appearing before the real data among CCD data as the reference value and
the mean figure of it enables correct alignment of the black in the main processing, and in case of
defect found existing in CFA mode, it locates 4 errornous spots in maximum and processes to replace
the errors with two siding data by initial interpolation and then outputs line memory.
2. Line memory
Two built-in 10 bits line memories for 3 line color processing in 2H delay application, enable
simultaneous vision of 3 horizontal video lines, and in the processing of luminance signals, 1H delayed
signal, the H1D is offered, and in the chroma signal processing, HO2D or the luminance signal process
lines interpolated by two siding lines one in front and the other in the back are offered.
The line momory has 1024 depth for safe application to a CCD with 620 pixels, of 16:9 aspect.
For application to gyro sensor based and CCD controlled electronic image stabilizer system, it has the
functional capability to hold previous line at the blank signal line.
This is externally controlled by a LHLD signal.
3. Y processor
- LPF
The filter removes recurring pattern noise of single type CCD.
- Non-linear characteristics in H aperture application :
In order to reduce back noise caused by the noise of low luminance when H aperture is emphasized,
low luminance components are compressed before the aperture.
OUTPUT
BKG(X1)
BKG(X1/2)
BKTH
BKG(X1/4)
BKG(X0)
INPUT
VID-97-D004
February 1997
12
Page 13
KS7306 DIGITAL CAMERA PROCESSOR
- H_Aperture
Horizontal and vertical outline portions are emphasized.
INPUT
HAFS<1:0> = ″00″
HAFS<1:0> = ″01″
HAFS<1:0>= ″10″
HAFS<1:0> = ″11″
- REGISTER
HAPG : Horizontal Aperture Gain Control
5bits (X0 ~ X0.96875)
VAPG : Vertical Aperture Gain Control
5bits (X0 ~ X1.9375)
APSC : Aperture Slice Level
6bits (0~63)
APCLP : Aperture Clip Level
2bits 0 0 OFF
0 1 256
1 0 128
1 1 64
OUT
-APSC
IN
OUT
-APCLP
IN
APSC
< Noise Slice >
VID-97-D004
February 1997
APCLP
< Aperture Clip >
13
Page 14
KS7306 DIGITAL CAMERA PROCESSOR
- Gamma and knee
Adopting user defined variable gamma and knee in eight step piecewise linear method allows the user
free adjustment of the coefficient.
4. C-Processor
- S/H and interpolation LPF
With the input of HID and H02D signals from the line memory, C-Processor samples and holds S
and S2 for the generation of RGB chroma signals.
The band width of the signals so generated is limited by LPF.
- RGB matrix
Based on Cr, Cb and YC signals being the sum and balance components of S1 and S2, RGB chroma
signals are obtainable from the following matrix.
1
YC = S1 + S2, Cr = S2 - S1, Cb = S1 - S
2
R = Cr + CCOR X YC (or G)
G = YC - (Cr + Cb)
B = Cb + CCOB X G (or YC)
Register :
CCOR : Matrix coefficient for RED generation 6 bits (0-X0.25)
CCOB : Matrix coefficient for BLU generation 6 bits (0-X0.25)
CMATX : 2bits RED BLUE
0 0 Y
C
G
0 1 G G
1 0 G Y
1 1 YC Y
C
C
- White and black balance control :
Through interfacing with the micom, RB signal level is coordinated with G signal level.
Register :
* GWB : GREEN WHITE BALANCE CONTROL
8 bits (0~X4)
* RWB : RED WHITE BALANCE CONTROL
8 bits (0~X8)
* BWB : BLUE WHITE BALANCE CONTROL
8 bits (0~X8)
* GBLK : GREEN BLACK BALANCE CONTROL (2 ′S complement)
8 bits (-128 ~127)
* RBLK : RED BLACK BALANCE CONTROL (2 ′S complement)
8 bits (-128 ~127)
* BBLK : BLUE BLACK BALANCE CONTROL (2 ′S complement)
8 bits (-128 ~127)
VID-97-D004
February 1997
14
Page 15
KS7306 DIGITAL CAMERA PROCESSOR
- Gamma correction :
The process is indentical to the variable gamma method employed in the process of Y signals.
Register :
CGM1 - CGM8 : C-Gamma Y fraction coefficient
8 bits (0~255)
- Chroma MATRIX
It generates R-Y and B-Y signals of basic color space used as NTSC/PAL broadcast standards.
- HUE and gain control
Micro adjustment can be made to coordinate the balance vector to its complement color vector.
Individual adjustment against +, - on the R-Y and B-Y vector space that color regeneration is enhanced.
Register :
R-Y
RHPN
BHPN
(-1~X1)
RHNP
BHNP
(-1~X1)
RHPP
BHPP
(-1~X1)
B-Y
RHNN
BHNN
(-1~X1)
- Chroma suppress
It supresses false chroma signal by horizontal outline and high luminance signal.
Supress level is adjustable by the mode data.
- Chroma signal interface
PLCK
UVO3 ~ 0
UVCK
..
RY0<7:4>RY0<3:0>BY0<7:4>BY0<3:0>RY1<7:4>RY1<3:0>
VID-97-D004
February 1997
.....
15
Page 16
KS7306 DIGITAL CAMERA PROCESSOR
5. NTSC/PAL encoder
- Digital effects
It performs various digital effects and Mosaic, Art Freeze, and Posi/Nega inversion.
Register :
. Art 3 bit 000:normal 001:128 rep val* 010:64 rep val* 011:32 rep val*
100:6 rep val* 101:8 rep val* 110:4 rep val* 111:2 rep val*
( *Rep val stands for representative value.)
. Nega 1 bit 0:normal 1:negative
- Fade function
A smooth screen shift is available by Y/C gain control (8bit resolution)
Register :
. Ygain 8bits 0-X1
. Cgain 8bits 0-X1
- Set-up and white clip
It determines the set-up level that conforms to specific broadcast method (NTSC/PAL) and defermins
also adequate white clip level.
Register :
. Set-up 5bits 0-32
. WCLP 8bits 0-256
- BLK/SYNC mix
CBLK/CSYNC are mixed to conform specific broadcast method
- Sampling frequency converter
The chroma signal synchronized to PCLK is converted to 4FSC frequency for chroma modulation.
- Modulation
The chroma data synchronized to 4FSC is put to repeat R-Y,B-Y in 2FSC frequncy,and invert in 4FSC
frequncy and thus modulation of chroma signal is achieved. In this process the level of burst signal
applied by the EUSC/EVSC reg, can be controlled and by the adjustment of EUSC/EVSC, color phase
can
be rotated entirely.
- Delay
The delays developed in the signal processing path of luminance and chroma signals are compensated
and other delicate delays resultant from the external applications can also be compensated.
VID-97-D004
February 1997
16
Page 17
KS7306 DIGITAL CAMERA PROCESSOR
* ORYTH
6. OPD Processor
The OPD Processor detects signals for AE/AF1/AF2/AWB and enters the detected signals to the
micom through the micom interface. The signals for AF1/AF2 can be detected simultaneously in one
filed for both of integral and peak values and the detection field can be set freely set by the user.
The peak value is, however, obtained by means of finding from a line in each field first and then
repeated by lines to fine the peak. The signals for AE/AWB can be detected by means of taking
integrated value of entire image or a sectional value of the image area divided in 48 sections.
- LPF; 6Tap FIR filter (-3db at 2 MHZ)
Signal band for input is limited for AE/AF.
- HPF; 3 Order IIR filter (HPF1:200KHZ, HPF2:600KHZ)
The filter suppresses low frequency components to enable detection of only the outline signal
selectively for AF1/AF2. Detection of AF1/AF2 is performed simultaneously for each horizontal line
that detection of AF1/AF2 singal in any one field is enabled.
The filter 3 order IIR filter is structured a hardware like, but coefficients are devised programmable
that the performance charactor can be adjusted by the user.
Mode settings command register
Integrated data of A area for AF1
Integrated data of A area for AF2
Integrated data of B area for AF1
Integrated data of B area for AF2
Peak data of A area for AF1
Peak data of A area for AF2
Peak data of B area for AF1
Peak data of B area for AF2
Peak data of full area for AE/AWB
Integrated of small image of sectioned area
Pixel number of small image of sectioned area
Line number of small image of sectioned area
Vertical start point of area A for AF
Horizontal start point of area A for AF
RAM start address (Write/Read)
It removes chroma signal from the high luminance and low luminance components in R-Y and B-Y signals
in order to limit the signal range suitable for input to AWB for the purpose of the signal detections.
Register
* OYH 6bits High luminance threshold level
It generates various clock as required in the inside of IC and performs delay adjust for various video
synchronizing signals and also the delay adjustment of final output of video synchronization signal.
8. Micom interface
A parallel interface is employed for transmission of information ever various parameters reqired in the
signal processing. And all sorts of commands and coefficients are either processed or set through the
port, and reading signal for detection of AE/AF/AWB.(For AE/AF/AWB detection, reading of signals
should be completed within VBLK process time.)
For the coefficients of fields, the write timing is enabled from the next field to alleviate the burden of
the micom.
In this instance, your attention is invited to the fact that if complete setting of coefficients that should
be set initially during the VBLK time is not accomplished, later setting will cause image instability.
Perimarily, parallel port interface is applicable to NEC series and SAM8 series micom.
9. D/A converter
The device contains two built-in channels of D/A converters for encoded luminance and chroma
signals.
VID-97-D004
February 1997
18
Page 19
KS7306 DIGITAL CAMERA PROCESSOR
THreshold value)
THreshold value)
for ODM)
Supress)
KS7306 MICOM REGISTER MAP
ADDR.USED
00H
01H
02H
O3H
04H
05H
06H
07H
08H
09H
0AH
0BH
0CH
0DH
0EH
D7D6D5D4D3D2D1D0
YVBKTH<1:0>
(Vertical
BlacK noise
10(2H)10(2H)10(2H)10(2H)
YHAFS<1:0>
(Horizontal Aperture
Filter Selection)
10(2H)0(0H)10000 (10H)
YSEL
(Y signal
SELect
1(1H)1(1H)1(1H)10000 (10H)
(Y Process ART freeze effect for
YEGCS
(EdGe
Color
YART<2:0>
DVC mode)
000(0H)00 (OH)000 (OH)
YVBKG<1:0>
(Vertical BlacK
noise Gain)
YDVCN
EGA
(DVC
mode
NEGA
effect)
YHLCS
(High-
Light
Color
Supress)
YAPSC <5:0>
(APerture Slice Control)
000000 (00H)10(2H)
(Y HighLight REFerence value for color supress)LUMA
(Y Edge REFerence value for color supress)LUMA
(Y Signal GamMa bending point 1)LUMA
(Y Signal GamMa bending point 2)LUMA
(Y Signal GamMa bending point 3)LUMA
(Y Signal GamMa bending Point 4)LUMA
(Y Signal GamMa bending Point 5)LUMA
(Y Signal GamMa bending Point 6)LUMA
(Y Signal GamMa bending point 7)LUMA
(Y Signal GamMa bending point 8)LUMA
DATA
YHBKTH<1:0>
BlacK noise
(Horizontal APerture Gain)
YHLREF <7:0>
10000000 (80H)
YEGREF <7:0>
00010000 (10H)
YGM1 <7:0>
00011100 (1CH)
YGM2 <7:0>
00100111 (27H)
YGM3 <7:0>
00110101 (35H)
YGM4 <7:0>
01001001 (49H)
YGM5 <7:0>
01100100 (64H)
YGM6 <7:0>
10001000 (88H)
YGM7 <7:0>
10111010 (BAH)
YGM8 <7:0>
11111111 (FFH)
YLPFSEL<1:0>
(Y process LPF
SELection)
(Horizontal
YHAPG<4:0>
YVAPG <4:0>
(Vertical APerture Gain)LUMA
(Color Supression coeff.
YHBKG<1:0>
(Horizontal BlacK
noise Gain)
YAPCLP<1:0>
(APerture CLiP)LUMA
YCSDLY<2:0>
DeLaY adjust)
LUMA
LUMA
LUMA
VID-97-D004
February 1997
19
Page 20
KS7306 DIGITAL CAMERA PROCESSOR
ADDR.USED
20H
21H
22H
23H
24H
25H
26H
27H
28H
29H
2AH
2BH
2CH
2DH
2EH
2FH
30H
D7D6D5D4D3D2D1D0
CDVCN
EGA
(C
process
DVC
mode
NEGA
effect)
0(0H)111(7H)1(1H)1(1H)1(1H)
CLPFSEL
(Cr/Cb/Yl Signal
LPF Select)
CCORB<7:0> → CCOR<7:0>
(Color matrix Coeff. of Cr signal)
CCORB<7:0> → CCOB<7:0>
(Color matrix Coeff. of Cr signal)
CWBRB<7:0> → CWBR<7:0>
(Color White Balance coeff. of Cr signal)
CWBRB<7:0> → CWBB<7:0>
(Color White Balance coeff. of Cb signal)
(Color White Balance coeff. of G signal)CHROMA
CDSRB<7:0> → CDSR<7:0>
(Color Dark Slice coeff. of Cr signal)
CDSRB<7:0> → CDSB<7:0>
(Color Dark Slice coeff. Of Cb signal)
(Color Dark Slice coeff. Of G signal)CHROMA
(Chroma Signal Gamma bending Point 1)CHROMA
(Chroma Signal Gamma bending Point 2)CHROMA
(Chroma Signal Gamma bending Point 3)CHROMA
(Chroma Signal Gamma bending Point 4)CHROMA
(Chroma Signal Gamma bending Point 5)CHROMA
(Chroma Signal Gamma bending Point 6)CHROMA
(Chroma Signal Gamma bending Point 7)CHROMA
(Chroma Signal Gamma bending Point 8)CHROMA
DATA
Not Used
01100111 (67H)
01100111 (67H)
00101000 (28H)
01000011 (43H)
CWBG<7:0>
00100000 (20H)
00000000 (00H)
00000000 (00H)
CDSG <7:0>
00000000 (00H)
CGY1 <7:0>
00011100 (1CH)
CGY2 <7:0>
00100111 (27H)
CGY3 <7:0>
00110101 (35H)
CGY4 <7:0>
01001001 (49H)
CGY5 <7:0>
01100100 (64H)
CGY6 <7:0>
10001000 (88H)
CGY7 <7:0>
10111010 (BAH)
CGY8 <7:0>
11111111 (FFH)
CYLS
(Yl
Signal
Gen..
Select)
CRMS
(Cr
Signal
Matrix
Select)
CBMS
(Cb
Signal
Matrix
Select)
CHROMA
CHROMA
CHROMA
CHROMA
CHROMA
CHROMA
CHROMA
VID-97-D004
February 1997
20
Page 21
KS7306 DIGITAL CAMERA PROCESSOR
DETECT
DETECT
ADDR.
31H
32H
33H
34H
35H
36H
37H
38H
39H
3AH
3BH
3CH
3DH
3EH
3FH
E0H
40H
41H
DATA
D7D6D5D4D3D2D1D0
CRRGP <7:0>
(Cr(R-G) signal Positive gain)CHROMA
01011001 (59H)
CRRGN <7:0>
(Cr(R-G) signal Negative gain)CHROMA
0101001 (59H)
CRBGP <7:0>
(Cr(B-G) signal Positive gain)CHROMA
11110010 (F2H)
CRBGN <7:0>
(Cr(B-G) signal Negative gain)CHROMA
11110010 (F2H)
CBRGP <7:0>
(Cb(R-G) signal Positive gain)CHROMA
11011001 (D9H)
CBRGN <7:0>
(Cb(R-G) signal Negative gain)CHROMA
11011001 (D9H)
CBBGP <7:0>
(Cb(R-G) signal Positive gain)CHROMA
01110010 (72H)
CBBGN <7:0>
(Cb(B-G) signal Negative gain)CHROMA
01110010 (72H)
CRGP <7:0>
(Color difference signal (R-Y) Positive gain)CHROMA
01000000 (40H)
CRGN <7:0>
(Color difference signal (R-Y) Negative gain)CHROMA
01000000 (40H)
CRHP <7:0>
(Color difference signal (R-Y) Hue control Positive gain)CHROMA
00000000 (00H)
CRHN <7:0>
(Color difference signal (R-Y) Hue control Negative gain)CHROMA
00000000 (00H)
CBGP <7:0>
(Color difference signal (B-Y) Positive gain)CHROMA
01000000 (40H)
CBGN <7:0>
(Color difference signal (B-Y) Negative gain)CHROMA
01000000 (40H)
CBHP <7:0>
(Color difference signal (B-Y) Hue control Positive gain)CHROMA
00000000 (00H)
CBHP <7:0>
(Color difference signal (B-Y) Hue control Negative gain)CHROMA
00000000 (00H)
OA112 <7:0>
(ODM HFP coeff. A11 for AF2)
01101011 (6BH)
OA212 <7:0>
(ODM HPF coeff. A21 for AF2)
01110011 (73H)
USED
OPT_
OPT_
VID-97-D004
February 1997
21
Page 22
KS7306 DIGITAL CAMERA PROCESSOR
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
ADDR.
42H
43H
44H
45H
48H
49H
4AH
4BH
4CH
4DH
4EH
50H
51H
52H
53H
54HNot Used
55HNot Used
56HNot Used
D7D6D5D4D3D2D1D0
DATA
OA222 <7:0>
(ODM HPF coeff. A22 for AF2)
10010101 (95H)
OB102 <7:0>
(ODM HPF coeff. B10 for AF2)
0110101 (75H)
OB202 <7:0>
(ODM HPF coeff. B20 for AF2)
01111011 (7BH)
OB212 <7:0>
(ODM HPF coeff. B21 for AF2)
10000110 (86H)
OCMD <7:0>
(ODM Command)
00000000 (00H)
OA111 <7:0>
(ODM HPF coeff. A11 for AF1)
01001010 (4AH)
OA211 <7:0>
(ODM HPF coeff. A21 for AF1)
01010100 (54H)
OA221 <7:0>
(ODM HPF coeff. A22 for AF1)
10110010 (B2H)
OB101 <7:0>
(ODM HPF coeff. B10 for AF1)
01100101 (65H)
OB201 <7:0>
(ODM HPF coeff. B20 for AF1)
01100101 (65H)
OB211 <7:0>
(ODM HPF coeff. B21 for AF1)
10100001 (A1H)
OW1SH <7:0>
(ODM Horizontal Start point of Window1 for AF)
01010100 (54H)
OW1EH <7:0>
(ODM Horizontal End point of Window1 for AF)
10100100 (A4H)
OW1SV <7:0>
(ODM Vertical Start point of Window1 for AF)
00101010 (2AH)
OW1EV <7:0>
(ODM Vertical End point of Window1 for AF)
01010010 (52H)
OAETH <5:0>
(ODM AE mode THreshold vaiue)
000000 (00H)
OYH_AE <5:0>
(ODM Y signal Upper threshold value of AE mode)
111111 (3FH)
OYL_AE <5:0>
(ODM Y signal Lower threshold value of AE mode)
000000 (00H)
USED
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
VID-97-D004
February 1997
22
Page 23
KS7306 DIGITAL CAMERA PROCESSOR
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
ADDR.
57HNot Used
58HNot Used
59HNot Used
5AHNot Used
5BH
5CH
5DH
5EH
5FH
60H
61H
62H
63H
64H
65H
66H
68HNot Used
69H
D7D6D5D4D3D2D1D0
OHPF1E
N(ODM
HPF1
Enable
signal)
0(0H)0(0H)001111 (0FH)
OAREA
(OCMP
AREA)
DATA
OYH_AWB<5:0>
(ODM Y signal upper threshold value of AWB mode)
111111 (3FH)
OYL_AWB <5:0>
(ODM Y signal Lower threshold value of AWB mode)
000000 (00H)
ORYTH <4:0>
(ODM R-Y signal THreshold value of AWB mode)
11111 (1FH)
OBYTH <4:0>
(ODM B-Y signal THreshold value of AWB mode)
11111 (1FH)
ORBYTH <5:0>
(ODM (R-Y)+(B-Y) signal THreshold value of AWB mode)
OW2SH <7:0>
(ODM Horizontal Start point of Window2 for AF)
00000100 (04H)
OW2EH <7:0>
(ODM Horizontal End point of Window2 for AF)
11110010 (F2H)
OW2SV<7:0>
(ODM Vertical Start point of Window2 for AF)
00000010 (02H)
OW2EV <7:0>
(ODM VERTICAL End point of Window2 for AF)
01110111 (77H)
OAWO <23:16> → OA1W1H <7:0>
(ODM AF1 accumulation result of Window1)
00000000 (00H)
OAWO <7:0> → OA2W1L <7:0>
(ODM AF2 accumulation result of Window1)
00000000 (00H)
OAWO <15:8> → OA2W1M <7:0>
(ODM AF2 accumulation result of Window1)
00000000 (00H)
OAWO <23:16> → OA2W1H <7:0>
(ODM AF2 accumulation result of Window1)
00000000 (00H)
OAWO <7:0> → OA1W2L<7:0>
(ODM AF1 accumulation result of Window2)
00000000 (00H)
OAWO <15:8> → OA1W2M <7:0>
(ODM AF1 accumulation result of Window2)
00000000 (00H)
OAWO <23:16>→ OA1W2H <7:0>
(ODM AF1 accumulation result of Window2)
00000000 (00H)
OADR <5:0>
(ODM loadable RAM ADDRess)
000000 (00H)
OMDO <7:0> → OMDL <7:0>
(ODM RAM Data)
00000000 (00H)
USED
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
VID-97-D004
February 1997
23
Page 24
KS7306 DIGITAL CAMERA PROCESSOR
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
DETECT
ADDR.
6AH
6BH
6CH
6DH
6EH
6FH
70HNot Used
71HNot Used
D7D6D5D4D3D2D1D0
DATA
OMDO <15:8> → OMDH <7:0>
(ODM RAM Data)
00000000 (00H)
OMCCO <7:0> → OACCL <7:0>
(ODM AE/AWB ACCumulation result)
00000000 (00H)
OMCCO <15:8> → OACCM<7:0>
(ODM AE/AWB ACCumulation result)
00000000 (00H)
OMCCO <23:16> → OACCL <7:0>
(ODM AE/AWB ACCumulation result)
00000000 (00H)
OAWO <7:0> → OA1W1L <7:0>
(ODM AF1 ACCumulation result of Window1)
00000000 (00H)
OAWO <15:8> → OA1W1M <7:0>
(ODM AF1 ACCumulation result of Window1)
00000000 (00H)
OWV <5:0>
(ODM Vertical subwindow Width of AE/AWB window)
011100 (1CH)
OWH <4:0>
(ODM Hor. subwindow Width of AE/AWB window)
USED
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
77H
78H
79H
7AH
7BH
7CH
7DH
7EH
7FH
OAWO <7:0> → OA2W2L <7:0>
(ODM AF2 accumulation result of Window2)
00000000 (00H)
OAWO <15:8> → OA2W2M <7:0>
(ODM AF2 accumulation result of Window2)
00000000 (00H)
OAWO <23:16> → OA2W2H <7:0>
(ODM AF2 accumulation result of Window2)
00000000 (00H)
OAP1W1 <7:0>
(ODM Peak hold for AF1 of Window1)
00000000 (00H)
OAP2W1 <7:0>
(ODM Peak hold for AF2 of Window1)
00000000 (00H)
OAP1W2 <7:0>
(ODM Peak hold for AF1 of Window2)
00000000 (00H)
OAP2W2 <7:0>
(ODM Peak hold for AF2 of Window2)
00000000 (00H)
OWSV <7:0>
(ODM Vertical subwindow Start point of AE/AWB window)
00111110 (3EH)
OWSH <7:0>
(ODM Horizontal subwindow Start point of AE/AWB window)
00000110 (06H)
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
OPT_
VID-97-D004
February 1997
24
Page 25
KS7306 DIGITAL CAMERA PROCESSOR
ADDR.
80H
81H
82H
83H
84H
85H
86H
87H
88H
89H
90H
91H
92H
93H
94H
DATA
D7D6D5D4D3D2D1D0
Not
Used
POBSEL
(Optical
Black
data
SELection)
PDETEC
T1
(Defect
enable 1)
PDETEC
T2
(Defect
enable 2)
PCORR
ECT
(Defect
CORRE
CTion
enable)
0(0H)0(0H)0(OH)0(0H)0(0H)
PDEFECT_ TH <7:0>
(Preprocess DEFECT THreshold value)
00000000 (00H)
Not
Used
PHCNT_REF
<9:8>
00(0H)
PHCNT_REF <7:0>
(Preprocess Horizontal CouNT REFerence value)
00000000 (00H)
PVCNT_REF <7:0>
(Preprocess Vertical CouNT REFerence value)
00000000 (00H)
PHSTART<3:0>
(Preprocess defect detection Horizontal
START point)
(Preprocess defect detection Vertical START
PVSTART<3:0>
point)
0000(0H)0000(0H)
PCLP_START<7:0>
(Preprocess digital Clamp optical black START point)
00000000 (00H)
Not
Used
POB_MICOM
<9:8>
00(0H)
POB_MICOM<7:0>
(Preprocess optical black data from MICOM)
00000000 (00H)
PSG_ODD_POS<3:0>
(Preprocess SG pulse ODD field
POSition)
PSG_EVEN_POS<3:0>
(Preprocess SG pulse EVEN field
POSition)
0000(0H)0000(0H)
PA1 <7:0>
(Preprocess defect address 1)
00000000 (00H)
PA1 <15:8>
00000000 (00H)
Not
Used
PB1<2:0>Not
Used
PA1<18:16>PRE
000(0H)000(0H)
PA2
(Preprocess defect address 2)
00000000 (00H)
PA2
00000000 (00H)
PDCLA
MP
(Digital
CLAMP
enable)
USED
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PRE
PROCESS
PROCESS
PRE
PROCESS
PRE
PROCESS
VID-97-D004
February 1997
25
Page 26
KS7306 DIGITAL CAMERA PROCESSOR
ADDR.
95H
96H
97H
98H
99H
9AH
9BH
AOH
A1H
A2H
A3H
A4H
A5H
A6H
A7H
DATA
D7D6D5D4D3D2D1D0
Not
Used
Not
Used
Not
Used
ENP
(Encoder
Nega/Po
si effect)
0(0H)000(0H)0000(0H)
EDZCBLK
OFF
(Encoder
DZ mode
CBLK
OFF)
0(0H)00000(00H)
PB2<2:0>Not
Used
000(0H)000(0H)
PA3
(Preprocess defect address 3)
00000000 (00H)
PA3
00000000 (00H)
PB3<2:0>Not
Used
000(0H)000(0H)
PA4
(Preprocess defect address 4)
00000000 (00H)
PA4
00000000 (00H)
PB4<2:0>Not
Used
000(0H)000(0H)
EART <2:0>
(Encoder ARTfreeze
Effect)
EYGAIN <7:0>
(Encoder Y signal GAIN)ENCODER
10110000 (BOH)
ECGAIN <7:0>
(Encoder Color signal GAIN)ENCODER
01001000 (48H)
Not Used
EWC <7:0>
(Encoder White Clip Control)ENCODER
11001000 (C8H)
EBLK <7:0>
(Encoder luminance BLanK Level)ENCODER
00111111 (3FH)
EUSC <7:0>
(Encoder U(B-Y) Signal burst level Control)ENCODER
00011111 (1FH)
EVSC <7:0>
(Encoder V(R-Y) Signal burst level Control)ENCODER
00011111 (1FH)
(Encoder Y signal DeLay control
(Encoder luminance set-up level)
EYDL <3:0>
ESU
PA2PRE
PA3PRE
PA4PRE
selection)
USED
PROCESS
PRE
PROCESS
PRE
PROCESS
PROCESS
PRE
PROCESS
PRE
PROCESS
PROCESS
ENCODER
ENCODER
VID-97-D004
February 1997
26
Page 27
KS7306 DIGITAL CAMERA PROCESSOR
ADDR.
USED
DATA
D7D6D5D4D3D2D1D0
EMBCK_
SEL
A8H
A9HNot
FAH
FBH
FCH
FDH
FEH
FFH
(Encoder
BM
clock
EDLY_SEL <3:0>
(Encoder DeLaY Selection)
EBFDLY <2:0>
(Encoder BF Delay
Selection)
SELection)
0(0H)0000 (0H)00 (0H)
Used
FSC_CO
NT
(FSC
Control)
FSC2_
CONT
(FSC2
Control)
FSC_R
selectio
0(0H)0(0H)0(0H)
Not
Used
(Delay Control Selection)
S1 <3:0>
0000(0H)
Not
Used
(Delay Control Selection)
S2 <5:0>
000000(00H)
TSTCMD <7:0>
(TeST ComManD)
00000000 (00H)
FCM
(FCM
mode)
Not
Used
HSYNCS <2:0>
(H SYNC pulse delay
Selection)
Not UsedMICOM_
0 (0H)000 (0H)
LALT-
CONT
(LALT
signal
CONTrol)
XCK-
CONT
(External
Clock
control
for
kasan)
Not
Used
MPCKS
EL
(Multi-
Media
selection)
HSEL
(Horizontal
selection)
VSEL
(Vertical
selection)
SCK_
CONT
(S-ClocK
control)
0 (0H)0 (0H)0 (0H)0 (0H)0 (0H)0 (0H)0 (0H)
SYNCHSH
(SYNC
wave
SHape)
Not
Used
C422
(4:2:2
mode)
WIDE
(WIDE
mode)
OLPFSEL
(LPF
selection
for ODM)
PAL
(PAL
mode)
HI8
(HIband
8mm
mode)
0 (0H)0 (0H)0 (0H)0 (0H)0 (0H)0 (0H)0 (0H)
N
_SEL
(FSC
Reset
n)
UVCK_
CONT
(UV-
ClocK
control)
DZ
(Digital
zoom
mode)
ENCOD
ER
ENCOD
ER
DLYCO
NT
DLYCO
NT
MICOM_
IF
IF
MICOM_
IF
MICOM_
IF
VID-97-D004
February 1997
27
Page 28
KS7306 DIGITAL CAMERA PROCESSOR
1. ADDRESS 00
1) YVBKTH <1:0> : Vertical Black noise THreshold value
- DATA <7:6>
2) YVBKG <1:0> : Vertical Black noise Gain
- DATA <5:4>
3) YHBKTH <1:0> : Horizontal Black noise THreshold value
1) CCORB <7:0> (CCOR<7:0>) : Color matrix Coeff. of CR signal
- DATA <7:0>
- RANGE : 0 ≤ CCOB < 0.5
- FORMAT : 0.XXXXXXXX
18. ADDRESS 22
1) CCORB <7:0> (CCOR<7:0>) : Color matrix Coeff. of CB signal
- DATA <7:0>
- RANGE : 0 ≤ CCOB < 0.5
- FORMAT : 0.XXXXXXXX
- TIMING : SCK = ″0″
19. ADDRESS 23
1) CWBRB <7:0> (CWBR<7:0>) : Color White Balance Coeff. of CR signal
- DATA <7:0>
- RANGE : 0 ≤ CWBR < 8
- FORMAT : XXX.XXXXX
20. ADDRESS 24
1) CWBRB <7:0> (CWBR<7:0>) : Color White Balance Coeff. of CB signal
- DATA <7:0>
- RANGE : 0 ≤ CWBB < 8
- FORMAT : XXX.XXXXX
21. ADDRESS 25
1) CWBG <7:0> : Color White Balance Coeff. of G signal
- DATA <7:0>
- RANGE : 0 ≤ CWBG < 4
- FORMAT : XX.XXXXXX
VID-97-D004
February 1997
32
Page 33
KS7306 DIGITAL CAMERA PROCESSOR
22. ADDRESS 26
1) CDSRB <7:0> (CDSR<7:0>) : Color Dark Slice coeff. of CR signal
- DATA <7:0>
- RANGE : -128 ≤ CDSR ≤ 127
23. ADDRESS 27
1) CDSG <7:0> (CDSB<7:0>) : Color Dark Slice coeff. of CB signal
- DATA <7:0>
- RANGE : -128 ≤ CDSB ≤ 127
24. ADDRESS 28
1) CDSG <7:0> : Color Dark Slice coeff. of G signal
- DATA <7:0>
- RANGE : -128 ≤ CDSG ≤ 127
25. ADDRESS 29
1) CGY1 <7:0> : Color signal Gamma coeff.1
- DATA <7:0>
26. ADDRESS 2A
1) CGY2 <7:0> : Color signal Gamma coeff.2
- DATA <7:0>
27. ADDRESS 2B
1) CGY3 <7:0> : Color signal Gamma coeff.3
- DATA <7:0>
28. ADDRESS 2C
1) CGY4 <7:0> : Color signal Gamma coeff.4
- DATA <7:0>
29. ADDRESS 2D
1) CGY5 <7:0> : Color signal Gamma coeff.5
- DATA <7:0>
30. ADDRESS 2E
1) CGY6 <7:0> : Color signal Gamma coeff.6
- DATA <7:0>
VID-97-D004
February 1997
33
Page 34
KS7306 DIGITAL CAMERA PROCESSOR
31. ADDRESS 2F
1) CGY7 <7:0> : Color signal Gamma coeff.7
- DATA <7:0>
32. ADDRESS 30
1) CGY8 <7:0> : Color signal Gamma coeff.8
- DATA <7:0>
* Characteristics is the same that LUMINANCE.
33. ADDRESS 31
1) CRRGP <7:0> : CR(R-G) signal Positive Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
34. ADDRESS 32
1) CRRGN <7:0> : CR(R-G) signal Negative Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
35. ADDRESS 33
1) CRBGP <7:0> : CR(B-G) signal Positive Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
36. ADDRESS 34
1) CRBGN <7:0> : CR(B-G) signal Negative Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
37. ADDRESS 35
1) CBRGP <7:0> : CB(R-G) signal Positive Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
38. ADDRESS 36
1) CBRGN <7:0> : CB(B-G) signal Negative Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
February 1997
VID-97-D004
34
Page 35
KS7306 DIGITAL CAMERA PROCESSOR
39. ADDRESS 37
1) CBBGP <7:0> : CB(B-G) signal Positive Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
40. ADDRESS 38
1) CBRGN <7:0> : CB(B-G) signal Negative Gain
- DATA <7:0>
- RANGE : 00H ~ FFH (-1X ~ 1X), 2 ′S complement
41. ADDRESS 39
1) CRGP <7:0> : Color difference signal (R-Y) Positive Gain
- DATA <7:0>
- RANGE : 00H ~ 7FH (0X ~ 2X)
42. ADDRESS 3A
1) CRGN <7:0> : Color difference signal (R-Y) Negative Gain
- DATA <7:0>
- RANGE : 00H ~ 7FH (0X ~ 2X)
43. ADDRESS 3B
1) CRHP <7:0> : Color difference signal (R-Y) Hue Control Positive Gain
- DATA <7:0>
- RANGE : 00H ~ 7FH (-1X ~ 1X), 2 ′S complement
44. ADDRESS 3C
1) CRHN <7:0> : Color difference signal (R-Y) Hue Control Negative Gain
- DATA <7:0>
- RANGE : 00H ~ 7FH (-1X ~ 1X), 2 ′S complement
45. ADDRESS 3D
1) CBGP <7:0> : Color difference signal (B-Y) Positive Gain
- DATA <7:0>
- RANGE : 00H ~ 7FH (0X ~ 2X)
46. ADDRESS 3E
1) CBGN <7:0> : Color difference signal (B-Y) Negative Gain
- DATA <7:0>
- RANGE : 00H ~ 7FH (0X ~ 2X)
VID-97-D004
February 1997
35
Page 36
KS7306 DIGITAL CAMERA PROCESSOR
47. ADDRESS 3F
1) CBHP <7:0> : Color difference signal (B-Y) Hue Control Positive Gain
- DATA <7:0>
- RANGE : 00H ~ 7FH (-1X ~ 1X), 2 ′S complement
48. ADDRESS 40
1) OA112 <7:0> : OPT_DETECT HPF coeff. A11 for AF2
- DATA <7:0>
- NORMALor HI8 mode : 0.8359375 (6BH)
- DIS mode : 0.8046875 (67H)
49. ADDRESS 41
1) OA212 <7:0> : OPT_DETECT HPF coeff. A21 for AF2
- DATA <7:0>
- NORMALor HI8 mode : 0.8984375 (73H)
- DIS mode : 0.8750000 (70H)
50. ADDRESS 42
1) OA222 <7:0> : OPT_DETECT HPF coeff. A22 for AF2
- DATA <7:0>
- NORMALor HI8 mode : - 0.8359375 (95H)
- DIS mode : - 0.8125000 (98H)
51. ADDRESS 43
1) OB102 <7:0> : OPT_DETECT HPF coeff. B10 for AF2
- DATA <7:0>
- NORMALor HI8 mode : 0.9140625 (75H)
- DIS mode : 0.9062500 (74H)
52. ADDRESS 44
1) OB202 <7:0> : OPT_DETECT HPF coeff. B20 for AF2
- DATA <7:0>
- NORMALor HI8 mode : 0.9609375 (7BH)
- DIS mode : 0.9453125 (79H)
53. ADDRESS 45
1) OB212 <7:0> : OPT_DETECT HPF coeff. B21 for AF2
- DATA <7:0>
- NORMALor HI8 mode : - 0.9531250 (86H)
- DIS mode : - 0.9375000 (88H)
VID-97-D004
February 1997
36
Page 37
KS7306 DIGITAL CAMERA PROCESSOR
54. ADDRESS 48
1) OCMD<6:0> : OPT_DETECT ComManD
- DATA <7:0>
OCMD<7><6><5><4><3><2><1><0>MODE
X X X X X X 0 0Select R-Y Signal for AWB Mode
X X X X X X 0 1Select B-Y Signal for AWB Mode
X X X X X X 1 0Select AE Mode
X X X X X X 1 1Select AE Mode
X X X X X 0 X XSelect RAM WRITE Mode
X X X X X 1 X XSelect RAM READ Mode
X X X X 0 X X XSelect High Pass Filtering Mode
X X X X 1 X X XSelect High Pass Filtering SKIP Mode
X X X 0 X X X XSelect AF Window Pulse Disable
X X X 1 X X X XSelect AF Window Pulse Enable
X 1 1 X X X X XSelect Window Counter Output for Test
0 X X X X X X XSelect AF Window 1 Pulse
1 X X X X X X XSelect AF Window 2 Pulse
55. ADDRESS 49
1) OA111 <7:0> : OPT_DETECT HPF coeff. A11 for AF1
- DATA <7:0>
- NORMALor HI8 mode : 0.5781502 (4AH)
- DIS mode : 0.5156250 (42H)
56. ADDRESS 4A
1) OA211 <7:0> : OPT_DETECT HPF coeff. A21 for AF1
- DATA <7:0>
- NORMALor HI8 mode : 0.6562500 (54H)
- DIS mode : 0.5781250 (4AH)
57. ADDRESS 4B
1) OA221 <7:0> : OPT_DETECT HPF coeff. A22 for AF1
- DATA <7:0>
- NORMALor HI8 mode : - 0.6093750 (B2H)
- DIS mode : - 0.5652500 (B8H)
VID-97-D004
February 1997
37
Page 38
KS7306 DIGITAL CAMERA PROCESSOR
58. ADDRESS 4C
1) OB101 <7:0> : OPT_DETECT HPF coeff. B10 for AF1
- DATA <7:0>
- NORMALor HI8 mode : 0.7890625 (65H)
- DIS mode : 0.7578150 (61H)
59. ADDRESS 4D
1) OB201 <7:0> : OPT_DETECT HPF coeff. B20 for AF1
- DATA <7:0>
- NORMALor HI8 mode : 0.7890625 (65H)
- DIS mode : 0.7421875 (5FH)
60. ADDRESS 4E
1) OB211 <7:0> : OPT_DETECT HPF coeff. B21 for AF1
- DATA <7:0>
- NORMALor HI8 mode : - 0.7421875 (A1H)
- DIS mode : - 0.6796875 (A9H)
61. ADDRESS 50
1) OW1SH <7:0> : OPT_DETECT Horizontal Start Point of Window 1 for AF
- DATA <7:0>
- RANGE : OW1SH ≥ OW2SH
62. ADDRESS 51
1) OW1SH <7:0> : OPT_DETECT Horizontal End Point of Window 1 for AF
- DATA <7:0>
- RANGE : OW1SH ≤ OW2SH
63. ADDRESS 52
1) OW1SV <7:0> : OPT_DETECT Vertical Start Point of Window 1 for AF
- DATA <7:0>
- RANGE : OW1SV ≥ OW2SV
64. ADDRESS 53
1) OW1SV <7:0> : OPT_DETECT Vertical End Point of Window 1 for AF
- DATA <7:0>
- RANGE : OW1EV ≤ OW2EV
65. ADDRESS 54
1) OAETH <5:0> : OPT_DETECT AE mode THreshold value
- DATA <5:0>
- IF (Y-signal > OAETH) ⇒ Output ″1″
ELSE ⇒ Output ″0″
VID-97-D004
February 1997
38
Page 39
KS7306 DIGITAL CAMERA PROCESSOR
66. ADDRESS 55
1) OYH_AE <5:0> : OPT_DETECT Y signal Upper Threshold value of AE mode
- DATA <7:0>
67. ADDRESS 56
1) OYL_AE <5:0> : OPT_DETECT Y signal Lower Threshold value of AE mode
- DATA <7:0>
- OYL_AE < Y < OYH_AE
68. ADDRESS 57
1) OYH_AWB <5:0> : OPT_DETECT Y signal Upper Threshold value of AWB mode
- DATA <5:0>
69. ADDRESS 58
1) OYL_AWB <5:0> : OPT_DETECT Y signal Lower Threshold value of AWB mode
- DATA <5:0>
70. ADDRESS 59
1) ORYTH <4:0> : OPT_DETECT R-Y signal Threshold value of AWB mode
- DATA <4:0>
71. ADDRESS 5A
1) OBYTH <4:0> : OPT_DETECT B-Y signal Threshold value of AWB mode
- DATA <4:0>
72. ADDRESS 5B
1) OHPF1EN: OPT_DETECT HPF1 Enable
- DATA <7>
- OHPF1EN = ″0″ : Enable
OHPF1EN = ″1″ : Disable
2) OAREA : OPT_DETECT AWB Area select
- DATA <7>
- OAREA = ″0″ : Narrow Area
OAREA = ″1″ : Full Area
3) ORBYTH <5:0> : OPT_DETECT (R-Y) + (B-Y) signal Threshold value of AWB mode
- DATA <5:0>
VID-97-D004
February 1997
39
Page 40
KS7306 DIGITAL CAMERA PROCESSOR
-ORBYTH
R-Y
R-Y, B-Y Coordinate for AWB
OYL_AWB < Y < OYH_AWB
ORYTH
ORBYTH
-OBYTH
-ORYTH
<AWB Active Area in Y, R-Y, B-Y>
OBYTH
73. ADDRESS 5C
1) OW2SH <7:0> : OPT_DETECT Horizontal Start point Window2 for AF
- DATA <7:0>
- RANGE : 3 ≤ OW2SH ≤ 251
74. ADDRESS 5D
1) OW2EH <7:0> : OPT_DETECT Horizontal End point Window2 for AF
- DATA <7:0>
- RANGE : 3 ≤ OW2EH ≤ 255
B-Y
75. ADDRESS 5E
1) OW2SV <7:0> : OPT_DETECT Vertical Start point Window2 for AF
- DATA <7:0>
- RANGE : 2 ≤ OW2SH ≤ 121
76. ADDRESS 5E
1) OW2EV <7:0> : OPT_DETECT Vertical End point Window2 for AF
- DATA <7:0>
- RANGE : 3 ≤ OW2SH ≤ 122
VID-97-D004
February 1997
40
Page 41
KS7306 DIGITAL CAMERA PROCESSOR
77. ADDRESS 60
1) OAWO <23:16> : (OA1W1H<7:0>) : OPT_DETECT AF1 accumulation result of Window1
- DATA <7:0>
78. ADDRESS 61
1) OAWO <7:0> : (OA2W1L<7:0>) : OPT_DETECT AF2 accumulation result of Window1
- DATA <7:0>
79. ADDRESS 62
1) OAWO <15:8> : (OA2W1M<7:0>) : OPT_DETECT AF2 accumulation result of Window1
- DATA <7:0>
80. ADDRESS 63
1) OAWO <23:16> : (OA2W1H<7:0>) : OPT_DETECT AF2 accumulation result of Window1
- DATA <7:0>
81. ADDRESS 64
1) OAWO <7:0> : (OA1W2L<7:0>) : OPT_DETECT AF1 accumulation result of Window2
- DATA <7:0>
82. ADDRESS 65
1) OAWO <15:8> : (OA1W2M<7:0>) : OPT_DETECT AF1 accumulation result of Window2
- DATA <7:0>
83. ADDRESS 66
1) OAWO <23:16> : (OA1W2H<7:0>) : OPT_DETECT AF1 accumulation result of Window2
- DATA <7:0>
84. ADDRESS 68
1) OADR <5:0> : OPT_DETECT loadable RAM Address
- DATA <5:0>
- RANGE : 0 ~ 63
85. ADDRESS 69
1) OMDO <7:0> (OMDL<7:0>) : OPT_DETECT RAM Data
- DATA <7:0>
86. ADDRESS 6A
1) OMDO <15:8> (OMDH<7:0>) : OPT_DETECT RAM Data
- DATA <7:0>
VID-97-D004
February 1997
41
Page 42
KS7306 DIGITAL CAMERA PROCESSOR
87. ADDRESS 6B
1) OACCO <7:0> (OACCL<7:0>) : OPT_DETECT AE/AWB Accumulation result
- DATA <7:0>
88. ADDRESS 6C
1) OACCO <15:8> (OACCM<7:0>) : OPT_DETECT AE/AWB Accumulation result
- DATA <7:0>
89. ADDRESS 6D
1) OACCO <23:16> (OACCH<7:0>) : OPT_DETECT AE/AWB Accumulation result
- DATA <7:0>
90. ADDRESS 6E
1) OAWO <7:0> (OA1W1L<7:0>) : OPT_DETECT AF1 Accumulation result of Window1
- DATA <7:0>
91. ADDRESS 6F
1) OAWO <15:8> (OA1W1M<7:0>) : OPT_DETECT AF1 Accumulation result of Window1
EDLY_SEL <3><2><1><0>DELAY
X X 0 0 0 Delays for CSYNCO
X X 0 1 1 Delays for CSYNCO
X X 1 0 2 Delays for CSYNCO
X X 1 1 3 Delays for CSYNCO
0 0 X X0 Delays for BFO
0 1 X X1 Delays for BFO
1 0 X X2 Delays for BFO
1 1 X X3 Delays for BFO
3) EBFDLY <1:0> : Encoder BF signal DeLaY Selection