MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions
                        mlibSignalReSampleFIRInitS16S16(3MLIB)



NAME
     mlibSignalReSampleFIRInitS16S16,
     mlibSignalReSampleFIRInitS16S16S,
     mlibSignalReSampleFIRInitF32F32,
     mlibSignalReSampleFIRInitF32SF32S  -  initialization  for
     resampling with filtering

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

     mlibstatus mlibSignalReSampleFIRInitS16S16(void **state,
          const mlibf32 *flt, mlibs32 tap, mlibs32 ufactor,
          mlibs32 uphase, mlibs32 dfactor, mlibs32 dphase);


     mlibstatus mlibSignalReSampleFIRInitS16S16S(void **state,
          const mlibf32 *flt, mlibs32 tap, mlibs32 ufactor,
          mlibs32 uphase, mlibs32 dfactor, mlibs32 dphase);


     mlibstatus mlibSignalReSampleFIRInitF32F32(void **state,
          const mlibf32 *flt, mlibs32 tap, mlibs32 ufactor,
          mlibs32 uphase, mlibs32 dfactor, mlibs32 dphase);


     mlibstatus mlibSignalReSampleFIRInitF32SF32S(void **state,
          const mlibf32 *flt, mlibs32 tap, mlibs32 ufactor,
          mlibs32 uphase, mlibs32 dfactor, mlibs32 dphase);


DESCRIPTION
     Each of these functions allocates memory  for  the  internal
     state structure and converts the parameters into an internal
     representation for rational sample rate conversion with  FIR
     filtering between upsampling and downsampling.

PARAMETERS
     Each of the functions takes the following arguments:

     state      Internal state structure.


     flt        Filter coefficient array, two-channel interleaved
                in the cases of stereo.


     tap        Taps of the filter.






SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions
                        mlibSignalReSampleFIRInitS16S16(3MLIB)



     ufactor    Factor by which to upsample.


     uphase     Phase in upsampling. 0 < uphase < ufactor.


     dfactor    Factor by which to downsample.


     dphase     Phase in downsampling. 0 < dphase < dfactor.


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
     mlibSignalReSampleFIRS16S16Sat(3MLIB),
     mlibSignalReSampleFIRF32F32(3MLIB),
     mlibSignalReSampleFIRFreeS16S16(3MLIB),
     mlibSignalReSampleFIRFreeF32F32(3MLIB), attributes(5)


















SunOS 5.11           Last change: 2 Mar 2007                    2






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