video
Class VideoProcess.VideoAccessCodec

java.lang.Object
  extended by video.VideoProcess.VideoAccessCodec
All Implemented Interfaces:
javax.media.Codec, javax.media.Controls, javax.media.PlugIn
Enclosing class:
VideoProcess

public class VideoProcess.VideoAccessCodec
extends java.lang.Object
implements javax.media.Codec

Inner class. A pass-through codec to access to individual frames.


Field Summary
 
Fields inherited from interface javax.media.PlugIn
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
 
Constructor Summary
VideoProcess.VideoAccessCodec()
           
 
Method Summary
 void close()
           
 java.lang.Object getControl(java.lang.String type)
           
 java.lang.Object[] getControls()
           
 java.lang.String getName()
           
 javax.media.Format[] getSupportedInputFormats()
           
 javax.media.Format[] getSupportedOutputFormats(javax.media.Format in)
           
 void open()
           
 void print(java.lang.Process p, java.lang.String type)
          Prints the inner process I/O Streams
 int process(javax.media.Buffer in, javax.media.Buffer out)
           
 void reset()
           
 javax.media.Format setInputFormat(javax.media.Format format)
           
 javax.media.Format setOutputFormat(javax.media.Format format)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoProcess.VideoAccessCodec

public VideoProcess.VideoAccessCodec()
Method Detail

print

public void print(java.lang.Process p,
                  java.lang.String type)
Prints the inner process I/O Streams

Parameters:
p -
type -

getName

public java.lang.String getName()
Specified by:
getName in interface javax.media.PlugIn

open

public void open()
Specified by:
open in interface javax.media.PlugIn

close

public void close()
Specified by:
close in interface javax.media.PlugIn

reset

public void reset()
Specified by:
reset in interface javax.media.PlugIn

getSupportedInputFormats

public javax.media.Format[] getSupportedInputFormats()
Specified by:
getSupportedInputFormats in interface javax.media.Codec

getSupportedOutputFormats

public javax.media.Format[] getSupportedOutputFormats(javax.media.Format in)
Specified by:
getSupportedOutputFormats in interface javax.media.Codec

setInputFormat

public javax.media.Format setInputFormat(javax.media.Format format)
Specified by:
setInputFormat in interface javax.media.Codec

setOutputFormat

public javax.media.Format setOutputFormat(javax.media.Format format)
Specified by:
setOutputFormat in interface javax.media.Codec

process

public int process(javax.media.Buffer in,
                   javax.media.Buffer out)
Specified by:
process in interface javax.media.Codec

getControls

public java.lang.Object[] getControls()
Specified by:
getControls in interface javax.media.Controls

getControl

public java.lang.Object getControl(java.lang.String type)
Specified by:
getControl in interface javax.media.Controls