Class MacroBlock
java.lang.Object
com.twelvemonkeys.imageio.plugins.webp.vp8.MacroBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private final boolean
private int
private int
private boolean
(package private) final SubBlock[][]
private int
private int
(package private) final SubBlock[][]
private final int
private final int
(package private) final SubBlock
private int
(package private) final SubBlock[][]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
decodeMacroBlock
(VP8Frame frame) private void
decodeMacroBlockTokens
(VP8Frame frame, boolean withY2) private boolean
decodePlaneTokens
(VP8Frame frame, int dimentions, SubBlock.Plane plane, boolean withY2) void
dequantMacroBlock
(VP8Frame frame) void
getBottomSubBlock
(int x, SubBlock.Plane plane) int
getLeftSubBlock
(int y, SubBlock.Plane plane) getRightSubBlock
(int y, SubBlock.Plane plane) int
int
getSubBlock
(SubBlock.Plane plane, int i, int j) int
getSubblockX
(SubBlock sb) int
getSubblockY
(SubBlock sb) getUSubBlock
(int i, int j) int
int
getVSubBlock
(int i, int j) int
getX()
int
getY()
int
getYMode()
getYSubBlock
(int i, int j) boolean
boolean
void
void
void
recon_mb()
void
setFilterLevel
(int value) void
setSegmentId
(int value) void
setSkipCoeff
(int mbSkipCoeff) void
setUVFilterLevel
(int value) void
setUvMode
(int mode) void
setYMode
(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()
-