MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions         mlibVectorSplitU8U8C(3MLIB)



NAME
     mlibVectorSplitU8U8C,            mlibVectorSplitS8S8C,
     mlibVectorSplitS16S16C,  mlibVectorSplitS32S32C - vec-
     tor split

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

     mlibstatus mlibVectorSplitU8U8C(mlibu8 *r, mlibu8 *i,
          const mlibu8 *x, mlibs32 n);


     mlibstatus mlibVectorSplitS8S8C(mlibs8 *r, mlibs8 *i,
          const mlibs8 *x, mlibs32 n);


     mlibstatus mlibVectorSplitS16S16C(mlibs16 *r, mlibs16 *i,
          const mlibs16 *x, mlibs32 n);


     mlibstatus mlibVectorSplitS32S32C(mlibs32 *r, mlibs32 *i,
          const mlibs32 *x, mlibs32 n);


DESCRIPTION
     Each  of  these  functions  splits  a  complex  vector  into
     separate vectors containing the real and imaginary parts.


     The following equation is used:

       r[k] = z[2*k]
       i[k] = z[2*k ] 1]



     where k = 0, 1, ..., (n - 1).

PARAMETERS
     Each of the functions takes the following arguments:

     r    Pointer to the first element of the real part.


     i    Pointer to the first element of the imaginary part.


     x    Pointer to the first complex element of the source vec-
          tor.  x[2*k]  contains  the  real part, and  x[2*k ] 1]
          contains the imaginary part.




SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions         mlibVectorSplitU8U8C(3MLIB)



     n    Number of elements in the vectors.


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

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



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


SEE ALSO
     mlibVectorMergeU8CU8(3MLIB), 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 ™