impPackRow man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



impPackRow(3)			 Impressario			 impPackRow(3)

NAME
     impPackRow, impUnpackRow - convert pixel width between 1 and 2 bytes

SYNOPSIS
     #include <imp.h>

     void impPackRow(uchar_t *dptr, short *sptr, int n);

     void impUnpackRow(short *dptr, uchar_t *sptr, int n);

DESCRIPTION
     impPackRow converts the array of short integers pointed to by sptr into
     the array of unsigned char values pointed to by dptr. Source data that is
     to large to fit in a character is truncated. For example, the source
     value 0x0B56 will be converted into 0x56 in the destination array.

     impUnpackRow converts the array of unsigned char values pointed to by
     sptr into the array of short integers pointed to by dptr.	For example,
     the source value 0x56 will be converted into 0x0056 in the destination
     array.

     The parameter n specifies the number of elements in the source and
     destination arrays.

NOTE
     The allocation of storage for the source and destination arrays is the
     responsibility of the caller.

SEE ALSO
     libimp(3)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net