MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions
                       mlibSignalMulShiftAddS16S16Sat(3MLIB)



NAME
     mlibSignalMulShiftAddS16S16Sat,
     mlibSignalMulShiftAddS16S16Sat  - multiplication by a
     scalar plus addition

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

     mlibstatus mlibSignalMulShiftAddS16S16Sat(mlibs16 *dst,
          const mlibs16 *src1, const mlibs16 *src2, const mlibs16 *c,
          mlibs32 shift, mlibs32 n);


     mlibstatus mlibSignalMulShiftAddS16S16Sat(mlibs16 *dst,
          const mlibs16 *src1, const mlibs16 *src2, const mlibs16 *c,
          mlibs32 shift, mlibs32 n);


DESCRIPTION
     Each of these functions performs multiplication by a  scalar
     with shifting plus addition.

PARAMETERS
     Each of the functions takes the following arguments:

     dst      Output signal array.


     src1     The first input signal array.


     src2     The second input signal array.


     c        Scaling factor. The scaling factor is in  Q15  for-
              mat. In the stereo version; c[0] contains the scal-
              ing factor for channel 0, and c[1] holds the  scal-
              ing factor for channel 1.


     shift    Left shifting factor.


     n        Number of samples in the input signal arrays.


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
                       mlibSignalMulShiftAddS16S16Sat(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
     mlibSignalMulShiftAddS16Sat(3MLIB), attributes(5)





































SunOS 5.11           Last change: 2 Mar 2007                    2






mediaLib Library Functions
                       mlibSignalMulShiftAddS16S16Sat(3MLIB)






















































SunOS 5.11           Last change: 2 Mar 2007                    3






OpenSolaris man pages main menu

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