Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG
(ISO/IEC JTC1/SC29/WG11 and ITU-T SG16 Q.6)
24th Meeting: Geneva, CH, 29 June – 5 July, 2007
Document: JVT-X072
Filename: JVT-X072.doc
Title:
H.264/MPEG-4 AVC Reference Software Manual
Status: Input Document to JVT
Purpose: Proposed Amended Draft
Tel: +1 (818) 823-2842
+1 (818) 823-2827
+49 30 31002-209
+1 (425) 703-5308
Author(s) or
Contact(s):
Alexis Michael Tourapis
Athanasios Leontaris
Dolby Laboratories Inc.
3601 West Alameda Ave.
Burbank, CA, 91505, USA
Karsten Sühring
Image Processing Department
Fraunhofer-Institute HHI
Einsteinufer 37
10587 Berlin, Germany
Gary Sullivan
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052 USA
Email: alexis.tourapis@dolby.com
athanasios.leontaris@dolby.com
Karsten.Suehring@hhi.fraunhofer.de
garysull@microsoft.com
Source: Dolby Laboratories Inc., Fraunhofer-Institute HHI, Microsoft Corporation
_____________________________
Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG
(ISO/IEC JTC1/SC29/WG11 and ITU-T SG16 Q.6)
H.264/MPEG-4
AVC
R
EFERENCE
S
OFTWARE
M
ANUAL
July, 2007
Revision Sheet
User’s Manual Page i
Revision Sheet
Release No. Date Author Revision Description
Rev. 0 10/08/04 AT/KS/GS Initial version of Reference Software Manual
Rev. 1 01/12/05 AT/KS/GS
Amendment to original document to reflect modified and
new parameters
Rev. 2 01/18/05 AT/KS/GS Amendment based on meeting notes
Rev. 3 02/15/05 TO Various Document updates
Rev. 4 04/13/05 AT/KS/GS
Addition of new parameters supported in software such as
Fast Mode parameters and Adaptive Offset Rounding
Rev. 5 10/12/05 AT Parameter updates. Addition of new FME parameters
Rev. 6 04/02/06 AT/KS/GS
Parameter updates. Addition of new FME parameters.
Addition of limitations section.
Rev. 7 10/16/06 AT/AL
Rev. 8 4/14/07 AT/AL/KS Additions of new parameters from JM version 12.2
Rev.9 7/01/07 AT/AL/KS Additions of new parameters from JM version 12.3
AT : Alexis Michael Tourapis (alexis.tourapis@dolby.com)
GS : Gary Sullivan (garysull@windows.microsoft.com)
KS : Karsten Sühring (Karsten.Suehring@hhi.fraunhofer.de)
TO : Tobias Oelbaum (oelbaum@tum.de)
AL : Athanasios Leontaris (athanasios.leontaris@dolby.com)
1. General Information
H.264/MPEG-4 AVC Reference Software Manual Page ii
H.264/MPEG-4 AVC REFERENCE SOFTWARE MANUAL
TABLE OF CONTENTS
Page #
1.
GENERAL INFORMATION ........................................................................................................................ 1-1
1.0
S
YSTEM
O
VERVIEW
.................................................................................................................................. 1-1
1.1
P
ROJECT
R
EFERENCES
.............................................................................................................................. 1-1
1.2
A
UTHORIZED
U
SE
P
ERMISSION
................................................................................................................. 1-1
1.3
P
OINTS OF
C
ONTACT
................................................................................................................................. 1-1
1.3.1 Information .............................................................................................................................................. 1-1
1.3.2 Coordination............................................................................................................................................ 1-2
1.3.3 Bug Reporting.......................................................................................................................................... 1-2
1.4
O
RGANIZATION OF THE
M
ANUAL
.............................................................................................................. 1-2
1.5
A
CRONYMS AND
A
BBREVIATIONS
............................................................................................................. 1-2
2.
INSTALLATION AND COMPILATION .................................................................................................... 2-1
2.1
W
INDOWS USING
MS
V
ISUAL
S
TUDIO
6.................................................................................................... 2-1
2.2
W
INDOWS USING
MS
V
ISUAL
S
TUDIO
.NET ............................................................................................. 2-1
2.3
UNIX
AND
W
INDOWS USING GCC
(GNU
C
OMPILER
C
OLLECTION
)........................................................... 2-1
3.
USING THE JM ENCODER MODULE...................................................................................................... 3-1
3.1
E
NCODER
S
YNTAX
.................................................................................................................................... 3-1
3.2
E
NCODER
O
UTPUT
.................................................................................................................................... 3-2
3.3
E
NCODER
L
IMITATIONS
............................................................................................................................. 3-5
4.
ENCODER PARAMETERS.......................................................................................................................... 4-1
4.1
F
ILE
I
NPUT
/O
UTPUT
R
ELATED
P
ARAMETERS
............................................................................................ 4-1
4.1.1 InputFile .................................................................................................................................................. 4-1
4.1.2 RGBInput ................................................................................................................................................. 4-1
4.1.3 YUVFormat.............................................................................................................................................. 4-1
4.1.4 BitDepthLuma.......................................................................................................................................... 4-1
4.1.5 BitDepthChroma...................................................................................................................................... 4-2
4.1.6 InputHeaderLength.................................................................................................................................. 4-2
4.1.7 FrameRate ............................................................................................................................................... 4-2
4.1.8 SourceWidth............................................................................................................................................. 4-2
4.1.9 SourceHeight ........................................................................................................................................... 4-2
4.1.10 StartFrame............................................................................................................................................. 4-2
4.1.11 FramesToBeEncoded............................................................................................................................. 4-2
4.1.12 OutputFile.............................................................................................................................................. 4-3
4.1.13 ReconFile............................................................................................................................................... 4-3
4.1.14 TraceFile................................................................................................................................................ 4-3
4.1.15 ReportFrameStats .................................................................................................................................. 4-3
4.1.16 DisplayEncParams ................................................................................................................................ 4-3
4.1.17 Verbose .................................................................................................................................................. 4-3
4.2
P
RIMARY
C
ONTROL
P
ARAMETERS
............................................................................................................ 4-4
4.2.1 ProfileIDC ............................................................................................................................................... 4-4
4.2.2 IntraProfile .............................................................................................................................................. 4-4
4.2.3 LevelIDC.................................................................................................................................................. 4-4
4.2.4 IntraPeriod .............................................................................................................................................. 4-5
4.2.5 IDRPeriod................................................................................................................................................ 4-5
1. General Information
H.264/MPEG-4 AVC Reference Software Manual Page iii
4.2.6 EnableIDRGop ........................................................................................................................................ 4-5
4.2.7 IntraDelay................................................................................................................................................ 4-5
4.2.8 EnableOpenGOP ..................................................................................................................................... 4-5
4.2.9 QPISlice................................................................................................................................................... 4-5
4.2.10 QPPSlice................................................................................................................................................ 4-6
4.2.11 ChromaQPOffset.................................................................................................................................... 4-6
4.2.12 CbQPOffset............................................................................................................................................ 4-6
4.2.13 CrQPOffset ............................................................................................................................................ 4-6
4.2.14 FrameSkip.............................................................................................................................................. 4-6
4.2.15 MEDistortionFPel.................................................................................................................................. 4-6
4.2.16 MEDistortionHPel................................................................................................................................. 4-7
4.2.17 MEDistortionQPel................................................................................................................................. 4-7
4.2.18 MDDistortion......................................................................................................................................... 4-7
4.2.19 ChromaMCBuffer .................................................................................................................................. 4-7
4.2.20 ChromaMEEnable ................................................................................................................................. 4-8
4.2.21 DisableSubpelME .................................................................................................................................. 4-8
4.2.22 SearchRange.......................................................................................................................................... 4-8
4.2.23 NumberReferenceFrames....................................................................................................................... 4-8
4.2.24 PList0References.................................................................................................................................... 4-8
4.2.25 DisposableP........................................................................................................................................... 4-8
4.2.26 DispPQPOffset....................................................................................................................................... 4-8
4.2.27 Log2MaxFNumMinus4 .......................................................................................................................... 4-9
4.2.28 Log2MaxPOCLsbMinus4 ...................................................................................................................... 4-9
4.2.29 GenerateMultiplePPS ............................................................................................................................ 4-9
4.2.30 ResendPPS............................................................................................................................................. 4-9
4.2.31 PicOrderCntType................................................................................................................................... 4-9
4.2.32 UseConstrainedIntraPred...................................................................................................................... 4-9
4.2.33 MbLineIntraUpdate ............................................................................................................................... 4-9
4.2.34 RandomIntraMBRefresh ...................................................................................................................... 4-10
4.2.35 Inter/Intra Mode Prediction Control ................................................................................................... 4-10
4.2.35.1 InterSearch16x16 ............................................................................................................................................4-10
4.2.35.2 InterSearch16x8 ..............................................................................................................................................4-10
4.2.35.3 InterSearch8x16 ..............................................................................................................................................4-10
4.2.35.4 InterSearch8x8 ................................................................................................................................................4-10
4.2.35.5 InterSearch8x4 ................................................................................................................................................4-10
4.2.35.6 InterSearch4x8 ................................................................................................................................................4-10
4.2.35.7 InterSearch4x4 ................................................................................................................................................4-10
4.2.35.8 Intra4x4ParDisable..........................................................................................................................................4-10
4.2.35.9 Intra4x4DiagDisable .......................................................................................................................................4-10
4.2.35.10 Intra4x4DirDisable........................................................................................................................................4-11
4.2.35.11 Intra16x16ParDisable....................................................................................................................................4-11
4.2.35.12 Intra16x16PlaneDisable ................................................................................................................................4-11
4.2.35.13 IntraDisableInterOnly....................................................................................................................................4-11
4.2.35.14 ChromaIntraDisable ......................................................................................................................................4-11
4.2.35.15 FastCrIntraDecision ......................................................................................................................................4-11
4.2.35.16 EnableIPCM..................................................................................................................................................4-11
4.2.36 Loop Filter Control.............................................................................................................................. 4-11
4.2.36.1 LoopFilterParametersFlag...............................................................................................................................4-11
4.2.36.2 LoopFilterDisable ...........................................................................................................................................4-11
4.2.36.3 LoopFilterAlphaC0Offset................................................................................................................................4-12
4.2.36.4 LoopFilterBetaOffset.......................................................................................................................................4-12
4.2.37 Weighted Prediction Parameters......................................................................................................... 4-12
4.2.37.1 WeightedPrediction.........................................................................................................................................4-12
4.2.37.2 WeightedBiprediction .....................................................................................................................................4-12
4.2.37.3 UseWeightedReferenceME .............................................................................................................................4-12
4.2.38 LastFrameNumber............................................................................................................................... 4-12
4.2.39 ChangeQPStart.................................................................................................................................... 4-13
- 1
- 2
前往页