biniu.vorbis

Class PsyLook

class PsyLook extends Object

* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * by the XIPHOPHORUS Company http://www.xiph.org/ * *

Title: EncoderVorbis

Description: Codec for encoding music files (wav -> ogg)

Method Summary
voidcouple(int blobno, InfoPsyGlobal g, InfoMapping0 vi, float[][] res, float[][] mag_memo, int[][] mag_sort, int[][] ifloor, int[] nonzero, int sliding_lowpass)
voidhfReduction(InfoPsyGlobal g, InfoMapping0 vi, float[][] mdct)
@ M2 ** The boost problem by the combination of noise normalization and point stereo is eased.
voidnoiseMask(float[] logmdct, int plogmdct, float[] logmask)
int[]noisenNormalizeSort(float[] magnitudes)
voidnoiseNormalize(float[] in, float[] out, int pout, int[] sortedindex)
voidpsyInit(PsyInfo vi, InfoPsyGlobal gi, int n, int rate)
float[][]quantizeCoupleMemo(InfoPsyGlobal g, InfoMapping0 vi, float[][] mdct)
int[][]quantizeCoupleSort(InfoMapping0 vi, float[][] mags)
voidtoneMask(float[] logfft, float[] logmask, float global_specmax, float local_specmax)

Method Detail

couple

public void couple(int blobno, InfoPsyGlobal g, InfoMapping0 vi, float[][] res, float[][] mag_memo, int[][] mag_sort, int[][] ifloor, int[] nonzero, int sliding_lowpass)

hfReduction

public void hfReduction(InfoPsyGlobal g, InfoMapping0 vi, float[][] mdct)
@ M2 ** The boost problem by the combination of noise normalization and point stereo is eased. However, this is a temporary patch. by Aoyumi @ 2004/04/18

noiseMask

public void noiseMask(float[] logmdct, int plogmdct, float[] logmask)

noisenNormalizeSort

public int[] noisenNormalizeSort(float[] magnitudes)

noiseNormalize

public void noiseNormalize(float[] in, float[] out, int pout, int[] sortedindex)

psyInit

public void psyInit(PsyInfo vi, InfoPsyGlobal gi, int n, int rate)

quantizeCoupleMemo

public float[][] quantizeCoupleMemo(InfoPsyGlobal g, InfoMapping0 vi, float[][] mdct)

quantizeCoupleSort

public int[][] quantizeCoupleSort(InfoMapping0 vi, float[][] mags)

toneMask

public void toneMask(float[] logfft, float[] logmask, float global_specmax, float local_specmax)