|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DigitalImageDescriptor
Specifies the description of video content data formatted either using RGBA or luminance/chrominance formatting.
The geometry properties accessed by
set
/getStoredView()
,
set
/getSampledView()
and
set
/getDisplayView()
describe the dimensions and meaning of the stored pixels in the
image. The geometry describes the pixels of an uncompressed image.
Consequently, the geometry properties are independent of the
compression and subsampling of that data.
Three separate geometries - stored, sampled, and display views - are used to define a set of different views on uncompressed digital data. All views are constrained to rectangular regions, which means that storage and sampling has to be rectangular.
The relationships among the views can be shown by the following rectangles, representing areas of a video image:
+------------------+ | | | Stored View | | | +--------------+ +------------------+ <-------- | | | | Sample | Analog Video | | Sampled View | Process | Source | | | | Information | | +--------------+ | | | | | | | | | | | Display View | | | | | | | | | | | +--------------+ | | | | | | | +------------------+ <-------- | | +--------------+
The stored view is the entire data region corresponding to a single uncompressed frame or field of the image, and is defined by its horizontal and vertical dimension properties. The stored view may include data that is not derived from, and would not usually be translated back to, analog data.
The sampled view is defined to be the rectangular dimensions in pixels corresponding to the digital data derived from an analog or digital source. These pixels reside within the rectangle defined by the stored view. This would include the image and auxiliary information included in the analog or digital source. For the capture of video signals, the mapping of these views to the original signal is determined by the video line map property.
The display view is the rectangular size in pixels corresponding to the viewable area. These pixels contain image data suitable for scaling, display, warping, and other image processing. The display view offsets are relative to the stored view, not to the sampled view.
Although typically the display view is a subset of the sampled view, it is possible that the viewable area may not be a subset of the sampled data. It may overlap or even encapsulate the sampled data. For example, a subset of the input image might be centered in a computer-generated blue screen for use in a chroma key effect. In this case the viewable pixels on disk would contain more than the sampled image.
Each of these data views will have a width and height value. Both the sampled view and the display view also have offsets relative to the top left corner of the stored view.
Field Summary | |
---|---|
static AlphaTransparencyType |
ALPHATRANSPARENCY_DEFAULT
Default value for the optional alpha transparency property, which is AlphaTransparencyType.MinValueTransparent . |
static int |
DISPLAYF2OFFSET_DEFAULT
Default value for the optional display f2 offset property, which is 0. |
static int |
FIELDENDOFFSET_DEFAULT
Default value for the field end offset property, which is 0. |
static int |
FIELDSTARTOFFSET_DEFAULT
Default value for the field start offset property, which is 0. |
static int |
IMAGEALIGNMENTFACTOR_DEFAULT
Default value for the image alignment factor property, which is 1. |
static int |
STOREDF2OFFSET_DEFAULT
Default value for the optional stored f2 offset property, which is 0. |
static AUID |
Uncompressed
Value representing no compression, which is that the compression property is omitted ( null ). |
Method Summary | |
---|---|
boolean |
areDisplayValuesPresent()
Returns whether this digital image descriptor contains a display view. |
boolean |
areSampledValuesPresent()
Returns whether this digital image descriptor contains a sample area values dimensions and offsets. |
byte |
getActiveFormatDescriptor()
Returns the active format descriptor property for the digital image descriptor, which specifies the desired framing of the content within the displayed image (4:3 in 16:9 etc.). |
AlphaTransparencyType |
getAlphaTransparency()
Returns the alpha transparency property of this digital image descriptor, which specifies whether the minimum alpha value or the maximum alpha value indicates transparency. |
AUID |
getCodingEquations()
Returns the coding equations property of this digital image descriptor, which specifies the coding equations to convert RGB image components to component color difference image components. |
AUID |
getColorPrimaries()
Returns the color primaries property for the digital image descriptor. |
AUID |
getCompression()
Returns the kind of compression and format of compression information of the video essence data described by this digital image descriptor. |
int |
getDisplayF2Offset()
Returns the display field 2 offset property of this digital image descriptor. |
int[] |
getDisplayView()
Returns the dimensions of the display view of this digital image descriptor. |
FieldNumber |
getFieldDominance()
Returns the field dominance property of this digital image descriptor, which specifies whether field 1 or field 2 is dominant in images composed of two interlaced fields. |
int |
getFieldEndOffset()
Returns the field end offset property of this digital image descriptor, which specifies the number of unused bytes at the end of each video field. |
int |
getFieldStartOffset()
Returns the field start offset property of this digital image descriptor, which specifies the number of unused bytes at the start of each video field. |
LayoutType |
getFrameLayout()
Returns the frame layout for this digital image descriptor, which describes whether all data for a complete sample is in one frame or is split into more than one field. |
int |
getImageAlignmentFactor()
Sets the image alignment factor property of this digital image descriptor, which specifies the alignment when storing the digital essence. |
Rational |
getImageAspectRatio()
Gets the image aspect ratio property of this digital image descriptor, which describes the ratio between the horizontal size and the vertical size in the intended final image. |
int[] |
getSampledView()
Returns the dimensions of the sampled view of this digital image descriptor. |
SignalStandardType |
getSignalStandard()
Returns the signal standard property of this digital image descriptor. |
int |
getStoredF2Offset()
Returns the stored field 2 offset property of this digital image descriptor, which specifies a topness adjustment for the stored picture. |
int[] |
getStoredView()
Returns the dimension of the stored view of this digital image descriptor. |
AUID |
getTransferCharacteristic()
Returns the opto-electronic transfer characteristic of this digital image descriptor. |
int[] |
getVideoLineMap()
Returns the video line map property of this digital image descriptor, which specifies the scan line in the analog source that corresponds to the beginning of each digitized field. |
int |
getVideoLineMapSize()
Returns the number of elements in the video line map property array of this digital image descriptor. |
void |
setActiveFormatDescriptor(Byte activeFormatDescriptor)
Sets the active format descriptor property for the digital image descriptor, which specifies the desired framing of the content within the displayed image (4:3 in 16:9 etc.). |
void |
setAlphaTransparency(AlphaTransparencyType alphaTransparency)
Sets the alpha transparency property of this digital image descriptor, which specifies whether the minimum alpha value or the maximum alpha value indicates transparency. |
void |
setCodingEquations(AUID codingEquations)
Sets the coding equations property of this digital image descriptor, which specifies the coding equations to convert RGB image components to component color difference image components. |
void |
setColorPrimaries(AUID colorPrimaries)
Sets the color primaries property for this digital image descriptor. |
void |
setCompression(AUID compression)
Sets the kind of compression and format of the compression information of the video essence data described by this digital image descriptor. |
void |
setDisplayF2Offset(Integer displayF2Offset)
Sets the display field 2 offset property of this digital image descriptor. |
void |
setDisplayView(int displayHeight,
int displayWidth,
int displayXOffset,
int displayYOffset)
Sets the dimension of display view of this digital image descriptor. |
void |
setFieldDominance(FieldNumber fieldDominance)
Sets the field dominance property of this digital image descriptor, which specifies whether field 1 or field 2 is dominant in images composed of two interlaced fields. |
void |
setFieldEndOffset(Integer fieldEndOffset)
Sets the field end offset property of this digital image descriptor, which specifies the number of unused bytes at the end of each video field. |
void |
setFieldStartOffset(Integer fieldStartOffset)
Sets the field start offset property of this digital image descriptor, which specifies the number of unused bytes at the start of each video field. |
void |
setFrameLayout(LayoutType frameLayout)
Sets the frame layout for this digital image descriptor, which describes whether all data for a complete sample is in one frame or is split into more than one field. |
void |
setImageAlignmentFactor(Integer imageAlignmentFactor)
Sets the image alignment factor property of this digital image descriptor which specifies the alignment when storing the digital essence. |
void |
setImageAspectRatio(Rational imageAspectRatio)
Sets the image aspect ratio property of this digital image descriptor, which describes the ratio between the horizontal size and the vertical size in the intended final image. |
void |
setSampledView(int sampledHeight,
int sampledWidth,
int sampledXOffset,
int sampledYOffset)
Sets the dimensions of the sampled view of this digital image descriptor. |
void |
setSignalStandard(SignalStandardType signalStandard)
Sets the signal standard property of this digital image descriptor, which specifies the underlying signal standard used to define the raster. |
void |
setStoredF2Offset(Integer storedF2Offset)
Sets the stored field 2 offset property of this digital image descriptor, which specifies a topness adjustment for the stored picture. |
void |
setStoredView(int storedHeight,
int storedWidth)
Sets the dimension of the stored view of this digital image descriptor. |
void |
setTransferCharacteristic(AUID transferCharacteristic)
Sets the opto-electronic transfer characteristic of this digital image descriptor. |
void |
setVideoLineMap(int[] videoLineMap)
Sets the video line map property of this digital image descriptor, which specifies the scan line in the analog source that corresponds to the beginning of each digitized field. |
Methods inherited from interface tv.amwa.maj.iface.AAFFileDescriptor |
---|
getCodecDefinition, getContainerFormat, getLength, getLinkedSlotID, getSampleRate, setCodecDefinition, setContainerFormat, setLength, setLinkedSlotID, setSampleRate |
Methods inherited from interface tv.amwa.maj.iface.EssenceDescriptor |
---|
appendLocator, appendSubDescriptor, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAt |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Field Detail |
---|
static final AUID Uncompressed
Value representing no compression, which is that the compression property is
omitted (null
).
getCompression()
,
setCompression(AUID)
static final int STOREDF2OFFSET_DEFAULT
Default value for the optional stored f2 offset property, which is 0.
getStoredF2Offset()
,
setStoredF2Offset(Integer)
,
Constant Field Valuesstatic final int DISPLAYF2OFFSET_DEFAULT
Default value for the optional display f2 offset property, which is 0.
getDisplayF2Offset()
,
setDisplayF2Offset(Integer)
,
Constant Field Valuesstatic final AlphaTransparencyType ALPHATRANSPARENCY_DEFAULT
Default value for the optional alpha transparency property, which is
AlphaTransparencyType.MinValueTransparent
.
getAlphaTransparency()
,
setAlphaTransparency(AlphaTransparencyType)
static final int IMAGEALIGNMENTFACTOR_DEFAULT
Default value for the image alignment factor property, which is 1.
getImageAlignmentFactor()
,
setImageAlignmentFactor(Integer)
,
Constant Field Valuesstatic final int FIELDSTARTOFFSET_DEFAULT
Default value for the field start offset property, which is 0.
getFieldStartOffset()
,
setFieldStartOffset(Integer)
,
Constant Field Valuesstatic final int FIELDENDOFFSET_DEFAULT
Default value for the field end offset property, which is 0.
getFieldEndOffset()
,
setFieldEndOffset(Integer)
,
Constant Field ValuesMethod Detail |
---|
void setCompression(AUID compression)
Sets the kind of compression and format of the compression
information of the video essence data described by this digital image descriptor. If there
is no compression, set this optional property to Uncompressed
or null
.
compression
- Kind of compression and format of the compression
information of the video essence data, or Uncompressed
if the
image is uncompressed.Uncompressed
AUID getCompression() throws PropertyNotPresentException
Returns the kind of compression and format of compression
information of the video essence data described by this digital image descriptor. If
the image data is uncompressed, a PropertyNotPresentException
will be thrown.
PropertyNotPresentException
- The optional compression property is not
present in this digital image descriptor, indicating that the described image
essence data is uncompressed.void setStoredView(@UInt32 int storedHeight, @UInt32 int storedWidth) throws IllegalArgumentException
Sets the dimension of the stored view of this digital image descriptor. Typically, this includes leading blank video lines, any VITC lines, as well as the active picture area.
storedHeight
- Number of pixels in vertical dimension of stored view.storedWidth
- Number of pixels in horizontal dimension of stored view.
IllegalArgumentException
- One or both of the given stored width and height
properties is/are negative, which is not permitted.int[] getStoredView()
Returns the dimension of the stored view of this digital image descriptor. Typically, this includes leading blank video lines, any VITC lines, as well as the active picture area.
The value returned is an array of two integer values. The first element of the array (index 0) contains the stored height and the second element of the array (index 1) contains the stored width.
void setSampledView(@UInt32 int sampledHeight, @UInt32 int sampledWidth, @Int32 int sampledXOffset, @Int32 int sampledYOffset) throws IllegalPropertyValueException
Sets the dimensions of the sampled view of this digital image descriptor. Typically, this includes any VITC lines as well as the active picture area, but excludes leading blank video lines. The offset is specified relative to the rectangle specified by the stored view.
All properties are optional and are set as follows:
sampledHeight
- The default value is the stored height, so use
getStoredView()[0]
to set the default value.sampledWidth
- The default value is the stored width, so use
getStoredView()[1]
to set the default value.displayXOffset
- The default value is 0, so use 0
to select the default.displayYOffset
- The default value is 0, so use 0
to select the default.The sampled view values are either all present or all omitted. Calling this
method will mean sampled view values are present. To find out whether the sampled
view properties are present, call areSampledValuesPresent()
.
sampledHeight
- Number of pixels in vertical dimension of sampled view.sampledWidth
- Number of pixels in horizontal dimension of sampled view.sampledXOffset
- Number of pixels from top left corner of the stored view.sampledYOffset
- Number of pixels from top left corner of the stored view.
IllegalPropertyValueException
- The area specified by the sampled width
and sampled X offset is outside the stored view, or the area
specified by the sampled height and sampled Y offset is
outside the stored view.int[] getSampledView()
Returns the dimensions of the sampled view of this digital image descriptor. Typically, this includes any VITC lines as well as the active picture area, but excludes leading blank video lines. The offset is specified relative to the rectangle specified by the stored view.
The value returned is an array of four integer values. The index of the values correspond to:
0
- sampled height - Number of pixels in vertical
dimension of sampled view.1
- sampled width - Number of pixels in horizontal
dimension of sampled view.2
- sampled X offset - Number of pixels from top
left corner of stored view.3
- sampled Y offset - Number of pixels from top
left corner of stored view.The sampled view properties are either all present or all omitted. If the
properties are omitted, the default value is returned which is an area
equivalent to the stored view. To find out whether the sampled view
properties are present, call areSampledValuesPresent()
.
void setDisplayView(@UInt32 int displayHeight, @UInt32 int displayWidth, @Int32 int displayXOffset, @Int32 int displayYOffset) throws IllegalPropertyValueException
Sets the dimension of display view of this digital image descriptor. Typically, this includes the active picture area, but excludes leading blank video lines and any VITC lines. The offset is specified relative to the rectangle specified by the stored view.
All properties are optional and are set as follows:
displayHeight
- The default value is the stored height, so use
getStoredView()[0]
to set the default value.displayWidth
- The default value is the stored width, so use
getStoredView()[1]
to set the default value.displayXOffset
- The default value is 0, so use 0
to select the default.displayYOffset
- The default value is 0, so use 0
to select the default.The display view values are either all present or all omitted. Calling this
method successfully will mean display view values are present. To find out whether the display
view properties are present, call areDisplayValuesPresent()
.
displayHeight
- Number of pixels in vertical dimension of display view.displayWidth
- Number of pixels in vertical dimension of display view.displayXOffset
- Number of pixels from the top-left corner of the stored view.displayYOffset
- Number pixels from the top-left corner of the stored view.
IllegalPropertyValueException
- The area specified by display width
and display X offset properties is outside the stored view, or the area specified
by display height and display Y offset properties is outside the stored view.int[] getDisplayView()
Returns the dimensions of the display view of this digital image descriptor. Typically, this includes the active picture area, but excludes leading blank video lines and any VITC lines. The offset is specified relative to the rectangle specified by the stored view.
The value returned is an array of four integer values. The index of the values correspond to:
0
- display height - Number of pixels in vertical
dimension of display view.1
- display width - Number of pixels in horizontal
dimension of display view.2
- display X offset - Number of pixels from top
left corner of stored view.3
- display Y offset - Number of pixels from top
left corner of stored view.The display view properties are either all present or all omitted. If the
properties are omitted, the default value is returned which is an area
equivalent to the stored view. To find out whether the display view
properties are present, call areDisplayValuesPresent()
.
void setFrameLayout(LayoutType frameLayout) throws NullPointerException
Sets the frame layout for this digital image descriptor, which describes whether all data for a complete sample is in one frame or is split into more than one field.
frameLayout
- Frame layout for the digital image descriptor.
NullPointerException
- The given frame layout is null
.LayoutType getFrameLayout()
Returns the frame layout for this digital image descriptor, which describes whether all data for a complete sample is in one frame or is split into more than one field.
void setVideoLineMap(@VideoLineMap int[] videoLineMap) throws NullPointerException
Sets the video line map property of this digital image descriptor, which specifies the scan line in the analog source that corresponds to the beginning of each digitized field. For single-field video, there is 1 value in the array. For interleaved video, there are 2 values in the array.
videoLineMap
- Video line map for the digital image descriptor.
NullPointerException
- The given video line map is null
.
IllegalArgumentException
- The size of the video line map must be 1
or 2 for this digital image descriptor.@VideoLineMap int[] getVideoLineMap()
Returns the video line map property of this digital image descriptor, which specifies the scan line in the analog source that corresponds to the beginning of each digitized field. For single-field video, there is 1 value in the array. For interleaved video, there are 2 values in the array.
@UInt32 int getVideoLineMapSize()
Returns the number of elements in the video line map property array of this digital image descriptor.
getVideoLineMap()
void setImageAspectRatio(Rational imageAspectRatio) throws NullPointerException
Sets the image aspect ratio property of this digital image descriptor, which describes the ratio between the horizontal size and the vertical size in the intended final image.
imageAspectRatio
- Ratio between horizontal and vertical size of the
intended final image.
NullPointerException
- The given image aspect ratio is null
.Rational getImageAspectRatio()
Gets the image aspect ratio property of this digital image descriptor, which describes the ratio between the horizontal size and the vertical size in the intended final image.
void setAlphaTransparency(AlphaTransparencyType alphaTransparency) throws NullPointerException
Sets the alpha transparency property of this digital image descriptor, which
specifies whether the minimum alpha value or the maximum
alpha value indicates transparency. To omit this optional property, call this
method with null
.
alphaTransparency
- Alpha transparency orientation for this digital image
descriptor.
NullPointerException
ALPHATRANSPARENCY_DEFAULT
AlphaTransparencyType getAlphaTransparency()
Returns the alpha transparency property of this digital image descriptor, which specifies whether the minimum alpha value or the maximum alpha value indicates transparency. This is an optional property and if the value is omitted, the default value of AlphaTransparencyType.MinValueTransparent is returned.
ALPHATRANSPARENCY_DEFAULT
void setImageAlignmentFactor(@UInt32 Integer imageAlignmentFactor) throws IllegalArgumentException
Sets the image alignment factor property of this digital image descriptor which specifies the alignment when storing the digital essence.
For example, a value of 16 means that the image is stored on 16-byte boundaries. The starting point for a field will always be a multiple of 16 bytes. If the field does not end on a 16-byte boundary, it is padded out to the next 16-byte boundary.
Set this optional property to null
to omit the property. The
default value of this property is 1.
imageAlignmentFactor
- Image alignment factor of this digital image
descriptor.
IllegalArgumentException
- Cannot set the image alignment factor to
a negative value for this digital image descriptor.@UInt32 int getImageAlignmentFactor()
Sets the image alignment factor property of this digital image descriptor, which specifies the alignment when storing the digital essence.
For example, a value of 16 means that the image is stored on 16-byte boundaries. The starting point for a field will always be a multiple of 16 bytes. If the field does not end on a 16-byte boundary, it is padded out to the next 16-byte boundary.
This property is optional and the default value of 1 will be returned if it is currently omitted.
void setTransferCharacteristic(AUID transferCharacteristic)
Sets the opto-electronic transfer characteristic of this digital image descriptor.
The default value for the transfer characteristic property is
unspecified, which is represented by this property being omitted.
If this method is called with a null
value, the
this optional property is omitted.
transferCharacteristic
- Opto-electronic transfer characteristic of
the digital image descriptor.TransferCharacteristicType
,
TypeDefinitionExtendibleEnumeration.TransferCharacteristicType
AUID getTransferCharacteristic() throws PropertyNotPresentException
Returns the opto-electronic transfer characteristic of this digital image descriptor. If this optional property is omitted, the opto-electronic characteristic is unspecified.
PropertyNotPresentException
- The optional opto-electronic characteristic
of this digital image descriptor is not present and so is unspecified.TransferCharacteristicType
,
TypeDefinitionExtendibleEnumeration.TransferCharacteristicType
void setCodingEquations(AUID codingEquations)
Sets the coding equations property of this digital image descriptor, which specifies the coding equations to convert RGB image components to component color difference image components.
The default value for this optional property is unspecified,
which is represented by omitting this property. Setting the optional
coding equations property to null
will result in the property
being omitted.
codingEquations
- Coding equations property of this digital image
descriptor.CodingEquationsType
,
TypeDefinitionExtendibleEnumeration.ColorPrimariesType
AUID getCodingEquations() throws PropertyNotPresentException
Returns the coding equations property of this digital image descriptor, which specifies the coding equations to convert RGB image components to component color difference image components.
The default value for this optional property is unspecified which is represented by this property being omitted.
PropertyNotPresentException
- The optional coding equations property
is not present for this digital image descriptor, indicating that it is
unspecified.CodingEquationsType
,
TypeDefinitionExtendibleEnumeration.ColorPrimariesType
void setColorPrimaries(AUID colorPrimaries)
Sets the color primaries property for this digital image descriptor.
The default value for this property is unspecified, which is
represented by omitting this property. Set this optional property to
null
to omit it.
colorPrimaries
- Color primaries for the digiral image descriptor.ColorPrimariesType
,
TypeDefinitionExtendibleEnumeration.ColorPrimariesType
AUID getColorPrimaries() throws PropertyNotPresentException
Returns the color primaries property for the digital image descriptor.
This is an optional property and if the property is omitted it is assumed to be unspecified.
PropertyNotPresentException
- The optional color primaries property is not
present for this digital image descriptor, indicating that it is unspecified.ColorPrimariesType
,
TypeDefinitionExtendibleEnumeration.ColorPrimariesType
void setFieldStartOffset(@UInt32 Integer fieldStartOffset)
Sets the field start offset property of this digital image descriptor, which specifies the number of unused bytes at the start of each video field.
Set this optional property to null
to omit its value. The default
value of this property is 0.
fieldStartOffset
- Field start offset of this digital image descriptor.
IllegalArgumentException
- The given field start offset is negative.FIELDSTARTOFFSET_DEFAULT
@UInt32 int getFieldStartOffset()
Returns the field start offset property of this digital image descriptor, which specifies the number of unused bytes at the start of each video field.
If this property value is omitted, its default value of 0 will be returned.
FIELDSTARTOFFSET_DEFAULT
void setFieldEndOffset(@UInt32 Integer fieldEndOffset) throws IllegalArgumentException
Sets the field end offset property of this digital image descriptor, which specifies the number of unused bytes at the end of each video field.
Set this optional property to null
to omit its value. The default value
of this property is 0.
fieldEndOffset
- Field end offset property of this digital image
descriptor.
IllegalArgumentException
- Cannot set the field end offset to a negative
value for this digital image descriptor.FIELDENDOFFSET_DEFAULT
@UInt32 int getFieldEndOffset()
Returns the field end offset property of this digital image descriptor, which specifies the number of unused bytes at the end of each video field.
If this property value is omitted, its default value of FIELDENDOFFSET_DEFAULT
will be returned.
FIELDENDOFFSET_DEFAULT
void setFieldDominance(FieldNumber fieldDominance)
Sets the field dominance property of this digital image descriptor, which specifies whether field 1 or field 2 is dominant in images composed of two interlaced fields.
This is an optional property with no default value. Call this method with
null
to omit this property.
fieldDominance
- Field dominance of this digital image descriptor.FieldNumber getFieldDominance() throws PropertyNotPresentException
Returns the field dominance property of this digital image descriptor, which specifies whether field 1 or field 2 is dominant in images composed of two interlaced fields. This is an optional property with no default value.
PropertyNotPresentException
- The optional field dominance property is
not present for this digital image descriptor.void setDisplayF2Offset(@Int32 Integer displayF2Offset) throws IllegalArgumentException
Sets the display field 2 offset property of this digital image descriptor. This value specifies a topness adjustment for the displayed picture. Valid values are 0 or 1.
Set this optional property to null
to omit its value. The
default value of this property is 0.
displayF2Offset
- Display field 2 offset property of this
digital image descriptor.
IllegalArgumentException
- The given display field 2 offset is not one
of the valid values of 0 or 1.DISPLAYF2OFFSET_DEFAULT
@Int32 int getDisplayF2Offset()
Returns the display field 2 offset property of this digital image descriptor. This value specifies a topness adjustment for the displayed picture. Valid values are 0 or 1.
If this property value is omitted, its default value of 0 will be returned.
DISPLAYF2OFFSET_DEFAULT
void setStoredF2Offset(@Int32 Integer storedF2Offset) throws IllegalArgumentException
Sets the stored field 2 offset property of this digital image descriptor, which specifies a topness adjustment for the stored picture. Valid values are 0 or -1.
Set this optional property to null
to omit its value. The
default value of this property is 0.
storedF2Offset
- Stored field 2 offset property of this digital
image descriptor.
IllegalArgumentException
- The given stored field 2 offset is not one
of the valid values of 0 or -1.STOREDF2OFFSET_DEFAULT
@Int32 int getStoredF2Offset()
Returns the stored field 2 offset property of this digital image descriptor, which specifies a topness adjustment for the stored picture. Valid values are 0 or -1.
This is an optional property and if it is omitted, the default value of 0 will be returned.
STOREDF2OFFSET_DEFAULT
void setActiveFormatDescriptor(@UInt8 Byte activeFormatDescriptor) throws IllegalArgumentException
Sets the active format descriptor property for the digital image descriptor, which specifies the desired framing of the content within the displayed image (4:3 in 16:9 etc.). The value exactly matches the "active_format" element defined by ETSI TS 102 154.
To omit this optional property, call this method with null
.
When the property is not present, it is considered to be the same as its default
value of "unspecified".
activeFormatDescriptor
- Active format descriptor property for this
digital image descriptor.
IllegalArgumentException
- The active format descriptor is a 4-bit value
and cannot lie outside the range 0 to 15.@UInt8 byte getActiveFormatDescriptor() throws PropertyNotPresentException
Returns the active format descriptor property for the digital image descriptor, which specifies the desired framing of the content within the displayed image (4:3 in 16:9 etc.). The value exactly matches the active_format element defined by ETSI TS 102 154.
This optional property is set to the default value of "unspecified" by omitting its value.
PropertyNotPresentException
- The optional active format descriptor property
is not present in this digital image descriptor.void setSignalStandard(SignalStandardType signalStandard)
Sets the signal standard property of this digital image descriptor, which specifies the underlying signal standard used to define the raster.
The default value for signal standard property is unspecified, which
is represented by omitting this property. Set this optional property to null
to omit it.
signalStandard
- Signal standard property of this digital image
descriptor.SignalStandardType getSignalStandard() throws PropertyNotPresentException
Returns the signal standard property of this digital image descriptor. This property specifies the underlying signal standard used to define the raster.
The default value for this property is unspecified, which is represented by omitting this property.
PropertyNotPresentException
- The optional signal standard property is
not present for this digital image descriptor, indicating that it is
unspecified.SignalStandardType
boolean areDisplayValuesPresent()
Returns whether this digital image descriptor contains a display view. A value
of true
indicates that display height, width, x-offset and y-offset values are present.
getDisplayView()
,
setDisplayView(int, int, int, int)
boolean areSampledValuesPresent()
Returns whether this digital image descriptor contains a sample area values dimensions and
offsets. A value of true
indicates that sampled height, width, x-offset and y-offset
values are present.
getSampledView()
,
setSampledView(int, int, int, int)
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |