1、 ETSI TS 103 491 V1.1.1 (2017-04) DTS-UHD Audio Format; Delivery of Channels, Objects and Ambisonic Sound Fields TECHNICAL SPECIFICATION ETSI ETSI TS 103 491 V1.1.1 (2017-04)2 Reference DTS/JTC-DTS-UHD Keywords audio, codec, object audio ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - F
2、RANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be
3、made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print,
4、 the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this
5、 and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduc
6、ed or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction e
7、xtend to reproduction in all media. European Telecommunications Standards Institute 2017. European Broadcasting Union 2017. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI regi
8、stered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 103 491 V1.1.1 (2017-04)3 Contents Intellectual Property Rights 20g3Foreword . 20g3Modal verbs terminology 20g31 Scope 21g32 R
9、eferences 21g32.1 Normative references . 21g32.2 Informative references 21g33 Definitions, abbreviations and document conventions . 22g33.1 Definitions 22g33.2 Abbreviations . 23g33.3 Document Conventions 23g34 DTS-UHD System Overview . 23g34.1 Overview 23g34.2 Stream Construction . 24g34.2.1 Constr
10、uction of a DTS-UHD Audio Frame 24g34.2.2 Frame Table of Contents (FTOC) . 24g34.2.3 Sync Frames 25g34.2.4 Non-sync Frames (Predictive Frames) 25g34.3 Carriage of Metadata 25g34.3.1 Organization of Metadata . 25g34.3.2 Metadata Chunks 26g34.3.3 Fundamental Components of the Metadata Chunk . 27g34.3.
11、3.1 Metadata Chunk: Data . 27g34.3.3.2 Reserved and Byte Align Fields 27g34.3.3.3 Metadata Chunk CRC Word . 27g34.4 Audio Chunks . 27g34.5 Organization of Streams . 29g34.5.1 Objects, Object Groups, Presentations 29g34.5.2 Properties of Objects . 29g34.5.3 Object Groups . 29g34.5.4 Audio Presentatio
12、ns 30g35 DTS-UHD Header Tables and Helper Functions . 33g35.1 Overview 33g35.2 Constants, Tables and Helper Functions 33g35.2.1 Fixed Point Constants . 33g35.2.2 Lookup Tables 33g35.2.2.1 Scale Factor Table . 33g35.2.2.2 Long Term Loudness Measure Table 33g35.2.2.3 Per-Object Long Term Loudness Meas
13、ure Table . 33g35.2.2.4 Quantization Table for DRC Fast Attack Smoothing Constant. 34g35.2.2.5 Quantization Table for DRC Fast Release Smoothing Constant . 34g35.2.2.6 Quantization Table for DRC Slow to Fast Threshold . 34g35.2.2.7 Inverse Quantization Table for the Exponential Window Smoothing Para
14、meter Lambda 34g35.2.3 Helper Functions . 35g35.2.3.1 ExtractVarLenBitFields 35g35.2.3.2 UpdateCode . 35g35.2.3.3 CountBitsSet_to_1 37g35.2.3.4 GetPtrToCurrentByte 37g35.2.3.5 GetBitCounter . 37g35.2.3.6 AdvanceBitRead pointer . 37g35.3 Interfaces for Extracting Metadata Frame 38g35.3.1 Overview of
15、APIs . 38g35.3.2 Audio Presentation Selection 38g35.3.3 Play Default Presentation 38g3ETSI ETSI TS 103 491 V1.1.1 (2017-04)4 5.3.4 Play Selected Presentation 39g35.3.5 Play from a List of Objects . 39g36 DTS-UHD Metadata Header Parsing . 39g36.1 Overview 39g36.2 UnpackMDFrame . 40g36.3 Functions and
16、 Tables Supporting UnpackMDFrame . 42g36.3.1 ResetMDChunks. 42g36.3.2 Metadata Chunk Types . 42g36.3.3 Audio Presentation Index 43g36.3.4 ExtractMDChunkObjIDList . 43g36.3.5 Parameters in ExtractMDChunkObjIDList . 44g36.3.5.1 m_unNumObjects . 44g36.3.5.2 unNumBitsforObjID . 44g36.3.5.3 m_unObjectID
17、. 44g36.3.6 Check if Desired Object is in Current Presentation 44g36.3.7 Reserved and Byte Alignment Fields . 45g36.3.8 Metadata Chunk CRC . 46g36.4 Frame Table of Contents (FTOC) 47g36.4.1 Overview of the FTOC . 47g36.4.2 FTOC Class Parameters 47g36.4.3 Extract FTOC 48g36.4.4 Parameters for FTOC 49
18、g36.4.4.1 unSyncWord 49g36.4.4.2 bSyncFrameFlag . 49g36.4.4.3 unFTOCPayloadinBytes . 49g36.4.5 Stream Parameters 49g36.4.6 Parameters for ExtractStreamParams 50g36.4.6.1 Full Channel Based Mix Flag 50g36.4.6.2 CRC Test . 51g36.4.6.3 Stream Version Number 51g36.4.6.4 Base Duration 51g36.4.6.5 Frame D
19、uration . 51g36.4.6.6 Clock Rate . 51g36.4.6.7 Time Code Parameters 52g36.4.6.8 Audio Sampling Rate 52g36.4.6.9 Number of Audio Samples 52g36.4.6.10 Reserved Flag 52g36.4.6.11 Object Interactivity Limits Present Flag . 52g36.4.7 ResolveAudPresParams 52g36.4.8 Parameter for ResolveAudPresParams . 53g
20、36.4.8.1 Number of Audio Presentations 53g36.4.9 Extract Audio Presentation Parameters. 53g36.4.10 Parameters for ExtractAudPresParams . 55g36.4.10.1 bAudPresSelectableFlag . 55g36.4.10.2 unDepAuPresMask . 55g36.4.10.3 Explicit Object List Present Flag 55g36.4.11 ExtractExplicitObjectsLists 55g36.4.
21、12 Parameters for ExtractExplicitObjectLists 56g36.4.12.1 Explicit Object List Update Flag . 56g36.4.12.2 Explicit Object List Mask . 56g36.4.12.3 Metadata Describing Presentation Scaling for Different Playback Configurations 56g36.4.12.4 Extract and Save All Audio Presentation Parameters . 56g36.4.
22、13 Navigation Parameters for Metadata and Audio Chunks 57g36.4.14 Parameters for ExtractChunkNaviData . 59g36.4.14.1 Number of Metadata Chunks 59g36.4.14.2 Sizes of Metadata Chunks . 59g36.4.14.3 Metadata Chunks CRC Flag 59g36.4.14.4 Number of Audio Chunks . 59g36.4.14.5 Audio Chunk Handler ResetLis
23、t . 59g36.4.14.6 ResetAudioChunkPresentFlags. 59g36.4.14.7 Audio Chunk Index . 60g3ETSI ETSI TS 103 491 V1.1.1 (2017-04)5 6.4.14.8 FindAudioChunkListIndex . 60g36.4.14.9 Audio Chunk ID Present Flag . 61g36.4.14.10 Audio Chunk ID 61g36.4.14.11 Audio Chunk Size in Bytes . 61g36.4.14.12 Purge List 61g3
24、6.4.15 Peak Bit Rate Smoothing Parameters . 61g36.4.16 Parameters for ExtractPBRSmoothParams . 62g36.4.16.1 m_bVBRSmoothingBufferEnabled. 62g36.4.16.2 nuBitsforCumACPayload . 62g36.4.16.3 m_nuAudioChunksCumulSmoothPayload . 62g36.4.16.4 m_bACFirstXLLSyncPresent . 62g36.4.16.5 nuVBRSmoothingBuffSzkB
25、. 63g36.4.16.6 m_nuInitACXLLDecDlyFrames . 63g36.4.16.7 m_nuACFirstXLLSyncOffsInDWORDS . 63g36.4.17 Reserved Fields . 63g36.4.18 FTOC CRC Word . 64g37 Metadata Chunk (ID = 0x01) . 64g37.1 Overview 64g37.2 Object Class Description and Handler Functions . 64g37.3 Functions Called from UnpackMDFrame 65
26、g37.3.1 ApplyExplObjList2ObjActMask 65g37.3.2 ApplyGroupDefaultObjectActivityMask 66g37.3.3 Find Object Index . 67g37.4 Extract_Main_0x01_MDChunk . 67g37.5 Functions Called from Extract_Main_0x01_MDChunk 68g37.5.1 Presentation Scaling Parameters . 68g37.5.2 Parameters for ExtractPresScalingParams 69
27、g37.5.2.1 bOutScalePresent 69g37.5.2.2 Presentation Scale . 69g37.5.3 m_bMFDistrStaticMDPresent 70g37.6 Static Metadata Distributed Over Multiple Frames 70g37.7 Parameters for ExtractMultiFrameDistribStaticMD . 71g37.7.1 m_unNumStaticMDPackets 71g37.7.2 m_unStaticMDPacketByteSize . 72g37.7.3 m_bStat
28、icMetadataUpdtFlag 72g37.7.4 Metadata Packet Payload 72g37.7.5 Static Loudness and Dynamics Metadata . 72g37.7.6 Parameters for ExtractStaticLandDParams . 74g37.7.6.1 m_bNominalLD_DescriptionFlag . 74g37.7.6.2 Integrated Loudness Parameters 74g37.7.6.3 m_ucNumLongTermLoudnessMsrmSets . 74g37.7.6.4 L
29、ong Term Loudness Measure Parameter Set. 74g37.7.6.5 Parameters for ExtractLTLMParamSet . 75g37.7.6.5.1 m_rLoudness . 75g37.7.6.5.2 m_ucAssociatedAssetType 75g37.7.6.5.3 m_ucLoudnessMsrmType . 76g37.7.6.6 m_bIsLTLoudnMsrsmOffLine 76g37.7.6.7 m_bCustomDRCCurveMDPresent . 77g37.7.6.8 Custom DRC Curves
30、 . 77g37.7.6.9 Parameters for ExtractCustomDRCCurves . 78g37.7.6.9.1 m_ucDRCCurveIndex . 78g37.7.6.9.2 unDRCCurveCode . 79g37.7.6.9.3 Get DRC Curve . 79g37.7.6.10 m_bCustomDRCSmoothMDPresent 80g37.7.6.11 m_rFastAttack . 80g37.7.6.12 m_rSlowAttack . 80g37.7.6.13 m_rFastRelease . 81g37.7.6.14 m_rSlowR
31、elease 81g37.7.6.15 m_rAttackThreshld . 81g37.7.6.16 m_rReleaseThreshld 81g37.7.6.17 Reserved and Byte Alignment Fields 81g3ETSI ETSI TS 103 491 V1.1.1 (2017-04)6 7.8 Extraction of Object Metadata 81g37.8.1 Overview of Object Metadata . 81g37.8.2 ExtractMetadataForObjects 82g37.8.3 Parameters for Ex
32、tractMetadataForObjects 83g37.8.3.1 m_bMixStudioParamsPresent . 83g37.8.3.2 m_ucRadiusRefernceUnitSphereInMeters 83g37.8.3.3 m_unRefScreenHorizontalViewingAngleInDeg . 83g37.8.3.4 m_ucRefScreenAspectRatio 83g37.8.4 Association of 3D Object Metadata to 3D Renderer Type . 83g37.8.5 Parameters for Chec
33、kIfMDIsSuitableforImplObjRenderer 84g37.8.5.1 bMDUsedByAllRenderersFlag . 84g37.8.5.2 ucRequiredRendererType . 84g37.8.5.3 unNumBits2Skip . 85g37.8.6 m_bObjStaticFlag . 85g37.8.7 Extraction of 3D Object / Object Group Metadata . 85g37.8.8 Object Group Definition . 87g37.8.9 Parameters for ExtractGro
34、upDefinition 88g37.8.9.1 m_bObjGrpActiveFlag 88g37.8.9.2 bGrpObjRefUpdFlag . 88g37.8.9.3 m_ucNumObjReferencedInGroup 88g37.8.9.4 m_punObjGrpRefIDs . 88g37.8.9.5 bUpdFlag . 88g37.8.9.6 m_unWithinGrpObjActMask 88g37.8.9.7 m_bObjGroupMDExtensionPresent . 88g37.8.9.8 unNumBitsToExtract 88g37.8.9.9 Objec
35、t Group Metadata Extension Fields . 89g37.8.10 3D Object Metadata 89g37.8.11 Parameters for ExtractObjectMetadata . 91g37.8.11.1 m_bObjActiveFlag 91g37.8.11.2 m_ucObjRepresTypeIndex . 91g37.8.11.3 m_ucObjectImportanceLevel 92g37.8.11.4 bObjTypeDescrPresent . 92g37.8.11.5 m_unObjTypeDescrIndex . 93g3
36、7.8.11.6 ucObjAudioChunkIndex . 93g37.8.11.7 m_ucObjNaviWitinACIndex 93g37.8.11.8 m_bPerObjLTLoudnessMDPresent 93g37.8.11.9 Per-Object Loudness Metadata . 93g37.8.11.10 Parameters for ExtractObjectMetadata . 94g37.8.11.10.1 m_rObjIntegrLoudnessMsr . 94g37.8.11.10.2 m_bMatchLDofReplacedObj 94g37.8.11
37、.10.3 m_bMatchLDofSimilarObj . 94g37.8.11.11 Object Interactivity Related Metadata . 94g37.8.11.12 Parameters for ExtractObjectInteractMD 95g37.8.11.12.1 m_bObjInteractiveFlag 95g37.8.11.12.2 m_bObjInterLimitsFlag . 95g37.8.11.12.3 m_unMaxInterObjGainBoostdB . 95g37.8.11.12.4 m_unMaxInterObjGainAtte
38、ndB 96g37.8.11.12.5 m_unObjInterPosMaxDeltaAzim 96g37.8.11.12.6 m_unObjInterPosMaxDeltaElev . 96g37.8.11.13 Metadata for Channel Mask Parameters . 96g37.8.11.14 Parameters for ExtractChMaskParams 97g37.8.11.14.1 m_ucChLayoutIndex . 97g37.8.11.14.2 m_uint32ChActivityMask . 97g37.8.11.14.3 Count the N
39、umber of Active Channels 98g37.8.11.15 Per Object Renderer Configuration Parameters 98g37.8.11.16 Parameters for ExtractRendererConfigParams 99g37.8.11.16.1 m_bEnhancedREConfigParamsPresent . 99g37.8.11.16.2 m_bUseDivergApperObjSpread 99g37.8.11.16.3 m_bEnableSnaptoSpkrs . 99g37.8.11.16.4 m_unSnap2S
40、pkrSpherCapAngle . 99g37.8.11.16.5 m_unRendrerExcludedSpkrsChMask 100g37.8.11.16.6 m_bAudioObjLinked2VisualObj 100g3ETSI ETSI TS 103 491 V1.1.1 (2017-04)7 7.8.11.17 m_ucNumWaveFormsInObj . 100g37.8.11.18 Metadata Describing Ambisonic Representation 100g37.8.11.19 Parameters for ExtractAmbisonicsMD .
41、 102g37.8.11.19.1 m_ucAmbixAdaptorMtrxIndicator 102g37.8.11.19.2 m_ucAmbisonicRepresOrder 102g37.8.11.19.3 nuWfToACNContribMask 103g37.8.11.19.4 Non-zero Entries of the Adaptor Matrix 103g37.8.11.20 m_bObjectRendExceptPresent 103g37.8.11.21 Object Properties with Multiple Updates Per Frame . 104g37.
42、8.11.22 Parameters for ExtractInvQuantMultiUpdtObjMD . 105g37.8.11.22.1 Initialize Multiple Update Object Metadata 105g37.8.11.22.2 m_bPerSamplPeriodObjMDUpdFlag 106g37.8.11.22.3 m_ppObjGain 106g37.8.11.22.4 m_ucNum3DSourcesInObj . 107g37.8.11.22.5 unsrc_index (3D Source Index) . 107g37.8.11.23 m_rP
43、erObjExpWinLambda . 107g37.8.11.24 m_bObjecMDExtensionPresent 107g37.8.11.25 Size of Object Metadata Extension Fields 107g37.8.11.26 Object Metadata Extension Fields . 108g37.8.11.27 Extraction of 3D Source Properties . 108g37.8.11.28 Parameters for Extract3DSourceProperties . 109g37.8.11.28.1 m_3DS
44、rcTypeIndex 109g37.8.11.28.2 m_3DSrcRadius . 109g37.8.11.28.3 m_3DSrcAzimuth 110g37.8.11.28.4 m_3DSrcElevation 110g37.8.11.28.5 m_3DSrcRadiusAux 110g37.8.11.28.6 m_3DSrcSpreadParamOne 111g37.8.11.28.7 m_3DSrcSpreadParamTwo . 111g37.8.11.29 Extract Rendering Exception Object Metadata . 112g37.8.11.30
45、 Parameters for ExtractREObjectMD . 113g37.8.11.30.1 bObjectRendExceptUpdateFlag 113g37.8.11.30.2 m_bUseREMForObjWithSameFullBWChMask . 114g37.8.11.30.3 ucNumRESets . 114g37.8.11.30.4 bContribCoeffsSigned . 114g37.8.11.30.5 unREChannelMask 114g37.8.11.30.6 bExtendREtoSuperSetLayoutsFlag . 114g37.8.1
46、1.30.7 Checking Applicability of the RE Parameter Set 114g37.8.11.30.8 nuREMixBusChContribMask . 115g37.8.11.30.9 m_nRECoeffsMatrix . 115g37.8.11.30.10 Metadata Packet Payload . 115g38 ACE for DTS-UHD 115g38.1 Overview 115g38.2 Fundamental Bitstream Operations for ACE 117g38.2.1 Align . 117g38.2.2 S
47、kip . 117g38.2.3 BitsUsed 117g38.2.4 BitsLeft . 118g38.2.5 BitsTotal . 118g38.2.6 ReadBit . 118g38.2.7 ReadBool 118g38.2.8 ReadUint. 119g38.2.9 ReadInt 119g38.2.10 ReadUnary 119g38.2.11 ReadUniform 120g38.2.12 ReadGolomb . 120g38.2.13 ReadGolombLimited 120g38.2.14 ReadGolombWithParams . 121g38.2.15
48、ReadVLC 121g38.2.16 ReadLimitsVLC 122g38.2.17 ReadNonUniformFiveTen 123g38.3 Auxiliary Functions 123g3ETSI ETSI TS 103 491 V1.1.1 (2017-04)8 8.3.1 NumBits 123g38.3.2 Modular 123g38.3.3 NegativeRiceMap . 124g38.3.4 PositiveRiceMap . 124g38.3.5 CenterMap 124g38.3.6 Rand 125g38.4 ACE Data Types . 125g3
49、8.4.1 FixedPoint. 125g38.4.2 Fixed Point Instances 130g39 ACE Decoder . 131g39.1 Overview 131g39.2 Bitstream 131g39.2.1 Bitstream Data and Method 131g39.2.2 read_bitstream . 131g39.3 ACE Frames . 132g39.3.1 Frame Data and Methods 132g39.3.2 read_decode_frame . 132g39.3.3 Function Supporting read_decode_frame . 133g39.3.3.1 read_padding . 133g39.4 ACE Frame Header 133g39.4.1 Frame Header Data and Methods . 133g39.4.2 read_frame_header 134g39.4.3 Functions used by read_frame_header 135g39.4.3.1 read_is_sync 135g39.4.3.2 read_enable_deemphasis . 135g39.4.3.3 read_frame_durat