MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions    mlibSignalLinear2ADPCM5Bits(3MLIB)



NAME
     mlibSignalLinear2ADPCM5Bits - adaptive  differential  pulse
     code modulation (ADPCM)

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

     mlibstatus mlibSignalLinear2ADPCM5Bits(mlibu8 *adpcm,
          const mlibs16 *pcm, void *state, mlibs32 n);


DESCRIPTION
     The mlibSignalLinear2ADPCM5Bits() function  performs  adap-
     tive  differential  pulse code modulation (ADPCM) in compli-
     ance with the ITU (former CIT)  G.721,  G.723,  and  G.726
     specifications.  It  converts data from 16-bit linear PCM to
     G.723 or G.726 40kbps 5-bit ADPCM format.

PARAMETERS
     The function takes the following arguments:

     adpcm    ADPCM code array.


     pcm      Linear PCM sample array.


     state    Internal structure of the codec.


     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:














SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions    mlibSignalLinear2ADPCM5Bits(3MLIB)



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


SEE ALSO
     mlibSignalADPCM2Bits2Linear(3MLIB),
     mlibSignalADPCM3Bits2Linear(3MLIB),
     mlibSignalADPCM4Bits2Linear(3MLIB),
     mlibSignalADPCM5Bits2Linear(3MLIB),
     mlibSignalADPCMFree(3MLIB),    mlibSignalADPCMInit(3MLIB),
     mlibSignalLinear2ADPCM2Bits(3MLIB),
     mlibSignalLinear2ADPCM3Bits(3MLIB),
     mlibSignalLinear2ADPCM4Bits(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 ™