|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdecoder.Decoder
public class Decoder
The Decoder class deals with the decoding process.
This class takes data from the stream as input and does decoding of frames data by using a desired video decompression technique and outputs the decoded / uncompressed set of video frames.
| Constructor Summary | |
|---|---|
Decoder(java.lang.String folderName,
java.lang.String fileName,
long frameNo)
Constructs Decoder and initialises the LinkedLists,
counters and opens the Data file handles |
|
| Method Summary | |
|---|---|
void |
decode()
Decoding process |
static void |
main(java.lang.String[] args)
|
static void |
print(java.lang.Process p,
java.lang.String type)
Prints the input, output and error streams of the process build by ProcessBuilder |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Decoder(java.lang.String folderName,
java.lang.String fileName,
long frameNo)
Decoder and initialises the LinkedLists,
counters and opens the Data file handles
folderName - path to the directory where decoded frames will be storedfileName - common name of the decoded framesframeNo - starting frame number| Method Detail |
|---|
public void decode()
public static void main(java.lang.String[] args)
args -
public static void print(java.lang.Process p,
java.lang.String type)
ProcessBuilder
print will redirects the process input, output
and error streams of the process
p - is Processtype - is type of stream to print as String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||