"L. Spiro Engine"
Classes | Public Types | Static Public Member Functions | Static Protected Member Functions

lss::CVorbisPsy Class Reference

Random psychoacoustics (not including pre-echo). More...

#include <LSSVorbisPsy.h>

List of all members.

Classes

struct  vorbis_info_psy
struct  vorbis_info_psy_global
struct  vorbis_look_psy
struct  vorbis_look_psy_global

Public Types

typedef struct
lss::CVorbisPsy::vorbis_info_psy
LPvorbis_info_psy
typedef struct
lss::CVorbisPsy::vorbis_info_psy 
LPCvorbis_info_psy
typedef struct
lss::CVorbisPsy::vorbis_info_psy_global
LPvorbis_info_psy_global
typedef struct
lss::CVorbisPsy::vorbis_info_psy_global 
LPCvorbis_info_psy_global
typedef struct
lss::CVorbisPsy::vorbis_look_psy_global
LPvorbis_look_psy_global
typedef struct
lss::CVorbisPsy::vorbis_look_psy_global 
LPCvorbis_look_psy_global
typedef struct
lss::CVorbisPsy::vorbis_look_psy
LPvorbis_look_psy
typedef struct
lss::CVorbisPsy::vorbis_look_psy
LPCvorbis_look_psy

Static Public Member Functions

static LSVOID _vp_psy_init (vorbis_look_psy *_plpP, vorbis_info_psy *_pipVi, vorbis_info_psy_global *_pipgGi, LSINT32 _i32N, LSINT32 _i32Rate)
static LSVOID _vp_psy_clear (vorbis_look_psy *_plpP)
static LSVOID _vi_psy_free (vorbis_info_psy *_pipI)
static LSVOID _vp_noisemask (vorbis_look_psy *_plpP, LSFLOAT *_pfLogMdct, LSFLOAT *_pfLogMask)
static LSVOID _vp_tonemask (vorbis_look_psy *_plpP, LSFLOAT *_pfLogFft, LSFLOAT *_pfLogMask, LSFLOAT _fGlobalSpecMax, LSFLOAT _fLocalSpecMax)
static LSVOID _vp_offset_and_mix (vorbis_look_psy *_plpP, LSFLOAT *_pfNoise, LSFLOAT *_pfTone, LSINT32 _i32OffsetSelect, LSFLOAT *_pfLogMask, LSFLOAT *_pfMdct, LSFLOAT *_pfLogMdct)
static LSFLOAT _vp_ampmax_decay (LSFLOAT _fAmp, CVorbisCodec::vorbis_dsp_state *_pdsVd)
static LSVOID _vp_couple_quantize_normalize (LSINT32 _i32BlobNo, vorbis_info_psy_global *_pipgG, vorbis_look_psy *_plpP, CVorbisStructs::vorbis_info_mapping0 *_pipVi, LSFLOAT **_pfMdct, LSINT32 **_ppi32Work, LSINT32 *_pi32NonZero, LSINT32 _i32SlidingLowPass, LSINT32 _i32Ch)

Static Protected Member Functions

