Package net.sourceforge.plantuml.webp
Class SubBlock
- java.lang.Object
-
- net.sourceforge.plantuml.webp.SubBlock
-
public class SubBlock extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubBlock.PLANE
-
Field Summary
Fields Modifier and Type Field Description static int
UV
static int
Y
static int
Y_AFTER_Y2
static int
Y2
-
Constructor Summary
Constructors Constructor Description SubBlock(MacroBlock macroBlock, SubBlock above, SubBlock left, SubBlock.PLANE plane)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decodeSubBlock(BoolDecoder bc2, int[][][][] coef_probs, int ilc, int type, boolean withY2)
void
dequantSubBlock(VP8Frame frame, Integer Dc)
void
drawDebug()
void
drawDebugH()
void
drawDebugV()
SubBlock
getAbove()
String
getDebugString()
int[][]
getDest()
int[][]
getDiff()
SubBlock
getLeft()
MacroBlock
getMacroBlock()
int[][]
getMacroBlockPredict(int intra_mode)
int
getMode()
SubBlock.PLANE
getPlane()
int[][]
getPredict()
int[][]
getPredict(int intra_bmode, boolean left)
boolean
hasNoZeroToken()
boolean
isDest()
static int
planeToType(SubBlock.PLANE plane, Boolean withY2)
void
predict(VP8Frame frame)
void
reconstruct()
void
setDest(int[][] dest)
void
setDiff(int[][] diff)
void
setMode(int mode)
void
setPixel(int x, int y, int p)
void
setPredict(int[][] predict)
String
toString()
-
-
-
Field Detail
-
UV
public static final int UV
- See Also:
- Constant Field Values
-
Y
public static final int Y
- See Also:
- Constant Field Values
-
Y_AFTER_Y2
public static final int Y_AFTER_Y2
- See Also:
- Constant Field Values
-
Y2
public static final int Y2
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubBlock
public SubBlock(MacroBlock macroBlock, SubBlock above, SubBlock left, SubBlock.PLANE plane)
-
-
Method Detail
-
planeToType
public static int planeToType(SubBlock.PLANE plane, Boolean withY2)
-
decodeSubBlock
public void decodeSubBlock(BoolDecoder bc2, int[][][][] coef_probs, int ilc, int type, boolean withY2) throws IOException
- Throws:
IOException
-
drawDebug
public void drawDebug()
-
drawDebugH
public void drawDebugH()
-
drawDebugV
public void drawDebugV()
-
getAbove
public SubBlock getAbove()
-
getDebugString
public String getDebugString()
-
getDest
public int[][] getDest()
-
getDiff
public int[][] getDiff()
-
getLeft
public SubBlock getLeft()
-
getMacroBlock
public MacroBlock getMacroBlock()
-
getMacroBlockPredict
public int[][] getMacroBlockPredict(int intra_mode)
-
getMode
public int getMode()
-
getPlane
public SubBlock.PLANE getPlane()
-
getPredict
public int[][] getPredict()
-
getPredict
public int[][] getPredict(int intra_bmode, boolean left)
-
hasNoZeroToken
public boolean hasNoZeroToken()
-
isDest
public boolean isDest()
-
predict
public void predict(VP8Frame frame)
-
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)
-
-