Class MacroBlock
java.lang.Object
com.twelvemonkeys.imageio.plugins.webp.vp8.MacroBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final booleanprivate intprivate intprivate boolean(package private) final SubBlock[][]private intprivate int(package private) final SubBlock[][]private final intprivate final int(package private) final SubBlockprivate int(package private) final SubBlock[][] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecodeMacroBlock(VP8Frame frame) private voiddecodeMacroBlockTokens(VP8Frame frame, boolean withY2) private booleandecodePlaneTokens(VP8Frame frame, int dimentions, SubBlock.Plane plane, boolean withY2) voiddequantMacroBlock(VP8Frame frame) voidgetBottomSubBlock(int x, SubBlock.Plane plane) intgetLeftSubBlock(int y, SubBlock.Plane plane) getRightSubBlock(int y, SubBlock.Plane plane) intintgetSubBlock(SubBlock.Plane plane, int i, int j) intgetSubblockX(SubBlock sb) intgetSubblockY(SubBlock sb) getUSubBlock(int i, int j) intintgetVSubBlock(int i, int j) intgetX()intgetY()intgetYMode()getYSubBlock(int i, int j) booleanbooleanvoidvoidvoidrecon_mb()voidsetFilterLevel(int value) voidsetSegmentId(int value) voidsetSkipCoeff(int mbSkipCoeff) voidsetUVFilterLevel(int value) voidsetUvMode(int mode) voidsetYMode(int yMode) toString()
-
Field Details
-
filterLevel
private int filterLevel -
keepDebugInfo
private final boolean keepDebugInfo -
segmentId
private int segmentId -
skipCoeff
private int skipCoeff -
skipInnerLoopFilter
private boolean skipInnerLoopFilter -
uSubBlocks
-
uVFilterLevel
private int uVFilterLevel -
uvMode
private int uvMode -
vSubBlocks
-
x
private final int x -
y
private final int y -
y2SubBlock
-
yMode
private int yMode -
ySubBlocks
-
-
Constructor Details
-
MacroBlock
MacroBlock(int x, int y, boolean keepDebugInfo)
-
-
Method Details
-
decodeMacroBlock
- Throws:
IOException
-
decodeMacroBlockTokens
- Throws:
IOException
-
decodePlaneTokens
private boolean decodePlaneTokens(VP8Frame frame, int dimentions, SubBlock.Plane plane, boolean withY2) throws IOException - Throws:
IOException
-
dequantMacroBlock
-
drawDebug
public void drawDebug() -
getDebugString
-
getFilterLevel
public int getFilterLevel() -
getBottomSubBlock
-
getLeftSubBlock
-
getRightSubBlock
-
getSkipCoeff
public int getSkipCoeff() -
getSubBlock
-
getSubblockX
-
getSubblockY
-
getUSubBlock
-
getUVFilterLevel
public int getUVFilterLevel() -
getUvMode
public int getUvMode() -
getVSubBlock
-
getX
public int getX() -
getY
public int getY() -
getY2SubBlock
-
getYMode
public int getYMode() -
getYSubBlock
-
isKeepDebugInfo
public boolean isKeepDebugInfo() -
isSkip_inner_lf
public boolean isSkip_inner_lf() -
predictUV
-
predictY
-
recon_mb
public void recon_mb() -
setFilterLevel
public void setFilterLevel(int value) -
setSegmentId
public void setSegmentId(int value) -
setSkipCoeff
public void setSkipCoeff(int mbSkipCoeff) -
setUVFilterLevel
public void setUVFilterLevel(int value) -
setUvMode
public void setUvMode(int mode) -
setYMode
public void setYMode(int yMode) -
toString
-
getSegmentId
public int getSegmentId()
-