static LSFLOAT *** setup_tone_curves (LSFLOAT _fCurveAttDb[17], LSFLOAT _fBinHz, LSINT32 _i32N, LSFLOAT _fCenterBoost, LSFLOAT _fCenterDecayRate)
static LSVOID min_curve (LSFLOAT *_pfC, LSFLOAT *_pfC2)
static LSVOID max_curve (LSFLOAT *_pfC, LSFLOAT *_pfC2)
static LSVOID attenuate_curve (LSFLOAT *_pfC, LSFLOAT _fAtt)
static LSVOID bark_noise_hybridmp (LSINT32 _i32N, const LSINT32 *_pi32B, const LSFLOAT *_pfF, LSFLOAT *_pfNoise, const LSFLOAT _fOffset, const LSINT32 _i32Fixed)
static LSVOID seed_loop (vorbis_look_psy *_plpP, const LSFLOAT ***_pppfCurves, const LSFLOAT *_pfF, const LSFLOAT *_pfFlr, LSFLOAT *_pfSeed, LSFLOAT _fSpecMax)
static LSVOID max_seeds (vorbis_look_psy *_plpP, LSFLOAT *_pfSeed, LSFLOAT *_pfFlr)
static LSVOID seed_curve (LSFLOAT *_pfSeed, const LSFLOAT **_pppfCurves, LSFLOAT _fAmp, LSINT32 _i32Oc, LSINT32 _i32N, LSINT32 _i32LinesPer, LSFLOAT _fDbOffset)
static LSVOID seed_chase (LSFLOAT *_pfSeeds, LSINT32 _i32LinesPer, LSINT32 _i32N)
static LSVOID flag_lossless (LSINT32 _i32Limit, LSFLOAT _fPrePoint, LSFLOAT _fPostPoint, LSFLOAT *_pfMdct, LSFLOAT *_pfFloor, LSINT32 *_pi32Flag, LSINT32 _i32I, LSINT32 _i32Jn)
static LSFLOAT noise_normalize (vorbis_look_psy *_plpP, LSINT32 _i32Limit, LSFLOAT *_pfR, LSFLOAT *_pfQ, LSFLOAT *_pfF, LSINT32 *_pi32Flags, LSFLOAT _pfAcc, LSINT32 _i32I, LSINT32 _i32N, LSINT32 *_pi32Out)
static LSINT32 LSE_CCALL apsort (LSVOID *_pvContext, const LSVOID *_pvA, const LSVOID *_pvB)

Detailed Description

Random psychoacoustics (not including pre-echo).

Class CVorbisPsy Description: Random psychoacoustics (not including pre-echo).


Member Typedef Documentation

Psychoacoustic info.

Psychoacoustic global info.

Psychoacoustic looking info.

Psychoacoustic global looking info.


Member Function Documentation

static LSVOID lss::CVorbisPsy::_vi_psy_free ( vorbis_info_psy _pipI) [static]

Undocumented function from the Vorbis library.

Parameters:
_pvSourceUndocumented parameter from the Vorbis library.
Returns:
Undocumented return from the Vorbis library. Undocumented function from the Vorbis library.
Parameters:
_pipIUndocumented parameter from the Vorbis library.
static LSFLOAT lss::CVorbisPsy::_vp_ampmax_decay ( LSFLOAT  _fAmp,
CVorbisCodec::vorbis_dsp_state _pdsVd 
) [static]

Undocumented function from the Vorbis library.

Parameters:
_fAmpUndocumented parameter from the Vorbis library.
_pdsVdUndocumented parameter from the Vorbis library.
Returns:
Undocumented return from the Vorbis library.
static LSVOID lss::CVorbisPsy::_vp_couple_quantize_normalize ( LSINT32  _i32BlobNo,
vorbis_info_psy_global _pipgG,
vorbis_look_psy _plpP,
CVorbisStructs::vorbis_info_mapping0 _pipVi,
LSFLOAT **  _pfMdct,
LSINT32 **  _ppi32Work,
LSINT32 *  _pi32NonZero,
LSINT32  _i32SlidingLowPass,
LSINT32  _i32Ch 
) [static]

Undocumented function from the Vorbis library.

Parameters:
_i32BlobNoUndocumented parameter from the Vorbis library.
_pipgGUndocumented parameter from the Vorbis library.
_plpPUndocumented parameter from the Vorbis library.
_pipViUndocumented parameter from the Vorbis library.
_pfMdctUndocumented parameter from the Vorbis library.
_ppi32WorkUndocumented parameter from the Vorbis library.
_pi32NonZeroUndocumented parameter from the Vorbis library.
_i32SlidingLowPassUndocumented parameter from the Vorbis library.
_i32ChUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::_vp_noisemask ( vorbis_look_psy _plpP,
LSFLOAT *  _pfLogMdct,
LSFLOAT *  _pfLogMask 
) [static]

Undocumented function from the Vorbis library.

