MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions
                          mlibSignalEmphasizeS16S16Sat(3MLIB)



NAME
     mlibSignalEmphasizeS16S16Sat,
     mlibSignalEmphasizeS16S16Sat,
     mlibSignalEmphasizeF32F32, mlibSignalEmphasizeF32SF32S
     - signal pre-emphasizing

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

     mlibstatus mlibSignalEmphasizeS16S16Sat(mlibs16 *dst,
          const mlibs16 *src, void *filter, mlibs32 n);


     mlibstatus mlibSignalEmphasizeS16S16Sat(mlibs16 *dst,
          const mlibs16 *src, void *filter, mlibs32 n);


     mlibstatus mlibSignalEmphasizeF32F32(mlibf32 *dst,
          const mlibf32 *src, void *filter, mlibs32 n);


     mlibstatus mlibSignalEmphasizeF32SF32S(mlibf32 *dst,
          const mlibf32 *src, void *filter, mlibs32 n);


DESCRIPTION
     Each of these functions applies  the  preemphasizer  to  one
     signal packet and updates the filter states.


     For monaural signals, the following equation is used:

       dst[i] = src[i] - alpha*src[i - 1]



     where i = 0, 1, ..., (n - 1); src[-1] = 0.


     For stereo signals, the following equation is used:

       dst[2*i]     = src[2*i]     - alpha*src[2*(i - 1)]
       dst[2*i ] 1] = src[2*i ] 1] - alpha*src[2*(i - 1) ] 1]



     where i = 0, 1, ..., (n - 1); src[-2] = src[-1] = 0.

PARAMETERS




SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions
                          mlibSignalEmphasizeS16S16Sat(3MLIB)



     Each of the functions takes the following arguments:

     dst       Destination signal array.


     src       Source signal array.


     filter    Internal filter structure.


     n         Number of samples in the source signal array.


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
     mlibSignalEmphasizeFreeS16S16(3MLIB),
     mlibSignalEmphasizeInitS16S16(3MLIB), attributes(5)


















SunOS 5.11           Last change: 2 Mar 2007                    2






mediaLib Library Functions
                          mlibSignalEmphasizeS16S16Sat(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 ™