2 * Copyright (C) 2000 ymnk, JCraft,Inc.
4 * Written by: 2000 ymnk<ymnk@jcraft.com>
7 * Monty <monty@xiph.org> and
8 * The XIPHOPHORUS Company http://www.xiph.org/ .
9 * JOrbis has been based on their awesome works, Vorbis codec.
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public License
13 * as published by the Free Software Foundation; either version 2 of
14 * the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Library General Public License for more details.
21 * You should have received a copy of the GNU Library General Public
22 * License along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 package com.jcraft.jorbis;
28 import com.jcraft.jogg.*;
30 abstract class FuncFloor{
31 // public static FuncFloor[] floor_P={new Floor0()};
32 public static FuncFloor[] floor_P={new Floor0(),new Floor1()};
34 abstract void pack(Object i, Buffer opb);
35 abstract Object unpack(Info vi, Buffer opb);
36 abstract Object look(DspState vd, InfoMode mi, Object i);
37 // abstract Object state(Object i);
38 abstract void free_info(Object i);
39 abstract void free_look(Object i);
40 abstract void free_state(Object vs);
41 abstract int forward(Block vb, Object i, float[] in, float[] out, Object vs);
42 // abstract int inverse(Block vb, Object i, float[] out);
43 abstract Object inverse1(Block vb, Object i, Object memo);
44 abstract int inverse2(Block vb, Object i, Object memo, float[] out);