11.0 Power Consumption _______________________________________________________ 32
July 28, 19992
AL250/251 Video Scan Doubler
1.0 Features
• Convert interlaced TV signal (NTSC/PAL) into
non-interlaced RGB format for CRT monitors
or LCD panels
• Highly integrated design with built-in DAC,
SRAM, OSD and LUT
• Built-in on-screen-display with programmable
bitmap
• Interpolated scan doubling with no tearing or
jagged edge artifacts
• Reduced interlace flicker
• Auto NTSC/PAL detect
• Digital video input of square pixel, ITU-RBT
601 (CCIR 601), or user-defined format
• Analog/digital non-interlaced RGB (VGA)
signal output (Scan Doubled or Deinterlaced)
• I2C programming interface
• Power-down control via I2C
AL250
• Internal RGB video lookup table (LUT) to
provide gamma correction and special effects
• Overlay support for title making and complex
on-screen display
• Self-initialization without software (Plug &
Play)
• 3.3 or 5 volt support
• 16-bit digital RGB/YUV output (AL251 only)
2.0 Applications
• TV-ready Multimedia Computer Monitor
• TV to PC Video Scan Converter Box
• Progressive Scan TV
• Video Game Station
• DVD Player
• LCD TV Monitor
Digital
YUV or RGB
input
VCLK
VCLKX2
VIDHS
VIDVS
HREF
16
Video Memory
Video
Formatter
Timing
Control
GVS
GHS
GHREF
On-screen
Display
Video Processor
and Scan Doubler
I2C Circuit
2
SCL
SDA
CADDR
2
I
OVLCTRL
RGB
Video
Lookup
Tables
Mode Control
STD
RESET
INTYPE
8-bit DAC
8-bit DAC
8-bit DAC
SQUARE
16
AL250-01
Digital YUV or
RGB output
(AL251)
R
G
B
RSET
VREF
COMP
July 28, 19993
AL250
3.0 General Description
The AL250/251 Video Scan Doubler (De-Interlacer) is a video conversion chip for consumer video
and multimedia applications. It converts interlaced NTSC or PAL, ITU-RBT 601 (CCIR 601) or
square pixel, YUV422 or RGB565 digital signals into computer monitor RGB signals for direct
connection to a computer monitor or progressive scan TV.
By using I2C interface control, the AL250/251 can also be programmed to co-ordinate with various
input resolutions, adjust screen positioning and crop video noise from around the original input video
boundary.
The internal RGB video lookup tables (LUT), which are controlled via I2C interface, can provide
gamma correction for calibrating the color accuracy of different types of CRT’s and improving the
contrast level to display more vivid pictures.
A built-in on-screen-display (OSD) provides programmable bitmap RAM for custom design icons and
on-screen control panels.
Overlay function is supported to create titling or on-screen-display menus for video adjustment.
The AL251 provides all the features of the AL250. Additionally, it has digital output in YUV422 or
RGB565 format, and can convert NTSC video for VGA LCD panels.
The AverLogic proprietary digital signal processing technology creates a highly stable video image
without tearing effects or jagged edges. The output picture is smoother and has less flicker than the
original input signal/picture.
SymbolType250 Pin #251 Pin #Description
Video Interface
AL250
VDIN (15 to 0) in (CMOS)64-61, 59-
57, 55-52,
51-47
VCLKin (CMOS)36Video clock input
VCLKX2in (CMOS)692 times of video clock input
VIDHSin (CMOS)14Horizontal sync. input signal
VIDVSin (CMOS)47Vertical sync. input signal
HREFin (CMOS)710Horizontal reference input signal; this signal is
Graphic Interface
RSETIn (100 ohm)3037Full Scale Current Adjust; 100 ohm pull-down
VREFin (1.235V)3239Voltage Reference Input
COMP
ARout (0.7V)2835VGA analog red output
out (0.1µF)
3138
79-76, 7472, 70-67,
62-58
Digital video data input. Please refer to the input
data format table for details
used to indicate data on the digital YUV bus. The
positive slope marks the beginning of a new
active line.
Compensation pin; 0.1µF pull-up
AGout (0.7V)2633VGA analog green output
ABout (0.7V)2431VGA analog blue output
DO (15 to 0)out (CMOS)N/A66-63, 26-
23, 56-55,
52-47
GHSout (TTL)2229VGA horizontal sync. output signal
GVSout (TTL)2128VGA vertical sync. output signal
GHREFout (CMOS)2027VGA horizontal reference output signal; it can be
Reset & Mode Select
/RESETin (CMOSd)1518Reset input; active low
STD (1 to 0)in (CMOSd)9, 812, 11Video Input Standard select
Digital YUV422 or RGB565 output, selected by
register 08h <7>
used to indicate blanking interval.
00: NTSC input
July 28, 19996
AL250
01: PAL input
10: Automatic standard detection
11: Reserved for testing
INTYPEin (CMOSd)1114Input video data format select
To select YUV422 or RGB565 as the input format, program the Board Configuration Register #02h,
or set the hardware pin “INTYPE” (AL250 pin#11, AL251 pin#14).
The AL251 provides digital output in RGB565 or YUV422 format. The pin definition and the
RGB565 to 888 mapping is as follows:
To select YUV422 or RGB565 as the output format, program the Control Register #08h<7>, i.e.,
OutFormat.
6.2 Default Resolution
The resolution of the AL250/251 applications depends on the input video source, e.g., the digital
video decoder. The typical resolution of the video decoder that the AL250/251 supports without
software, and the VCLK frequency provided by the decoder to the AL250/251 is as follows:
Square PixelCCIR 601
NTSCPALNTSCPAL
Pixel Total780 x 525944 x 625858 x 525864 x 625
Pixel Active640 x 480768 x 576720 x 480720 x 576
VCLKx2 (MHz)24.54545429.52727
VCLK (MHz)12.27272714.7513.513.5
The AL250/251 can process up to 768 active pixels per line and 1024 lines per frame.
6.3 Video Timing
The AL250/251 registers 20h~29h and 2Bh~2Eh are used to control the video timing. All increments
are either by 8 pixels per line or by 4 lines per frame. All values (times 8 or 4) are relative to the input
July 28, 19999
AL250
video source H-sync or V-sync. These registers need to be programmed if the input video resolution
is different from the default resolution supported.
The H-sync Start and End (registers 22h and 23h) define the output horizontal sync period relative to
the input H-sync leading edge.
The Horizontal Blank Start and End (registers 2Bh and 2Ch) define the output H-sync blanking
period.
The Horizontal Capture Start and End (registers 20h and 21h) define the active pixels in each line
relative to the input video H-sync. These registers can also be used for adjusting the position of the
output picture.
The Horizontal Total High and Low (registers 24h and 29h) define the total number of pixels per line.
The AL250/251 can detect the H-total automatically when the input data is of the typical resolution
mentioned in the Default Resolution section.
The V-sync Start and End (registers 27h and 28h) define the output V-sync period relative to the input
V-sync start.
The Vertical Blank Start and End (registers 2Dh and 2Eh) define the output V-sync blanking period.
The Vertical Capture Start and End (registers 25h and 26h) define the active lines.
The total number of lines per frame (Vertical Total) is detected by the AL250/251 automatically.
To take advantage of the auto detection of the AL250/251, set the bit 3 of the Control register #08h
(Softtime) as 0. If a user-defined input format is used, then disable the hardware default by setting this
bit as 1, and write all of the parameters to the corresponding registers to define the format. The
sample code the AL250EVB provides disables the hardware settings.
The following typical parameters (as well as hardware default values) are for reference:
ModeSquare NTSCSquare PALCCIR NTSCCCIR PAL
H(Horizontal) total780944858864
V(Vertical) total525625525625