AN2621 Freescale Semiconductor / Motorola, AN2621 Datasheet - Page 10

no-image

AN2621

Manufacturer Part Number
AN2621
Description
MPC8220i PF300 Image Coprocessor Operation
Manufacturer
Freescale Semiconductor / Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN26212B-PR
Manufacturer:
DUNE
Quantity:
279
Part Number:
AN26217A-PR
Manufacturer:
MOT
Quantity:
264
Part Number:
AN26217A-PR
Manufacturer:
PANASONIC
Quantity:
4 000
Part Number:
AN26217A-PR
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Appendix B
Resampling Unit C Code
Data types:
PDLA initial condition register definitions:
Temporary registers:
Resample loops:
10
Uint33
Uint32
Sint32
Uint8
Uint1
Adding a "*" to any of the data types indicates it is the address of
a value of the specified type.
Adding a "[]" to any of the data types indicates it is an array with
allocated storage of the specified type.
"[]" indicates how many elements of storage of the specified type
are allocated.
Sint32 sxmini;
Uint32 sxminf;
Sint32 symini;
Uint32 syminf;
Sint32 dsxi;
Uint32 dsxf;
Sint32 dsyi;
Uint32 dsyf;
Sint32 dvsxi;
Uint32 dvsxf;
Sint32 dvsyi;
Uint32 dvsyf;
Uint32 nsrc;
Uint32 w;
Uint8 *src_p[256]; // Addresses of the left most pixel of source scan lines
Uint32 dx;
Uint32 dy;
Uint8 *shadow;
Uint8 *dest;
Uint32 x;
Uint32 y;
Sint32 sxi;
Uint33 sxf;
Sint32 syi;
Uint33 syf;
Uint1 *shad_p; // Pointer to bit strings for shadow result
// unsigned 33-bit integer.
// unsigned 32-bit integer.
// signed 32-bit integer.
// unsigned 8-bit integer.
// Single bit value
// Current horizontal position in destination
// Current vertical position in destination
// Current integer portion of position in source
// Current fractional portion of position in source
// Current integer portion of position in source
// Current fractional portion of position in source
// Source x integer position at top left of dest
// Source x fraction position at top left of dest
// Source y integer position at top left of dest
// Source y fraction position at top left of dest
// delta x integer in source per dest pixel delta x
// delta x fraction in source per dest pixel delta x
// delta y integer in source per dest pixel delta x
// delta y fraction in source per dest pixel delta x
// delta x integer in source per dest pixel delta y
// delta x fraction in source per dest pixel delta y
// delta y integer in source per dest pixel delta y
// delta y fraction in source per dest pixel delta y
// Highest source line index, Should be Uint8!
// Source width (in pixels)
// Number of pixels to step destination in x
// Number of pixels to step destination in y
// Address to store result for shadow buffer
// Address to store result
MPC8220i PF300 Image Coprocessor Operation
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
The number between the
MOTOROLA

Related parts for AN2621