impSMulRow man page on IRIX

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



impZeroRow(3)			 Impressario			 impZeroRow(3)

NAME
     impZeroRow, impInitRow, impCopyRow, impSAddRow, impVAddRow, impSSubRow,
     impVSubRow, impSMulRow, impSDivRow, impClampRow - math operations on
     image rows

SYNOPSIS
     #include <imp.h>

     void impZeroRow(short *dptr, int n);

     void impInitRow(short *dptr, int val, int n);

     void impCopyRow(short *dptr, short *sptr, int n);

     void impSAddRow(short *dptr, short *sptr, int val, int n);

     void impVAddRow(short *dptr, short *sptr1, short *sptr2,
		     int n);

     void impSSubRow(short *dptr, short *sptr, int val, int n);

     void impVSubRow(short *dptr, short *sptr1, short *sptr2,
		     int n);

     void impSMulRow(short *dptr, short *sptr, int val, int n);

     void impSDivRow(short *dptr, short *sptr, int val, int n);

     void impClampRow(short *dptr, short *sptr, int lov,
		      int hiv, int n);

DESCRIPTION
     In the following descriptions, the parameter n specifies the number of
     elements in a array and not the number of bytes in the array. In
     addition, functions that take a source array pointer and a destination
     array pointer can specify the same array as both a source and
     destination.

     impZeroRow initializes to zero the array pointed to by dptr.

     impInitRow initializes the array dptr to the value val.

     impCopyRow copies the array sptr to the array dptr.

     impSAddRow adds the value val to each element of the array sptr storing
     the result in the array dptr.

     impVAddRow adds the corresponding elements of sptr1 and sptr2 and stores
     the result in the array dptr.

									Page 1

impZeroRow(3)			 Impressario			 impZeroRow(3)

     impSSubRow subtracts the value val from each element of the array sptr
     and stores the result in the array dptr.

     impVSubRow subtracts the corresponding elements of sptr2 from sptr1 and
     stores the result in the array dptr.

     impSMulRow multiplies each element of the array sptr by val and stores
     the result in dptr.

     impSDivRow divides each element of the array sptr by val and stores the
     result in dptr.

     impClampRow clamps the values of the array sptr between the values lov
     and hiv inclusive. The result is stored in the array dptr.

NOTES
     1.	  It is the caller's responsibility to allocate all buffer storage.

     2.	  Since the arrays referenced by these functions are short integer
	  arrays, the caller should be aware of overflow/wraparound
	  conditions.

SEE ALSO
     libimp(3)

									Page 2

[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