com.alibaba.simpleimage.codec.jpeg
类 HuffmanTable

java.lang.Object
  继承者 com.alibaba.simpleimage.codec.jpeg.HuffmanTable

public class HuffmanTable
extends Object


字段摘要
static int TYPE_AC
           
static int TYPE_DC
           
 
构造方法摘要
HuffmanTable(int Tc, int Th, int[] bits, int[] huffval)
           
 
方法摘要
 int decode(ImageInputStream in)
           
 int extend(int diff, int t)
           
 int[] getL()
           
 int getLh()
           
 int getTc()
           
 int getTh()
           
 int[] getV()
           
 void setL(int[] l)
           
 void setLh(int lh)
           
 void setTc(int tc)
           
 void setTh(int th)
           
 void setV(int[] v)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

TYPE_DC

public static final int TYPE_DC
另请参见:
常量字段值

TYPE_AC

public static final int TYPE_AC
另请参见:
常量字段值
构造方法详细信息

HuffmanTable

public HuffmanTable(int Tc,
                    int Th,
                    int[] bits,
                    int[] huffval)
方法详细信息

decode

public int decode(ImageInputStream in)
           throws IOException,
                  JPEGMarkerException
抛出:
IOException
JPEGMarkerException

extend

public int extend(int diff,
                  int t)

getLh

public int getLh()

setLh

public void setLh(int lh)

getTc

public int getTc()

setTc

public void setTc(int tc)

getTh

public int getTh()

setTh

public void setTh(int th)

getL

public int[] getL()

setL

public void setL(int[] l)

getV

public int[] getV()

setV

public void setV(int[] v)


Copyright © 2012–2015 Alibaba Group. All rights reserved.