This document contains information on a product under development.
The parametric information contains target parameters that are subject to change.
Bt848/848A/849A
Single-Chip Video Capture for PCI
Bt848 is a complete, low cost single-chip solution for analog
NTSC/PAL/SECAM video capture on the PCI bus. As a bus master, Bt848 does
not require any local memory buffers to store video pixel data which significantly minimizes the hardware cost for this architecture. Bt848 takes advantage
of the PCI-based system’s high bandwidth and inherent multimedia capability. It
is designed to be interoperable with any other PCI multimedia device at the
component or board level, thus enabling video capture and overlay capability to
be added to PCI systems in a modular fashion at low cost. The Bt848 solution is
independent of the PCI system bus topology and may be used in a variety of system bus organizations: directly on a motherboard planar bus, on a card for a planar or secondary bus.
The Bt848A/849A are fully backward compatible enhancements to the
Bt848. The Bt848A and 849A both include all the functionality of the Bt848,
while adding support for peaking, single crystal operation, and digital camera
support.
Functional Block Diagram
XTAL
MUXIN
MUXOUT
SYNCDET
REFOUT
YIN
CIN
Analog
Mux
AGC
40 MHz
ADC
40 MHz
ADC
Ultralock™
and
Clock Generation
Horizontal, Vertical
and T emporal
Scaling
Luma-Chroma
Separation
Decimation LPF
Chroma Demod
and
Video Timing
Unit
IICJT A G
Pixel Format
Conversion
630 Byte FIFO
DMA Controller
PCI I/F
Target
Initiator
Distinguishing Features
• Fully PCI Rev. 2.1 compliant
• Auxiliary GPIO data port and video data
port
• Supports image resolutions up to
768x576 (full PAL resolution)
• Supports complex clipping of video
source
• Zero wait state PCI burst writes
• Field/frame masking support to throttle
bandwidth to target
• Multiple YCrCb and RGB pixel
formats supported on output
• Supports NTSC/SECAM/PAL analog
input
• Image size scalable down to icon using
vertical & horizontal interpolation
filtering
• Multiple composite and S-video inputs
• Supports different destinations for even
and odd fields
• Supports different color space/scaling
factors for even and odd fields
• Support for mapping of video to 225
color palette
• VBI data capture for closed captioning,
teletext and intercast data decoding
Additional Features
in Bt848A/849A Only
• Supports peaking
• Requires only one crystal
• Digital camera support through GPIO
port
• Support for WST decode (Bt849A only)
Brooktree
Digital Camera
Input (Bt848A/849A)
and GPIO Port
Brooktree Division • Rockwell Semiconductor Systems, Inc. • 9868 Scranton Road • San Diego, CA 92121-3707
Brooktree reserves the right to make changes to its products or specifications to improve performance, reliability, or
manufacturability. Information furnished by Brooktree Corporation is believed to be accurate and reliable. However, no
responsibility is assumed by Brooktree Corporation for its use; nor for any infringement of patents or other rights of third parties
which may result from its use. No license is granted by its implication or otherwise under any patent or patent rights of Brooktree
Corporation.
Brooktree products are not designed or intended for use in life support appliances, devices, or systems where malfunction of a
Brooktree product can reasonably be expected to result in personal injury or death. Brooktree customers using or selling Brooktree
products for use in such applications do so at their own risk and agree to fully indemnify Brooktree for any damages resulting from
such improper use or sale.
Brooktree is a registered trademark of Brooktree Corporation. Product names or services listed in this publication are for
identification purposes only, and may be trademarks or registered trademarks of their respective companies. All other marks
mentioned herein are the property of their respective holders.
Specifications are subject to change without notice.
PCI Configuration Space
PCI Configuration Registers
Vendor and Device ID Register
Command and Status Register
Revision ID and Class Code Register
Latency Timer Register
Base Address 0 Register
Interrupt Line, Interrupt Pin, Min_Gnt, Max_Lat Register
Local Registers
Device Status Register
Input Format Register
Temporal Decimation Register
MSB Cropping Register
Vertical Delay Register, Lower Byte
Vertical Active Register, Lower Byte
Horizontal Delay Register, Lower Byte
The Bt848/848A/849A integrates an NTSC/PAL/SECAM composite & S-Video
decoder, scaler, DMA controller, and PCI Bus master on a single device.
Bt848/848A/849A can place video data directly into host memory for video capture applications and into a target video display frame buffer for video o v erlay applications. As a PCI initiator, Bt848/848A/849A can take control of the PCI bus as
soon as it is available, thereby avoiding the need for on-board frame buffers.
Bt848/848A/849A contains a pixel data FIFO to decouple the high speed PCI bus
from the continuous video data stream. Figure 1 shows a block diagram of the
Bt848/848A/849A, and Figure 2 shows a detailed block diagram of the decoder
and scaler sections.
The video data input may be scaled, color translated, and burst transferred to a
target location on a field basis. This allows for simultaneous preview of one field
and capture of the other field. Alternatively, Bt848/848A/849A is able to capture
both fields simultaneously or preview both fields simultaneously. The fields may
be interlaced into memory or sent to separate field buffers.
The Bt849A includes all the capability in the Bt848A and adds support for WST
decoding (the encoding method for European based Teletext). The Bt849A implements a significant amount of WST decoding in S/W ensuring a very lo w cost TV
card for use in locations requiring Teletext
See Table 1 for a comparison of the Bt848/848A/849A.
The Bt848/848A/849A fully supports the Intel Intercast technology.
Intel Intercast technology combines the rich programming of television and the
exciting world of the Internet on your PC. Imagine watching a news broadcast and
simultaneously getting a Web page providing a historical perspective. Or viewing
a music video and ordering tickets on the Internet for the band’s next appearance
in your area. Or enjoying a favorite sho w and getting special web pages associated
with that program. Now your PC can let you interact with television in all kinds of
new and exciting ways.
Brooktree
®
L848A_A
1
FUNCTIONAL DESCRIPTION
Functional Overview
Single-Chip Video Capture for PCI
Bt848/848A/849A
Table 1. PCI Video Decoder Product Family
Bt848Bt848ABt849A
Bt848A Analog Video and
Digital Camera Capture
Over the PCI Bus
Composite, S-Video multi-standard Video
Decoder and PCI bus master
Peaking, single crystal operation, digital camera
support
WST (Teletext) decoding supportX
XXX
XX
The Bt848A provides support for digital cameras. The Bt848A includes a digital
camera port providing the ability to perform digital capture when a Bt848A is used
in the development of a video board product. The Bt848A is fully compatible with
the Bt848. The datasheet defines the registers and functionality required for implementing analog video capture support. In order to implement digital video interface, refer to the Digital Video section of the datasheet. Note the majority of the
register settings are identical for both analog and digital video support. The Digital
Video section identifies all changes, additional registers, all changes to the analog
register setting that are required in order to support digital video.
The Bt848A can accept digital video from a multitude of sources including the
Silicon Vision and Logitech video cameras. The digital stream is routed to the high
quality down scaler and color adjustment processing. It is then bus mastered into
system memory or displayed via the graphics frame buffer.
DMA ChannelsBt848/848A/849A provides two DMA channels for the odd and even fields, each
controlled by a pixel instruction list. This instruction list is created by the Bt848
device driver and placed in the host memory. The instructions control the transfer
of pixels to target memory locations on a byte resolution basis. Complex clipping
can be accomplished by the instruction list, blocking the generation of PCI bus cycles for pixels that are not to be seen on the display.
The DMA channels can be programmed on a field basis to deliver the video data
in packed or planar format. In packed mode, YCrCb data is stored in a single continuous block of memory. In planar mode, the YCrCb data is separated into three
streams which are burst to different target memory blocks. Having the video data
in planar format is useful for applications where the data compression is accomplished via software and the CPU.
2
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
FUNCTIONAL DESCRIPTION
Functional Overview
Figure 1. Bt848/848A/849A Detailed Block Diagram
PCI
Bus
FIFO Data MUX
Address Generator
DMA ControllerPCI Initiator
FIFOs
Y: 70x36
Format
Cb: 35x36
MUX
Instruction
Cr: 35x36
Queue
# DWORDS
InstrData
Wr
Local Registers
PCI
AD MUX
Controller
PCI T arget
PCI
Config
Bus
Parity Generator
Rd
Interrupts
Registers
GPIO
Input
(Digital Video
Bt848A & Bt849A
Only)
Video Data Format Converter
YCrCb 4:2:2, 4:1:1
Video
Video
Video
Analog
8-Bit Dither
CSC/Gamma
Scaler
Decoder
C Master
2
I
GPIO
Brooktree
®
L848A_A
3
FUNCTIONAL DESCRIPTION
Functional Overview
Figure 2. Bt848 Video Decoder and Scaler Block Diagram
(!)
SYNCDET
AGCCAP
REFOUT
MUXOUT
MUX0
MUX1
(2)
MUX2
MUX3
Single-Chip Video Capture for PCI
Bt848/848A/849A
XT1O
XT1I
XT0O
XT0I
and Brightness
Hue, Saturation,
Clocking
Adjust
Horizontal and
YREF+
YIN
YREF–
CLEVEL
CREF+
CIN
CREF–
Y
A/D
C
A/D
AGC and
Sync Detect
Oversampling
Low-Pass Filter
Y/C
Separation
Demod
Chroma
Notes: (1). Bt848 only.
(2). Bt848A and Bt849A only.
PCI Bus InterfaceBt848/848A/849A is designed to efficiently utilize the available 132 MB/s PCI
bus. The 32-bit DWORDs are output on the PCI bus with the appropriate image
data under the control of the DMA channels. The video stream consumes bus
bandwidth with average data rates varying from 44 MB/s for full size 768x576
PAL RGB32, to 4.6 MB/s for NTSC CIF 320 x 240 RGB16, to 0.14 MB/s for
NTSC ICON 80 x 60 8-bit mode.
The pixel instruction stream for the DMA channels consumes a minimum of 0.1
MB/s. Achieving high performance throughput on PCI may be a problem with
slow targets and long bus access latencies. The Bt848/848A/849A provides the
means for handling the bandwidth bottlenecks that sometimes occur depending on
a particular system configuration. Bt848/848A/849A’s ability to gracefully degrade and to recover from FIFO overruns to the nearest pix el in real-time is the best
possible solution to these system bottlenecks.
and Scaling
Vertical Filtering
To FIFO Input Data Formatter
4
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
FUNCTIONAL DESCRIPTION
Functional Overview
UltraLockThe Bt848/848A/849A employs a proprietary technique known as UltraLock to
lock to the incoming analog video signal. It will always generate the required number of pixels per line from an analog source in which the line length can vary by as
much as a few microseconds. UltraLock’ s digital locking circuitry enables the V ideoStream decoders to quickly and accurately lock on to video signals, regardless of
their source. Since the technique is completely digital, UltraLock can recognize
unstable signals caused by VCR headswitches or an y other deviation, and adapt the
locking mechanism to accommodate the source. UltraLock uses nonlinear techniques which are difficult, if not impossible, to implement in genlock systems. And
unlike linear techniques, it adapts the locking mechanism automatically.
Scaling and CroppingThe Bt848/848A/849A can reduce the video image size in both horizontal and ver-
tical directions independently using arbitrarily selected scaling ratios. The X and Y
dimensions can be scaled down to one-sixteenth of the full resolution. Horizontal
scaling is implemented with a six-tap interpolation filter while up to 5-tap interpolation is used for vertical scaling with a line store.
The video image can be arbitrarily cropped by reducing the number of active
scan lines and active horizontal pixels per line.
The Bt848/848A/849A supports a temporal decimation feature that reduces
video bandwidth by allowing frames or fields to be dropped from a video sequence
at fixed but arbitrarily selected intervals.
Input InterfaceAnalog video signals are input to the Bt848/848A/849A via a three-input multi-
plexer that can select between three composite source inputs or between two composite and a single S-video input source. When an S-video source is input to the
Bt848/848A/849A, the luma component is fed through the input analog multiplexer, and the chroma component is fed directly into the C input pin. An automatic
gain control circuit enables the Bt848 to compensate for non-standard amplitudes
in the analog signal input. On the Bt848A and Bt849A there is an additional mux
input (providing a four-input multiplexer).
The clock signal interface consists of two pairs of pins for crystal connection
and two clock output pins. One pair of crystal pins is for connection to a 28.64
MHz (8*NTSC Fsc) crystal which is selected for NTSC operation. The other is for
P AL operation with a 35.47 MHz (8*PAL Fsc) crystal. Either fundamental or third
harmonic crystals may be used. Alternatively, CMOS oscillators may be used.
GPIOThe Bt848/848A/849A provides a 24-bit general purpose I/O bus. This interface
can be used to input or output up to 24 general purpose I/O signals. Alternatively,
the GPIO port can be used as a means to input or output video decoder data. For example, the Bt848/848A/849A can input the video data from an external video decoder and bypass the Bt848/848A/849A’s internal video decoder block. Another
application is to output the video decoder data from the Bt848/848A/849A over the
GPIO bus for use by external circuitry.
Brooktree
®
L848A_A
5
FUNCTIONAL DESCRIPTION
Functional Overview
Single-Chip Video Capture for PCI
Bt848/848A/849A
Vertical Blanking Interval
Data Capture
2
I
C InterfaceThe Bt848/848A/849A provides a two-wire Inter-Integrated Circuit (I2C) inter-
Bt848/848A/849A provides a complete solution for capturing and decoding Vertical Blanking Interval (VBI) data. The Bt848/848A/849A can operate in a VBI Line
Output Mode, in which the VBI data is only captured during select lines. This
mode of operation enables concurrent capture of VBI lines containing ancillary
data and normal video image data.
In addition, the Bt848/848A/849A supports a VBI Frame Output Mode, in
which every line in the video frame is treated as if it was a VBI line. This mode of
operation is designed for use with still frame capture/processing applications.
face. As an I
2
C master, Bt848/848A/849A can program other devices on the video
card, such as a TV tuner. Serial clock and data lines, SCL and SDA are used to
transfer data at a rate of 100 Kbits/s.
6
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
FUNCTIONAL DESCRIPTION
Pin Descriptions
Pin Descriptions
Table 2 provides a description of pin functions, grouped by common function, Table 3 is a list of pin names in
pin-number order, and Figure 3 shows the pinout diagram.
NOTE:
Table 2. Pin Descriptions Grouped by Pin Function
Pins with alternate definitions on the Bt848A and Bt849A are indicated by shading
(1 of 6)
Pin #Pin NameI/OSignalDescription
PCI Interface (50 pins)
11CLKIClockThis input provides timing for all PCI transactions. All PCI sig-
nals except RST and INTA are sampled on the rising edge of
CLK, and all other timing parameters are defined with respect
to this edge. The Bt848 supports a PCI clock of up to
33.333333 MHz.
9RSTIResetThis input three-states all PCI signals asynchronous to the
AD[31:0]I/OAddress/DataThese three-state, bi-directional, I/O pins transfer both
This input is used to select the Bt848 during configuration
read and write transactions.
address and data information. A bus transaction consists of
an address phase followed by one or more data phases for
either read or write operations.
The address phase is the clock cycle in which FRAME
first asserted. During the address phase, AD[31:0] contains a
byte address for I/O operations and a DWORD address for
configuration and memory operations. During data phases,
AD[7:0] contains the least significant byte and AD[31:24] contains the most significant byte.
Read data is stable and valid when TRD
write data is stable and valid when IRD
transferred during the clocks when both TRD
asserted.
Y is asserted and
Y is asserted. Data is
Y and IRDY are
is
27, 39,
52, 65
Brooktree
[3:0]I/OBus Com-
CBE
mand/Byte
Enables
®
These three-state, bi-directional, I/O pins transfer both bus
command and byte enable information. During the address
phase of a transaction, CBE
During the data phase, CBE
The byte enables are valid for the entire data phase and
determine which byte lanes carry meaningful data. CBE
refers to the most significant byte and CBE
least significant byte.
[3:0] contain the bus command.
[3:0] are used as byte enables.
[0] refers to the
L848A_A
[3]
7
FUNCTIONAL DESCRIPTION
Pin Descriptions
Single-Chip Video Capture for PCI
Bt848/848A/849A
Table 2. Pin Descriptions Grouped by Pin Function
Pin #Pin NameI/OSignalDescription
51PARI/OParityThis three-state, bi-directional, I/O pin provides even parity
42FRAMEI/OCycle FrameThis sustained three-state signal is driven by the current
43IRDYI/OInitiator ReadyThis sustained three-state signal indicates the bus master’s
(2 of 6)
across AD[31:0] and CBE
of 1’s on PAR, AD[31:0], and CBE
ber.
PAR is stable and valid one clock after the address phase.
For data phases, PAR is stable and valid one clock after
either TRD
write. Once valid, PAR remains valid until one clock after the
completion of the current data phase. PAR and AD[31:0] have
the same timing, but PAR is delayed by one clock. The target
drives PAR for read data phases; the master drives PAR for
address and write data phases.
master to indicate the beginning and duration of an access.
FRAME
tion. Data transfer continues throughout assertion. At deassertion, the transaction is in the final data phase.
readiness to complete the current data phase.
and TRD
clock. During a read, IRD
ready to accept data. During a write, IRD
initiator has placed valid data on AD[31:0]. Wait cycles are
inserted until both IRD
Y is asserted on a read or IRDY is asserted on a
is asserted to signal the beginning of a bus transac-
Y is used in conjunction with TRDY. When both IRDY
IRD
Y are asserted, a data phase is completed on that
[3:0]. This means that the number
[3:0] equals an even num-
Y indicates when the initiator is
Y indicates when the
Y and TRDY are asserted together.
44TRDYI/OTarget ReadyThis sustained three-state signal indicates the target’s readi-
ness to complete the current data phase.
Y is used in conjunction with TRDY. When both IRDY
IRD
and TRD
clock. During a read, TRD
senting data. During a write, TRD
is ready to accept the data. Wait cycles are inserted until both
IRD
45DEVSELI/ODevice SelectThis sustained three-state signal indicates device selection.
When actively driven, DEVSEL
has decoded its address as the target of the current access.
46STOPI/OStopThis sustained three-state signal indicates the target is
requesting the master to stop the current transaction.
49PERRI/OParity ErrorReport data parity error.
14REQORequestAgent desires bus.
8INTAOInterrupt AThis signal is an open drain interrupt output.
50SERROSystem ErrorReport address parity error. Open drain.
See PCI Specification 2.1 for further documentation
Y are asserted, a data phase is completed on that
Y indicates when the target is pre-
Y indicates when the target
Y and TRDY are asserted together.
indicates the driving device
8
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
FUNCTIONAL DESCRIPTION
Pin Descriptions
Table 2. Pin Descriptions Grouped by Pin Function
Pin #Pin NameI/OSignalDescription
General Purpose I/O (27 pins)
82–89,
92–99,
110–117
119GPINTRIGP InterruptGP port requests an interrupt. Internally pulled up to VDDG.
118GPWEIGP Write EnableGP port write enable for registered inputs. Internally pulled up
24 bits of programmable I/O. These pins are internally pulled
up to VDDG.
Bt848A and Bt849A pin decoding when in digital video input
and SPI mode.
to VDDG.
108GPCLKI/OGP ClockVideo clock. Internally pulled up to VDDG.
Input Stage (14 pins)
141MUX0IAnalog composite video inputs to the on-chip input multi143MUX1I
145MUX2I
139MUXOUTOThe analog video output of the 3 to 1 multiplexer. Must con-
138YINIThe analog composite or luma input to theY-ADC.
154CINIThe analog chroma input to the C-ADC.
147SYNCDETIThe sync stripper input used to generate timing information
MUX3IIn the Bt848A and Bt849A the SYNCDET is not required and
131AGCCAPAThe AGC time constant control capacitor node. Must be con-
plexer. Used to select between three composite sources or
two composite and one S-video source. Unused pins should
be connected to ground.
nect to the YIN pin.
for the AGC circuit. Must be connected through a 0.1 µF
capacitor to the same source as the Y-ADC. A 1 MΩ bleeder
resistor should be connected to ground.
is used as a fourth mux input.
Analog composite video inputs to the on-chip input multiplexer. Used to select between three composite sources or
two composite and one S-video source. Unused pins should
be connected to ground.
nected to a 0.1 µF capacitor to ground.
Brooktree
®
L848A_A
9
FUNCTIONAL DESCRIPTION
Pin Descriptions
Single-Chip Video Capture for PCI
Bt848/848A/849A
Table 2. Pin Descriptions Grouped by Pin Function
Pin #Pin NameI/OSignalDescription
133REFOUTOOutput of the AGC which drives the YREF+ and CREF+ pins.
REFOUTOIn the Bt848Aand Bt849A, the external 30 K, 30 K, and 2 K
137YREF+ IThe top of the reference ladder of the Y-ADC. This should be
150YREF–IThe bottom of the reference ladder of the Y-ADC. This should
151CREF+IThe top of the ref erence ladder of the C-ADC. This should be
157CREF–IThe bottom of the reference ladder of the C-ADC . This should
158CLEVELIAn input to provide the DC level reference for the C-ADC.
CLEVELIIn the Bt848A and Bt849A, this input is internally generated.
(4 of 6)
resistors are not required. However, the 0.1 µF capacitor
ground to GND is still needed (see Figure 25).
connected to REFOUT.
be connected to analog ground (AGND).
connected to REFOUT.
be connected to analog ground (AGND).
This voltage should be one half of CREF+.
No external components are required.
2
C Interface (2 pins)
I
78SCLI/OSerial ClockBus clock, output open drain.
79SDAI/OSerial DataBit Data or Acknowledge, output open drain.
Video Timing Clock Interface (5 pins)
102XT0IAClock Zero pins. A 28.636363 MHz (8*Fsc) fundamental (or
103XT0OA
XT0IAIn the Bt848A and Bt849A, this is the only clock source
XT0OA
105XT1IAClock One pins. A 35.468950 MHz (8*Fsc) fundamental (or
106XT1OA
third harmonic) crystal can be tied directly to these pins, or a
single-ended oscillator can be connected to XT0I. CMOS
level inputs must be used. This clock source is selected for
NTSC input sources. When the chip is configured to decode
PAL but not NTSC (and therefore only one clock source is
needed), the 35.468950 MHz source is connected to this port
(XT0).
required to decode all video formats. If only one source is
used the frequency must be 28.636363 MHz (50 ppm) and a
series resistor must be added to the layout. Alternatively, the
Bt848A and Bt849A may be configured exactly as the Bt848
(using 28.636363 and 35.468950 MHz sources).
third harmonic) crystal can be tied directly to these pins, or a
single-ended oscillator can be connected to XT1I. CMOS
level inputs must be used. This clock source is selected for
PAL input sources. If either NTSC or PAL is being decoded,
and therefore only XT0I and XT0O are connected to a crystal,
must
XT1I should be tied either high or low, and XT1O
floating.
be left
10
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
FUNCTIONAL DESCRIPTION
Pin Descriptions
Table 2. Pin Descriptions Grouped by Pin Function
Pin #Pin NameI/OSignalDescription
104NUMXTALICrystal Format Pin. This pin is set to indicate whether one or
3TCKITest clock. Used to synchronize all JTAG test structures.
5TMSITest Mode Select. JTAG input pin whose transitions drive the
7TDIITest Data Input. JTAG pin used for loading instructions to the
6TDOOTest Data Output. JTAG pin used for verifying test results of
(5 of 6)
two crystals are present so that the Bt848 can select XT1 or
XT0 as the default in auto format mode. A logical zero on this
pin indicates one crystal is present. A logical one indicates
two crystals are present. This pin is internally pulled up to
VDDG.
JTAG (5 pins)
When JTAG operations are not being performed, this pin
must be driven to a logical low.
JTAG state machine through its sequences. When JTAG
operations are not being performed, this pin must be left floating or tied high.
TAP controller or for loading test vector data for boundary-scan operation. When JTAG operations are not being
performed, this pin must be left floating or tied high.
all JTAG sampling operations. This output pin is active for
certain JTAG operations and will be three-stated at all other
times.
2TRSTITest Reset. JTAG pin used to initialize the JTAG controller.
This pin is tied low for normal device operation. When pulled
high, the JTAG controller is ready for device testing.
Note:
Not all PCs drive the PCI bus TRST pin. In these
pin on the Bt848 board is connected
1, 18, 40,
63, 81,
101, 120
130, 134,
136, 148,
152, 156
10, 25,
33, 47,
56, 70, 76
computers, if the TRST
to TRST
power up in an undefined state. In these designs, the TRST
pin on the Bt848 card must be tied low (disabling JTAG).
Power & Ground (57 pins)
VDD +5VPPower supply for digital circuitry. All VDD pins must be con-
nected together as close to the device as possible. A 0.1 µF
capacitor should be connected between each group of VDD
pins and the ground plane as close to the device as possible.
VAA +5V
VPOS +5V
VDDP
PCI VIO
PPower supply for analog circuitry. All VAA pins and VPOS
must be connected together as close to the device as possible. A 0.1 µF ceramic capacitor should be connected
between each group of VAA pins and the ground plane as
close to the device as possible.
PP o w er supply for PCI bus signals. A 0.1 µF ceramic capacitor
should be connected between the VDDP pins and the ground
plane as close to the device as possible.
on the PCI bus (which is not driven) the Bt848 may
Notes: (1). Alternate pin definitions on Bt848A and Bt849A.
14
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
The ChallengeThe line length (the interval between the midpoints of the falling edges of succeed-
FUNCTIONAL DESCRIPTION
UltraLock
UltraLock
ing horizontal sync pulses) of analog video sources is not constant. For a stable
source such as studio quality source or test signal generators, this variation is very
small: ±2 ns. However, for an unstable source such as a VCR, laser disk player, or
TV tuner, line length variation is as much as a few microseconds.
Digital display systems require a fixed number of pixels per line despite these
variations. The Bt848 employs a technique known as UltraLock to implement
locking to the horizontal sync and the subcarrier of the incoming analog video signal and generating the required number of pixels per line.
Operation Principles of
UltraLock
UltraLock is based on sampling using a fixed-frequency, stable clock. Since the
video line length will vary , the number of samples generated using a fixed-frequency sample clock will also vary from line to line. If the number of generated samples
per line is always greater than the number of samples per line required by the particular video format, the number of acquired samples can be reduced to fit the required number of pixels per line.
The Bt848 requires an 8*Fsc (28.64 MHz for NTSC and 35.47 MHz for PAL)
crystal or oscillator input signal source. The 8*Fsc clock signal, or CLKx2, is divided down to CLKx1 internally (14.32 MHz for NTSC and 17.73 MHz for PAL).
CLKx2 and CLKx1 are internal signals and are not made available to the system.
UltraLock operates at CLKx1 although the input waveform is sampled at CLKx2
then low pass filtered and decimated to CLKx1 sample rate.
At a 4*Fsc (CLKx1) sample rate there are 910 pixels for NTSC and 1,135 pixels
for PAL/SECAM within a nominal line time interval (63.5 µs for NTSC and 64 µs
for PAL/SECAM). For square pixel NTSC and PAL/SECAM formats, there
should only be 780 and 944 pixels per video line, respectively. This is because the
square pixel clock rates are slower than a 4*Fsc clock rate, i.e., 12.27 MHz for
NTSC and 14.75 MHz for PAL.
UltraLock accommodates line length variations from nominal in the incoming
video by always acquiring more samples, at an effective 4*Fsc rate, than are required by the particular video format and outputting the correct number of pixels
per line. UltraLock then interpolates the required number of pixels in a way that
maintains the stability of the original image despite variation in the line length of
the incoming analog waveform.
Brooktree
®
L848A_A
15
FUNCTIONAL DESCRIPTION
UltraLock
Single-Chip Video Capture for PCI
Bt848/848A/849A
The example illustrated in Figure 4 shows three successive lines of video being
decoded for square pixel NTSC output. The first line is shorter than the nominal
NTSC line time interval of 63.5 µs. On this first line, a line time of 63.2 µs sampled
at 4*Fsc (14.32 MHz) generates only 905 pixels. The second line matches the
nominal line time of 63.5 µs and provides the expected 910 pixels. Finally, the
third line is too long at 63.8 µs within which 913 pixels are generated. In all three
cases, UltraLock outputs only 780 pixels.
Figure 4. UltraLock Behavior for NTSC Square Pixel Output
Analog
Waveform
Line
Length
Pixels
Per Line
Pixels
Sent to
the FIFO
by
UltraLock
63.2 µs
905 pixels
780 pixels
63.5 µs
910 pixels
780 pixels
63.8 µs
913 pixels
780 pixels
UltraLock can be used to extract any programmable number of pixels from the
original video stream as long as the sum of the nominal pixel line length (910 for
NTSC and 1,135 for PAL/SECAM) and the worst case line length variation from
nominal in the active region is greater than or equal to the required number of output pixels per line, i.e.,
P
where:P
Nom
+P
NomPVar
= Nominal number of pixels per line at 4*Fsc sample rate
≥
Desired
(910 for NTSC, 1,135 for PAL/SECAM)
P
= Variation of pixel count from nominal at 4*Fsc (can be a
Var
positive or negative number)
P
= Desired number of output pixels per line
Desired
16
It should be noted that, for stable inputs, UltraLock guarantees the time between
the falling edges of HRESET only to within one pixel. UltraLock does, however,
guarantee the number of active pixels in a line as long as the above relationship
holds.
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
FUNCTIONAL DESCRIPTION
Composite Video Input Formats
Composite Video Input Formats
Bt848 supports several composite video input formats. Table 4 shows the different
video formats and some of the countries in which each format is used.
Table 4. Video Input Formats Supported by the Bt848
The video decoder must be programmed appropriately for each of the composite video input formats. Table 5 lists the register values that need to be programmed
for each input format.
L848A_A
17
FUNCTIONAL DESCRIPTION
Composite Video Input Formats
Table 5. Register Values for Video Input Formats
Single-Chip Video Capture for PCI
Bt848/848A/849A
RegisterBitNTSC-MNTSC-Japan
IFORM
(0x01)
XTSEL
[4:3]
FORMAT
01011001100110
001010011100101111110
PAL-B, D,
G, H, I
PAL-MPAL-N
PAL-N
Combination
SECAM
[2:0]
Cropping:
HDELAY,
VDELAY,
VACTIVE,
[7:0] in all
five
registers
Set to desired
cropping
values in
registers
Set to NTSC-M
square pixel
values
Set to desired
cropping
values in
registers
Set to NTSC-M
square pixel
values
Set to PAL-B, D, G, H, I square pixel
values
CROP
HSCALE
[15:0]0x02AC0x02AC0x033C0x02AC0x033C0x033C
(1)
0x033C
(0x08,
0x09)
ADELAY
[7:0]0x680x680x7F0x680x7F0x7F0x7F
(0x18)
BDELAY
[7:0]0x5D0x5D0x720x5D0x720x72tbd
(0x19)
Notes: (1). The Bt848A and Bt849A will not output square pixel resolution for PAL N-combination. A smaller number of pixels
must be output.
18
L848A_A
Brooktree
®
Bt848/848A/849A
Single-Chip Video Capture for PCI
Y/C Separation and Chroma Demodulation
Y/C separation and chroma decoding are handled as shown in Figure 5. Bandpass
and notch filters are implemented to separate the composite video stream. The filter responses are shown in Figure 6. The optional chroma comb filter is implemented in the vertical scaling block. See the Video Scaling, Cropping, and
Temporal Decimation section in this chapter.
Figure 7 schematically describes the filtering and scaling operations.
In addition to the Y/C separation and chroma demodulation illustrated in
Figure 5, the Bt848 also supports chrominance comb filtering as an optional filtering stage after chroma demodulation. The chroma demodulation generates baseband I and Q (NTSC) or U and V (PAL/SECAM) color difference signals.
For S-Video operation, the digitized luma data bypasses the Y/C separation
block completely, and the digitized chrominance is passed directly to the chroma
demodulator.
For monochrome operation, the Y/C separation block is also bypassed, and the
saturation registers (SAT_U and SAT_V) are set to zero.
Figure 5. Y/C Separation and Chroma Demodulation for Composite Video
Y/C Separation and Chroma Demodulation
FUNCTIONAL DESCRIPTION
Composite
Notch Filter
Band Pass Filter
Y
U
Low Pass Filter
sin
V
Low Pass Filter
cos
Brooktree
®
L848A_A
19
FUNCTIONAL DESCRIPTION
Y/C Separation and Chroma Demodulation
Figure 6. Y/C Separation Filter Responses
Single-Chip Video Capture for PCI
Bt848/848A/849A
Luma Notch Filter Frequency Responses for NTSC and PAL/SECAM
Figure 7. Filtering and Scaling
Horizontal Scaler
Luminance
ABZ1–CZ2–DZ3–EZ4–FZ
+++++=
ChrominanceGHZ
NTSC
PAL/SECAM
1–
+=
Chroma Band Pass Filter Frequency Responses for NTSC and PAL/SECAM
NTSC
Vertical Scaler
5–
LuminanceCDZ
Chrominance
+=
1
-- 2
1
-- -Z1–+=
2
PAL/SECAM
1–
(Chroma Comb)
Vertical Filter Options
Luminance
Optional
YY
3 MHz
Horizontal
Low Pass
Filter
C
6 Tap, 32 Phase
Interpolation
and
Horizontal
Scaling
2 Tap, 32 Phase
Interpolation
and
Horizontal
Scaling
1
-- -1 z1–+()=
2
1
-- -1 2
4
1
-- -1 3
8
1
------ 14
16
1–
Z
++()=
Z
+++()=
Z
++++()=
2–
1Z
1–
3Z2–1Z
1–
6 Z2–4 Z
On-chip Memory
On-chip Memory
3–
3–
4–
Z
Luma Comb
Vertical Scaling
Vertical Filtering
Chroma Comb
and
Vertical Scaling
C
Note: Z–1 refers to a pixel delay in the horizontal direction, and a line delay in the vertical direction. The coefficients
are determined by UltraLock and the scaling algorithm
20
L848A_A
Brooktree
®
Loading...
+ 111 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.