|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fi.faidon.jis.JPEGColor
Field Summary | |
static int |
CENTERJSAMPLE
|
static int |
CMYK_YCCK_CONVERT
|
int |
colorConvert
|
static int |
GRAYSCALE_CONVERT
|
protected static int |
JCS_CMYK
|
protected static int |
JCS_GRAYSCALE
|
protected static int |
JCS_RGB
|
protected static int |
JCS_UNKNOWN
Known color spaces. |
protected static int |
JCS_YCbCr
|
protected static int |
JCS_YCCK
|
static int |
MAXJSAMPLE
|
static int |
NULL_CONVERT
Color conversion modes. |
static int |
NULL_METHOD
Color treatment pass indicators. |
static int |
RGB_BLUE
|
static int |
RGB_BLUE_MASK
|
static int |
RGB_GRAY_CONVERT
|
static int |
RGB_GREEN
|
static int |
RGB_GREEN_MASK
|
static int |
RGB_PIXELSIZE
|
static int |
RGB_RED
|
static int |
RGB_RED_MASK
|
static int |
RGB_YCC_CONVERT
|
static int |
RGB_YCC_START
|
int |
startPass
|
Constructor Summary | |
JPEGColor(JPEGImageSaver cinfo)
Module initialization routine for input colorspace conversion. |
Method Summary | |
void |
colorConvert(JPEGImageSaver cinfo,
int[] inputBuf,
java.util.Vector outputBuf,
int outputRow,
int numRows,
int off,
int scansize)
Replaces the color_convert function pointer in the original C version. |
void |
rgbYccConvert(JPEGImageSaver cinfo,
int[] inputBuf,
java.util.Vector outputBuf,
int outputRow,
int numRows,
int off,
int scansize)
Convert some rows of samples to the JPEG colorspace. |
void |
rgbYccStart(JPEGImageSaver cinfo)
Initialize for RGB->YCC colorspace conversion. |
void |
startPass(JPEGImageSaver cinfo)
Method that replaces the function pointes in the C JPEG implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RGB_RED
public static final int RGB_GREEN
public static final int RGB_BLUE
public static final int RGB_RED_MASK
public static final int RGB_GREEN_MASK
public static final int RGB_BLUE_MASK
public static final int RGB_PIXELSIZE
public static final int MAXJSAMPLE
public static final int CENTERJSAMPLE
public static final int NULL_CONVERT
public static final int GRAYSCALE_CONVERT
public static final int RGB_GRAY_CONVERT
public static final int RGB_YCC_CONVERT
public static final int CMYK_YCCK_CONVERT
public static final int NULL_METHOD
public static final int RGB_YCC_START
public int colorConvert
public int startPass
protected static final int JCS_UNKNOWN
protected static final int JCS_GRAYSCALE
protected static final int JCS_RGB
protected static final int JCS_YCbCr
protected static final int JCS_CMYK
protected static final int JCS_YCCK
Constructor Detail |
public JPEGColor(JPEGImageSaver cinfo) throws java.io.IOException
Method Detail |
public void startPass(JPEGImageSaver cinfo) throws java.io.IOException
java.io.IOException
public void rgbYccStart(JPEGImageSaver cinfo) throws java.io.IOException
java.io.IOException
public void colorConvert(JPEGImageSaver cinfo, int[] inputBuf, java.util.Vector outputBuf, int outputRow, int numRows, int off, int scansize) throws java.io.IOException
java.io.IOException
public void rgbYccConvert(JPEGImageSaver cinfo, int[] inputBuf, java.util.Vector outputBuf, int outputRow, int numRows, int off, int scansize) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |