Media Authoring
with Java API

tv.amwa.maj.enumeration
Enum ContentScanningType

java.lang.Object
  extended by java.lang.Enum<ContentScanningType>
      extended by tv.amwa.maj.enumeration.ContentScanningType
All Implemented Interfaces:
Serializable, Comparable<ContentScanningType>, AAFEnumerationValue

public enum ContentScanningType
extends Enum<ContentScanningType>
implements AAFEnumerationValue

For MPEG coded content, specifies if the scanning type of underlying coded content is known and, if it is, what kind of scanning type it is.

Author:
Richard Cartwright
See Also:
MPEGVideoDescriptor, TypeDefinitionEnumeration.ContentScanningType

Enum Constant Summary
Interlace
          Interlaced scan.
Mixed
          Content contains a mixture of progressive and interlace scanning.
NotKnown
          Scanning type is not known.
Progressive
          Progressive scan.
 
Method Summary
 long value()
          Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.
static ContentScanningType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContentScanningType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface tv.amwa.maj.enumeration.AAFEnumerationValue
name
 

Enum Constant Detail

NotKnown

public static final ContentScanningType NotKnown

Scanning type is not known.


Progressive

public static final ContentScanningType Progressive

Progressive scan. The lines of each video frame are drawn in sequence. See the Wikipedia entry for progressive scan.


Interlace

public static final ContentScanningType Interlace

Interlaced scan. The lines of each video frame are drawn alternatively, starting with all the odd lines and then all the even lines. See the Wikipedia entry for interlace.


Mixed

public static final ContentScanningType Mixed

Content contains a mixture of progressive and interlace scanning.

Method Detail

values

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

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

valueOf

public static ContentScanningType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name

value

public long value()
Description copied from interface: AAFEnumerationValue

Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.

Specified by:
value in interface AAFEnumerationValue
Returns:
Unique integer value associated with an enumeration constant.

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.