Beruflich Dokumente
Kultur Dokumente
Brian Jentz
Altera Corporation
101 Innovation Drive
San Jose, CA 95054, USA
(408) 544-7709
bjentz@altera.com
Overview
Memory
Many device applications utilize video
compression to reduce the amount of data
necessary to produce a sequence of images. Vide
FPGA
This array of applications ranges from high- o
DAC
Video
CP-LWCST05-1.0
to reduce the information to fit the fixed bit
rate. In the football case, the grass may go
flat during a pan with the texture
reappearing when the camera is still. As
overflowing the available bit rate could have
disastrous results with bits being lost, the
aim is always to use just under the available
bit rate. The degree of success in almost
filling the available space is a measure of the
quality and efficiency of the compression
system. Latency is essentially the total time
for encoding and decoding. Compression
algorithms work with blocks of data (8x8 for
JPEG) which can result in block artifacts in
the picture. Lossless compression refers to
compression where no data is lost – the
downside is that the compression is only 2x.
Compression is defined as the amount of A compressed data stream is resolution
compression achievable at a reasonable scalable if it contains identifiable subsets
picture quality for standard applications. The that represent successively lower resolution
bit rate is the bandwidth requirement needed versions of the source; it is distortion
to get that quality (simply the raw size scalable (or SNR scalable) if it contains
divided by the compression ratio). Motion identifiable subsets that represent the source
compensation establishes a correspondence at full resolution, but with successively
between elements of nearby images in the lower quality (in other words, with more
video sequence, allowing a useful prediction distortion and coarser quantization).
for a given image from a reference image. Scalability can also describe other attributes.
Variable Bit Rate (VBR) offers the Subsets of a JPEG2000 code-stream may be
possibility of fixing a constant picture extracted to represent the original image at a
quality by varying the bit-rate according to reduced resolution, a reduced quality (higher
the needs of the picture. This allows the distortion), or over a reduced spatial region.
images that usually require little data, like
still frames, to use additional data only when
needed to maintain quality. The result is an JPEG advantages are cost to implement and
overall saving in storage or more efficient low latency. Disadvantages are lack motion
allocation of total available bit-rate. compensation and CBR support, presence of
blocking artifacts. JPEG2000 advantages
Constant Bit Rate (CBR) forces a fixed include no blocking artifacts and lossless
output rate, regardless of compression support. Disadvantages are lack of motion
quality, with the goal of fitting within a compensation and cost to implement.
given bandwidth such as that on a constant
bit rate transmission channel. With video, MPEG4 advantages include high
the useful information contained in the compression, low bit rate and motion
material varies widely, both spatially and compensation support. Disadvantages are
with movement. For example, a football latency and blocking artifacts. JPEG,
game with crowds and grass texture as well JPEG2000, and MPEG4 have all been used
as fast-panning cameras typically contains in video surveillance systems, with the
far more information than a largely static choice depending on what is most important
head-and-shoulders shot of a newsreader. in that particular application. H.264 is an
Using CBR means that the quality is altered advanced compression scheme which is also
starting to find its way into video
surveillance systems. H.264 offers very high External DDR DRAM memory is required
compression at the expense of additional for buffer memory.
hardware complexity. It is not examined in
Buffered Reference
this paper, but FPGA-based solutions exist DDR SDRAM
Frame
4:2:2
cost FPGA family to implement the digital Y Y
U V
portion of a video surveillance system in a 300 LEs
Y Y
4:2:0 18,000 LEs
2,000 LEs
92 M4K’s
single device. Altera’s Cyclone II family
scales from 4,600 logic elements (LEs) to
68,000 LEs. A table of resources for JPEG2000-Based System
Cyclone II is shown below.
The diagram below shows a JPEG2000-
Logic
Total 18x18 Maximum
Production
based implementation of a video
Device Memory Embedded PLLs User
Elements
Bits Multipliers I/O Pins
Availability
surveillance system with D1 resolution in an
EP2C5 4,608 119,808 13 2 142 July EP2C70 FPGA. External DDR DRAM
EP2C8 8,256 165,888 18 2 182 Now memory is also required for buffer memory
EP2C20 18,752 239,616 26 4 315 Now
Bloc
Raw
MPE
G-4
ng
I/F
ay
to
er
o
Video
Overlay
I/F
Rate
o
g Filter Conv
Graphics
Conv
Conclusion