Class QTWriter

All Implemented Interfaces:
Closeable, AutoCloseable, loci.formats.ICompressedTileWriter, loci.formats.IFormatHandler, loci.formats.IFormatWriter, loci.formats.IMetadataConfigurable, loci.formats.IPyramidHandler

public class QTWriter extends loci.formats.FormatWriter
QTWriter is the file format writer for uncompressed QuickTime movie files.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    The codec to use.
    static final int
    Value indicating Animation codec.
    static final int
    Value indicating Cinepak codec.
    static final int
    Value indicating H.263 codec.
    static final int
    Value indicating Motion JPEG-B codec.
    static final int
    Value indicating MPEG-4 codec.
    static final int
    Value indicating Raw codec.
    static final int
    Value indicating Sorenson codec.
    static final int
    Value indicating Sorenson 3 codec.
    protected int
    Time the file was created.
    protected int
    Total number of pixel bytes.
    protected List<Integer>
    Vector of plane offsets.
    protected int
    Number of padding bytes in each row.
    protected int
    The quality to use.
    static final int
    Value indicating High quality.
    static final int
    Value indicating Low quality.
    static final int
    Value indicating Maximum quality.
    static final int
    Value indicating Normal quality.

    Fields inherited from class loci.formats.FormatWriter

    cm, compression, compressionTypes, fps, initialized, interleaved, metadataRetrieve, options, out, resolution, resolutionData, sequential, series, validBits

    Fields inherited from class loci.formats.FormatHandler

    COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixes
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     
    int[]
     
    void
    saveBytes(int no, byte[] buf, int x, int y, int w, int h)
     
    void
    setCodec(int codec)
    Sets the encoded movie's codec.
    void
     
    void
    setQuality(int quality)
    Sets the quality of the encoded movie.

    Methods inherited from class loci.formats.FormatWriter

    changeOutputFile, checkParams, createOutputStream, getCodecOptions, getColorModel, getCompression, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, getPlaneCount, getPlaneCount, getResolution, getResolutionCount, getResolutions, getSamplesPerPixel, getSamplesPerPixel, getSeries, getSizeX, getSizeY, getTileSizeX, getTileSizeY, hasResolutions, isFullPlane, isInterleaved, isSupportedType, saveBytes, saveBytes, savePlane, savePlane, savePlane, seekToPlaneOffset, setCodecOptions, setColorModel, setCompression, setFramesPerSecond, setInterleaved, setMetadataRetrieve, setResolution, setResolutions, setSeries, setTileSizeX, setTileSizeY, setValidBitsPerPixel, setWriteSequentially

    Methods inherited from class loci.formats.FormatHandler

    checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, isThisType, setMetadataOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface loci.formats.ICompressedTileWriter

    getCodec, saveCompressedBytes

    Methods inherited from interface loci.formats.IFormatHandler

    getFormat, getNativeDataType, getSuffixes, isThisType

    Methods inherited from interface loci.formats.IMetadataConfigurable

    getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
  • Field Details

    • CODEC_MOTION_JPEG_B

      public static final int CODEC_MOTION_JPEG_B
      Value indicating Motion JPEG-B codec.
      See Also:
    • CODEC_CINEPAK

      public static final int CODEC_CINEPAK
      Value indicating Cinepak codec.
      See Also:
    • CODEC_ANIMATION

      public static final int CODEC_ANIMATION
      Value indicating Animation codec.
      See Also:
    • CODEC_H_263

      public static final int CODEC_H_263
      Value indicating H.263 codec.
      See Also:
    • CODEC_SORENSON

      public static final int CODEC_SORENSON
      Value indicating Sorenson codec.
      See Also:
    • CODEC_SORENSON_3

      public static final int CODEC_SORENSON_3
      Value indicating Sorenson 3 codec.
      See Also:
    • CODEC_MPEG_4

      public static final int CODEC_MPEG_4
      Value indicating MPEG-4 codec.
      See Also:
    • CODEC_RAW

      public static final int CODEC_RAW
      Value indicating Raw codec.
      See Also:
    • QUALITY_LOW

      public static final int QUALITY_LOW
      Value indicating Low quality.
      See Also:
    • QUALITY_NORMAL

      public static final int QUALITY_NORMAL
      Value indicating Normal quality.
      See Also:
    • QUALITY_HIGH

      public static final int QUALITY_HIGH
      Value indicating High quality.
      See Also:
    • QUALITY_MAXIMUM

      public static final int QUALITY_MAXIMUM
      Value indicating Maximum quality.
      See Also:
    • codec

      protected int codec
      The codec to use.
    • quality

      protected int quality
      The quality to use.
    • numBytes

      protected int numBytes
      Total number of pixel bytes.
    • offsets

      protected List<Integer> offsets
      Vector of plane offsets.
    • created

      protected int created
      Time the file was created.
    • pad

      protected int pad
      Number of padding bytes in each row.
  • Constructor Details

    • QTWriter

      public QTWriter()
  • Method Details