Class MacroBlock

java.lang.Object
com.twelvemonkeys.imageio.plugins.webp.vp8.MacroBlock

final class MacroBlock extends Object
  • Field Details

    • 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
  • Constructor Details

    • MacroBlock

      MacroBlock(int x, int y, boolean keepDebugInfo)
  • Method Details

    • decodeMacroBlock

      public void decodeMacroBlock(VP8Frame frame) throws IOException
      Throws:
      IOException
    • decodeMacroBlockTokens

      private void decodeMacroBlockTokens(VP8Frame frame, boolean withY2) throws IOException
      Throws:
      IOException
    • decodePlaneTokens

      private boolean decodePlaneTokens(VP8Frame frame, int dimentions, SubBlock.Plane plane, boolean withY2) throws IOException
      Throws:
      IOException
    • dequantMacroBlock

      public void dequantMacroBlock(VP8Frame frame)
    • drawDebug

      public void drawDebug()
    • getDebugString

      public 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 String toString()
      Overrides:
      toString in class Object
    • getSegmentId

      public int getSegmentId()