com.teamdev.jxcapture.video.win.directshow.wrappers.impl
Enum IConfigInterleavingImpl.InterleavingMode

java.lang.Object
  extended by java.lang.Enum<IConfigInterleavingImpl.InterleavingMode>
      extended by com.teamdev.jxcapture.video.win.directshow.wrappers.impl.IConfigInterleavingImpl.InterleavingMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IConfigInterleavingImpl.InterleavingMode>
Enclosing class:
IConfigInterleavingImpl

public static enum IConfigInterleavingImpl.InterleavingMode
extends java.lang.Enum<IConfigInterleavingImpl.InterleavingMode>


Enum Constant Summary
Buffered
          Noninterleaved.
Capture
          Approximate interleaving with less overhead than INTERLEAVE_FULL.
Full
          Full, precise interleaving of audio samples and video frames.
None
          Noninterleaved.
 
Method Summary
static IConfigInterleavingImpl.InterleavingMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IConfigInterleavingImpl.InterleavingMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final IConfigInterleavingImpl.InterleavingMode None
Noninterleaved. Frames are written in the order they arrive. Files must be interleaved for playback at a later time. In this mode, the AVI Mux filter attempts to use unbuffered, overlapped write operations, to increase throughput.


Capture

public static final IConfigInterleavingImpl.InterleavingMode Capture
Approximate interleaving with less overhead than INTERLEAVE_FULL. This mode is suitable for video capture. The AVI Mux attempts to use unbuffered, overlapped write operations. Unless the interleaving parameters are configured properly, however, frames may be dropped if one stream blocks while it waits for data from another stream. In particular, audio buffers should be less than .5 second, or else the video stream will block for excessive periods of time.


Full

public static final IConfigInterleavingImpl.InterleavingMode Full
Full, precise interleaving of audio samples and video frames. Streams will block indefinitely, waiting for equal amounts of data before interleaving. This mode is suitable for authoring and playback.


Buffered

public static final IConfigInterleavingImpl.InterleavingMode Buffered
Noninterleaved. This mode is equivalent to INTERLEAVE_NONE but uses less file space and system overhead.

Method Detail

values

public static IConfigInterleavingImpl.InterleavingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IConfigInterleavingImpl.InterleavingMode c : IConfigInterleavingImpl.InterleavingMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IConfigInterleavingImpl.InterleavingMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null