|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lizardtech.djvu.DjVuObject
com.lizardtech.djvu.IWPixmap
public class IWPixmap
This class represents structured wavelette data.
Field Summary | |
---|---|
protected com.lizardtech.djvu.IWCodec |
cbcodec
DOCUMENT ME! |
protected com.lizardtech.djvu.IWMap |
cbmap
DOCUMENT ME! |
protected int |
cbytes
DOCUMENT ME! |
protected int |
crcb_delay
DOCUMENT ME! |
protected boolean |
crcb_half
DOCUMENT ME! |
static int |
CRCBfull
DOCUMENT ME! |
static int |
CRCBhalf
DOCUMENT ME! |
static int |
CRCBMode
DOCUMENT ME! |
static int |
CRCBnone
DOCUMENT ME! |
static int |
CRCBnormal
DOCUMENT ME! |
protected com.lizardtech.djvu.IWCodec |
crcodec
DOCUMENT ME! |
protected com.lizardtech.djvu.IWMap |
crmap
DOCUMENT ME! |
protected int |
cserial
DOCUMENT ME! |
protected int |
cslice
DOCUMENT ME! |
static float[][] |
rgb_to_ycc
DOCUMENT ME! |
protected com.lizardtech.djvu.IWCodec |
ycodec
DOCUMENT ME! |
protected com.lizardtech.djvu.IWMap |
ymap
DOCUMENT ME! |
Fields inherited from class com.lizardtech.djvu.DjVuObject |
---|
hasReferences |
Constructor Summary | |
---|---|
IWPixmap()
Creates a new IWPixmap object. |
Method Summary | |
---|---|
void |
close_codec()
DOCUMENT ME! |
static IWPixmap |
createIWPixmap(DjVuInterface ref)
Creates an instance of IWPixmap with the options interherited from the specified reference. |
void |
decode_iff(IFFInputStream iff,
int maxchunks)
DOCUMENT ME! |
void |
decode(DataPool pool)
DOCUMENT ME! |
int |
getHeight()
DOCUMENT ME! |
GPixmap |
getPixmap()
DOCUMENT ME! |
GPixmap |
getPixmap(int subsample,
GRect rect,
GPixmap retval)
Create a pixmap with the specified subsample rate and bounds. |
int |
getWidth()
DOCUMENT ME! |
boolean |
isImageData()
Query if this is image data. |
int |
setCrcbDelay(int value)
Set the CRCB Delay |
Methods inherited from class com.lizardtech.djvu.DjVuObject |
---|
checkLockTime, create, create, createSoftReference, createWeakReference, getDjVuOptions, getFromReference, invoke, setDjVuOptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.lizardtech.djvu.DjVuInterface |
---|
getDjVuOptions, setDjVuOptions |
Field Detail |
---|
public static final int CRCBfull
public static final int CRCBhalf
public static final int CRCBMode
public static final int CRCBnone
public static final int CRCBnormal
public static final float[][] rgb_to_ycc
protected com.lizardtech.djvu.IWCodec cbcodec
protected com.lizardtech.djvu.IWCodec crcodec
protected com.lizardtech.djvu.IWCodec ycodec
protected com.lizardtech.djvu.IWMap cbmap
protected com.lizardtech.djvu.IWMap crmap
protected com.lizardtech.djvu.IWMap ymap
protected int cbytes
protected int crcb_delay
protected boolean crcb_half
protected int cserial
protected int cslice
Constructor Detail |
---|
public IWPixmap()
Method Detail |
---|
public boolean isImageData()
isImageData
in interface Codec
public static IWPixmap createIWPixmap(DjVuInterface ref)
ref
- Object to interherit DjVuOptions from.
public void close_codec()
public void decode(DataPool pool) throws java.io.IOException
decode
in interface Codec
pool
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public void decode_iff(IFFInputStream iff, int maxchunks) throws java.io.IOException
iff
- DOCUMENT ME!maxchunks
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!public int getHeight()
public GPixmap getPixmap()
public GPixmap getPixmap(int subsample, GRect rect, GPixmap retval)
subsample
- rate at which to subsamplerect
- Bounding box of the desired pixmap.retval
- An old pixmap to try updating, or null.
public int getWidth()
public int setCrcbDelay(int value)
value
- the new CRCB delay value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |