Maven module :un.storage : media-mpeg4 :
Class : un.storage.media.mp4.desc.DecoderConfigDescriptor
Extends/Implements : un.storage.media.mp4.desc.Descriptor
Subclasses : -

The DecoderConfigDescriptor provides information about the
decoder type and the required decoder resources needed for the associates
elementary stream. This is needed at the receiver to determine whether it is
able to decode the elementary stream. A stream type identifies the category
of the stream while the optional decoder specific information contains stream
specific information for the set up of the decoder in a stream specific
format that is opaque to this layer.
author  Alexander Simm


Variables : -
Functions : decode, getObjectProfile, getStreamType, isUpstream, getDecodingBufferSize, getMaxBitRate, getAverageBitRate



void decode (MP4InputStream in)


An indication for the object profile (or scene description profile if
streamType==scene description stream), that needs to be supported by the
decoder for this elementary stream as per the following table. For
streamType==object descriptor stream the value 0xFF ('no profile
specified') shall be used.



0x00
0x01
0x02
0x03
0x04
0x05
0x06-0x1F
0x20
0x21
0x22
0x23
0x24
0x25
0x26
0x27
0x28
0x29
0x2A-0x3F
0x40
0x41
0x42
0x43
0x44
0x45
0x46
0x47
0x48
0x49
0x4A
0x4B
0x4C-0x5F
0x60
0x61
0x62
0x63
0x64
0x65
0x66
0x67
0x68
0x69
0x6A-0xBF
0xC0-0xFE
0xFF
ValueDescription
Reserved for ISO use
ISO 14496-1:Systems Simple Scene Description
ISO 14496-1:Systems 2D Scene Description
ISO 14496-1:Systems VRML Scene Description
ISO 14496-1:Systems Audio Scene Description
ISO 14496-1:Systems Complete Scene Description
reserved for ISO use
ISO 14496-2:Visual Simple Profile
ISO 14496-2:Visual Core Profile
ISO 14496-2:Visual Main Profile
ISO 14496-2:Visual Simple Scalable Profile
ISO 14496-2:Visual 12 Bit
ISO 14496-2:Visual Basic Anim. 2D Texture
ISO 14496-2:Visual Anim. 2D Mesh
ISO 14496-2:Visual Simple Face
ISO 14496-2:Visual Simple Scalable Texture
ISO 14496-2:Visual Core Scalable Texture
reserved for ISO use
ISO 14496-3:Audio AAC Main
ISO 14496-3:Audio AAC LC
ISO 14496-3:Audio T/F
ISO 14496-3:Audio T/F Main Scalable
ISO 14496-3:Audio T/F LC Scalable
ISO 14496-3:Audio TwinVQ Core
ISO 14496-3:Audio CELP
ISO 14496-3:Audio HVXC
ISO 14496-3:Audio HILN
ISO 14496-3:Audio TTSI
ISO 14496-3:Audio Main Synthetic
ISO 14496-3:Audio Wavetable Synthetic
reserved for ISO use
ISO 13818-2:Visual Simple Profile
ISO 13818-2:Visual Main Profile
ISO 13818-2:Visual SNR Profile
ISO 13818-2:Visual Spatial Profile
ISO 13818-2:Visual High Profile
ISO 13818-2:Visual 442 Profile
ISO 13818-7:Audio (MPEG-2 AAC)
ISO 13818-3:Audio (MPEG-2 layer 1/2/3)
ISO 11172-2:Visual (MPEG-1)
ISO 11172-3:Audio (MPEG-1)
reserved for ISO use
user private
no profile specified


@return the object profile
public int getObjectProfile ()


The stream type conveys the type of this elementary stream as per the
following table:


0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07-0x09
0x0A
0x0B-0x1F
0x20-0x3F
ValueDescription
reserved for ISO use
ObjectDescriptorStream
ClockReferenceStream
SceneDescriptionStream
VisualStream
AudioStream
MPEG-7 Stream
reserved for ISO use
ObjectContentInfoStream
reserved for ISO use
user private


@return the stream type
public int getStreamType ()


Indicates if this stream is used for upstream information.
return  true if this stream is used for upstream information
public boolean isUpstream ()


The size of the decoding buffer for this elementary stream in byte.
return  the decoding buffer size
public int getDecodingBufferSize ()


The maximum bitrate of this elementary stream in any time window of one
second duration.
return  the maximum bitrate
public long getMaxBitRate ()


The average bitrate of the elementary stream. For streams with variable
bitrates this value shall be set to zero.
return  the average bitrate or 0 if the stream has a variable bitrate
public long getAverageBitRate ()