|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfi.helsinki.cs.ohtu.mpeg2.video.NonIntraBlock
public class NonIntraBlock
Represents a block in a P- or B-type macroblock.
| Field Summary | |
|---|---|
private int[] |
coefficients
|
| Constructor Summary | |
|---|---|
NonIntraBlock(int[] coefficients)
Constructs a new non-intra block with the specified coefficients. |
|
| Method Summary | |
|---|---|
int[] |
getCoefficients()
Returns the coefficients in this block. |
void |
setCoefficients(int[] coefficients)
Sets the coefficients to use in this block. |
void |
writeTo(BitOutputStream stream)
Writes the block to a stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int[] coefficients
| Constructor Detail |
|---|
public NonIntraBlock(int[] coefficients)
coefficients - The coefficients for this block.| Method Detail |
|---|
public int[] getCoefficients()
public void setCoefficients(int[] coefficients)
coefficients - The new coefficients. Must be 64 elements long.
public void writeTo(BitOutputStream stream)
throws java.io.IOException
Block
writeTo in interface Blockstream - The stream to write to.
java.io.IOException - Exception from the stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||