The HMP8117 is a high quality NTSC and PAL video
decoder with internal A/D converters. It is compatible with
NTSC M, PAL B, D, G, H, I, M, N, and combination N (N
video standards.
Both composite and S-video (Y/C) input formats are
supported. A 2-line comb filter plus a user-selectable
chrominance trap filter provide high quality Y/C separation.
User adjustments include brightness, contrast, saturation,
hue, and sharpness.
Vertical blanking interval (VBI) data, such as Closed
Captioning, Wide Screen Signalling and Teletext, may be
captured and output as BT.656 ancillary data. Closed
Captioning and Wide Screen Signalling information mayalso
be read out via the I
The Videolyzer™ feature provides approved Macrovision
copy-protection bypass and detection.
2
C interface.
)
C
™
Ordering Information
TEMP RANGE
PART NUMBER
HMP8117CN0 to 7080 Ld PQFP Q80.14x20
HMPVIDEVAL/ISA Evaluation Board: ISA Frame Grabber
NOTES:
1. PQFP is also known as QFP and MQFP.
2. Evaluation Board descriptions are in the Applications section.
(oC)PACKAGE
PACKAGE
NO.
4643
Features
• (M) NTSC and (B, D, G, H, I, M, N, NC) PAL Operation
- Optional Auto Detect of Video Standard
- ITU-R BT.601 (CCIR601) and Square Pixel Operation
• Videolyzer Feature
- Macrovision™ Bypass and Detection
• Digital Anti-Alias Filter
• Power Down Mode
• Digital Output Formats
- VMI Compatible
- 8-bit, 16-bit 4:2:2 YCbCr
- 15-bit (5,5,5), 16-bit (5,6,5) RGB
- Linear or Gamma-Corrected
- 8-bit BT.656
• Analog Input Formats
- Three Analog Composite Inputs
- Analog Y/C (S-video) Input
• “Raw” (Oversampled) VBI Data Capture
• “Sliced” VBI Data Capture Capabilities
- Closed Captioning
- Widescreen Signalling (WSS)
- BT.653 System B, C and D Teletext
- North American Broadcast Teletext (NABTS)
- World System Teletext (WST)
• 2-Line (1H) Comb Filter Y/C Separator
2
• Fast I
C Interface
Applications
• Multimedia PCs
• Video Conferencing
• Video Compression Systems
• Video Security Systems
• LCD Projectors and Overhead Panels
• Related Products
- NTSC/PAL Encoders: HMP815x, HMP817x, HMP819x
- NTSC/PAL Decoders: HMP8112A, HMP8115
1
CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures.
Videolyzer™ is a trademark of Intersil Corporation. Macrovision™ is a trademark of Macrovision Corporation.
The HMP8117 is designed to decode baseband composite
or S-video NTSC and PAL signals, and convert them to
either digital YCbCr or RGB data. In addition to performing
the basic decoding operations, these devices include
hardware to decode different types of VBI data and to
generate full-screen blue, black and color bar patterns.
Digital PLLs are used to synchronize to all NTSC and PAL
standards. A chroma PLL is used to maintain color lock for
chroma demodulation while a line-locked PLL is used to
maintain vertical spatial alignment. The PLLs are designed
to maintain lock in the presence of VCR head switches, VCR
trick-mode and multi-path noise.
The HMP8117 provides the Videolyzer feature for
Macrovision (MV) copy-protection bypass and detection.
External Video Processing
Before a video signal can be digitized the decoder has some
external processing considerations that need to be
addressed. This section discusses those external aspects of
the HMP8117.
Analog Video Inputs
The HMP8117 supports either three composite or two
composite and one S-video input.
Three analog video inputs (CVBS 1-3) are used to select
which one of three composite video sources are to be
decoded. To support S-video applications, the Y channel
drives the CVBS3(Y) analog input, and the C channel drives
the C analog input.
The analog inputs must be AC-coupled to the video signals,
as shown in the Applications section.
Digitization of Video
Prior to A/D conversion, the input signal is offset and scaled to
known video levels. After digitization, sample rate converters
and a comb filter are used to perform color separation and
demodulation.
A/D Conversion
Each CVBSX video input channel has a video clamp circuit
that is independent of PLL timing. The input clamp provides
a coarse signal offset to position the sync tip within the A/D
converter sampling range so that the AGC and DCRESTORE logic can operate.
A/D Conversion
Video data is sampled at the CLK2 frequency then processed
by the input sample rate conv erter. The output levels of the
ADC after AGC and DC restoration processing are:
(M) NTSC
(M, N) PAL
white196196
black6659
blank5659
sync00
AGC and DC Restoration
The AGC amplifier attenuates or amplifies the analog video
signal to ensure that the blank lev el gener ates code 56 or 59
depending on the video standard. The difference from the
ideal blank lev el of 56 or 59 is used to control the amount of
attenuation or gain of the analog video signal. To obtain a
stable DC reference f or the AGC, a digital low-pass filter
removes the chroma burst from the input signal’s backporch.
(B, D, G, H, I, NC)
PAL
Anti-alias Filters
Although a 23 tap digital halfband anti-alias filter is provided
for each A/D channel, an external passive filter is
recommended for optimum performance. The digital filter
has a flat response out to 5.4MHz with an approximate -3dB
bandwidth of 6.3MHz using a 27MHz input CLK2 sample
rate. For the CVBSx inputs, the filter is connected between
the YOUT and YIN pins. For the C (chroma) input, the antialias filter should be connected before the C input.
Recommended filter configurations are shown on the
reference schematic in Figure 20. These filters have flat
response out to 4.2MHz with an approximate -3dB
bandwidth of 8MHz. If upgrading from the HMP8115 or
HMP8112A, the previous filter configurations may be used
but with slightly degraded bandwidth. Alternative higher or
lower performance filters configurations may substituted.
5
DC restoration positions the video signal so that the sync tip
generates a code 0. The internal timing windows for AGC
and DC restoration are show in Figure 3. The appropriate
windows are automatically determined by the decoder when
the input signal is auto-detected or manually selected.
VIDEO INPUT
AGC
DC RESTORE
FIGURE 1. AGC AND DC RESTORE INTERNAL TIMING
HMP8117
Input Signal Detection
If no input video signal is detected for 16 consecutive line
periods, nominal video timing is generated for the previously
detected or programmed video standard. A maskable
interrupt is provided for the condition of “Input Signal Loss”
allowing the host to enable blue field output if desired.
Vertical Sync and Field Detection
The vertical sync and field detect circuit uses a low time
counter to detect the vertical sync sequence in the video
data stream. The low time counter accumulates the low time
encountered during any sync pulse, including serration and
equalization pulses. When the low time count exceeds the
vertical sync detect threshold,
VSYNC is asserted
immediately. FIELD is asserted at the same time that
VSYNC is asserted. FIELD is asserted low forodd fields and
high for even fields. Field is determined from the location in
the video line where VSYNC is detected. If VSYNC is
detected in the first half of the line, the field is odd. If VSYNC
is detected in the second half of a line, the field is even.
In the case of lost vertical sync or excessive noise that would
prevent the detection of v ertical sync, the FIELD output will
continue to toggle. Lost vertical sync is declared if after 337
lines, a vertical sync period was not detected for 1 or 3
(selectable) successive fields as specified by bit 2 of the
GENLOCK CONTROL register 04
. When this occurs, the
H
PLLs are initialized to the acquisition state.
Y/C Separation
A composite video signal has the luma (Y) and chroma (C)
information mixed in the same video signal. The Y/C
separation process is responsible for separating the
composite video signal into these two components. The
HMP8117 utilizes a comb filter to minimize the artifacts that
are associated with the Y/C separation process.
Input Sample Rate Converter
The input sample rate converter is used to convert video data
sampled at the CLK2 rate to a virtual 4xf
comb filtering and color demodulation. An interpolating filter is
used to generate the 4xf
samples as illustrated in Figure 2.
SC
sample rate for
SC
Comb Filter
A 2-line comb filter, using a single line delay, is used to
perform part of the Y/C separation process. During S-video
operation, the Y signal bypasses the comb filter; the C signal
is processed by the comb filter since it is an integral part of
the chroma demodulator. During PAL operation, the chroma
trap filter should also be enabled for improved performance.
Since a single line store is used, the chroma will normally
have a half-line vertical offset from the luma data. This may
be eliminated, vertically aligning the chroma and luma
samples, at the expenseofvertical resolution of the luma. Bit
0 of the OUTPUT FORMAT register 02
controls this option.
H
Chroma Demodulation
The output of the comb filter is further processed using a
patented frequency domain transform to complete the Y/C
separation and demodulate the chrominance.
Demodulation is done at a virtual 4xf
sample rate using
SC
the interpolated data samples to generate U and V data. The
demodulation process decimates by 2 the U/V sample rate.
Output Sample Rate Converter
The output sample rate converter converts the Y, U and V data
from a virtual 4xf
sample rate to the desired output sample
SC
rate (i.e., 13.5MHz). It also vertically aligns the samples based
on the horizontal sync information embedded in the digital
video data stream.Theoutputsamplerateisdeterminedbythe
input video standard and the selected rectangular/square pixel
mode. The output pixel rate is 1/2 of the CLK2 input clock
frequency. The output format is 4:2:2 for all modes except the
RGB modes which use a 4:4:4 output format.
CLK2 Input
The decoder requires a stable clock source for the CLK2
input. For best performance, use termination resistor(s) to
minimize pulse overshoot and reflections on the CLK2 input.
Since chroma demodulation uses the virtual 4xf
on CLK2 will be transferred as chrominance error on the
output pixels. The CLK2 clock frequency must be one of the
valid selections from Table 1 below based on the video
standard and desired pixel mode.
, any jitter
SC
INCOMING VIDEO SAMPLES
TIME
RESAMPLED VIDEO
TIME
4xf
SC
FIGURE 2. SAMPLE RATE CONVERSION
6
TABLE 1. VIDEO STANDARDCLOCKRATE SELECTION
SUMMARY
VALID CLK2
FREQUENCIES (MHz)
RECTANGULAR
VIDEO FORMAT
(M) NTSC, (M) PAL27.0024.54
(B, D, G, H, I,N,NC) PAL27.0029.50
PIXEL MODE
SQUARE PIX-
EL MODE
The CLK2 should be derived from a stable clock source,
such as a crystal. CLK2 must have at least a ±50ppm
accuracy and at least a 60/40% duty cycle to ensure proper
HMP8117
operation. Use of a PLL to generate a “Line Locked” CLK2
input based on the input video is not recommend. (See next
section below.)
Cycle Slipping and Real-Time Pixel Jitter
The decoder’s digital PLL allows it to maintain lock and
provide high quality Y/C separation even on the poorest
quality input video signals. However, this architecture does
not provide a “Line Lock Clock” output and should
used as a timing master for direct interface to another video
encoder in a system.
Since the decoder uses a fixed CLK2 input frequency, the
output pixel rate must be periodically adjusted to
compensate for any frequency error between CLK2 and the
input video signal. This output pixel rate adjustment is
referred to as cycle slipping. Since the decoder has an
output data FIFO, all cycle slipping can be deferred until the
next horizontal blanking interval. This guarantees a
consistent number of pixels during the active video region.
Due to cycle slipping, the output timing and data will exhibit a
nominal real-time (line-to-line) pixeljitterofoneCLK2period.
Although the sample rate converter maintains a 1/8 pixel
vertical sample alignment, the output data must be routed to
a frame buffer or video compression chip in order remove
the effects of cycle slipping. (The frame buffer or
compression chip serves as a time base corrector.)
By directly interfacing the decoder to a video encoder, the
output video signal will directly reflect the real-time pixel jitter
effects of the decoder output timing. The jitter effects can be
visualized on a CRT monitor using a static image containing
patterns with sharp vertical edges. The edges will appear
more “ragged” when compared to the input video signal. The
severity of this visual effect relates directly to the frequency
error between CLK2 and the input video signal. It is nearly
impossible to completely match CLK2 with the input video
signal. Therefore, a direct decoder to encoder interface is
not recommended.
The use of an external PLL to generate a “Line Locked”
CLK2 input derived from the input video signal is also not
recommended, since this will defeat the internal digital PLL
and result in pixel decoding errors.
not be
Digital Processing of Video
Once the luma and chroma have been separated the
HMP8117 then performs programmable modifications (i.e.
contrast, coring, color space conversions,color AGC,etc.)to
the decoded video signal.
UV to CbCr Conversion
The baseband U and V signals are scaled and offset to
generate a nominal range of 16-240 for both the Cb and Cr
data.
Digital Color Gain Control
There are four types of color gain control modes available:
no gain control, automatic gain control, fixed gain control,
and freeze automatic gain control.
If “no gain control” is selected, the amplitude of the color
difference signals (CbCr) is not modified, regardless of
variations in the color burst amplitude. Thus, a gain of 1x is
always used for Cb and Cr.
If “automatic gain control” is selected, the amplitude of the
color difference signals (CbCr) is compensated for variations
in the color burst amplitude. The burst amplitude is averaged
with the two previous lines having a color burst to limit lineto-line variations. A gain of 0.5x to 4x is used for Cb and Cr.
If “fixed gain control” is selected, the amplitude of the color
difference signals (CbCr) is multiplied by a constant,
regardless of variations in the color burst amplitude. The
constant gain value is specified by the COLOR GAIN
register 1C
Limiting the gain to 4x limits the amount of amplified noise.
If “freeze automatic gain control” is selected, the amplitude of
the color difference signals (CbCr) is multiplied by a constant.
This constant is the value the AGC circuitry generated when
the “freeze automatic gain” command was selected.
. A gain of 0.5x to 4x is used for Cb and Cr.
H
Color Killer
If “enable color killer” is selected, the color output is turned
off when the running average of the color burst amplitude is
below approximately 25% of nominal for four consecutive
fields. When the running average of the color burst
amplitude is above approximately 25% of nominal for four
consecutive fields, the color output is turned on. The color
output is also turned off when excessive phase error of the
chroma PLL is present.
If “force color off” is selected, color information is never
present on the outputs.
If “force color on” is selected, color information is present on
the outputs regardless of the color burst amplitude or
chroma PLL phase error.
Y Processing
The black level is subtracted from the luminance data to
remove sync and any blanking pedestal information.
Negative values of Y are supported at this point to allow
proper decoding of “below black” luminance levels.
Scaling is done to position black at 8-bit code 0 and white at
8-bit code 219.
A chroma trap filter may be used to remov e any residual color
subcarrier from the luminance data. The center frequency of
the chroma trap is automatically determined from the video
standard being decoded. The chroma trap should be disabled
during S-video operation to maintain maximum luminance
bandwidth. Alternately, a 3MHz lo w-pass filter may be used to
7
HMP8117
remove high-frequency Y data. This may mak e a noisy image
more pleasing to the user, although softer.
Coring of the high-frequency Y data may be done to reduce
low-level high frequency noise.
Coring of the Y data may also be done to reduce low-level
noise around black. This forces Y data with the following
values to a value of 0:
High-frequency components of the luminance signal may be
“peaked” to control the sharpness of the image. Maximum
gain may be selected to occur at either 2.6MHz or the color
subcarrier frequency. This may be used to make the
displayed image more pleasing to the user. It should not be
used if the output video will be compressed, as the circuit
introduces high-frequency components that will reduce the
compression ratio.
The brightness control adds or subtracts a user-specified
DC offset to the Y data. The contrast control multiplies the Y
data by a user-specified amount. These may be used to
make the displayed image more pleasing to the user.
Finally, a value of 16 is added to generate a nominal range of
16 (black) to 235 (white).
CbCr Processing
The CbCr data is low-pass filtered to either 0.85MHz or
1.5MHz.
Coring of the CbCr data may be done to reduce low-level
noise around zero. This forces CbCr data with the following
values to a value of 128.
The saturation control multiplies the CbCr data by a userspecified amount. This may be used to make the displayed
image more pleasing to the user. The CbCr data may also
be optionally multiplied by the contrast value to avoid color
shifts when changing contrast.
The hue control provides a user-specified phase offset to the
color subcarrier during decoding. This may be used to
correct slight hue errors due to transmission.
YCbCr Output Format Processing
Y has a nominal range of 16 to 235. Cb and Cr have a
nominal range of 16 to 240, with 128 corresponding to zero.
Values less than 1 are made 1 and values greater than 254
are made 254.
While
BLANK is asserted, Y is forced to have a value of 16,
with Cb and Cr forced to have a value of 128, unless VBI
data is present.
RGB Output Format Processing
The 4:2:2 YCbCr data is converted to 4:4:4 YCbCr data and
then converted to either 15-bit or 16-bit gamma-corrected
RGB (R′G′B′) data. While
forced to a value of 0.
15-Bit R′G′B
The following YCbCr to R′G′B′ equations are used to
maintain the proper black and white levels:
The resulting 15-bit R′G′B′ data has a range of 0 to 31.
Values less than 0 are made 0 and values greater than 31
are made 31.
The 15-bit R′G′B′ data may be converted to 15-bit linear
RGB, using the following equations. Although the PAL
specifications specify a gamma of 2.8, a gamma of 2.2 is
normally used. The HMP8117 allows the selection of the
gamma to be either 2.2 or 2.8, independent of the video
standard.
for gamma = 2.2:
for R′G′B′ < 0.0812*31
for R′G′B′ >= 0.0812*31
for gamma = 2.8:
R = (31)(R′/31)
G = (31)(G′/31)
B = (31)(B′/31)
16-Bit R′G′B
The following YCbCr to R′G′B′ equations are used to
maintain the proper black and white levels:
The resulting 16-bit R′G′B′ data has a range of 0 to 31 for R′
and B′, and a range of 0 to 63 for G′. Values less than 0 are
made 0; R′ and B′ values greater than 31 are made 31, G′
values greater than 63 are made 63.
The 16-bit R′G′B′datamaybeconverted to 16-bit linear RGB,
using the followingequations.Although the PAL specifications
specify a gamma of 2.8, a gamma of 2.2 is normally used.
The HMP8117 allows the selection of the gamma to be either
2.2 or 2.8, independent of the video standard.
′
R = (31)((R′/31)/4.5)
G = (31)((G′/31)/4.5)
B = (31)((B′/31)/4.5)
R = (31)(((R′/31) + 0.099)/1.099)
G = (31)(((G′/31) + 0.099)/1.099)
B = (31)(((B′/31) + 0.099)/1.099)
′
BLANK is asserted, RGB data is
2.2
2.2
2.2
2.8
2.8
2.8
8
HMP8117
for gamma = 2.2:
for R′B′ < 0.0812*31, G′ < 0.0812*63
R = (31)((R′/31)/4.5)
G = (63)((G′/63)/4.5)
B = (31)((B′/31)/4.5)
for R′B′ >= 0.0812*31, G′ >= 0.0812*63
R = (31)(((R′/31) + 0.099)/1.099)
G = (63)(((G′/63) + 0.099)/1.099)
B = (31)(((B′/31) + 0.099)/1.099)
2.2
2.2
2.2
for gamma = 2.8:
R = (31)(R′/31)
G = (63)(G′/63)
B = (31)(B′/31)
2.8
2.8
2.8
Built-in Video Generation
The decoder can be configured to output a full-screen of built-in
blue, black or 75% color bar patterns. The type of pattern
generated is determined by bits 2-1 of the OUTPUT FORMAT
register 02
bits need to be set for normal operation to pass decoded video.
If the decoder is currently locked to a video source on the
input, the output data timing will be based on the input video
source. If an input video source is not detected, internallygenerated output data timing will be used. The following
table lists the data codes output for each built-in video
pattern in YCbCr format.
. When built-in video generation is not desired, the
H
Pixel Port Timing
The the timing and format of the output data and control
signals is presented in the following sections. Refer to the
section “CYCLE SLIPPING AND REAL-TIME PIXEL
JITTER” for PLL and interface considerations.
HSYNC and VSYNC Timing
The HSYNC and VSYNC output timing is VMI v1.4 compatible.
Figures 3-6 illustrate the video timing. The leading edge of
HSYNC is synchronous to the video input signal and has a
fixed latency due to internal pipeline processing. The pulse
width of the
36
, where the trailing edge of HSYNC has a programmable
H
delay of 0-510 CLK2 cycles from the leading edge.
Theleadingedgeof
through the first serration pulse of each field. An accumulator is
used to detect a low-time period within the serration pulse.
Since the leading edge of
used for timing with respect to
The trailing edge of VSYNC implements the VMI handshake
with
using the FIELD pin. For an odd field, the trailing edge of
VSYNC is 5 ±1 CLK2 cycles after the trailing edge of the
HSYNC that follows the last equalization pulse. Refer to
Figures 3 and 5. For an even field, the trailing edge of
is 5
±1 CLK2 cycles after the leading edge of the HSYNC that
follows the last equalization pulse. Refer to Figures 4 and 6.
HSYNC is defined by the END HSYNC register
VSYNCisasserted approximatelyhalfw a y
VSYNC is detected, it should not be
HSYNC or BLANK.
HSYNC in order to determine field information without
VSYNC
TABLE 2. BUILT-IN VIDEO PATTERN DATA CODES
PATTERN: COLORYCbCr
75% Color Bar: White
Magenta
Blue Screen: Blue4B
Black Screen: Black10
NTSC(M) LINE#
PAL(M) LINE#
VIDEO
INPUT
HSYNC
VSYNC
FIELD
Yellow
Cyan
Green
Red
Blue
Black
B4
A2
83
70
54
41
23
10
H
H
H
H
H
H
H
H
H
H
80
H
2C
H
9C
H
48
H
B8
H
64
H
D4
H
80
H
D9
H
80
H
12345678910525524
523
‘EVEN’ FIELD
5245251234567522521
80
8E
2C
3A
C6
D4
72
80
88
80
Field Timing
When field information can be determined from the input
H
H
H
H
H
H
H
H
H
H
video source, the FIELD output pin reflects the video source
field state. When field information cannot be determined
from the input video source, the FIELD output pin alternates
its state at the beginning of each field. FIELD changes state
5
±1 CLK2 cycles before the leading edge of VSYNC.
‘ODD’ FIELD
FIGURE 3. NTSC(M) AND PAL(M) ODD FIELD TIMING
9
HMP8117
NTSC(M) LINE#
PAL(M) LINE#
VIDEO
INPUT
HSYNC
VSYNC
FIELD
VIDEO
INPUT
HSYNC
VSYNC
FIELD
264
261
‘ODD’ FIELD‘EVEN’ FIELD
FIGURE 4. NTSC(M) AND PAL(M) EVEN FIELD TIMING
623LINE #6246251234567622621
‘EVEN’ FIELD
FIGURE 5. PAL(B, D, G, H, I, N, NC) ODD FIELD TIMING
265266267268269270271272273263262
262263264265266267268269270260259
‘ODD’ FIELD
311LINE #312313314315316317318319320310309
VIDEO
INPUT
HSYNC
VSYNC
FIELD
‘ODD’ FIELD‘EVEN’ FIELD
FIGURE 6. PAL(B, D, G, H, I, N, NC) EVEN FIELD TIMING
BLANK and DVALID Timing
DVALID is asserted when P15-P0 contain valid data. The
behavior of the
(DVLD_LTC) and bit 5 (DLVD_DCYC) of the GENLOCK
CONTROL register 04
The BLANK output pin is used to distinguish the blanking
interval period from active video data. The blanking intervals
are programmable in both horizontal and vertical
dimensions. Reference Figure 7 for active video timing and
use Table 3 for typical blanking programming values.
During active scan lines,
horizontal pixel count matches the value in the START
H_BLANK register 31
DVALID output is determined by bit 4
for each video output mode.
H
BLANK is asserted when the
/30H. The pixelcounteris000Hat the
H
leading edge of the sync tip after a fixed pipeline delay. Since
blanking normally occurs on the front porch, (prior to count
000H) the START H_BLANK count must be programmed
with a large value from the previous line. Refer to the Last
Pixel Count from Table 3.
BLANK is negated when the
horizontal pixel count matches the value in the END
H_BLANK register 32
. Note that horizontally, BLANK is
H
programmable with two pixel resolution.
START V_BLANK register 34
register 35
determine which scan lines are blanked for each
H
field. During inactivescanlines,
/33H and END V_BLANK
H
BLANK is asserted during the
entire scan line. Half-line blanking of the output video cannot
be done.
10
HMP8117
NTSC MPAL B, D, G, H, I, N, N
480 ACTIVE
LINES/FRAME
(NTSC, PAL M)
LINES 1 - 22 NOT ACTIVE
240 ACTIVE LINES
PER FIELD
(LINES 23-262)
LINES 263 - 284 NOT ACTIVE
240 ACTIVE LINES
PER FIELD
(LINES 285 - 524)
LINE 525
NOT ACTIVE
TOTAL PIXELS
ACTIVE PIXELS
FRONT
PORCH
NTSCPAL
858
720
ODD FIELD
SYNC AND
BACK
PORCH
VERTICAL
BLANKING
EVEN FIELD
NUMBER OF PIXELS
RECTANGULAR (SQUARE)
(780)
(640)
864
720
(944)
(768)
NOTE:
3. The line numbering for PAL (M) is the NTSC (M) line count minus 3 per the video standards.
FIGURE 7. TYPICAL ACTIVE VIDEO REGIONS
TABLE 3. TYPICAL VALUES FOR H_BLANK AND V_BLANK REGISTERS
4. Definitions in brackets are port definitions during raw VBI data transfers. Refer to the section on teletext for more information on raw VBI.
11
HMP8117
Pixel Output Port
Pixel data is output via the P0-P15 pins. Refer to Table 4 for
the output pin definition as a function of the output mode.
Refer to the section “CYCLE SLIPPING AND REAL-TIME
PIXEL JITTER” for PLL and interface considerations.
8-Bit YCbCr Output
Each YCbCr data byte is output following each rising edge of
CLK2. The YCbCr data is multiplexedas[CbY Cr Y′ CbYCr
CLK
DVALID
BLANK
NOTE:
P[15-8]
t
DVLD
Cb
Y
0
0
Cr
0
Y′...], with the first active data each scan line containing Cb
data. The pixel output timing is shown in Figures 8 and 9.
BLANK, HSYNC, VSYNC, DVALID, VBIVALID, and FIELD
are output following the rising edge of CLK2. When
is asserted and
VBIVALID is deasserted, the YCbCr outputs
have a value of 16 for Y and 128 for Cb and Cr. The behavior
of the
DVALID output is determined by bit 4 (DVLD_LTC) of
the GENLOCK CONTROL register 04
Y
Cb
1
Y
2
2
Cr
2
Y
.
H
3
Cb
4
BLANK
Y
4
5. Y0is the first active luminance pixel data of a line. Cb0and Cr0are first active chrominance pixel data in a line. Cb and Cr will alternate every
cycle due to the 4:2:2 subsampling. Pixel data is not output during the blanking period, but the values are forced to blanking levels.
For 16-bit YCbCr, 15-bit RGB data, or 16-bit RGB output
modes, the data is output following the rising edge of CLK2
with
DVALID asserted. Either linear or gamma-corrected
RGB data may be output. The pixel output timing is shown in
Figures 10 to 13.
is asserted and
have a value of 16 for Y and 128 for Cb and Cr; the RGB
outputs have a value of 0.
The behavior of the
(DVLD_LTC) and bit 5 (DLVD_DCYC) of the GENLOCK
CONTROL register 04
VBIVALID is deasserted, the YCbCr outputs
DVALID output is determined by bit 4
.
H
BLANK, HSYNC, VSYNC, DVALID, VBIVALID, and FIELD
are output following the rising edge of CLK2. When
CLK
DVALID
BLANK
P[15-8]
NOTES:
6. Y0is the first active luminance pixel data of a line. Cb0and Cr0are first active chrominance pixel data in a line. Cb and Cr will alternate every
cycle due to the 4:2:2 subsampling. Pixel data is not output during the blanking period, but the values are forced to blanking levels.
7. When DVLD_LTC is set to 1, the polarity of DVALIDneedsto be set to active low, otherwise DVALID will stay low during active video and be
gated with the clock only during the blanking interval.
11. Y0is the first active luminance pixel of a line. Cb0and Cr0are first active chrominance pixels in a line. Cb and Cr will alternate every cycle due
to the 4:2:2 subsampling.
12. BLANK is asserted per Figure 7.
13. DVALID is asserted for every valid pixel during both active and blanking regions.
15. DAVLIDis asserted for every valid pixel during both active and blanking regions. DVALID is not a 50% duty cycle synchronous output and will
appear to jitter as the Output Sample Rate converter adjusts the output timing for various data rates and clock frequency inputs.
For the BT.656 output mode, data is output following each
rising edge of CLK2. The BT.656 EAV and SAV formats are
shown in Table 5 and the pixel output timing is shown in
Figure 14. The EAV and SAV timing is determined by the
programmed horizontal and vertical blank timing.
BLANK, HSYNC, VSYNC, DVALID, VBIVALID, and FIELD
are output following the rising edge of CLK2.
14
During the blanking intervals, the YCbCr outputs have a
value of 16 for Y and 128 for Cb and Cr,unless ancillary data
is present.
Loading...
+ 31 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.