tm1300 NXP Semiconductors, tm1300 Datasheet - Page 74
tm1300
Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet
1.TM1300.pdf
(533 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 74 of 533
- Download datasheet (7Mb)
TM1300 Data Book
Figure 4-8. Final version of the frame-reconstruction code.
Figure 4-9
cost loop. Unlike the previous example, the code is not a
self-contained function. Somewhere early in the code,
the arrays A[][] and B[][] are declared; somewhere be-
tween those declarations and the loop of interest, the ar-
rays are filled with data.
4.4.1
First, we will look at the simplest way to use a TM1300
custom operation.
We start by noticing that the computation in the loop of
Figure 4-9
of two unsigned characters (bytes). By now, we are fa-
miliar with the fact that TM1300 includes a number of op-
erations that process all four bytes in a 32-bit word simul-
taneously.
fundamental to the MPEG algorithm, it is not surprising
4-8
Figure 4-9. Match-cost loop for MPEG motion estimation.
Figure 4-10. Unrolled, but not parallel, version of the loop from
A Simple Transformation
void reconstruct (unsigned char *back,
{
}
shows the original source code for the match-
involves the absolute value of the difference
Since
int i;
int *i_back
int *i_forward = (int *) forward;
int *i_idct
int *i_dest
for (i = 0; i < 16; i += 1)
unsigned char A[16][16];
unsigned char B[16][16];
for (row = 0; row < 16; row += 1)
{
i_dest[i] = DSPUQUADADDUI(QUADAVG(i_back[i], i_forward[i]), i_idct[i]);
unsigned char A[16][16];
unsigned char B[16][16];
for (row = 0; row < 16; row += 1)
{
}
the
for (col = 0; col < 16; col += 4)
{
for (col = 0; col < 16; col += 1)
.
.
.
cost += abs(A[row][col+0] – B[row][col+0]);
cost += abs(A[row][col+1] – B[row][col+1]);
cost += abs(A[row][col+2] – B[row][col+2]);
cost += abs(A[row][col+3] – B[row][col+3]);
PRODUCT SPECIFICATION
match-cost
.
.
.
cost += abs(A[row][col] – B[row][col]);
unsigned char *forward,
unsigned char *destination)
= (int *) back;
= (int *) idct;
= (int *) destination;
calculation
char *idct,
is
to find a custom operation—ume8uu—that implements
this operation exactly.
To understand how ume8uu can be used in this case, we
need to transform the code as in the previous example.
Though the steps are presented here in detail, a pro-
grammer with a even a little experience can often per-
form these transformations by visual inspection.
To use a custom operation that processes 4 pixel values
simultaneously, we first need to create 4 parallel pixel
computations.
unrolled by a factor of 4. Unfortunately, the code in the
unrolled loop is not parallel because each line depends
on the one above it.
version of the code from
each computation its own cost variable and then sum-
ming the costs all at once, each cost computation is com-
pletely independent.
Figure
Figure 4-10
4-9.
Figure 4-11
Figure
Philips Semiconductors
shows the loop of
4-10. By simply giving
shows a more parallel
Figure 4-9
Related parts for tm1300
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Tm Supirbuck Highly Integrated 4a Wide-input Voltage, Synchronous Buck Regulator
Manufacturer:
International Rectifier Corp.
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2420/2460 microcontroller around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded trace
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2458 microcontroller around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded trace
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2468 microcontroller around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded trace
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2470 microcontroller, powered by theARM7TDMI-S core, to be a highly integrated microcontroller for a wide range ofapplications that require advanced communications and high quality graphic displays
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
NXP Semiconductors designed the LPC2478 microcontroller, powered by theARM7TDMI-S core, to be a highly integrated microcontroller for a wide range ofapplications that require advanced communications and high quality graphic displays
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The Philips Semiconductors XA (eXtended Architecture) family of 16-bit single-chip microcontrollers is powerful enough to easily handle the requirements of high performance embedded applications, yet inexpensive enough to compete in the market for hi
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The Philips Semiconductors XA (eXtended Architecture) family of 16-bit single-chip microcontrollers is powerful enough to easily handle the requirements of high performance embedded applications, yet inexpensive enough to compete in the market for hi
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The XA-S3 device is a member of Philips Semiconductors? XA(eXtended Architecture) family of high performance 16-bitsingle-chip microcontrollers
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The NXP BlueStreak LH75401/LH75411 family consists of two low-cost 16/32-bit System-on-Chip (SoC) devices
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The NXP LPC3130/3131 combine an 180 MHz ARM926EJ-S CPU core, high-speed USB2
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
The NXP LPC3141 combine a 270 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors
Part Number:
Description:
The NXP LPC3143 combine a 270 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors
Part Number:
Description:
The NXP LPC3152 combines an 180 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors
Part Number:
Description:
The NXP LPC3154 combines an 180 MHz ARM926EJ-S CPU core, High-speed USB 2
Manufacturer:
NXP Semiconductors