decoder
Class Decoder

java.lang.Object
  extended by decoder.Decoder

public class Decoder
extends java.lang.Object

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.

Version:
1.0
Author:
shankar

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

Decoder

public Decoder(java.lang.String folderName,
               java.lang.String fileName,
               long frameNo)
Constructs Decoder and initialises the LinkedLists, counters and opens the Data file handles

Parameters:
folderName - path to the directory where decoded frames will be stored
fileName - common name of the decoded frames
frameNo - starting frame number
Method Detail

decode

public void decode()
Decoding process


main

public static void main(java.lang.String[] args)
Parameters:
args -

print

public static void print(java.lang.Process p,
                         java.lang.String type)
Prints the input, output and error streams of the process build by ProcessBuilder

print will redirects the process input, output and error streams of the process

Parameters:
p - is Process
type - is type of stream to print as String