
TM1100 Preliminary Data Book
Philips Semiconductors
13-22
PRELIMINARY INFORMATION
File: icp.fm5, modified 7/26/99
Table 13-11 gives the delay in block times as a function
of the PD field.
The priority delay mechanism in interaction with the arbi-
ter mechanism allows the user to allocate enough band-
width for the ICP to do its processing in the required
frame time. For details of the arbiter mechanism see
13.6.6
ICP Parameter Tables
Each microprogram in the microprogram set has an as-
sociated parameter table used by the ICP to process the
image data, such as the image input and output start ad-
dresses, scaling factor, etc. The DP points to the location
in SDRAM of the first word of the parameter table. The
parameter table address must be word aligned. The pa-
rameter table can be more than one SDRAM block (16
32-bit words) long.
Note: In packed RGB24 to PCI operation the output ad-
dress offset from the start of video memory must be a
multiple of 6 bytes, i.e. on an even pixel boundary.
13.6.7
Load Coefficients
This routine loads the filter coefficient RAMs with coeffi-
cient data in the parameter table. A total of 32 sets of five,
10-bit coefficients are loaded. Each set of five coeffi-
cients forms a 50-bit coefficient word. Two coefficients
are stored in each 32-bit word in SDRAM. three 32-bit
words are used for each set of five coefficients that form
a coefficient word. The parameter table is 96 words (6
SDRAM blocks) long. Each coefficient is stored as the 10
least significant bits of each 16-bit halfword of the 32-bit
word.
13.6.7.1
Parameter Table
The parameter table for the coefficient load function con-
tains the coefficient data directly, as shown below. The
parameter table is 96 words long.
13.6.8
Horizontal Filter - SDRAM to SDRAM
This routine performs horizontal scaling and filtering of
one component (Y, U or V) of an N x M image from one
location in SDRAM to another.
13.6.8.1
Algorithms
The routine reads image data from SDRAM using the Y
address counter, scales and filters the data in the hori-
zontal direction and writes it back to the SDRAM using
the Z address counter. The 5-tap filter scales and filters
the data. The LSB Increment value supplied by the pa-
rameter table determines the scaling. The routine reads
and writes a line at a time until the full image is trans-
ferred. The filter mirrors the ends of each line to provide
the extra pixels needed by the filter at the ends of each
line.
13.6.8.2
Parameter Table
The parameter table, shown in
Table 13-13, supplies the
input and output starting addresses and offsets, the im-
age height in lines and width in pixels, and the increment
value, which is derived from the scale factor.
The input and output addresses are the byte addresses
of their respective tables. They need not be word or block
aligned.
The input and output line offsets define the difference in
bytes from the address of the first pixel in the first line to
the address of the first pixel in the second line for their re-
spective blocks. The line offset must be constant for all
lines in each table. The line offset allows some space be-
tween the end of one line and the start of the next line. It
also allows the ICP to scale and filter a subset of an ex-
isting image, such as magnifying a portion of an image.
There are no restrictions on line offset values other than
Table 13-11. ICP priority delay vs. PD Code
PD
Code
Delay
block times
1111
1
1110
2
1101
3
1100
4
1011
5
1010
6
1001
7
1000
8
0111
9
0110
10
0101
11
0100
12
0011
13
0010
14
0001
15
0000
16
Table 13-12. Load Coefcients Parameter Table
Parameter Word
Description
Upper 2
bytes
Lower 2
bytes
a+2
a+1
RAM Coefcient word 0
a+0
a-1
a-2
0
a+2
a+1
RAM Coefcient word 1
a+0
a-1
a-2
0
a+2
a+1
RAM Coefcient word 31
a+0
a-1
a-2
0