@MediaClass(uuid1=218169601, uuid2=257, uuid3=11008, uuid4={6,14,43,52,2,6,1,1}, definedName="TIFFDescriptor", description="The TIFFDescriptor class specifies that a File SourcePackage is associated with video essence formatted according to the TIFF specification.", symbol="TIFFDescriptor") public class TIFFDescriptorImpl extends AAFFileDescriptorImpl implements TIFFDescriptor, Serializable, Cloneable
Implements the description of a file of video essence formatted according to the Tagged Image File Format (TIFF) specification.
ObjectClassPropertyIDLEADINGLINES_DEFAULT, TRAILINGLINES_DEFAULT| Constructor and Description |
|---|
TIFFDescriptorImpl() |
TIFFDescriptorImpl(ContainerDefinition containerFormat,
boolean isUniform,
boolean isContiguous,
byte[] summary)
Creates and initializes a new TIFF descritpor, which specifies that a
file source package is associated with video essence formatted according
to the TIFF specification. |
| Modifier and Type | Method and Description |
|---|---|
TIFFDescriptor |
clone()
Create a cloned copy of this interchange object.
|
boolean |
getIsContiguous()
Returns
true if essence data is stored in contiguous
bytes for the TIFF data described by this TIFF descriptor; otherwise
false. |
boolean |
getIsUniform()
Returns
true if the TIFF data described by this
TIFF descriptor has the same number of rows per strip throughout;
otherwise false. |
int |
getJPEGTableID()
Returns the JPEG table code property of this TIFF descriptor, which specifies
the registered JPEG table code.
|
int |
getLeadingLines()
Returns the number of leading lines of the TIFF descriptor, which
specifies the number of leading lines to be thrown
away when viewing the TIFF data.
|
int |
getSummaryBufferSize()
Returns the size of the buffer required by the
TIFFDescriptor.getTIFFSummary()
method. |
byte[] |
getTIFFSummary()
Returns the copy of the TIFF IFD file information of this TIFF
descriptor, without the sample data.
|
int |
getTrailingLines()
Returns the number of trailing lines of this TIFF descriptor, which
specifies the number of trailing lines to be thrown away when
viewing the TIFF data.
|
static boolean |
initializeIsContiguous() |
static boolean |
initializeIsUniform() |
static byte[] |
initializeTIFFSummary() |
void |
setIsContiguous(boolean isContiguous)
Sets whether essence data is stored in contiguous
bytes for the TIFF data described by this TIFF descriptor.
|
void |
setIsUniform(boolean isUniform)
Sets whether the TIFF data described by this TIFF descriptor
has the same number of rows per strip throughout.
|
void |
setJPEGTableID(Integer jpegTableID)
Sets the JPEG table code property of this TIFF descriptor, which specifies
the registered JPEG table code.
|
void |
setLeadingLines(Integer leadingLines)
Sets the number of leading lines of this TIFF descriptor, which
specifies the number of leading lines to be thrown
away when viewing the TIFF data.
|
void |
setTIFFSummary(byte[] tiffSummary)
Sets the copy of the TIFF IFD file information of this TIFF descriptor,
without the sample data.
|
void |
setTrailingLines(Integer trailingLines)
Sets the number of trailing lines of this TIFF descriptor, which
specifies the number of trailing lines to be thrown away when
viewing the TIFF data.
|
describesStaticEssence, getCodec, getContainerFormat, getEssenceLength, getLinkedTrackID, getSampleRate, getSampleRateString, getTwentyFourBitAudio, initializeEssenceLength, initializeSampleRate, setCodec, setContainerFormat, setDescribesStaticEssence, setDescribesTimeVaryingEssence, setEssenceLength, setEssenceLengthFromStream, setLinkedTrackID, setSampleRate, setSampleRateFromStream, setSampleRateString, setTwentyFourBitAudioappendLocator, appendSubDescriptor, clearLocators, clearSubDescriptors, countLocators, countSubDescriptors, getComment, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAtaddApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringgetCodec, getContainerFormat, getEssenceLength, getLinkedTrackID, getSampleRate, setCodec, setContainerFormat, setEssenceLength, setLinkedTrackID, setSampleRateappendLocator, appendSubDescriptor, clearLocators, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAtaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexpublic TIFFDescriptorImpl()
public TIFFDescriptorImpl(ContainerDefinition containerFormat, @Bool boolean isUniform, @Bool boolean isContiguous, @DataValue byte[] summary) throws NullPointerException
Creates and initializes a new TIFF descritpor, which specifies that a
file source package is associated with video essence formatted according
to the TIFF specification.
containerFormat - Container format of the TIFF data.isUniform - Does the data have the same number of rows per strip throughout?isContiguous - Is the data stored in contiguous bytes?summary - A copy of the TIFF IFD, without the sample data.NullPointerException - The container format and/or summary arguments are null
and both are required.@MediaProperty(uuid1=101188097, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="IsContiguous", typeName="Boolean", optional=false, uniqueIdentifier=false, pid=14082, symbol="IsContiguous") public boolean getIsContiguous()
TIFFDescriptorReturns true if essence data is stored in contiguous
bytes for the TIFF data described by this TIFF descriptor; otherwise
false.
getIsContiguous in interface TIFFDescriptor@MediaPropertySetter(value="IsContiguous") public void setIsContiguous(boolean isContiguous)
TIFFDescriptorSets whether essence data is stored in contiguous
bytes for the TIFF data described by this TIFF descriptor. Set to
true if the data is contiguous; otherwise
false.
setIsContiguous in interface TIFFDescriptorisContiguous - Is the TIFF data represented by the TIFF descriptor
stored in contiguous bytes?public static final boolean initializeIsContiguous()
@MediaProperty(uuid1=84017411, uuid2=257, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="IsUniform", typeName="Boolean", optional=false, uniqueIdentifier=false, pid=14081, symbol="IsUniform") public boolean getIsUniform()
TIFFDescriptorReturns true if the TIFF data described by this
TIFF descriptor has the same number of rows per strip throughout;
otherwise false.
getIsUniform in interface TIFFDescriptor@MediaPropertySetter(value="IsUniform") public void setIsUniform(boolean isUniform)
TIFFDescriptorSets whether the TIFF data described by this TIFF descriptor
has the same number of rows per strip throughout. Set to
true if it does; otherwise false.
setIsUniform in interface TIFFDescriptorisUniform - Does the TIFF data described by this TIFF descriptor
have the same number of rows per strip throughout?public static final boolean initializeIsUniform()
@MediaProperty(uuid1=84017411, uuid2=258, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="JPEGTableID", typeName="JPEGTableIDType", optional=true, uniqueIdentifier=false, pid=14085, symbol="JPEGTableID") public int getJPEGTableID() throws PropertyNotPresentException
TIFFDescriptorReturns the JPEG table code property of this TIFF descriptor, which specifies the registered JPEG table code. This is an optional property that, when omitted, indicate that the described image data uses a table that is not registered.
getJPEGTableID in interface TIFFDescriptorPropertyNotPresentException - The optional JPEG table id property is
not present in this TIFF descriptor.@MediaPropertySetter(value="JPEGTableID") public void setJPEGTableID(Integer jpegTableID)
TIFFDescriptorSets the JPEG table code property of this TIFF descriptor, which specifies
the registered JPEG table code. Set this optional property to null
to omit it and indicate that the described image data uses a table that is not registered.
setJPEGTableID in interface TIFFDescriptorjpegTableID - JPEG table code property of tis TIFF descriptor.@MediaProperty(uuid1=67175170, uuid2=768, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="LeadingLines", typeName="Int32", optional=true, uniqueIdentifier=false, pid=14083, symbol="LeadingLines") public int getLeadingLines()
TIFFDescriptorReturns the number of leading lines of the TIFF descriptor, which specifies the number of leading lines to be thrown away when viewing the TIFF data.
If this optional property is omitted, its default value of 0 will be returned.
getLeadingLines in interface TIFFDescriptorTIFFDescriptor.LEADINGLINES_DEFAULT,
TIFFDescriptor.getTrailingLines()@MediaPropertySetter(value="LeadingLines") public void setLeadingLines(Integer leadingLines)
TIFFDescriptorSets the number of leading lines of this TIFF descriptor, which specifies the number of leading lines to be thrown away when viewing the TIFF data.
The optional property has a default value of 0.
Set this optional property to null to omit it.
setLeadingLines in interface TIFFDescriptorleadingLines - Number of leading lines of this TIFF descriptor.TIFFDescriptor.LEADINGLINES_DEFAULT,
TIFFDescriptor.setTrailingLines(Integer)@MediaProperty(uuid1=50529026, uuid2=768, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="TIFFSummary", aliases={"Summary","TIFFDescriptorSummary"}, typeName="DataValue", optional=false, uniqueIdentifier=false, pid=14086, symbol="TIFFSummary") public byte[] getTIFFSummary()
TIFFDescriptorReturns the copy of the TIFF IFD file information of this TIFF descriptor, without the sample data.
getTIFFSummary in interface TIFFDescriptor@MediaPropertySetter(value="TIFFSummary") public void setTIFFSummary(byte[] tiffSummary) throws NullPointerException
TIFFDescriptorSets the copy of the TIFF IFD file information of this TIFF descriptor, without the sample data.
setTIFFSummary in interface TIFFDescriptortiffSummary - Sets the TIFF IFD file information of this TIFF
descriptor.NullPointerException - The given TIFF IFD data is null.public int getSummaryBufferSize()
TIFFDescriptorReturns the size of the buffer required by the TIFFDescriptor.getTIFFSummary()
method.
getSummaryBufferSize in interface TIFFDescriptorTIFFDescriptor.getTIFFSummary()
method.public static final byte[] initializeTIFFSummary()
@MediaProperty(uuid1=67175170, uuid2=1024, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="TrailingLines", typeName="Int32", optional=true, uniqueIdentifier=false, pid=14084, symbol="TrailingLines") public int getTrailingLines()
TIFFDescriptorReturns the number of trailing lines of this TIFF descriptor, which specifies the number of trailing lines to be thrown away when viewing the TIFF data.
If this optional property is omitted, its default value of 0 will be returned.
getTrailingLines in interface TIFFDescriptorTIFFDescriptor.TRAILINGLINES_DEFAULT,
TIFFDescriptor.getTrailingLines()@MediaPropertySetter(value="TrailingLines") public void setTrailingLines(Integer trailingLines)
TIFFDescriptorSets the number of trailing lines of this TIFF descriptor, which specifies the number of trailing lines to be thrown away when viewing the TIFF data.
This optional property has a default value of 0.
Set this optional property to null to omit it.
setTrailingLines in interface TIFFDescriptortrailingLines - Trailing lines of this TIFF descriptor.TIFFDescriptor.TRAILINGLINES_DEFAULT,
TIFFDescriptor.setLeadingLines(Integer)public TIFFDescriptor clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface AAFFileDescriptorclone in interface EssenceDescriptorclone in interface InterchangeObjectclone in interface TIFFDescriptorclone in class AAFFileDescriptorImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.