Class TSCCCodec

All Implemented Interfaces:
javax.media.Codec, javax.media.Controls, javax.media.PlugIn

public class TSCCCodec extends AbstractVideoDecoder
JMF Codec for the TechSmith Screen-Capture format.

This codec can decode24 and encode the format to/from a JMF RGBFormat or a IndexedColorFormat.

See TechSmithCodecCore for a description of the format.

Author:
Werner Randelshofer
  • Field Details

  • Constructor Details

    • TSCCCodec

      public TSCCCodec()
  • Method Details

    • getMatchingOutputFormats

      protected javax.media.Format[] getMatchingOutputFormats(javax.media.Format input)
      Specified by:
      getMatchingOutputFormats in class AbstractVideoDecoder
    • reset

      public void reset()
      Specified by:
      reset in interface javax.media.PlugIn
      Overrides:
      reset in class AbstractCodec
    • process

      public int process(javax.media.Buffer input, javax.media.Buffer output)
    • copyMetaTo

      protected void copyMetaTo(javax.media.Buffer in, javax.media.Buffer out)
      Copies all meta-data field from in to out.
    • encode

      protected int encode(javax.media.Buffer in, javax.media.Buffer out)
    • decode

      protected int decode(javax.media.Buffer in, javax.media.Buffer out)
    • close

      public void close()
      Specified by:
      close in interface javax.media.PlugIn
      Overrides:
      close in class AbstractCodec
    • open

      public void open() throws javax.media.ResourceUnavailableException
      Specified by:
      open in interface javax.media.PlugIn
      Overrides:
      open in class AbstractCodec
      Throws:
      javax.media.ResourceUnavailableException
    • registerWithJMF

      public static void registerWithJMF()
      Registers this codec with the JMF PluginManager.