IPS-VIDEO Altera, IPS-VIDEO Datasheet - Page 160

MegaCore Suite W/ 17 DSP Video/image Processing Functions

IPS-VIDEO

Manufacturer Part Number
IPS-VIDEO
Description
MegaCore Suite W/ 17 DSP Video/image Processing Functions
Manufacturer
Altera
Type
-r
Datasheets

Specifications of IPS-VIDEO

Software Application
IP CORE, SUITES
Supported Families
Arria GX, Cyclone II, HardCopy II, Stratix II
Core Architecture
FPGA
Core Sub-architecture
Arria, Cyclone, Stratix
Rohs Compliant
NA
Function
Suite of IP Functions for Video and Image Processing
License
Initial License
Lead Free Status / RoHS Status
na
Lead Free Status / RoHS Status
na
5–76
Video and Image Processing Suite User Guide
Interlacer
Scaler
While producing an interlaced output field, the Interlacer MegaCore function
alternates between propagating and discarding a row from the input port.
Consequently, the output port is inactive every other row. The delay from input to
output is a few clock cycles when pixels are propagated.
Error Recovery
The Interlacer MegaCore function discards extra data when the endofpacket signal is
received later than expected. When an early endofpacket signal is received, the
current output field is interrupted as soon as possible and may be padded with a
single undefined pixel.
In the Scaler MegaCore function, the ratio of reads to writes is proportional to the
scaling ratio and occurs on both a per-pixel and a per-line basis. The frequency of lines
where reads and writes occur is proportional to the vertical scaling ratio. For example,
scaling up vertically by a factor of 2 results in the input being stalled every other line
for the length of time it takes to write one line of output; scaling down vertically by a
factor of 2 results in the output being stalled every other line for the length of time it
takes to read one line of input.
In a line that has both input and output active, the ratio of reads and writes is
proportional to the horizontal scaling ratio. For example, scaling from 64×64 to
128×128 causes 128 lines of output, where only 64 of these lines have any reads in
them. For each of these 64 lines, there are two writes to every read.
The internal latency of the Scaler depends on the scaling algorithm and whether any
run time control is enabled. The scaling algorithm impacts stalling as follows:
Enabling run-time control of coefficients and/or resolutions affects stalling between
frames:
In nearest-neighbor mode, the delay from input to output is just a few clock cycles.
In bilinear mode, a complete line of input is read into a buffer before any output is
produced. At the end of a frame there are no reads as this buffer is drained. Exactly
how many writes are possible during this time depends on the scaling ratio.
In bicubic mode, three lines of input are read into line buffers before any output is
ready. As with linear interpolation, there is a scaling ratio dependent time at the
end of a frame where no reads are needed as the buffers are drained.
In polyphase mode with N
buffers before any output is ready. As with bilinear mode, there is a scaling ratio
dependent time at the end of a frame where no reads are needed as the buffers are
drained.
With no run-time control, there is only a few cycles of delay before the behavior
described in the previous list begins.
Enabling run-time control of resolutions in nearest-neighbor mode adds about 20
clock cycles of delay between frames. In other modes, it adds a maximum of 60
cycles delay.
v
vertical taps, N
v
– 1 lines of input are read into line
Chapter 5: Functional Descriptions
Stall Behavior and Error Recovery
May 2011 Altera Corporation

Related parts for IPS-VIDEO