|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iris.Fissures.codec.SteimFrameBlock
@Deprecated public class SteimFrameBlock
This class acts as a container to hold encoded bytes processed by a Steim compression routine, as well as supporting information relating to the data processed. It also facilitates Steim notation and the formation of the data frames. This class stores the Steim encoding, but is ignorant of the encoding process itself...it's just for self-referencing.
Constructor Summary | |
---|---|
SteimFrameBlock(int numFrames,
int steimVersion)
Deprecated. Create a new block of Steim frames for a particular version of Steim copression. |
Method Summary | |
---|---|
protected boolean |
addEncodedWord(int word,
int samples,
int nibble)
Deprecated. Add a single 32-bit word to current frame. |
byte[] |
getEncodedData()
Deprecated. Return the compressed byte representation of the data for inclusion in a data record. |
int |
getNumFrames()
Deprecated. Return the number of frames in this frame block |
int |
getNumSamples()
Deprecated. Return the number of data samples represented by this frame block |
int |
getSteimVersion()
Deprecated. Return the version of Steim compression used |
protected void |
setXsubN(int word)
Deprecated. Set the reverse integration constant X(N) explicitly to the provided word value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SteimFrameBlock(int numFrames, int steimVersion)
numFrames
- the number of frames in this Steim recordsteimVersion
- which version of Steim compression is being used
(1,2,3).Method Detail |
---|
public int getNumSamples()
public int getSteimVersion()
public byte[] getEncodedData() throws java.io.IOException
java.io.IOException
- from called method(s)public int getNumFrames()
protected boolean addEncodedWord(int word, int samples, int nibble)
samples
- the number of sample differences in the wordnibble
- a value of 0 to 3 that reflects the W0 encoding
for this word
protected void setXsubN(int word)
word
- integer value to be placed in X(N)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |