public interface AVCSubDescriptor extends SubDescriptor
AVC-specific properties that provide additional description of AVC-encoded material over that contained in a RGBA descriptor or a CDCI descriptor.
| Modifier and Type | Field and Description |
|---|---|
static boolean |
AVCCLOSEDGOPINDICATOR_DEFAULT
Default value for the AVC closed GOP indicator, which is false.
|
static AVCCodedContentKind |
AVCCODECCONTENTKIND_DEFAULT
Default value for the picture and coding kind, which is .
|
static boolean |
AVCCONSTANTBPICTUREFLAG_DEFAULT
Default value for the AVC constant B Picture flag, which
is
false. |
static boolean |
AVCIDENTICALGOPINDICATOR_DEFAULT
Default value for the AVC identical GOP indicator, which us false.
|
static byte |
AVCPICTUREPARAMETERSETFLAG_DEFAULT
Default value for the picture parameter set flag, which is 0 and means
the locations of picture parameter sets are unknown.
|
static byte |
AVCSEQUENCEPARAMETERSETFLAG_DEFAULT
Default value for the sequence parameter set flag, which is 0 and means
the the locations of sequence parameter sets are unknown.
|
static byte |
CONSTANCYFLAG_CONSTANT
The constancy of a parameter set is constant.
|
static byte |
CONSTANCYFLAG_UNKNOWN
The constancy of a parameter set is now known.
|
static byte |
INBANDLOCATION_EVERYACCESSUNIT
The location of a kind of parameter set within the stream is as part of every access unit.
|
static byte |
INBANDLOCATION_EVERYGOP
The location of a kind of parameter set within the stream is periodically placed at the first access
unit in each GOP.
|
static byte |
INBANDLOCATION_FIRSTACCESSUNIT
The location of parameter set within the stream is only as part of the first access unit.
|
static byte |
INBANDLOCATION_UNKNOWN
The location of a kind of parameter set within the stream is unknown or has no specific location.
|
| Modifier and Type | Method and Description |
|---|---|
AVCSubDescriptor |
clone()
Create a cloned copy of this sub descriptor.
|
int |
getAVCAverageBitrate()
Returns the average bit rate of the AVC stream in bit/s over the entire AVC bitstream.
|
boolean |
getAVCClosedGOPIndicator()
Returns whether all GOPs start with an IDR Picture.
|
AVCCodedContentKind |
getAVCCodedContentKind()
Returns the picture type and coding type.
|
boolean |
getAVCConstantBPictureFlag()
Returns whether the number of consecutive B Pictures always constant? Set to false if the number of consecutive
B Pictures is not constant or is unknown.
|
byte |
getAVCDecodingDelay()
Returns the delay required for decoded pictures in number of access units.
|
boolean |
getAVCIdenticalGOPIndicator()
Returns whether every GOP in the sequence has the same number of pictures and the same type of pictures in the same
order.
|
byte |
getAVCLevel()
Returns the level from the
level_idc parameter in the sequence parameter set. |
int |
getAVCMaximumBitrate()
Returns the maximum bit rate of the AVC stream in bit/s as given by
bit_rate_scale and
bit_rate_value_minus1 in the HRD parameters in the sequence parameter set. |
short |
getAVCMaximumBPictureCount()
Returns the maximum number of B Pictures between P or I Pictures.
|
short |
getAVCMaximumGOPSize()
Returns the maximum occurring spacing between I Pictures.
|
byte |
getAVCMaximumRefFrames()
Returns the maximum number of reference frames.
|
byte |
getAVCPictureParameterSetFlag()
Returns the location and the constancy of picture parameter sets.
|
byte |
getAVCProfile()
Returns the AVC video profile.
|
byte |
getAVCProfileConstraint()
Returns the AVC video profile constraint flags.
|
byte |
getAVCSequenceParameterSetFlag()
Returns the location and the constancy of sequence parameter sets.
|
void |
setAVCAverageBitrate(Integer avcAverageBitrate)
Sets the average bit rate of the AVC stream in bit/s over the entire AVC bitstream.
|
void |
setAVCClosedGOPIndicator(Boolean avcClosedGOPIndicator)
Sets whether all GOPs start with an IDR Picture.
|
void |
setAVCCodedContentKind(AVCCodedContentKind avcCodedContentKind)
Sets the picture type and coding type.
|
void |
setAVCConstantBPictureFlag(Boolean avcConstantBPictureFlag)
Sets whether the number of consecutive B Pictures always constant? Set to false if the number of consecutive
B Pictures is not constant or is unknown.
|
void |
setAVCDecodingDelay(byte avcDecodingDelay)
Sets the delay required for decoded pictures in number of access units.
|
void |
setAVCIdenticalGOPIndicator(Boolean avcIdenticalGOPIndicator)
Sets whether every GOP in the sequence has the same number of pictures and the same type of pictures in the same
order.
|
void |
setAVCLevel(Byte avcLevel)
Sets the level from the
level_idc parameter in the sequence parameter set. |
void |
setAVCMaximumBitrate(Integer avcMaximumBitrate)
Sets the maximum bit rate of the AVC stream in bit/s as given by
bit_rate_scale and
bit_rate_value_minus1 in the HRD parameters in the sequence parameter set. |
void |
setAVCMaximumBPictureCount(Short avcMaximumBPictureCount)
Sets the maximum number of B Pictures between P or I Pictures.
|
void |
setAVCMaximumGOPSize(Short avcMaximumGOPSize)
Sets the maximum occurring spacing between I Pictures.
|
void |
setAVCMaximumRefFrames(Byte avcMaximumRefFrames)
Sets the maximum number of reference frames.
|
void |
setAVCPictureParameterSetFlag(Byte avcPictureParaemterSetFlag)
Sets the location and the constancy of picture parameter sets.
|
void |
setAVCProfile(Byte avcProfile)
Sets the AVC video profile.
|
void |
setAVCProfileConstraint(Byte avcProfileConstraint)
Sets the AVC video profile constraint flags.
|
void |
setAVCProfileContraint(boolean constraint_set0_flag,
boolean constraint_set1_flag,
boolean constraint_set2_flag,
boolean constraint_set3_flag,
boolean constraint_set4_flag,
boolean constraint_set5_flag)
Sets the AVC video profile constraint flags.
|
void |
setAVCSequenceParameterSetFlag(Byte avcSequenceParameterSetFlag)
Sets the location and the constancy of sequence parameter sets.
|
addApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexstatic final boolean AVCCONSTANTBPICTUREFLAG_DEFAULT
Default value for the AVC constant B Picture flag, which
is false.
static final AVCCodedContentKind AVCCODECCONTENTKIND_DEFAULT
Default value for the picture and coding kind, which is .
static final boolean AVCCLOSEDGOPINDICATOR_DEFAULT
Default value for the AVC closed GOP indicator, which is false.
static final boolean AVCIDENTICALGOPINDICATOR_DEFAULT
Default value for the AVC identical GOP indicator, which us false.
static final byte AVCSEQUENCEPARAMETERSETFLAG_DEFAULT
Default value for the sequence parameter set flag, which is 0 and means the the locations of sequence parameter sets are unknown.
static final byte AVCPICTUREPARAMETERSETFLAG_DEFAULT
Default value for the picture parameter set flag, which is 0 and means the locations of picture parameter sets are unknown.
static final byte CONSTANCYFLAG_UNKNOWN
The constancy of a parameter set is now known.
static final byte CONSTANCYFLAG_CONSTANT
The constancy of a parameter set is constant.
static final byte INBANDLOCATION_UNKNOWN
The location of a kind of parameter set within the stream is unknown or has no specific location.
static final byte INBANDLOCATION_FIRSTACCESSUNIT
The location of parameter set within the stream is only as part of the first access unit.
static final byte INBANDLOCATION_EVERYACCESSUNIT
The location of a kind of parameter set within the stream is as part of every access unit.
static final byte INBANDLOCATION_EVERYGOP
The location of a kind of parameter set within the stream is periodically placed at the first access unit in each GOP.
@UInt8 byte getAVCDecodingDelay()
Returns the delay required for decoded pictures in number of access units. The value is given by the presentation time of the first presented picture in a GOP minus the decoding time of the first decoded picture in the GOP. The value shall be set to zero if there are no B Pictures in the essence stream. The value shall be set to FFh if the delay is unknown.
void setAVCDecodingDelay(@UInt8 byte avcDecodingDelay) throws IllegalArgumentException
Sets the delay required for decoded pictures in number of access units. The value is given by the presentation time of the first presented picture in a GOP minus the decoding time of the first decoded picture in the GOP. The value shall be set to zero if there are no B Pictures in the essence stream. The value shall be set to FFh if the delay is unknown.
avcDecodingDelay - Delay required for decoded pictures in number of access units.IllegalArgumentException - The given decoding delay access unit count cannot be a negative number, unless it is 0xff
to indicate an unknown decoding delay.boolean getAVCConstantBPictureFlag()
Returns whether the number of consecutive B Pictures always constant? Set to false if the number of consecutive B Pictures is not constant or is unknown. If this optional property is not present, its default value of false is returned.
true if the number of consecutive B Pictures always constant, otherwise false.AVCCONSTANTBPICTUREFLAG_DEFAULTvoid setAVCConstantBPictureFlag(Boolean avcConstantBPictureFlag)
Sets whether the number of consecutive B Pictures always constant? Set to false if the number of consecutive
B Pictures is not constant or is unknown. Set this optional property to null to omit it and cause the
default value of false to be returned in subsequent requests.
avcConstantBPictureFlag - true if the number of consecutive B Pictures always constant, otherwise
false.AVCCONSTANTBPICTUREFLAG_DEFAULTAVCCodedContentKind getAVCCodedContentKind()
Returns the picture type and coding type. If this optional property is omitted, the default value of is returned.
AVCCODECCONTENTKIND_DEFAULTvoid setAVCCodedContentKind(AVCCodedContentKind avcCodedContentKind)
Sets the picture type and coding type. Set this optional property to null to omit it,
which will cause the default value of to be returned going forward.
avcCodedContentKind - Picture type and coding type.AVCCODECCONTENTKIND_DEFAULTboolean getAVCClosedGOPIndicator()
Returns whether all GOPs start with an IDR Picture. If this optional property is omitted, the default value of false is returned.
true if all GOPs start with an IDR Picture, otherwise false if the GOP start type is
not necessarily an IDR Picture or is unknown.AVCCLOSEDGOPINDICATOR_DEFAULTvoid setAVCClosedGOPIndicator(Boolean avcClosedGOPIndicator)
Sets whether all GOPs start with an IDR Picture. Set this optional property to null null to
omit it, causing the default value of false to be returned in subsequent requests.
avcClosedGOPIndicator - true if all GOPs start with an IDR Picture, otherwise false if the
GOP start type is not necessarily an IDR Picture or is unknown.AVCCLOSEDGOPINDICATOR_DEFAULTboolean getAVCIdenticalGOPIndicator()
Returns whether every GOP in the sequence has the same number of pictures and the same type of pictures in the same order. This is not the case is not all GOPs are known, of there is at least one GOP in the sequence which has any of the following:
If this optional property is omitted, the default value of false is returned.
true if every GOP in the sequence has the same number of pictures and the same types of pictures in
the same order, otherwise false.AVCIDENTICALGOPINDICATOR_DEFAULTvoid setAVCIdenticalGOPIndicator(Boolean avcIdenticalGOPIndicator)
Sets whether every GOP in the sequence has the same number of pictures and the same type of pictures in the same order. This is not the case is not all GOPs are known, of there is at least one GOP in the sequence which has any of the following:
Set this optional property to null to omit it, which will result in the default value of
false being returned in subsequence requests.
avcIdenticalGOPIndicator - true if every GOP in the sequence has the same number of pictures and the same types of pictures in
the same order, otherwise false.@UInt16 short getAVCMaximumGOPSize() throws PropertyNotPresentException
Returns the maximum occurring spacing between I Pictures. A value of 0 or the omission of this property indicates
either there is no limit to the maximum GOP or the maximum GOP is unknown. If an encoder does not know the value, this optional property
shall be omitted.
PropertyNotPresentException - The optional AVC maximum GOP size property is not present.void setAVCMaximumGOPSize(@UInt16 Short avcMaximumGOPSize) throws IllegalArgumentException
Sets the maximum occurring spacing between I Pictures. A value of 0 or the omission of this property indicates
either there is no limit to the maximum GOP or the maximum GOP is unknown. Set this optional property to null to
omit it.
avcMaximumGOPSize - Maximum occurring spacing between I Pictures.IllegalArgumentException - The maximum GOP size cannot be a negative number.@UInt16 short getAVCMaximumBPictureCount() throws PropertyNotPresentException
Returns the maximum number of B Pictures between P or I Pictures. If an encoder does not know the value, this optional property shall be omitted.
PropertyNotPresentException - The optional maximum B Picture count property is not present.void setAVCMaximumBPictureCount(@UInt16 Short avcMaximumBPictureCount) throws IllegalArgumentException
Sets the maximum number of B Pictures between P or I Pictures. If an encoder does not know the value,
this optional property shall be omitted by setting the value to null.
avcMaximumBPictureCount - Maximum number of B Pictures between P or I Pictures.IllegalArgumentException - Cannot set the maximum B Picture count property to a negative value.@MediaProperty(uuid1=67175942, uuid2=267, uuid3=0, uuid4={6,14,43,52,1,1,1,14}, definedName="AVCMaximumBitrate", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=0, symbol="AVCMaximumBitrate") @UInt32 int getAVCMaximumBitrate() throws PropertyNotPresentException
Returns the maximum bit rate of the AVC stream in bit/s as given by bit_rate_scale and
bit_rate_value_minus1 in the HRD parameters in the sequence parameter set. The equivalent value is
assigned for this property of the stream even if the stream does not include the HRD parameters. If an encoder
does not know the optional value, this property shall be omitted.
To calculate the bitrate from the sequence parameter set values, do:
bit_rate_value_minus1 + 1) * 2(6 + bit_rate_scale)PropertyNotPresentException - The optional maximum bit rate property is not present.void setAVCMaximumBitrate(@UInt32 Integer avcMaximumBitrate) throws IllegalArgumentException
Sets the maximum bit rate of the AVC stream in bit/s as given by bit_rate_scale and
bit_rate_value_minus1 in the HRD parameters in the sequence parameter set. The equivalent value is
assigned for this property of the stream even if the stream does not include the HRD parameters. If an encoder
does not know the optional value, set this property to null to omit it.
To calculate the bitrate from the sequence parameter set values, do:
bit_rate_value_minus1 + 1) * 2(6 + bit_rate_scale)avcMaximumBitrate - Maximum bit rate of the AVC stream in bit/s.IllegalArgumentException - The maximum bit rate of the stream cannot be a negative value.@MediaProperty(uuid1=67175942, uuid2=276, uuid3=0, uuid4={6,14,43,52,1,1,1,14}, definedName="AVCAverageBitrate", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=0, symbol="AVCAverageBitrate") @UInt32 int getAVCAverageBitrate() throws PropertyNotPresentException
Returns the average bit rate of the AVC stream in bit/s over the entire AVC bitstream. If an encoder does not know the value, this optional property shall be omitted.
PropertyNotPresentException - The optional average bit rate property is not present.void setAVCAverageBitrate(@UInt32 Integer avcAverageBitrate) throws IllegalArgumentException
Sets the average bit rate of the AVC stream in bit/s over the entire AVC bitstream. If an encoder does not know
the value, omit this optional property be setting it to null.
avcAverageBitrate - Average bit rate of the AVC stream in bit/s over the entire AVC bitstream.IllegalArgumentException - Cannot set the average bit rate property to a negative value.@MediaProperty(uuid1=67175942, uuid2=266, uuid3=0, uuid4={6,14,43,52,1,1,1,14}, definedName="AVCProfile", typeName="UInt8", optional=true, uniqueIdentifier=false, pid=0, symbol="AVCProfile") @UInt8 byte getAVCProfile() throws PropertyNotPresentException
Returns the AVC video profile. The value is taken from profile_idc in the sequence parameter set.
This is an optional property.
PropertyNotPresentException - The optional AVC profile property is not present.void setAVCProfile(@UInt8 Byte avcProfile)
Sets the AVC video profile. The value is taken from profile_idc in the sequence parameter set.
Set this optional property to null to omit it.
setAVCProfile - AVC video profile.@MediaProperty(uuid1=67175942, uuid2=268, uuid3=0, uuid4={6,14,43,52,1,1,1,14}, definedName="AVCProfileConstraint", typeName="UInt8", optional=true, uniqueIdentifier=false, pid=0, symbol="AVCProfileConstraint") @UInt8 byte getAVCProfileConstraint() throws PropertyNotPresentException
Returns the AVC video profile constraint flags. The value of bits [7..2] is taken from constraint_set0_flag, ...,
constraint_set5_flag in the sequence parameter set. The value of bits [1..0] shall be set to zero. This
is an optional property.
PropertyNotPresentException - The optional AVC video profile constraint flags are not present.void setAVCProfileConstraint(@UInt8 Byte avcProfileConstraint)
Sets the AVC video profile constraint flags. The value of bits [7..2] is taken from constraint_set0_flag, ...,
constraint_set5_flag in the sequence parameter set. The value of bits [1..0] shall be set to zero. Set this
optional property to null to omit it.
avcProfileConstraint - AVC video profile constraint flags.setAVCProfileContraint(boolean, boolean, boolean, boolean, boolean, boolean)void setAVCProfileContraint(boolean constraint_set0_flag,
boolean constraint_set1_flag,
boolean constraint_set2_flag,
boolean constraint_set3_flag,
boolean constraint_set4_flag,
boolean constraint_set5_flag)
Sets the AVC video profile constraint flags. The value, stored in bits [7..2] of an unsigned byte, is taken
from constraint_set0_flag, ..., constraint_set5_flag in the sequence parameter set.
Use setAVCProfileConstraint(Byte) with a null value to omit this optional property.
constraint_set0_flag - constraint_set1_flag - constraint_set2_flag - constraint_set3_flag - constraint_set4_flag - constraint_set5_flag - setAVCProfileConstraint(Byte)@UInt8 byte getAVCLevel() throws PropertyNotPresentException
Returns the level from the level_idc parameter in the sequence parameter set. The level value is
the defined level multiplied by 10, with the exception of a value of 9 that equals special level 1b.
This is an optional property.
level_idc parameter in the sequence parameter set.PropertyNotPresentException - The optional level property is not present.void setAVCLevel(@UInt8 Byte avcLevel) throws IllegalArgumentException
Sets the level from the level_idc parameter in the sequence parameter set. The level value is
the defined level multiplied by 10, with the exception of a value of 9 that equals special level 1b.
This is an optional property.
avcLevel - Level from the level_idc parameter in the sequence parameter set.IllegalArgumentException - The level property cannot be negative.@UInt8 byte getAVCMaximumRefFrames() throws PropertyNotPresentException
Returns the maximum number of reference frames. The value is the maximum value of
max_num_ref_frames within all sequence parameter sets. This is an optional property.
PropertyNotPresentException - The optional maximum reference frames property is not present.void setAVCMaximumRefFrames(@UInt8 Byte avcMaximumRefFrames) throws IllegalArgumentException
Sets the maximum number of reference frames. The value is the maximum value of
max_num_ref_frames within all sequence parameter sets. Set this optional property to
null to omit it.
avcMaximumRefFrames - Maximum number of reference frames.IllegalArgumentException - The maximum number of reference frames cannot be negative.@MediaProperty(uuid1=67175942, uuid2=272, uuid3=0, uuid4={6,14,43,52,1,1,1,14}, definedName="AVCSequenceParameterSetFlag", typeName="UInt8", optional=true, uniqueIdentifier=false, pid=0, symbol="AVCSequenceParameterSetFlag") @UInt8 byte getAVCSequenceParameterSetFlag()
Returns the location and the constancy of sequence parameter sets. For details of the value, see the descriptions of the constancy flag and in band locations linked to below. This is an optional property where the default value of 0 is returned when when the property is omitted.
AVCSEQUENCEPARAMETERSETFLAG_DEFAULT,
CONSTANCYFLAG_UNKNOWN,
CONSTANCYFLAG_CONSTANT,
INBANDLOCATION_UNKNOWN,
INBANDLOCATION_FIRSTACCESSUNIT,
INBANDLOCATION_EVERYACCESSUNIT,
INBANDLOCATION_EVERYGOPvoid setAVCSequenceParameterSetFlag(@UInt8 Byte avcSequenceParameterSetFlag)
Sets the location and the constancy of sequence parameter sets. For details of the value, see the descriptions of the
constancy flag and in band locations linked to below. Set this optional property to null to omit
it and have subsequent requests return the default value of 0.
avcSequenceParameterSetFlag - Location and the constancy of sequence parameter sets.AVCSEQUENCEPARAMETERSETFLAG_DEFAULT,
CONSTANCYFLAG_UNKNOWN,
CONSTANCYFLAG_CONSTANT,
INBANDLOCATION_UNKNOWN,
INBANDLOCATION_FIRSTACCESSUNIT,
INBANDLOCATION_EVERYACCESSUNIT,
INBANDLOCATION_EVERYGOP@UInt8 byte getAVCPictureParameterSetFlag()
Returns the location and the constancy of picture parameter sets. For details of the value, see the descriptions of the constancy flag and in band locations linked to below. This is an optional property where the default value of 0 is returned when when the property is omitted.
AVCPICTUREPARAMETERSETFLAG_DEFAULT,
CONSTANCYFLAG_UNKNOWN,
CONSTANCYFLAG_CONSTANT,
INBANDLOCATION_UNKNOWN,
INBANDLOCATION_FIRSTACCESSUNIT,
INBANDLOCATION_EVERYACCESSUNIT,
INBANDLOCATION_EVERYGOPvoid setAVCPictureParameterSetFlag(@UInt8 Byte avcPictureParaemterSetFlag)
Sets the location and the constancy of picture parameter sets. For details of the value, see the descriptions of the
constancy flag and in band locations linked to below. Set this optional property to null to omit
it and have subsequent requests return the default value of 0.
avcPictureParaemterSetFlag - Location and the constancy of picture parameter sets.AVCPICTUREPARAMETERSETFLAG_DEFAULT,
CONSTANCYFLAG_UNKNOWN,
CONSTANCYFLAG_CONSTANT,
INBANDLOCATION_UNKNOWN,
INBANDLOCATION_FIRSTACCESSUNIT,
INBANDLOCATION_EVERYACCESSUNIT,
INBANDLOCATION_EVERYGOPAVCSubDescriptor clone()
SubDescriptorCreate a cloned copy of this sub descriptor.
clone in interface InterchangeObjectclone in interface MediaEntityclone in interface SubDescriptor(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.