Parameters:
_pipIUndocumented parameter from the Vorbis library.
Returns:
Undocumented return from the Vorbis library. Undocumented function from the Vorbis library.
Parameters:
_plpPUndocumented parameter from the Vorbis library.
_pfLogMdctUndocumented parameter from the Vorbis library.
_pfLogMaskUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::_vp_offset_and_mix ( vorbis_look_psy _plpP,
LSFLOAT *  _pfNoise,
LSFLOAT *  _pfTone,
LSINT32  _i32OffsetSelect,
LSFLOAT *  _pfLogMask,
LSFLOAT *  _pfMdct,
LSFLOAT *  _pfLogMdct 
) [static]

Undocumented function from the Vorbis library.

Parameters:
_plpPUndocumented parameter from the Vorbis library.
_pfNoiseUndocumented parameter from the Vorbis library.
_pfToneUndocumented parameter from the Vorbis library.
_i32OffsetSelectUndocumented parameter from the Vorbis library.
_pfLogMaskUndocumented parameter from the Vorbis library.
_pfMdctUndocumented parameter from the Vorbis library.
_pfLogMdctUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::_vp_psy_clear ( vorbis_look_psy _plpP) [static]

Undocumented function from the Vorbis library.

Parameters:
_plpPUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::_vp_psy_init ( vorbis_look_psy _plpP,
vorbis_info_psy _pipVi,
vorbis_info_psy_global _pipgGi,
LSINT32  _i32N,
LSINT32  _i32Rate 
) [static]

Undocumented function from the Vorbis library.

Parameters:
_plpPUndocumented parameter from the Vorbis library.
_pipViUndocumented parameter from the Vorbis library.
_pipgGiUndocumented parameter from the Vorbis library.
_i32NUndocumented parameter from the Vorbis library.
_i32RateUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::_vp_tonemask ( vorbis_look_psy _plpP,
LSFLOAT *  _pfLogFft,
LSFLOAT *  _pfLogMask,
LSFLOAT  _fGlobalSpecMax,
LSFLOAT  _fLocalSpecMax 
) [static]

Undocumented function from the Vorbis library.

