public class SubBlock extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SubBlock.PLANE |
Modifier and Type | Field and Description |
---|---|
static int |
UV |
static int |
Y |
static int |
Y_AFTER_Y2 |
static int |
Y2 |
Constructor and Description |
---|
SubBlock(MacroBlock macroBlock,
SubBlock above,
SubBlock left,
SubBlock.PLANE plane) |
Modifier and Type | Method and 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() |
public static final int UV
public static final int Y
public static final int Y_AFTER_Y2
public static final int Y2
public SubBlock(MacroBlock macroBlock, SubBlock above, SubBlock left, SubBlock.PLANE plane)
public static int planeToType(SubBlock.PLANE plane, Boolean withY2)
public void decodeSubBlock(BoolDecoder bc2, int[][][][] coef_probs, int ilc, int type, boolean withY2) throws IOException
IOException
public void drawDebug()
public void drawDebugH()
public void drawDebugV()
public SubBlock getAbove()
public String getDebugString()
public int[][] getDest()
public int[][] getDiff()
public SubBlock getLeft()
public MacroBlock getMacroBlock()
public int[][] getMacroBlockPredict(int intra_mode)
public int getMode()
public SubBlock.PLANE getPlane()
public int[][] getPredict()
public int[][] getPredict(int intra_bmode, boolean left)
public boolean hasNoZeroToken()
public boolean isDest()
public void predict(VP8Frame frame)
public void reconstruct()
public void setDest(int[][] dest)
public void setDiff(int[][] diff)
public void setMode(int mode)
public void setPixel(int x, int y, int p)
public void setPredict(int[][] predict)
Copyright © 2017. All Rights Reserved.