mlib_SignalReSampleFIRInit_F32S_F32S man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

mlib_SignalReSampleFIRInitmediaLib(Limlib_SignalReSampleFIRInit_S16_S16(3MLIB)

NAME
       mlib_SignalReSampleFIRInit_S16_S16,		  mlib_SignalReSample‐
       FIRInit_S16S_S16S,  mlib_SignalReSampleFIRInit_F32_F32,	mlib_SignalRe‐
       SampleFIRInit_F32S_F32S - initialization for resampling with filtering

SYNOPSIS
       cc [ flag... ] file... -lmlib [ library... ]
       #include <mlib.h>

       mlib_status mlib_SignalReSampleFIRInit_S16_S16(void **state,
	   const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
	   mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);

       mlib_status mlib_SignalReSampleFIRInit_S16S_S16S(void **state,
	   const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
	   mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);

       mlib_status mlib_SignalReSampleFIRInit_F32_F32(void **state,
	   const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
	   mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);

       mlib_status mlib_SignalReSampleFIRInit_F32S_F32S(void **state,
	   const mlib_f32 *flt, mlib_s32 tap, mlib_s32 ufactor,
	   mlib_s32 uphase, mlib_s32 dfactor, mlib_s32 dphase);

DESCRIPTION
       Each  of these functions allocates memory for the internal state struc‐
       ture 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.

       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 MLIB_SUCCESS if successful. Otherwise it
       returns MLIB_FAILURE.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       mlib_SignalReSampleFIR_S16_S16_Sat(3MLIB),	  mlib_SignalReSample‐
       FIR_F32_F32(3MLIB),	    mlib_SignalReSampleFIRFree_S16_S16(3MLIB),
       mlib_SignalReSampleFIRFree_F32_F32(3MLIB), attributes(5)

SunOS 5.10			  2 Mmlib_SignalReSampleFIRInit_S16_S16(3MLIB)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net