Parameters:
_plpPUndocumented parameter from the Vorbis library.
_pfLogFftUndocumented parameter from the Vorbis library.
_pfLogMaskUndocumented parameter from the Vorbis library.
_fGlobalSpecMaxUndocumented parameter from the Vorbis library.
_fLocalSpecMaxUndocumented parameter from the Vorbis library.
static LSINT32 LSE_CCALL lss::CVorbisPsy::apsort ( LSVOID *  _pvContext,
const LSVOID *  _pvA,
const LSVOID *  _pvB 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_pvContextUnused.
_pvAUndocumented parameter from the Vorbis library.
_pvBUndocumented parameter from the Vorbis library.
Returns:
Undocumented return from the Vorbis library.
static LSVOID lss::CVorbisPsy::attenuate_curve ( LSFLOAT *  _pfC,
LSFLOAT  _fAtt 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_pfCUndocumented parameter from the Vorbis library.
_fAttUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::bark_noise_hybridmp ( LSINT32  _i32N,
const LSINT32 *  _pi32B,
const LSFLOAT *  _pfF,
LSFLOAT *  _pfNoise,
const LSFLOAT  _fOffset,
const LSINT32  _i32Fixed 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_i32NUndocumented parameter from the Vorbis library.
_pi32BUndocumented parameter from the Vorbis library.
_pfFUndocumented parameter from the Vorbis library.
_pfNoiseUndocumented parameter from the Vorbis library.
_fOffsetUndocumented parameter from the Vorbis library.
_i32FixedUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::flag_lossless ( LSINT32  _i32Limit,
LSFLOAT  _fPrePoint,
LSFLOAT  _fPostPoint,
LSFLOAT *  _pfMdct,
LSFLOAT *  _pfFloor,
LSINT32 *  _pi32Flag,
LSINT32  _i32I,
LSINT32  _i32Jn 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_i32LimitUndocumented parameter from the Vorbis library.
_fPrePointUndocumented parameter from the Vorbis library.
_fPostPointUndocumented parameter from the Vorbis library.
_pfMdctUndocumented parameter from the Vorbis library.
_pfFloorUndocumented parameter from the Vorbis library.
_pi32FlagUndocumented parameter from the Vorbis library.
_i32IUndocumented parameter from the Vorbis library.
_i32JnUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::max_curve ( LSFLOAT *  _pfC,
LSFLOAT *  _pfC2 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_pfCUndocumented parameter from the Vorbis library.
_pfC2Undocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::max_seeds ( vorbis_look_psy _plpP,
LSFLOAT *  _pfSeed,
LSFLOAT *  _pfFlr 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_plpPUndocumented parameter from the Vorbis library.
_pfSeedUndocumented parameter from the Vorbis library.
_pfFlrUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::min_curve ( LSFLOAT *  _pfC,
LSFLOAT *  _pfC2 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_pfCUndocumented parameter from the Vorbis library.
_pfC2Undocumented parameter from the Vorbis library.
static LSFLOAT lss::CVorbisPsy::noise_normalize ( vorbis_look_psy _plpP,
LSINT32  _i32Limit,
LSFLOAT *  _pfR,
LSFLOAT *  _pfQ,
LSFLOAT *  _pfF,
LSINT32 *  _pi32Flags,
LSFLOAT  _pfAcc,
LSINT32  _i32I,
LSINT32  _i32N,
LSINT32 *  _pi32Out 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_plpPUndocumented parameter from the Vorbis library.
_i32LimitUndocumented parameter from the Vorbis library.
_pfRUndocumented parameter from the Vorbis library.
_pfQUndocumented parameter from the Vorbis library.
_pfFUndocumented parameter from the Vorbis library.
_pi32FlagsUndocumented parameter from the Vorbis library.
_pfAccUndocumented parameter from the Vorbis library.
_i32IUndocumented parameter from the Vorbis library.
_i32NUndocumented parameter from the Vorbis library.
_pi32OutUndocumented parameter from the Vorbis library.
Returns:
Undocumented return from the Vorbis library.
static LSVOID lss::CVorbisPsy::seed_chase ( LSFLOAT *  _pfSeeds,
LSINT32  _i32LinesPer,
LSINT32  _i32N 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_pfSeedsUndocumented parameter from the Vorbis library.
_i32LinesPerUndocumented parameter from the Vorbis library.
_i32NUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::seed_curve ( LSFLOAT *  _pfSeed,
const LSFLOAT **  _pppfCurves,
LSFLOAT  _fAmp,
LSINT32  _i32Oc,
LSINT32  _i32N,
LSINT32  _i32LinesPer,
LSFLOAT  _fDbOffset 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_pfSeedUndocumented parameter from the Vorbis library.
_pppfCurvesUndocumented parameter from the Vorbis library.
_fAmpUndocumented parameter from the Vorbis library.
_i32OcUndocumented parameter from the Vorbis library.
_i32NUndocumented parameter from the Vorbis library.
_i32LinesPerUndocumented parameter from the Vorbis library.
_fDbOffsetUndocumented parameter from the Vorbis library.
static LSVOID lss::CVorbisPsy::seed_loop ( vorbis_look_psy _plpP,
const LSFLOAT ***  _pppfCurves,
const LSFLOAT *  _pfF,
const LSFLOAT *  _pfFlr,
LSFLOAT *  _pfSeed,
LSFLOAT  _fSpecMax 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_plpPUndocumented parameter from the Vorbis library.
_pppfCurvesUndocumented parameter from the Vorbis library.
_pfFUndocumented parameter from the Vorbis library.
_pfFlrUndocumented parameter from the Vorbis library.
_pfSeedUndocumented parameter from the Vorbis library.
_fSpecMaxUndocumented parameter from the Vorbis library.
static LSFLOAT*** lss::CVorbisPsy::setup_tone_curves ( LSFLOAT  _fCurveAttDb[17],
LSFLOAT  _fBinHz,
LSINT32  _i32N,
LSFLOAT  _fCenterBoost,
LSFLOAT  _fCenterDecayRate 
) [static, protected]

Undocumented function from the Vorbis library.

Parameters:
_fCurveAttDbUndocumented parameter from the Vorbis library.
_fBinHzUndocumented parameter from the Vorbis library.
_i32NUndocumented parameter from the Vorbis library.
_fCenterBoostUndocumented parameter from the Vorbis library.
_fCenterDecayRateUndocumented parameter from the Vorbis library.
Returns:
Undocumented return from the Vorbis library.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator