MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions          mlibVectorNormU8Sat(3MLIB)



NAME
     mlibVectorNormU8Sat,              mlibVectorNormS8Sat,
     mlibVectorNormS16Sat,  mlibVectorNormS32Sat  -  vector
     norm

SYNOPSIS
     cc [ flag... ] file... -lmlib [ library... ]
     #include 

     mlibstatus mlibVectorNormU8Sat(mlibd64 *z, const mlibu8 *x,
          mlibs32 n);


     mlibstatus mlibVectorNormS8Sat(mlibd64 *z, const mlibs8 *x,
          mlibs32 n);


     mlibstatus mlibVectorNormS16Sat(mlibd64 *z, const mlibs16 *x,
          mlibs32 n);


     mlibstatus mlibVectorNormS32Sat(mlibd64 *z, const mlibs32 *x,
          mlibs32 n);


DESCRIPTION
     Each of these functions computes the vector normal.


     The following equation is used:

                n-1
       z[0] = ( SUM x[i]**2 )**0.5
                i=0


PARAMETERS
     Each of the functions takes the following arguments:

     z    Pointer to the norm of the vector.


     x    Pointer to the first element of the source vector.


     n    Number of elements in the vectors.


RETURN VALUES
     Each of the functions returns  MLIBSUCES  if  successful.
     Otherwise it returns MLIBFAILURE.




SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions          mlibVectorNormU8Sat(3MLIB)



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     attributes(5)






































SunOS 5.11           Last change: 2 Mar 2007                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™