|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.graphics.predictor.PredictorAlgorithm
org.apache.pdfbox.pdmodel.graphics.predictor.None
public class None
The none algorithm.
None(i,j) = Raw(i,j)
Raw(i,j) = None(i,j)
| Constructor Summary | |
|---|---|
None()
|
|
| Method Summary | |
|---|---|
void |
decode(byte[] src,
byte[] dest)
decode a byte array full of image data using the filter that this object implements. |
void |
decodeLine(byte[] src,
byte[] dest,
int srcDy,
int srcOffset,
int destDy,
int destOffset)
decode line of pixel data in src from src_offset and width*bpp bytes forward, put the decoded bytes into dest. |
void |
encode(byte[] src,
byte[] dest)
encode a byte array full of image data using the filter that this object implements. |
void |
encodeLine(byte[] src,
byte[] dest,
int srcDy,
int srcOffset,
int destDy,
int destOffset)
encode line of pixel data in src from srcOffset and width*bpp bytes forward, put the decoded bytes into dest. |
| Methods inherited from class org.apache.pdfbox.pdmodel.graphics.predictor.PredictorAlgorithm |
|---|
aboveLeftPixel, abovePixel, checkBufsiz, getBpp, getFilter, getHeight, getWidth, leftPixel, main, setBpp, setHeight, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public None()
| Method Detail |
|---|
public void encode(byte[] src,
byte[] dest)
encode in class PredictorAlgorithmsrc - bufferdest - buffer
public void decode(byte[] src,
byte[] dest)
decode in class PredictorAlgorithmsrc - bufferdest - buffer
public void encodeLine(byte[] src,
byte[] dest,
int srcDy,
int srcOffset,
int destDy,
int destOffset)
encodeLine in class PredictorAlgorithmsrc - raw image datadest - encoded datasrcDy - byte offset between linessrcOffset - beginning of line datadestDy - byte offset between linesdestOffset - beginning of line data
public void decodeLine(byte[] src,
byte[] dest,
int srcDy,
int srcOffset,
int destDy,
int destOffset)
decodeLine in class PredictorAlgorithmsrc - encoded image datadest - raw datasrcDy - byte offset between linessrcOffset - beginning of line datadestDy - byte offset between linesdestOffset - beginning of line data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||