hash
stringlengths
32
32
doc_id
stringlengths
7
13
section
stringlengths
3
121
content
stringlengths
0
2.2M
e16d334f11519b9671e26952047d356b
103 491
6.4.14.8 FindAudioChunkListIndex
Function that finds an index in the list of an audio chunk with given audio chunk index, as demonstrated in Table 6-23. If the unDesiredAudioChunkIndex is not in the list, the first available space in the list is returned. For every matched audio chunk index the corresponding m_bAudioChunkPresent is set to TRUE. ETSI E...
e16d334f11519b9671e26952047d356b
103 491
6.4.14.9 Audio Chunk ID Present Flag
This 1-bit flag when TRUE, indicates that the audio chunk ID is transmitted in the current frame. In sync frames this flag is not transmitted and takes the default value bACIDsPresentFlag is TRUE. In non-sync frames the flag shall not be transmitted if the m_bFullChannelBasedMixFlag is TRUE and takes the default value ...
e16d334f11519b9671e26952047d356b
103 491
6.4.15 Peak Bit Rate Smoothing Parameters
The class prototype for CPBRSmoothBufferDesc is shown in Table 6-25. Pseudo-code to extract the smoothing buffer parameters is shown in Table 6-26. Table 6-25: PBR Smoothing Buffer Class Parameters Syntax class CPBRSmoothBufferDesc { // Class with Peak Bit Rate (PBR) Smoothing parameters public: bool m_bVBRSmoothingBuf...
e16d334f11519b9671e26952047d356b
103 491
6.4.16 Parameters for ExtractPBRSmoothParams
e16d334f11519b9671e26952047d356b
103 491
6.4.16.1 m_bVBRSmoothingBufferEnabled
m_bVBRSmoothingBufferEnabled is present in the stream only if bSyncFrameFlag = TRUE. In all other frames the value of m_bVBRSmoothingBufferEnabled is inherited from the previous sync frame. When m_bVBRSmoothingBufferEnabled = TRUE, the buffer for smoothing the variability in the cumulative payload of all audio chunks i...
e16d334f11519b9671e26952047d356b
103 491
6.4.16.2 nuBitsforCumACPayload
The nuBitsforCumACPayload parameter is present in the stream if m_bVBRSmoothingBufferEnabled = TRUE. nuBitsforCumACPayload indicates the number of bits used to represent m_nuAudioChunksCumulSmoothPayload described in clause 6.4.16.3 and m_nuACFirstXLLSyncOffsInDWORDS, described in clause 6.4.16.7. Valid values for nuBi...
e16d334f11519b9671e26952047d356b
103 491
6.4.16.3 m_nuAudioChunksCumulSmoothPayload
m_nuAudioChunksCumulSmoothPayload is present in the stream when m_bVBRSmoothingBufferEnabled = TRUE. This field indicates the size, in bytes, of the smoothed payload corresponding to all audio chunks that are transmitted in the current frame.
e16d334f11519b9671e26952047d356b
103 491
6.4.16.4 m_bACFirstXLLSyncPresent
m_bACFirstXLLSyncPresent is present in the stream if m_bVBRSmoothingBufferEnabled = TRUE. If m_bACFirstXLLSyncPresent = TRUE, the sync word of the first XLL frame header is present in the current frame payload. This indicates to the decoder that it should attempt to establish/verify synchronization in the current frame...
e16d334f11519b9671e26952047d356b
103 491
6.4.16.5 nuVBRSmoothingBuffSzkB
nuVBRSmoothingBuffSzkB is present in the stream if m_bVBRSmoothingBufferEnabled = TRUE and m_bACFirstXLLSyncPresent = TRUE. m_nuVBRSmoothingBuffSzkB represents the size, in kBytes, of the variable bit rate smoothing buffer. The buffer size can take values of 64, 128, 192 and 256 kBytes and is constant for the entire du...
e16d334f11519b9671e26952047d356b
103 491
6.4.16.6 m_nuInitACXLLDecDlyFrames
m_nuInitACXLLDecDlyFrames is present in the stream if m_bVBRSmoothingBufferEnabled = TRUE and m_bACFirstXLLSyncPresent = TRUE. This parameter is the number of frames of the audio chunks payload that shall be buffered before the decoding can start. The payload is stored in the decoder's smoothing buffer and the offset i...
e16d334f11519b9671e26952047d356b
103 491
6.4.16.7 m_nuACFirstXLLSyncOffsInDWORDS
m_nuACFirstXLLSyncOffsInDWORDS is present in the stream if m_bVBRSmoothingBufferEnabled = TRUE and m_bACFirstXLLSyncPresent = TRUE. This value specifies the offset in 32-bit words from the start of the first audio chunk in the current frame payload to the start of an audio chunk that contains the first XLL frame header...
e16d334f11519b9671e26952047d356b
103 491
6.4.17 Reserved Fields
Skipping over the Byte Align bits and Reserved fields is shown in Table 6-27. Table 6-27: SkipReservedandAlignFields Syntax // Function skips Reserved and Byte Alignment Fields // Input Arguments: // - bSyncFrameFlag if TRUE indicates that this is a sync frame // - unBitCounter - state of the bit counter prior to extra...
e16d334f11519b9671e26952047d356b
103 491
6.4.18 FTOC CRC Word
This CRC value is calculated over the FTOC metadata fields, starting from the sync word (i.e. the sync word is included) up to and including the byte alignment field prior to the CRC word. The decoder shall search for unSyncWord on every DWORD aligned boundary in the expected search range, and after finding a possible ...
e16d334f11519b9671e26952047d356b
103 491
7 Metadata Chunk (ID = 0x01)
e16d334f11519b9671e26952047d356b
103 491
7.1 Overview
The Metadata Chunk (Chunk ID = 0x01) is the primary structure for metadata descriptions for channel and object-based presentations. A Metadata Chunk can apply to an Object, an Object Group or a Channel-based Presentation. Multiple Metadata Chunks can apply to the same Audio Chunks in different Presentations.
e16d334f11519b9671e26952047d356b
103 491
7.2 Object Class Description and Handler Functions
The class description of C0x01MDChunkBody is shown in Table 7-1. To minimize the overhead in metadata chunks, the full data is transmitted only in MD Sync Frames. In all other frames, denoted as the MD Predictive Frames, only the updates of the metadata are transmitted, and all the missing data is inherited from the va...
e16d334f11519b9671e26952047d356b
103 491
7.3 Functions Called from UnpackMDFrame
e16d334f11519b9671e26952047d356b
103 491
7.3.1 ApplyExplObjList2ObjActMask
ApplyExplObjList2ObjActMask (), shown in Table 7-2, overwrites object/object group activity flags based on the explicit object ID list. Up to 32 objects can be selected explicitly within a single metadata chunk. Input Arguments: • unExplObjListMask bit-mask indicates which object within this metadata chunk shall be act...
e16d334f11519b9671e26952047d356b
103 491
7.3.2 ApplyGroupDefaultObjectActivityMask
ApplyGroupDefaultObjectActivityMask(), shown in Table 7-3, overwrites the 3D object activity flags based on the default group object dependency masks. Notice that certain properties of the object group are used to unwind the object group hierarchy. Both 3D objects and other object groups may be referenced within the ob...
e16d334f11519b9671e26952047d356b
103 491
7.3.3 Find Object Index
This function returns an index into the list of objects with the ID given by unDesiredObjID. Syntax int CObjListHandler::FindObjIndex(uint unDesiredObjID) { // Check list up to the highest occupied index for (uint unidex = 0; unidex<m_unHigestIndex; unidex++) { if (unDesiredObjID == m_punObjIDs[unidex]) { // Object is ...
e16d334f11519b9671e26952047d356b
103 491
7.4 Extract_Main_0x01_MDChunk
This function extracts the parameters for the Main Body of the 0x01 Metadata Chunk, as shown in the pseudo-code example shown in Table 7-4. Input parameters: • bSyncFrameFlag is a flag set during extraction of a Frame Table Of Content (FTOC). The bSyncFrameFlag is TRUE if and only if the FTOC SYNC WORD is present in th...
e16d334f11519b9671e26952047d356b
103 491
7.5 Functions Called from Extract_Main_0x01_MDChunk
e16d334f11519b9671e26952047d356b
103 491
7.5.1 Presentation Scaling Parameters
This metadata block is transmitted only in the sync frames for audio presentations with bAudPresSelectableFlag set to TRUE. These parameters allow for additional scaling of the overall output level and shall be applied during object rendering. Up to four distinct scaling parameters can be transmitted, corresponding to ...
e16d334f11519b9671e26952047d356b
103 491
7.5.2 Parameters for ExtractPresScalingParams
e16d334f11519b9671e26952047d356b
103 491
7.5.2.1 bOutScalePresent
This 1-bit flag is transmitted in the stream only if bFullChannelBasedMixFlag is FALSE. bOutScalePresent is a flag that indicates whether an audio presentation scaling parameter is transmitted for particular output configuration. When the bFullChannelBasedMixFlag is TRUE, bOutScalePresent is by default set to FALSE.
e16d334f11519b9671e26952047d356b
103 491
7.5.2.2 Presentation Scale
This 5-bit field is transmitted in the stream only if bOutScalePresent is TRUE. The value corresponds to the scale factor in range from -19 dB to +12 dB with a step size of 1 dB.
e16d334f11519b9671e26952047d356b
103 491
7.5.3 m_bMFDistrStaticMDPresent
This field is transmitted only for selectable audio presentations (bAudioPresSelectableFlag is TRUE) and only in the sync frames (bSyncFrameFlag is TRUE). If m_bMFDistrStaticMDPresent is TRUE then the static metadata distributed over multiple frames is present in the stream. For non-selectable audio presentations the m...
e16d334f11519b9671e26952047d356b
103 491
7.6 Static Metadata Distributed Over Multiple Frames
A block of global static metadata is subdivided into packets of data transmitted over m_unNumStaticMDPackets frames. The Static Metadata Frame class is shown in Table 7-6. Each packet is a uniform size defined by m_unStaticMDPacketByteSize. Note that the last packet may be zero padded to force it to the correct number ...
e16d334f11519b9671e26952047d356b
103 491
7.7 Parameters for ExtractMultiFrameDistribStaticMD
e16d334f11519b9671e26952047d356b
103 491
7.7.1 m_unNumStaticMDPackets
This variable length field is transmitted in the stream only if bFullChannelBasedMixFlag is FALSE. Its value indicates the number of packets/frames needed to assemble entire static metadata block. This parameter is transmitted as a variable length code with length of 1, 8, 12 or 15 bits allowing for 1, 65, 577 or 4 673...
e16d334f11519b9671e26952047d356b
103 491
7.7.2 m_unStaticMDPacketByteSize
This variable length field is transmitted in the stream only if the bFullChannelBasedMixFlag is FALSE. Its value indicates the size in Bytes of each packet of static metadata. The m_unStaticMDPacketByteSize is transmitted as a variable length code with length of 6, 9, 12 or 14 bits allowing for 34, 162, 674 or 2 722 By...
e16d334f11519b9671e26952047d356b
103 491
7.7.3 m_bStaticMetadataUpdtFlag
This flag indicates if there is an update of static metadata content since the previous distributed transmission. m_bStaticMetadataUpdtFlag is transmitted only in the sync frame. After assembling the entire static metadata buffer, decoder shall check: • If the m_bStaticMetadataUpdtFlag is TRUE, then the decoder unpacks...
e16d334f11519b9671e26952047d356b
103 491
7.7.4 Metadata Packet Payload
A packet payload extracted in current frame shall be placed into the appropriate location within the static metadata buffer m_pStaticMDBitStream. For the syntax of metadata captured in the m_pStaticMDBitStream refer to clause 7.7.5.
e16d334f11519b9671e26952047d356b
103 491
7.7.5 Static Loudness and Dynamics Metadata
Static L&D metadata (due to its static nature) can be carried as a distributed payload over number of encoded frames. Static metadata contains multiple Loudness and Dynamics profiles, each describing the configuration parameters of the dynamic range compressor that is to be used with a particular decoder-selected compr...
e16d334f11519b9671e26952047d356b
103 491
7.7.6 Parameters for ExtractStaticLandDParams
e16d334f11519b9671e26952047d356b
103 491
7.7.6.1 m_bNominalLD_DescriptionFlag
This 1-bit field is transmitted in the stream only if bFullChannelBasedMixFlag is FALSE. This flag, if TRUE, indicates that a nominal (restricted feature) description of the loudness and dynamics metadata is used. If the m_bNominalLD_DescriptionFlag is FALSE, it indicates that an extended description of the loudness an...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.2 Integrated Loudness Parameters
Multiple sets of integrated loudness parameters may be transmitted for each audio presentation. When m_bNominalLD_DescriptionFlag is TRUE for a given set, it correspond to the loudness measurement of one of the following: • A complete audio presentation. • A complete audio presentation excluding all speech objects. • A...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.3 m_ucNumLongTermLoudnessMsrmSets
This field is transmitted in the stream only if the bFullChannelBasedMixFlag is FALSE. It represents the number of long-term loudness measure parameter sets that are transmitted within the static metadata block. Valid range is: • 1 or 3 if m_bNominalLD_DescriptionFlag is TRUE; or • from 1 to 16 if m_bNominalLD_Descript...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.4 Long Term Loudness Measure Parameter Set
This function takes 3 arguments: • bLongTermLMPresent - flag indicating if the Long Term Loudness Measure Parameter Set (LTLMPS) is transmitted in the stream. • m_bNominalLD_DescriptionFlag - flag indicating if nominal (TRUE) or extended (FALSE) L&D metadata description is used. • unPackIndex - packing index within the...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.5 Parameters for ExtractLTLMParamSet
e16d334f11519b9671e26952047d356b
103 491
7.7.6.5.1 m_rLoudness
This 6-bit field is present in the stream only if the bLongTermLMPresent is TRUE. The extracted field is in the range of 0 to 63 and represents an index into Long Term Loudness Measure Table (clause 5.2.2.2). If bLongTermLMPresent is FALSE the m_rLoudness is set by default to -24,0 dB.
e16d334f11519b9671e26952047d356b
103 491
7.7.6.5.2 m_ucAssociatedAssetType
This variable length field is present in the stream only if it is part of a static metadata block. The m_ucAssociatedAssetType is an index into Table 7-10. The 4-bit or 6-bit codes are used to extract the m_ucAssociatedAssetType in range from 0 to 7 or from 0 to 31 respectively. If not transmitted the m_ucAssociatedAss...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.5.3 m_ucLoudnessMsrmType
This field is present in the stream only if bLongTermLMPresent is TRUE. If bNominalLD_DescriptionFlag is TRUE, then this field is 2 bits, otherwise it is 4 bits. In both cases, the value of m_ucLoudnessMsrmType is used as an index into Table 7-11 and indicates a type of long term loudness measurement that was used for ...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.6 m_bIsLTLoudnMsrsmOffLine
This 1-bit flag is transmitted in the stream only if the m_bNominalLD_DescriptionFlag is FALSE. Its value indicates if the process used to encode the long term loudness measurements was running: • in real time (m_bIsLTLoudnMsrsmOffLine = 0); or • as an off-line/multi-pass process (m_bIsLTLoudnMsrsmOffLine = 1). ETSI ET...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.7 m_bCustomDRCCurveMDPresent
A separate m_bCustomDRCCurveMDPresent flag is sent for every DRC compression type shown in the Definition of DRC Compression Types in Table 7-12. If m_bCustomDRCCurveMDPresent is TRUE, then for a particular DRC compression type, a custom DRC compression curve is transmitted in the stream. Otherwise, the decoder's defau...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.8 Custom DRC Curves
A custom DRC curve may be transmitted for each of the DRC compression types. A curve may be described exclusively by an index (m_ucDRCCurveIndex) into a table of predefined commonly used curves according to the DRC Compression Curve Types listed in Table 7-13. If index m_ucDRCCurveIndex is equal to DRC_CURVE_TYPE_DTSUH...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.9 Parameters for ExtractCustomDRCCurves
e16d334f11519b9671e26952047d356b
103 491
7.7.6.9.1 m_ucDRCCurveIndex
This 4-bit field represents a look-up index into a table of DRC curve types according to the DRC Compression Curve Types.
e16d334f11519b9671e26952047d356b
103 491
7.7.6.9.2 unDRCCurveCode
This 15-bit field is present in the stream only if the m_ucDRCCurveIndex is equal to DRC_CURVE_TYPE_DTSUHD_COMMON_EXPLICIT_PARAMS. If the unDRCCurveCode is present, it represents a block code word that is used to encode all DRC curve parameters ordered as: 1) k=0: m_rDrcDwnwCurveNullEnd (denoted as dwnw_null_end in Fig...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.9.3 Get DRC Curve
GetDRCCurveParamIndices() is a function to extract the DRC_ALPHABET_SIZE_TABLE_LENGTH indices from a single block code word given in unDRCCurveCode. The weight associated with each index is given in m_unDRCCurveCodeBasisWeights[]. Block code is assumed to be generated according to:   = ∑ ( _    ...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.10 m_bCustomDRCSmoothMDPresent
A separate m_bCustomDRCSmoothMDPresent flag is sent for every DRC compression type found in Table 7-12. If m_bCustomDRCSmoothMDPresent is TRUE, then for a particular DRC compression type the custom DRC smoothing parameters are transmitted in the stream. Otherwise, the decoder's default smoothing parameters are used for...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.11 m_rFastAttack
This 6-bit field is transmitted in the stream only if bCustomDRCCurveMDPresent is TRUE. It represents the smoothing time constant for the fast attack smoothing of the DRC compression. The 6-bit index is mapped to 64 values in the range [0 to 25] using the Quantization Table for DRC Fast Attack Smoothing Constant in cla...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.12 m_rSlowAttack
This 6-bit field is transmitted in the stream only if bCustomDRCCurveMDPresent is TRUE. It represents the smoothing time constant for the slow attack smoothing of DRC compression. The 6-bit index (ind) is mapped to 64 values in the range [0 to 250] using the Quantization Table for DRC Fast Attack Smoothing Constant in ...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.13 m_rFastRelease
This 6-bit field is transmitted in the stream only if bCustomDRCCurveMDPresent is TRUE. It represents the smoothing time constant for the fast release of DRC compression. The 6-bit index is mapped to 64 values in the range [0 to 1 000] using the Quantization Table for DRC Fast Release Smoothing Constant as shown clause...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.14 m_rSlowRelease
This 6-bit field is transmitted in the stream only if bCustomDRCCurveMDPresent is TRUE. It represents the smoothing time constant for the slow release of DRC compression. The 6-bit index is mapped to 64 values in the range [0 to 1 000] using the Quantization Table for DRC Fast Release Smoothing Constant as shown clause...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.15 m_rAttackThreshld
This 6-bit field is transmitted in the stream only if bCustomDRCCurveMDPresent is TRUE. The m_rAttackThreshld defines when to switch from a slow to a fast attack during DRC compression. ETSI ETSI TS 103 491 V1.2.1 (2019-05) 85 The 6-bit index is mapped to 64 values, in power domain in range [1 to 1 000]. The mapping is...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.16 m_rReleaseThreshld
This 6-bit field is transmitted in the stream only if bCustomDRCCurveMDPresent is TRUE. The m_rReleaseThreshld defines when to switch from a slow to a fast release during DRC compression. The 6-bit index is mapped to 64 values, in power domain in range [1,0 to 0,001], using the Quantization Table for DRC Slow to Fast T...
e16d334f11519b9671e26952047d356b
103 491
7.7.6.17 Reserved and Byte Alignment Fields
Since the overall size of the static metadata in bits is given by the m_unNumStaticMDPackets*m_unStaticMDPacketByteSize*8, the new metadata may be added into the reserved fields without breaking the backward compatibility. Decoders shall always navigate to the end of the static metadata block in order to continue with ...
e16d334f11519b9671e26952047d356b
103 491
7.8 Extraction of Object Metadata
e16d334f11519b9671e26952047d356b
103 491
7.8.1 Overview of Object Metadata
7.
e16d334f11519b9671e26952047d356b
103 491
8.1 Overview
of Object Metadata Metadata for Objects includes an extensive set of parameters that describe the mixing environment, object location and advanced object properties such as dispersion and distance. Multiple sets of object metadata may be present for supporting different listening environments through the rendering exce...
e16d334f11519b9671e26952047d356b
103 491
7.8.2 ExtractMetadataForObjects
Pseudo-code that describes the extraction of this block of metadata is shown in Table 7-16. Table 7-16: ExtractMetadataForObjects Syntax Reference void C0x01MDChunkBody::ExtractMetadataForObjects(bool bSyncFrameFlag, bool bFullChannelBasedMixFlag, uint unFrameDuration, uint unOutChMask, bool bInteractObjLimitsPresent, ...
e16d334f11519b9671e26952047d356b
103 491
7.8.3 Parameters for ExtractMetadataForObjects
e16d334f11519b9671e26952047d356b
103 491
7.8.3.1 m_bMixStudioParamsPresent
This 1-bit flag is present in the stream only if bSyncFrameFlag is TRUE and bFullChannelBasedMixFlag is FALSE. When m_bMixStudioParamsPresent is TRUE, the parameters that describe the reference monitoring environment are present. These parameters are present so the rendering engine can modify object position in order t...
e16d334f11519b9671e26952047d356b
103 491
7.8.3.2 m_ucRadiusRefernceUnitSphereInMeters
This 4-bit field is present in the stream only if m_bMixStudioParamsPresent is TRUE. The value of m_ucRadiusRefernceUnitSphereInMeters indicates the radius of a reference unit sphere in meters (i.e. distance to the center speaker or distance to the screen in the reference monitoring environment). Valid range is from 3 ...
e16d334f11519b9671e26952047d356b
103 491
7.8.3.3 m_unRefScreenHorizontalViewingAngleInDeg
This 4-bit field is present in the stream only if m_bMixStudioParamsPresent is TRUE. The value of m_unRefScreenHorizontalViewingAngleInDeg represents the horizontal viewing angle subtended by the screen relative to an observer located at the optimal viewing position, in degrees. Valid values are in range from 30 to 180...
e16d334f11519b9671e26952047d356b
103 491
7.8.3.4 m_ucRefScreenAspectRatio
This 3-bit field is present in the stream only if the m_bMixStudioParamsPresent is TRUE. The value of m_ucRefScreenAspectRatio represents a look-up index into Table 7-17. The default value for m_ucRefScreenAspectRatio is REFERENCE_SCREEN_ASPECT_RATIO_SCOPE. Table 7-17: Reference Screen Aspect Ratios Index Mnemonic Desc...
e16d334f11519b9671e26952047d356b
103 491
7.8.4 Association of 3D Object Metadata to 3D Renderer Type
This metadata block code extracts renderer association flags and checks if this metadata is suitable for the current renderer implementation. If metadata is not suitable, the bitstream read pointer is advanced to the metadata for the next object. Pseudo-code can be found in Table 7-18. Table 7-18: CheckIfMDIsSuitablefo...
e16d334f11519b9671e26952047d356b
103 491
7.8.5 Parameters for CheckIfMDIsSuitableforImplObjRenderer
e16d334f11519b9671e26952047d356b
103 491
7.8.5.1 bMDUsedByAllRenderersFlag
This 1-bit flag is transmitted only if the unObjectID < OBJGROUPIDSTART i.e. it is not transmitted for object groups. Its value indicates if object metadata is applicable to: • both the basic 3D object renderer type and the extended 3D renderer type (when bMDUsedByAllRenderersFlag is TRUE); or • just one of the 3D obje...
e16d334f11519b9671e26952047d356b
103 491
7.8.5.2 ucRequiredRendererType
This 1-bit field is interpreted according to Table 7-19 and is transmitted only if unObjectID < OBJGROUPIDSTART and bMDUsedByAllRenderersFlag are FALSE. Its value indicates the association of the 3D object metadata to a particular renderer type. If bMDUsedByAllRenderersFlag is FALSE, nominally there will be two sets of...
e16d334f11519b9671e26952047d356b
103 491
7.8.5.3 unNumBits2Skip
This variable length field is transmitted only if the unObjectID < OBJGROUPIDSTART and bMDUsedByAllRenderersFlag is FALSE. Its value indicates the size, in bits, of the remaining part of this object metadata. The variable length codes of 9, 12, 15 or 17 bits are used to allow the unNumBits2Skip values up to 256, 1 280,...
e16d334f11519b9671e26952047d356b
103 491
7.8.6 m_bObjStaticFlag
This flag indicates if the object properties are static (not changing) until the appearance of the next sync frame. This flag is transmitted only in the frames in which the object appears for the first time within the period between the two consecutive sync frames (bObjStartFrameFlag is TRUE).
e16d334f11519b9671e26952047d356b
103 491
7.8.7 Extraction of 3D Object/Object Group Metadata
An object ID (m_unObjectID) indicates whether the metadata to be extracted is: • metadata for an object (m_unObjectID = 0, 1, ... OBJGROUPIDSTART-1), describing 3D object properties and directly points to particular waveforms encoded within an audio chunk; or • metadata for an object group (m_unObjectID = OBJGROUPIDSTA...
e16d334f11519b9671e26952047d356b
103 491
7.8.8 Object Group Definition
Object group metadata does not carry any specific 3D object properties nor pointers to the audio waveforms. Instead, the object group metadata carries lists of object IDs belonging to the group and the indication of which of these objects shall be played by default. Both 3D objects and other object groups may be refere...
e16d334f11519b9671e26952047d356b
103 491
7.8.9 Parameters for ExtractGroupDefinition
e16d334f11519b9671e26952047d356b
103 491
7.8.9.1 m_bObjGrpActiveFlag
This 1-bit field indicates if an object group is active by default (m_bObjActiveFlag is TRUE), or not (m_bObjActiveFlag is FALSE). If a system layer explicitly sets the object group activity, m_bObjGrpActiveFlag extracted within the stream shall be ignored.
e16d334f11519b9671e26952047d356b
103 491
7.8.9.2 bGrpObjRefUpdFlag
This 1-bit flag when TRUE, indicates that there is an update to either the number of objects or the list of object IDs that are referenced within this group. In the sync frames bGrpObjRefUpdFlag is not transmitted but is set to TRUE by default.
e16d334f11519b9671e26952047d356b
103 491
7.8.9.3 m_ucNumObjReferencedInGroup
This field is transmitted in the stream only if the bGrpObjRefUpdFlag is TRUE. The value of m_ucNumObjReferencedInGroup represents the number of objects that are referenced within the group. Variable length code of 2, 5, 6 and 7 bits is used to represent the values of m_ucNumObjReferencedInGroup up to 2, 10, 18 or 32 o...
e16d334f11519b9671e26952047d356b
103 491
7.8.9.4 m_punObjGrpRefIDs[]
These fields are transmitted in the stream only if bGrpObjRefUpdFlag is TRUE. The list of object IDs that are referenced within this group is stored in the array m_punObjGrpRefIDs[]. Each object ID is coded as a variable length code with length of either 5 or 9 bits allowing up to 16 or 256 object ID references respect...
e16d334f11519b9671e26952047d356b
103 491
7.8.9.5 bUpdFlag
bUpdFlag is not present in the bitstream and shall be set to TRUE when bObjStartFrameFlag is TRUE, or bGrpObjRefUpdFlag is TRUE. Otherwise, it is read directly from the bitstream.
e16d334f11519b9671e26952047d356b
103 491
7.8.9.6 m_unWithinGrpObjActMask
m_unWithinGrpObjActMask is a m_ucNumObjReferencedInGroup-bit wide bit-mask that represents the group's default play list, i.e. the list of objects that shall be decoded and played by default. An application layer through decoder APIs can overwrite this default. m_unWithinGrpObjActMask is updated when bUpdFlag is TRUE. ...
e16d334f11519b9671e26952047d356b
103 491
7.8.9.7 m_bObjGroupMDExtensionPresent
When m_bObjGroupMDExtensionPresent is TRUE, an Object Group Metadata Extension Field is transmitted in the stream.
e16d334f11519b9671e26952047d356b
103 491
7.8.9.8 unNumBitsToExtract
Size of Object Group Metadata Extension Fields. This variable length field is transmitted in the stream if the m_bObjGroupMDExtensionPresent is TRUE. Variable code of length 5, 7, 9 or 11 bits allow the size of the extension fields to be up to 32, 160, 672 or 2 720 bits.
e16d334f11519b9671e26952047d356b
103 491
7.8.9.9 Object Group Metadata Extension Fields
This block of data is present in the stream if the m_bObjGroupMDExtensionPresent is TRUE. Decoders built to this version of the specification shall navigate past these metadata fields in order to parse the metadata for the next object.
e16d334f11519b9671e26952047d356b
103 491
7.8.10 3D Object Metadata
The underlying principle of 3D object metadata transmission is that only metadata that has changed value from the previous frame is retransmitted in the current frame. However, in order to facilitate random navigation, the full set of metadata is re-transmitted at least once within the period between the two consecutiv...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.20 m_bObjectRendExceptPresent
= (ExtractBits(1) == 1) ? true : false; } // End of m_bAmbisonicEncObjFlag=false case } // End of m_bObject3DMetaDataPresent = false part } // end of if (m_bChMaskObjectFlag == false) } // End of the case when bObjStartFrameFlag==true // Metadata Possibly Present in all frames multiple times 7.8.11.20 ExtractInvQuantMu...
e16d334f11519b9671e26952047d356b
103 491
7.8.11 Parameters for ExtractObjectMetadata
e16d334f11519b9671e26952047d356b
103 491
7.8.11.1 m_bObjActiveFlag
This 1-bit field indicates if an object on its own, without being referenced in any object group, shall be rendered (m_bObjActiveFlag is TRUE), or not (m_bObjActiveFlag is FALSE). If the object is referenced in any of the object groups then the group's object activity mask (unInGrpObjActMask) or a system layer object a...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.2 m_ucObjRepresTypeIndex
This 3-bit field represents an index into a table of object representation types as given in Table 7-23. The valid range of m_ucObjRepresTypeIndex is 0 to 7 when unObjectID<OBJGROUPIDSTART or 0 to 5 when unObjectID equal to 256. There are four flags that control the further extraction of object metadata. All four flags...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.3 m_ucObjectImportanceLevel
This 3-bit field indicates the importance of an object on the scale from 0 (the lowest importance) to 7 (the highest importance). In case a decoder implementation is presented with more objects than it can handle, the objects shall be first ordered from the highest to the lowest importance. Rendering shall start from o...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.4 bObjTypeDescrPresent
This 1-bit field indicates if the object type descriptor is transmitted in the stream (bObjTypeDescrPresent is TRUE) or an unknown object type is assumed by default (bObjTypeDescrPresent is FALSE).
e16d334f11519b9671e26952047d356b
103 491
7.8.11.5 m_unObjTypeDescrIndex
This variable length field is present in the stream only if the bObjTypeDescrPresent is TRUE. The m_unObjTypeDescrIndex is an index into a table of predefined object types according to the Definition of Object Types table (Table 7-10). The 4-bit or 6-bit codes are used to extract the m_unObjTypeDescrIndex in range from...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.6 ucObjAudioChunkIndex
This variable length field indicates the index of an audio chunk that holds the audio waveforms associated with the object. The variable length codes of length 2, 6, 7 or 11 bits are used to represent the audio chunk index values of up to 1, 17, 33 or 255 respectively. For object with the unObjectID = 256, m_ucObjAudio...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.7 m_ucObjNaviWitinACIndex
This variable length field indicates the object navigation within the audio chunk index. It is used by the audio decoders when given the audio chunk payload to navigate to the audio data corresponding to this object. The variable length codes of length 4, 5, 7 or 11 bits are used to represent the navigation index value...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.8 m_bPerObjLTLoudnessMDPresent
If this 1-bit flag is TRUE, then per-object long term loudness metadata is present in the stream.
e16d334f11519b9671e26952047d356b
103 491
7.8.11.9 Per-Object Loudness Metadata
This block of metadata representing per-object long term loudness parameters is present in the stream only if m_bPerObjLTLoudnessMDPresent is TRUE. This metadata is not present for the object with unObjectID=256. Long term loudness measurement data is transmitted only once in the interval between the two sync frames, i...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.14.2 m_uint32ChActivityMask
= unChMask_Index_Table[m_ucChLayoutIndex]; break; } // End of unChLayoutIndex switch Table 7-27 m_ucNumWaveFormsInObj = (uchar)GetNumSpeakersInLayout(m_uint32ChActivityMask); 7.8.11.14.3 m_bObjectRendExceptPresent = (m_ucChLayoutIndex < 2) ? FALSE : (bool)ExtractBits(1); } // End of ExtractChMaskParams() function 7.8.1...
e16d334f11519b9671e26952047d356b
103 491
7.8.11.28.5 m_3DSrcRadiusAux
.SetParameter(m_3DSrcRadius.GetParameter()); } if (bEnhancedREParamsPresent) { 7.8.11.28.5 unTemp = m_3DSrcSpreadParamOne.UpdateCode(bFirstSamplPointofFirstFrame, 6); if (m_3DSrcSpreadParamOne.m_bUpdateFlag) { unTemp = (unTemp < 7) ? unTemp * 3 : (unTemp - 3) * 6; m_3DSrcSpreadParamOne.SetParameter(unTemp); } 7.8.11.28...
e16d334f11519b9671e26952047d356b
103 491
8 ACE for DTS-UHD
8.1 Overview The ACE Decoder operates on ACE stereo streams, ACE mono streams and ACE LFE streams. Within an ACE frame, the streams have been separated into one of these three classifications. Stereo streams have an additional optimization that takes advantage of the information common to both channels. The block diagr...