Class SubBlock
java.lang.Object
com.twelvemonkeys.imageio.plugins.webp.vp8.SubBlock
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SubBlockprivate int[][]private int[][]private booleanprivate final SubBlockprivate final MacroBlockprivate intprivate final SubBlock.Planeprivate int[][]private int[] -
Constructor Summary
ConstructorsConstructorDescriptionSubBlock(MacroBlock macroBlock, SubBlock above, SubBlock left, SubBlock.Plane plane) -
Method Summary
Modifier and TypeMethodDescriptionprivate intDCTextra(BoolDecoder bc2, int[] p) voiddecodeSubBlock(BoolDecoder bc2, int[][][][] coef_probs, int ilc, int type, boolean withY2) private intdecodeToken(BoolDecoder bc2, int v) voiddequantSubBlock(VP8Frame frame, Integer Dc) voidvoidvoidgetAbove()int[][]getDest()int[][]getDiff()getLeft()int[][]getMacroBlockPredict(int intra_mode) intgetMode()getPlane()int[][]int[][]getPredict(int intra_bmode, boolean left) (package private) int[]booleanbooleanisDest()static intplaneToType(SubBlock.Plane plane, boolean withY2) voidvoidvoidsetDest(int[][] dest) voidsetDiff(int[][] diff) voidsetMode(int mode) voidsetPixel(int x, int y, int p) voidsetPredict(int[][] predict) toString()
-
Field Details
-
above
-
dest
private int[][] dest -
diff
private int[][] diff -
hasNoZeroToken
private boolean hasNoZeroToken -
left
-
macroBlock
-
mode
private int mode -
plane
-
predict
private int[][] predict -
tokens
private int[] tokens
-
-
Constructor Details
-
SubBlock
SubBlock(MacroBlock macroBlock, SubBlock above, SubBlock left, SubBlock.Plane plane)
-
-
Method Details
-
planeToType
-
DCTextra
- Throws:
IOException
-
decodeSubBlock
public void decodeSubBlock(BoolDecoder bc2, int[][][][] coef_probs, int ilc, int type, boolean withY2) throws IOException - Throws:
IOException
-
decodeToken
- Throws:
IOException
-
dequantSubBlock
-
drawDebug
public void drawDebug() -
drawDebugH
public void drawDebugH() -
drawDebugV
public void drawDebugV() -
getAbove
-
getDebugString
-
getDest
public int[][] getDest() -
getDiff
public int[][] getDiff() -
getLeft
-
getMacroBlock
-
getMacroBlockPredict
public int[][] getMacroBlockPredict(int intra_mode) -
getMode
public int getMode() -
getPlane
-
getPredict
public int[][] getPredict() -
getPredict
public int[][] getPredict(int intra_bmode, boolean left) -
getTokens
int[] getTokens() -
hasNoZeroToken
public boolean hasNoZeroToken() -
isDest
public boolean isDest() -
predict
-
reconstruct
public void reconstruct() -
setDest
public void setDest(int[][] dest) -
setDiff
public void setDiff(int[][] diff) -
setMode
public void setMode(int mode) -
setPixel
public void setPixel(int x, int y, int p) -
setPredict
public void setPredict(int[][] predict) -
toString
-