MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions          mlibSignalLinear2uLaw(3MLIB)



NAME
     mlibSignalLinear2uLaw - ITU G.711 m-law and A-law  compres-
     sion and decompression

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

     mlibstatus mlibSignalLinear2uLaw(mlibu8 *ucode,
          const mlibs16 *pcm, mlibs32 n);


DESCRIPTION
     The mlibSignalLinear2uLaw() function performs ITU G.711  m-
     law  and  A-law  compression and decompression in compliance
     with the ITU (Former CIT) G.711 specification.

PARAMETERS
     The function takes the following arguments:

     ucode    m-law code array.


     pcm      Linear PCM sample array.


     n        Number of samples in the source array.


RETURN VALUES
     The function 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
     mlibSignalALaw2Linear(3MLIB),  mlibSignalALaw2uLaw(3MLIB),
     mlibSignalLinear2ALaw(3MLIB),  mlibSignaluLaw2ALaw(3MLIB),
     mlibSignaluLaw2Linear(3MLIB), attributes(5)



SunOS 5.11           Last change: 2 Mar 2007                    1



OpenSolaris man pages main menu

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