Class MacroBlock
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.webp.vp8.MacroBlock
-
final class MacroBlock extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
filterLevel
private boolean
keepDebugInfo
private int
segmentId
private int
skipCoeff
private boolean
skipInnerLoopFilter
(package private) SubBlock[][]
uSubBlocks
private int
uVFilterLevel
private int
uvMode
(package private) SubBlock[][]
vSubBlocks
private int
x
private int
y
(package private) SubBlock
y2SubBlock
private int
yMode
(package private) SubBlock[][]
ySubBlocks
-
Constructor Summary
Constructors Constructor Description MacroBlock(int x, int y, boolean keepDebugInfo)
-
Method Summary
-
-
-
Field Detail
-
filterLevel
private int filterLevel
-
keepDebugInfo
private final boolean keepDebugInfo
-
segmentId
private int segmentId
-
skipCoeff
private int skipCoeff
-
skipInnerLoopFilter
private boolean skipInnerLoopFilter
-
uSubBlocks
final SubBlock[][] uSubBlocks
-
uVFilterLevel
private int uVFilterLevel
-
uvMode
private int uvMode
-
vSubBlocks
final SubBlock[][] vSubBlocks
-
x
private final int x
-
y
private final int y
-
y2SubBlock
final SubBlock y2SubBlock
-
yMode
private int yMode
-
ySubBlocks
final SubBlock[][] ySubBlocks
-
-
Method Detail
-
decodeMacroBlock
public void decodeMacroBlock(VP8Frame frame) throws java.io.IOException
- Throws:
java.io.IOException
-
decodeMacroBlockTokens
private void decodeMacroBlockTokens(VP8Frame frame, boolean withY2) throws java.io.IOException
- Throws:
java.io.IOException
-
decodePlaneTokens
private boolean decodePlaneTokens(VP8Frame frame, int dimentions, SubBlock.Plane plane, boolean withY2) throws java.io.IOException
- Throws:
java.io.IOException
-
dequantMacroBlock
public void dequantMacroBlock(VP8Frame frame)
-
drawDebug
public void drawDebug()
-
getDebugString
public java.lang.String getDebugString()
-
getFilterLevel
public int getFilterLevel()
-
getBottomSubBlock
public SubBlock getBottomSubBlock(int x, SubBlock.Plane plane)
-
getLeftSubBlock
public SubBlock getLeftSubBlock(int y, SubBlock.Plane plane)
-
getRightSubBlock
public SubBlock getRightSubBlock(int y, SubBlock.Plane plane)
-
getSkipCoeff
public int getSkipCoeff()
-
getSubBlock
public SubBlock getSubBlock(SubBlock.Plane plane, int i, int j)
-
getSubblockX
public int getSubblockX(SubBlock sb)
-
getSubblockY
public int getSubblockY(SubBlock sb)
-
getUSubBlock
public SubBlock getUSubBlock(int i, int j)
-
getUVFilterLevel
public int getUVFilterLevel()
-
getUvMode
public int getUvMode()
-
getVSubBlock
public SubBlock getVSubBlock(int i, int j)
-
getX
public int getX()
-
getY
public int getY()
-
getY2SubBlock
public SubBlock getY2SubBlock()
-
getYMode
public int getYMode()
-
getYSubBlock
public SubBlock getYSubBlock(int i, int j)
-
isKeepDebugInfo
public boolean isKeepDebugInfo()
-
isSkip_inner_lf
public boolean isSkip_inner_lf()
-
predictUV
public void predictUV(VP8Frame frame)
-
predictY
public void predictY(VP8Frame frame)
-
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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getSegmentId
public int getSegmentId()
-
-