1 | \documentclass[a4paper,11pt]{jctvcdoc} |
---|
2 | |
---|
3 | \usepackage{geometry}[2010/02/12] |
---|
4 | |
---|
5 | \usepackage{hyperref} |
---|
6 | \hypersetup{colorlinks=true} |
---|
7 | \usepackage{color,soul} |
---|
8 | |
---|
9 | \usepackage[position=bottom]{subfig} |
---|
10 | \captionsetup[subfloat]{position=top} |
---|
11 | \usepackage{multirow} |
---|
12 | \usepackage{dcolumn} |
---|
13 | \newcolumntype{.}{D{.}{.}{-1}} |
---|
14 | \usepackage{colortbl} |
---|
15 | \usepackage{makecell} |
---|
16 | \usepackage{longtable} |
---|
17 | \usepackage{array} |
---|
18 | \usepackage{algorithm2e} |
---|
19 | |
---|
20 | \usepackage[strings]{underscore} |
---|
21 | \usepackage{csquotes} |
---|
22 | \MakeOuterQuote{"} |
---|
23 | \EnableQuotes |
---|
24 | |
---|
25 | \newcommand\None{} |
---|
26 | \newcommand\NotSet{} |
---|
27 | \makeatletter |
---|
28 | \newcommand{\Option}[1]{\ifx\optOption\@empty\gdef\optOption{#1}\else\g@addto@macro\optOption{ \\ #1}\fi} |
---|
29 | \newcommand{\ShortOption}[1]{\ifx\optShortOption\@empty\gdef\optShortOption{#1}\else\g@addto@macro\optShortOption{ \\ #1}\fi} |
---|
30 | \newcommand{\Default}[1]{\ifx\optDefault\@empty\gdef\optDefault{#1}\else\g@addto@macro\optDefault{ \\ #1}\fi} |
---|
31 | \newcommand{\clearOptions}{\gdef\optOption{}\gdef\optShortOption{}\gdef\optDefault{}} |
---|
32 | \makeatother |
---|
33 | \newenvironment{OptionTable}[1]{% |
---|
34 | \footnotesize |
---|
35 | \def\arraystretch{1.8} |
---|
36 | \clearOptions |
---|
37 | \begin{longtable}{l<{\makecell[tl]{\optOption}}% |
---|
38 | >{\texttt\bgroup}l<{\makecell[tl]{\optShortOption}\egroup}% |
---|
39 | c<{\makecell[tc]{\optDefault}}% |
---|
40 | >{\def\arraystretch{1.0}}p{0.5\textwidth}<{\clearOptions}} |
---|
41 | \caption{#1} \\ |
---|
42 | \hspace*{12em}&&\hspace*{8em}&\kill |
---|
43 | \hline |
---|
44 | \thead{Option} & |
---|
45 | \egroup\thead{Shorthand}\bgroup & |
---|
46 | \thead{Default} & |
---|
47 | \thead{Description} \\ |
---|
48 | \hline |
---|
49 | \endfirsthead |
---|
50 | \caption[]{#1 (Continued)} \\ |
---|
51 | \hspace*{12em}&&\hspace*{8em}&\kill |
---|
52 | \hline |
---|
53 | \thead{Option} & |
---|
54 | \egroup\thead{Shorthand}\bgroup & |
---|
55 | \thead{Default} & |
---|
56 | \thead{Description} \\ |
---|
57 | \hline |
---|
58 | \endhead |
---|
59 | \multicolumn{4}{r}{Continued...}\\ |
---|
60 | \hline |
---|
61 | \endfoot |
---|
62 | \hline |
---|
63 | \endlastfoot |
---|
64 | }{% |
---|
65 | \hline |
---|
66 | \end{longtable} |
---|
67 | } |
---|
68 | |
---|
69 | \newenvironment{MacroTable}[1]{% |
---|
70 | \footnotesize |
---|
71 | \def\arraystretch{1.3} |
---|
72 | \clearOptions |
---|
73 | \begin{longtable}{lcp{0.5\textwidth}} |
---|
74 | \caption{#1} \\ |
---|
75 | %\hspace*{12em}&&\hspace*{8em}&\kill |
---|
76 | \hline |
---|
77 | \thead{Option} & |
---|
78 | \thead{Default} & |
---|
79 | \thead{Description} \\ |
---|
80 | \hline |
---|
81 | \endfirsthead |
---|
82 | \caption[]{#1 (Continued)} \\ |
---|
83 | \hline |
---|
84 | \thead{Option} & |
---|
85 | \thead{Default} & |
---|
86 | \thead{Description} \\ |
---|
87 | \hline |
---|
88 | \endhead |
---|
89 | \multicolumn{3}{r}{Continued...}\\ |
---|
90 | \hline |
---|
91 | \endfoot |
---|
92 | \hline |
---|
93 | \endlastfoot |
---|
94 | }{% |
---|
95 | \end{longtable} |
---|
96 | } |
---|
97 | |
---|
98 | \title{HM Software Manual} |
---|
99 | \author{% |
---|
100 | Frank Bossen |
---|
101 | \email{frank@bossentech.com} |
---|
102 | \and |
---|
103 | David Flynn |
---|
104 | \email{dflynn@blackberry.com} |
---|
105 | \and |
---|
106 | Karsten S\"uhring |
---|
107 | \email{Karsten.Suehring@hhi.fraunhofer.de} |
---|
108 | } |
---|
109 | |
---|
110 | \jctvcmeeting{} |
---|
111 | \jctvcdocnum{Software Manual} |
---|
112 | \jctvcdocstatus{Software AHG working document} |
---|
113 | \jctvcdocpurpose{Information} |
---|
114 | \jctvcdocsource{AHG chairs} |
---|
115 | |
---|
116 | \begin{document} |
---|
117 | \maketitle |
---|
118 | \begin{abstract} |
---|
119 | This document is a user manual describing usage of reference software |
---|
120 | for the HEVC project. It applies to version 13.0 |
---|
121 | of the software. |
---|
122 | \end{abstract} |
---|
123 | |
---|
124 | \tableofcontents |
---|
125 | \listoftables |
---|
126 | |
---|
127 | \section{General Information} |
---|
128 | Reference software is being made available to provide a reference |
---|
129 | implementation of the draft HEVC standard being developed by the Joint |
---|
130 | Collaborative Team on Video Coding (JCT-VC) regrouping experts from |
---|
131 | ITU-T SG 16 and ISO/IEC SC29 WG11. One of the main goals of the |
---|
132 | reference software is to provide a basis upon which to conduct |
---|
133 | experiments in order to determine which coding tools provide desired |
---|
134 | coding performance. It is not meant to be a particularly efficient |
---|
135 | implementation of anything, and one may notice its apparent |
---|
136 | unsuitability for a particular use. It should not be construed to be a |
---|
137 | reflection of how complex a production-quality implementation of a |
---|
138 | future HEVC standard would be. |
---|
139 | |
---|
140 | This document aims to provide guidance on the usage of the reference |
---|
141 | software. It is widely suspected to be incomplete and suggestions for |
---|
142 | improvements are welcome. Such suggestions and general inquiries may be |
---|
143 | sent to the general JCT-VC email reflector on |
---|
144 | \url{jct-vc@lists.rwth-aachen.de} (registration required). |
---|
145 | |
---|
146 | \subsection*{Bug reporting} |
---|
147 | Bugs should be reported on the issue tracker set up at |
---|
148 | \url{http://hevc.kw.bbc.co.uk/trac/} |
---|
149 | |
---|
150 | \section{Installation and compilation} |
---|
151 | The software may be retrieved from one of the following SVN servers |
---|
152 | (mirrored): |
---|
153 | \begin{itemize} |
---|
154 | \item \url{https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/} |
---|
155 | \item \url{svn://hevc.kw.bbc.co.uk/svn/jctvc-hm/} |
---|
156 | \end{itemize} |
---|
157 | |
---|
158 | Table~\ref{tab:project-files} enumerates various project files that are |
---|
159 | provided for development environments. |
---|
160 | |
---|
161 | \begin{table}[ht] |
---|
162 | \footnotesize |
---|
163 | \caption{Available project files} |
---|
164 | \label{tab:project-files} |
---|
165 | \centering |
---|
166 | \begin{tabular}{ll} |
---|
167 | \hline |
---|
168 | \thead{Environment} & |
---|
169 | \thead{Location of project file} \\ |
---|
170 | % Environment & Location of project file \\ |
---|
171 | \hline |
---|
172 | MS Visual Studio 8 & build/HM_vc8.sln \\ |
---|
173 | MS Visual Studio 9 & build/HM_vc9.sln \\ |
---|
174 | Xcode & HM.xcodeproj \\ |
---|
175 | Linux & build/linux/makefile \\ |
---|
176 | \hline |
---|
177 | \end{tabular} |
---|
178 | \end{table} |
---|
179 | |
---|
180 | %%%% |
---|
181 | %%%% |
---|
182 | %%%% |
---|
183 | \section{Using the encoder} |
---|
184 | \begin{verbatim} |
---|
185 | TAppEncoder [-h] [-c config.cfg] [--parameter=value] |
---|
186 | \end{verbatim} |
---|
187 | |
---|
188 | \begin{table}[ht] |
---|
189 | \footnotesize |
---|
190 | \centering |
---|
191 | \begin{tabular}{lp{0.5\textwidth}} |
---|
192 | \hline |
---|
193 | \thead{Option} & |
---|
194 | \thead{Description} \\ |
---|
195 | \hline |
---|
196 | \texttt{-h} & Prints parameter usage. \\ |
---|
197 | \texttt{-c} & Defines configuration file to use. Multiple configuration files |
---|
198 | may be used with repeated --c options. \\ |
---|
199 | \texttt{--}\emph{parameter}\texttt{=}\emph{value} |
---|
200 | & Assigns value to a given parameter as further described below. |
---|
201 | Some parameters are also supported by shorthand |
---|
202 | "--\em{opt}~\emph{value}".\\ |
---|
203 | \hline |
---|
204 | \end{tabular} |
---|
205 | \end{table} |
---|
206 | |
---|
207 | Sample configuration files are provided in the cfg/ folder. |
---|
208 | |
---|
209 | \subsection{GOP structure table} |
---|
210 | \label{sec:gop-structure} |
---|
211 | Defines the cyclic GOP structure that will be used repeatedly |
---|
212 | throughout the sequence. The table should contain GOPSize lines, |
---|
213 | named Frame1, Frame2, etc. The frames are listed in decoding |
---|
214 | order, so Frame1 is the first frame in decoding order, Frame2 is |
---|
215 | the second and so on. Among other things, the table specifies all |
---|
216 | reference pictures kept by the decoder for each frame. This |
---|
217 | includes pictures that are used for reference for the current |
---|
218 | picture as well as pictures that will be used for reference in |
---|
219 | the future. The encoder will not automatically calculate what |
---|
220 | pictures that has to be kept for future references, they have to |
---|
221 | be specified. Note that some specified reference frames for |
---|
222 | pictures encoded in the very first GOP after an IDR frame might |
---|
223 | not be available. This is handled automatically by the encoder, |
---|
224 | so the reference pictures can be given in the GOP structure table |
---|
225 | as if there were infinitely many identical GOPs before the |
---|
226 | current one. Each line in the table contains the parameters used |
---|
227 | for the corresponding frame, separated by whitespace: |
---|
228 | |
---|
229 | \begin{itemize} |
---|
230 | \item[]\textbf{Type}: Slice type, can be either I, P or B. |
---|
231 | |
---|
232 | \item[]\textbf{POC}: Display order of the frame within a GOP, ranging |
---|
233 | from 1 to GOPSize. |
---|
234 | |
---|
235 | \item[]\textbf{QPOffset}: QP offset is added to the QP parameter to set |
---|
236 | the final QP value to use for this frame. |
---|
237 | |
---|
238 | \item[]\textbf{QPFactor}: Weight used during rate distortion |
---|
239 | optimization. Higher values mean lower quality and less bits. Typical |
---|
240 | range is between |
---|
241 | 0.3 and 1. |
---|
242 | |
---|
243 | \item[]\textbf{tcOffsetDiv2}: In-loop deblocking filter parameter tcOffsetDiv2 |
---|
244 | is added to the base parameter LoopFilterTcOffset_div2 to set the final tc_offset_div2 |
---|
245 | parameter for this picture signalled in the slice segment header. The final |
---|
246 | value of tc_offset_div2 shall be an integer number in the range $-6..6$. |
---|
247 | |
---|
248 | \item[]\textbf{betaOffsetDiv2}: In-loop deblocking filter parameter betaOffsetDiv2 |
---|
249 | is added to the base parameter LoopFilterBetaOffset_div2 to set the final beta_offset_div2 |
---|
250 | parameter for this picture signalled in the slice segment header. The final |
---|
251 | value of beta_offset_div2 shall be an integer number in the range $-6..6$. |
---|
252 | |
---|
253 | \item[]\textbf{temporal_id}: Temporal layer of the frame. A frame cannot |
---|
254 | predict from a frame with a higher temporal id. If a frame with higher |
---|
255 | temporal IDs is listed among a frame's reference pictures, it is |
---|
256 | not used, but is kept for possible use in future frames. |
---|
257 | |
---|
258 | \item[]\textbf{num_ref_pics_active}: Size of reference picture lists L0 |
---|
259 | and L1, indicating how many reference pictures in each direction that |
---|
260 | are used during coding. |
---|
261 | |
---|
262 | \item[]\textbf{num_ref_pics}: The number of reference pictures kept for |
---|
263 | this frame. This includes pictures that are used for reference for the |
---|
264 | current picture as well as pictures that will be used for reference in |
---|
265 | the future. |
---|
266 | |
---|
267 | \item[]\textbf{reference_pictures}: A space-separated list of |
---|
268 | num_ref_pics integers, specifying the POC of the reference pictures |
---|
269 | kept, relative the POC of the current frame. The picture list shall be |
---|
270 | ordered, first with negative numbers from largest to smallest, followed |
---|
271 | by positive numbers from smallest to largest (e.g. \verb|-1 -3 -5 1 3|). |
---|
272 | Note that any pictures not supplied in this list will be discarded and |
---|
273 | therefore not available as reference pictures later. |
---|
274 | |
---|
275 | \item[]\textbf{predict}: Defines the value of the syntax element |
---|
276 | inter_ref_pic_set_prediction_flag. A value of 0 indicates that the |
---|
277 | reference picture set is encoded without inter RPS prediction and the |
---|
278 | subsequent parameters deltaRIdx$-1$, deltaRPS, num_ref_idcs and |
---|
279 | Reference_idcs are ignored and do not need to be present. A value of 1 |
---|
280 | indicates that the reference picture set is encoded with inter |
---|
281 | prediction RPS using the subsequent parameters deltaRIdx$-1$, deltaRPS, |
---|
282 | num_ref_idcs and Reference_idcs in the line. A value of 2 indicates that |
---|
283 | the reference picture set is encoded with inter RPS but only the |
---|
284 | deltaRIdx$-1$ parameters is needed. The deltaRPS, num_ref_idcs and |
---|
285 | Reference_idcs values are automatically derived by the encoder based on |
---|
286 | the POC and refPic values of the current line and the RPS pointed to by |
---|
287 | the deltaRIdx$-1$ parameters. |
---|
288 | |
---|
289 | \item[]\textbf{deltaRIdx$-1$}: The difference between the index of the |
---|
290 | curent RPS and the predictor RPS minus 1. |
---|
291 | |
---|
292 | \item[]\textbf{deltaRPS}: The difference between the POC of the |
---|
293 | predictor RPS and POC the current RPS. |
---|
294 | |
---|
295 | \item[]\textbf{num_ref_idcs}: The number of ref_idcs to encode for the |
---|
296 | current RPS. The value is equal to the value of num_ref_pics of the |
---|
297 | predictor RPS plus 1. |
---|
298 | |
---|
299 | \item[]\textbf{reference_idcs}: A space-separated list of num_ref_idcs |
---|
300 | integers, specifying the ref idcs of the inter RPS prediction. The value |
---|
301 | of ref_idcs may be 0, 1 or 2 indicating that the reference picture is a |
---|
302 | reference picture used by the current picture, a reference picture used |
---|
303 | for future picture or not a reference picture anymore, respectively. The |
---|
304 | first num_ref_pics of ref_idcs correspond to the Reference pictures in |
---|
305 | the predictor RPS. The last ref_idcs corresponds to the predictor |
---|
306 | picture. |
---|
307 | \end{itemize} |
---|
308 | |
---|
309 | For example, consider the coding structure of Figure~\ref{fig:gop-example}. |
---|
310 | This coding structure is of size 4. The pictures are listed in decoding |
---|
311 | order. Frame1 shall therefore describe picture with $\textrm{POC}=4$. It |
---|
312 | references picture 0, and therefore has $-4$ as a reference picture. |
---|
313 | Similarly, Frame2 has a POC of 2, and since it references pictures 0 and |
---|
314 | 4, its reference pictures are listed as \verb|-2 2|. Frame3 is a special |
---|
315 | case: even though it only references pictures with POC 0 and 2, it also |
---|
316 | needs to include the picture with POC 4, which must be kept in order to |
---|
317 | be used as a reference picture in the future. The reference picture list |
---|
318 | for Frame3 therefore becomes \verb|-1 1 3|. Frame4 has a POC of 3 and |
---|
319 | its list of reference pictures is \verb|-1 1|. |
---|
320 | |
---|
321 | \begin{figure}[h] |
---|
322 | \caption{A GOP structure} |
---|
323 | \label{fig:gop-example} |
---|
324 | \centering |
---|
325 | \includegraphics[width=0.7\textwidth]{gop-structure-example} |
---|
326 | \end{figure} |
---|
327 | |
---|
328 | Inter RPS prediction may be used for Frame2, Frame3 and Frame4, hence |
---|
329 | the predict parameter is set to 1 for these frames. Frame2 uses Frame1 |
---|
330 | as the predictor hence the deltaRIdx$-1$ is 0. Similarly for Frame3 and |
---|
331 | Frame4 which use Frame2 and Frame3 as predictors, respectively. The |
---|
332 | deltaRPS is equal to the POC of the predictor minus the POC of the |
---|
333 | current picture, therefore the deltaRPS for Frame2 is $4 -2 = 2$, for |
---|
334 | Frame3 is $2 - 1 = 1$ and for Frame4 is $1 - 3 = -2$. |
---|
335 | |
---|
336 | In Frame2, reference pictures with POC 0 and 2 are used, so the |
---|
337 | reference idcs for Frame2 are \verb|1 1| indicating that the reference |
---|
338 | picture, $-4$, in Frame1 is still a reference picture in Frame2 and |
---|
339 | Frame1 is also a reference picture in Frame2. The reference idcs for |
---|
340 | Frame3 are \verb|1 1 1|. The first and second “1”s indicating that |
---|
341 | the reference pictures "$-2$ $2$" in Frame2 are still reference pictures in |
---|
342 | Frame3 and the last “1” indicating that Frame2 is also a reference |
---|
343 | picture in Frame3. In Frame 4, the reference idcs are \verb|0 1 1 0|. |
---|
344 | The first “0” indicates that the reference pictures “-1” in Frame 3 is |
---|
345 | no longer a reference picture in Frame4. The next two “1”s indicate that |
---|
346 | the reference pictures “$1$ $3$” are now reference pictures of Frame4. |
---|
347 | The final “0” indicates that Frame3 is not a reference picture. |
---|
348 | |
---|
349 | In order to specify this to the encoder, the parameters in |
---|
350 | Table~\ref{tab:gop-example} could be used. |
---|
351 | |
---|
352 | \begin{table}[ht] |
---|
353 | \footnotesize |
---|
354 | \caption{GOP structure example} |
---|
355 | \label{tab:gop-example} |
---|
356 | \centering |
---|
357 | \begin{tabular}{lrrrr} |
---|
358 | \hline |
---|
359 | \thead{} & |
---|
360 | \thead{Frame1} & |
---|
361 | \thead{Frame2} & |
---|
362 | \thead{Frame3} & |
---|
363 | \thead{Frame4} \\ |
---|
364 | \hline |
---|
365 | Type & P & B & B & B \\ |
---|
366 | POC & 4 & 2 & 1 & 3 \\ |
---|
367 | QPoffset & 1 & 2 & 3 & 3 \\ |
---|
368 | QPfactor & 0.5 & 0.5 & 0.5 & 0.5 \\ |
---|
369 | tcOffsetDiv2 & 0 & 1 & 2 & 2 \\ |
---|
370 | betaOffsetDiv2 & 0 & 0 & 0 & 0 \\ |
---|
371 | temporal_id & 0 & 1 & 2 & 2 \\ |
---|
372 | num_ref_pics_active & 1 & 1 & 1 & 1 \\ |
---|
373 | num_ref_pics & 1 & 2 & 3 & 2 \\ |
---|
374 | reference_pictures & $-$4 & $-$2 2 & $-$1 1 3 & $-$1 1 \\ |
---|
375 | predict & 0 & 1 & 1 & 1 \\ |
---|
376 | deltaRIdx$-$1 & & 0 & 0 & 0 \\ |
---|
377 | deltaRPS & & 2 & 1 & $-$2 \\ |
---|
378 | num_ref_idcs & & 2 & 3 & 4 \\ |
---|
379 | reference_idcs & & 1 1 & 1 1 1 & 0 1 1 0 \\ |
---|
380 | \hline |
---|
381 | \end{tabular} |
---|
382 | \end{table} |
---|
383 | |
---|
384 | Here, the frames used for prediction have been given higher |
---|
385 | quality by assigning a lower QP offset. Also, the non-reference |
---|
386 | frames have been marked as belonging to a higher temporal layer, |
---|
387 | to make it possible to decode only every other frame. Note: each |
---|
388 | line should contain information for one frame, so this |
---|
389 | configuration would be specified as: |
---|
390 | |
---|
391 | \begin{verbatim} |
---|
392 | Frame1: P 4 1 0.5 0 0 0 1 1 -4 0 |
---|
393 | Frame2: B 2 2 0.5 1 0 1 1 2 -2 2 1 0 2 2 1 1 |
---|
394 | Frame3: B 1 3 0.5 2 0 2 1 3 -1 1 3 1 0 1 3 1 1 1 |
---|
395 | Frame4: B 3 3 0.5 2 0 2 1 2 -1 1 1 0 -2 4 0 1 1 0 |
---|
396 | \end{verbatim} |
---|
397 | |
---|
398 | The values of deltaRIdx$-1$, deltaRPS, num_ref_idcs and reference |
---|
399 | idcs of Frame$K$ can be derived from the POC value of Frame$_K$ and |
---|
400 | the POC, num_ref_pics and reference_pictures values of Frame$_M$, where |
---|
401 | $K$ is the index of the RPS to be inter coded and the $M$ is the |
---|
402 | index of the reference RPS, as follows. |
---|
403 | |
---|
404 | \setlength{\algomargin}{2em} |
---|
405 | \begin{algorithm}[h] |
---|
406 | \SetKwData{deltaRIdx}{deltaRIdx} |
---|
407 | \SetKwData{deltaRPS}{deltaRPS} |
---|
408 | \SetKwData{numrefidcs}{num_ref_idcs} |
---|
409 | \SetKwData{numrefpics}{num_ref_pics} |
---|
410 | \SetKwData{referencepictures}{reference_pictures} |
---|
411 | \SetKwData{referenceidcs}{reference_idcs} |
---|
412 | \SetKwData{POC}{POC} |
---|
413 | |
---|
414 | $\deltaRIdx_K - 1 \leftarrow K - M - 1$ \; |
---|
415 | $\deltaRPS_K \leftarrow \POC_M - \POC_K$ \; |
---|
416 | $\numrefidcs_K \leftarrow \numrefpics_M + 1$ \; |
---|
417 | |
---|
418 | \For{$j \leftarrow 0$ \KwTo $\numrefpics_M$}{ |
---|
419 | \For{$i \leftarrow 0$ \KwTo $\numrefidcs_K$}{ |
---|
420 | \eIf{$\referencepictures_{M,j} + \deltaRPS_K == \referencepictures_{K,i}$}{ |
---|
421 | \lIf{$\referencepictures_{K,i}$ is used by the current frame}{ |
---|
422 | $\referenceidcs_{K,j} = 1$} \; |
---|
423 | \lElse{$\referenceidcs_{K,j} = 2$} \; |
---|
424 | }{ |
---|
425 | $\referenceidcs_K[j] = 0$ \; |
---|
426 | } |
---|
427 | } |
---|
428 | } |
---|
429 | |
---|
430 | \tcc{$\referencepictures_{M,\numrefpics_M}$ does not exist and is assumed to be 0} |
---|
431 | \end{algorithm} |
---|
432 | |
---|
433 | Note: The above (automatic) generation of the inter RPS parameter |
---|
434 | values has been integrated into the encoder, and is activated by |
---|
435 | the value of predict $= 2$ followed by the value of deltaRIdx$-1$, |
---|
436 | only, as described above. |
---|
437 | |
---|
438 | |
---|
439 | |
---|
440 | %%%% |
---|
441 | %%%% |
---|
442 | %%%% |
---|
443 | \newgeometry{tmargin=1.6cm,lmargin=1cm,rmargin=1cm,bmargin=1in,nohead} |
---|
444 | \subsection{Encoder parameters} |
---|
445 | |
---|
446 | %% |
---|
447 | %% File, I/O and source parameters |
---|
448 | %% |
---|
449 | \begin{OptionTable}{File, I/O and source parameters} |
---|
450 | \Option{InputFile} & |
---|
451 | \ShortOption{-i} & |
---|
452 | \Default{\NotSet} & |
---|
453 | Specifies the input video file. |
---|
454 | |
---|
455 | Video data must be in a raw 4:2:0 planar format (Y$'$CbCr). |
---|
456 | |
---|
457 | Note: When the bit depth of samples is larger than 8, each sample is encoded in |
---|
458 | 2 bytes (little endian, LSB-justified). |
---|
459 | \\ |
---|
460 | |
---|
461 | \Option{BitstreamFile} & |
---|
462 | \ShortOption{-b} & |
---|
463 | \Default{\NotSet} & |
---|
464 | Specifies the output coded bit stream file. |
---|
465 | \\ |
---|
466 | |
---|
467 | \Option{ReconFile} & |
---|
468 | \ShortOption{-o} & |
---|
469 | \Default{\NotSet} & |
---|
470 | Specifies the output locally reconstructed video file. |
---|
471 | \\ |
---|
472 | |
---|
473 | \Option{SourceWidth}% |
---|
474 | \Option{SourceHeight} & |
---|
475 | \ShortOption{-wdt}% |
---|
476 | \ShortOption{-hgt} & |
---|
477 | \Default{0}% |
---|
478 | \Default{0} & |
---|
479 | Specifies the width and height of the input video in luma samples. |
---|
480 | \\ |
---|
481 | |
---|
482 | \Option{InputBitDepth} & |
---|
483 | \ShortOption{\None} & |
---|
484 | \Default{8} & |
---|
485 | Specifies the bit depth of the input video. |
---|
486 | \\ |
---|
487 | |
---|
488 | \Option{InternalBitDepth} & |
---|
489 | \ShortOption{\None} & |
---|
490 | \Default{0 \\ (InputBitDepth)} & |
---|
491 | Specifies the bit depth used for coding. |
---|
492 | |
---|
493 | If the input video is a different bit depth to InternalBitDepth, it is |
---|
494 | automatically converted by: |
---|
495 | \begin{displaymath} |
---|
496 | \left\lfloor |
---|
497 | \frac{\mathrm{Pel} * 2^{\mathrm{InternalBitDepth}}}{ |
---|
498 | 2^{\mathrm{InputBitDepth}}} |
---|
499 | \right\rfloor |
---|
500 | \end{displaymath} |
---|
501 | |
---|
502 | Note: The effect of this option is as if the input video is externally |
---|
503 | converted to the InternalBitDepth and then coded with this value as |
---|
504 | InputBitDepth. The codec has no notion of two different bit depths. |
---|
505 | \\ |
---|
506 | |
---|
507 | \Option{OutputBitDepth} & |
---|
508 | \ShortOption{\None} & |
---|
509 | \Default{0 \\ (InternalBitDepth)} & |
---|
510 | Specifies the bit depth of the output locally reconstructed video file. |
---|
511 | |
---|
512 | Note: This option has no effect on the decoding process. |
---|
513 | \\ |
---|
514 | |
---|
515 | \Option{InputBitDepthC}% |
---|
516 | \Option{InternalBitDepthC}% |
---|
517 | \Option{OutputBitDepthC} & |
---|
518 | \ShortOption{\None} & |
---|
519 | \Default{(InputBitDepth)}% |
---|
520 | \Default{(InternalBitDepth)}% |
---|
521 | \Default{(InternalBitDepthC)} & |
---|
522 | Specifies the various bit-depths for chroma components. These only need |
---|
523 | to be specified if non-equal luma and chroma bit-depth processing is |
---|
524 | required. |
---|
525 | \\ |
---|
526 | |
---|
527 | \Option{ConformanceMode} & |
---|
528 | \ShortOption{\None} & |
---|
529 | \Default{0} & |
---|
530 | Specifies the conformance mode (cropping/padding parameters) to be applied to the input |
---|
531 | video. The following modes are available: |
---|
532 | \par |
---|
533 | \begin{tabular}{cp{0.45\textwidth}} |
---|
534 | 0 & No cropping / padding \\ |
---|
535 | 1 & Automatic padding to the next minimum CU size \\ |
---|
536 | 2 & Padding according to parameters HorizontalPadding and VerticalPadding \\ |
---|
537 | 3 & Cropping according to parameters ConfLeft, ConfRight, ConfTop and ConfBottom \\ |
---|
538 | \end{tabular} |
---|
539 | \\ |
---|
540 | |
---|
541 | \Option{HorizontalPadding}% |
---|
542 | \Option{VerticalPadding} & |
---|
543 | \ShortOption{-pdx}% |
---|
544 | \ShortOption{-pdy} & |
---|
545 | \Default{0} & |
---|
546 | Specifies the horizontal and vertical padding to be applied to the input |
---|
547 | video in luma samples. Must be a multiple of the chroma resolution |
---|
548 | (e.g. a multiple of two for 4:2:0). |
---|
549 | \\ |
---|
550 | |
---|
551 | \Option{ConfLeft}% |
---|
552 | \Option{ConfRight}% |
---|
553 | \Option{ConfTop}% |
---|
554 | \Option{ConfBottom} & |
---|
555 | \ShortOption{\None} & |
---|
556 | \Default{0} & |
---|
557 | Specifies the horizontal and vertical cropping to be applied to the |
---|
558 | input video in luma samples. Must be a multiple of the chroma |
---|
559 | resolution (e.g. a multiple of two for 4:2:0). |
---|
560 | \\ |
---|
561 | |
---|
562 | \Option{FrameRate} & |
---|
563 | \ShortOption{-fr} & |
---|
564 | \Default{0} & |
---|
565 | Specifies the frame rate of the input video. |
---|
566 | |
---|
567 | Note: This option only affects the reported bit rates. |
---|
568 | \\ |
---|
569 | |
---|
570 | \Option{FrameSkip} & |
---|
571 | \ShortOption{-fs} & |
---|
572 | \Default{0} & |
---|
573 | Specifies a number of frames to skip at beginning of input video file. |
---|
574 | \\ |
---|
575 | |
---|
576 | \Option{FramesToBeEncoded} & |
---|
577 | \ShortOption{-f} & |
---|
578 | \Default{0 \\ (all)} & |
---|
579 | Specifies the number of frames to be encoded. |
---|
580 | \\ |
---|
581 | \end{OptionTable} |
---|
582 | |
---|
583 | %% |
---|
584 | %% profile, level and conformance options |
---|
585 | %% |
---|
586 | \begin{OptionTable}{Profile and level parameters} |
---|
587 | \Option{Profile} & |
---|
588 | \ShortOption{\None} & |
---|
589 | \Default{none} & |
---|
590 | Specifies the profile to which the encoded bitstream complies. |
---|
591 | Valid values are: none, main, main10, main-still-picture. |
---|
592 | |
---|
593 | Compatibility flags are automatically determined according to the profile. |
---|
594 | If --Profile=main, then main10 will always be signalled as compatible. |
---|
595 | If --Profile=main10, then main will be signalled as compatible if the bit-depth is 8-bit. |
---|
596 | |
---|
597 | NB: There is currently no validation that the encoder configuration complies with the profile and level constraints. |
---|
598 | \\ |
---|
599 | |
---|
600 | \Option{Level} & |
---|
601 | \ShortOption{\None} & |
---|
602 | \Default{none} & |
---|
603 | Specifies the level to which the encoded bitstream complies. |
---|
604 | Valid values are: none, 1, 2, 2.1, 3, 3.1, 4, 4.1, 5, 5.1, 5.2, 6, 6.1, 6.2. |
---|
605 | |
---|
606 | NB: There is currently no validation that the encoder configuration complies with the profile and level constraints. |
---|
607 | \\ |
---|
608 | |
---|
609 | \Option{Tier} & |
---|
610 | \ShortOption{\None} & |
---|
611 | \Default{main} & |
---|
612 | Specifies the level tier to which the encoded bitsream complies. |
---|
613 | Valid values are: main, high. |
---|
614 | |
---|
615 | NB: There is currently no validation that the encoder configuration complies with the profile and level constraints. |
---|
616 | \\ |
---|
617 | |
---|
618 | \Option{ProgressiveSource} & |
---|
619 | \ShortOption{\None} & |
---|
620 | \Default{false} & |
---|
621 | Specifies the value of general_progressive_source_flag |
---|
622 | \\ |
---|
623 | |
---|
624 | \Option{InterlacedSource} & |
---|
625 | \ShortOption{\None} & |
---|
626 | \Default{false} & |
---|
627 | Specifies the value of general_interlaced_source_flag |
---|
628 | \\ |
---|
629 | |
---|
630 | \Option{NonPackedSource} & |
---|
631 | \ShortOption{\None} & |
---|
632 | \Default{false} & |
---|
633 | Specifies the value of general_non_packed_constraint_flag |
---|
634 | \\ |
---|
635 | |
---|
636 | \Option{FrameOnly} & |
---|
637 | \ShortOption{\None} & |
---|
638 | \Default{false} & |
---|
639 | Specifies the value of general_frame_only_constraint_flag |
---|
640 | \\ |
---|
641 | |
---|
642 | \end{OptionTable} |
---|
643 | |
---|
644 | |
---|
645 | %% |
---|
646 | %% Unit definition parameters |
---|
647 | %% |
---|
648 | \begin{OptionTable}{Unit definition parameters} |
---|
649 | \Option{MaxCUWidth} & |
---|
650 | \ShortOption{\None} & |
---|
651 | \Default{64} & |
---|
652 | Defines the maximum CU width. |
---|
653 | \\ |
---|
654 | |
---|
655 | \Option{MaxCUHeight} & |
---|
656 | \ShortOption{\None} & |
---|
657 | \Default{64} & |
---|
658 | Defines the maximum CU height. |
---|
659 | \\ |
---|
660 | |
---|
661 | \Option{MaxCUSize} & |
---|
662 | \ShortOption{\None} & |
---|
663 | \Default{64} & |
---|
664 | Defines the maximum CU size. |
---|
665 | \\ |
---|
666 | |
---|
667 | \Option{MaxPartitionDepth} & |
---|
668 | \ShortOption{-h} & |
---|
669 | \Default{4} & |
---|
670 | Defines the depth of the CU tree. |
---|
671 | \\ |
---|
672 | |
---|
673 | \Option{QuadtreeTULog2MaxSize} & |
---|
674 | \ShortOption{\None} & |
---|
675 | \Default{6 \\ ($= \mathrm{log}_2(64)$)} & |
---|
676 | Defines the Maximum TU size in logarithm base 2. |
---|
677 | \\ |
---|
678 | |
---|
679 | \Option{QuadtreeTULog2MinSize} & |
---|
680 | \ShortOption{\None} & |
---|
681 | \Default{2 \\ ($= \mathrm{log}_2(4)$)} & |
---|
682 | Defines the Minimum TU size in logarithm base 2. |
---|
683 | \\ |
---|
684 | |
---|
685 | \Option{QuadtreeTUMaxDepthIntra} & |
---|
686 | \ShortOption{\None} & |
---|
687 | \Default{1} & |
---|
688 | Defines the depth of the TU tree for intra CUs. |
---|
689 | \\ |
---|
690 | |
---|
691 | \Option{QuadtreeTUMaxDepthInter} & |
---|
692 | \ShortOption{\None} & |
---|
693 | \Default{2} & |
---|
694 | Defines the depth of the TU tree for inter CUs. |
---|
695 | \\ |
---|
696 | \end{OptionTable} |
---|
697 | |
---|
698 | |
---|
699 | %% |
---|
700 | %% Coding structure parameters |
---|
701 | %% |
---|
702 | \begin{OptionTable}{Coding structure parameters} |
---|
703 | \Option{IntraPeriod} & |
---|
704 | \ShortOption{-ip} & |
---|
705 | \Default{$-1$} & |
---|
706 | Specifies the intra frame period. |
---|
707 | A value of $-1$ implies an infinite period. |
---|
708 | \\ |
---|
709 | |
---|
710 | \Option{DecodingRefreshType} & |
---|
711 | \ShortOption{-dr} & |
---|
712 | \Default{0} & |
---|
713 | Specifies the type of decoding refresh to apply at the intra frame period |
---|
714 | picture. |
---|
715 | \par |
---|
716 | \begin{tabular}{cp{0.45\textwidth}} |
---|
717 | 0 & Applies an I picture (not a clean random access point). \\ |
---|
718 | 1 & Applies a non-IDR clean random access point (open GOP). \\ |
---|
719 | 2 & Applies an IDR random access point (closed GOP). \\ |
---|
720 | \end{tabular} |
---|
721 | \\ |
---|
722 | |
---|
723 | \Option{GOPSize} & |
---|
724 | \ShortOption{-g} & |
---|
725 | \Default{1} & |
---|
726 | Specifies the size of the cyclic GOP structure. |
---|
727 | \\ |
---|
728 | |
---|
729 | \Option{Frame\emph{N}} & |
---|
730 | \ShortOption{\None} & |
---|
731 | \Default{\NotSet} & |
---|
732 | Multiple options that define the cyclic GOP structure that will be used |
---|
733 | repeatedly throughout the sequence. The table should contain GOPSize |
---|
734 | elements. |
---|
735 | \par |
---|
736 | See section~\ref{sec:gop-structure} for further details. |
---|
737 | \\ |
---|
738 | |
---|
739 | \Option{ListCombination} & |
---|
740 | \ShortOption{-lc} & |
---|
741 | \Default{true} & |
---|
742 | Enables or disables the use of the combined reference list for uni-prediction |
---|
743 | in B-slices. |
---|
744 | \par |
---|
745 | \begin{tabular}{cp{0.45\textwidth}} |
---|
746 | 0 & Reference list~0 and reference list~1 are identical and reference |
---|
747 | list~0 is used as the combined reference list. \\ |
---|
748 | 1 & The combined reference list is derived from reference list~0 and |
---|
749 | reference list~1. \\ |
---|
750 | \end{tabular} |
---|
751 | NB: LComb can only be 0 in low delay coding (more precisely, when list 0 |
---|
752 | and list 1 are the same) |
---|
753 | \\ |
---|
754 | \end{OptionTable} |
---|
755 | |
---|
756 | |
---|
757 | %% |
---|
758 | %% Motion estimation parameters |
---|
759 | %% |
---|
760 | \begin{OptionTable}{Motion estimation parameters} |
---|
761 | \Option{FastSearch} & |
---|
762 | \ShortOption{\None} & |
---|
763 | \Default{true} & |
---|
764 | Enables or disables the use of a fast motion search. |
---|
765 | \par |
---|
766 | \begin{tabular}{cp{0.45\textwidth}} |
---|
767 | 0 & Full search method \\ |
---|
768 | 1 & Fast search method \\ |
---|
769 | \end{tabular} |
---|
770 | \\ |
---|
771 | |
---|
772 | \Option{SearchRange} & |
---|
773 | \ShortOption{-sr} & |
---|
774 | \Default{96} & |
---|
775 | Specifies the search range used for motion estimation. |
---|
776 | |
---|
777 | Note: the search range is defined around a predictor. Motion vectors |
---|
778 | derived by the motion estimation may thus have values larger than the |
---|
779 | search range. |
---|
780 | \\ |
---|
781 | |
---|
782 | \Option{BipredSearchRange} & |
---|
783 | \ShortOption{\None} & |
---|
784 | \Default{4} & |
---|
785 | Specifies the search range used for bi-prediction refinement in motion |
---|
786 | estimation. |
---|
787 | \\ |
---|
788 | |
---|
789 | \Option{HadamardME} & |
---|
790 | \ShortOption{\None} & |
---|
791 | \Default{true} & |
---|
792 | Enables or disables the use of the Hadamard transform in fractional-pel motion |
---|
793 | estimation. |
---|
794 | \par |
---|
795 | \begin{tabular}{cp{0.45\textwidth}} |
---|
796 | 0 & SAD for cost estimation \\ |
---|
797 | 1 & Hadamard for cost estimation \\ |
---|
798 | \end{tabular} |
---|
799 | \\ |
---|
800 | |
---|
801 | \Option{ASR} & |
---|
802 | \ShortOption{\None} & |
---|
803 | \Default{false} & |
---|
804 | Enables or disables the use of adaptive search ranges, where the motion |
---|
805 | search range is dynamically adjusted according to the POC difference |
---|
806 | between the current and the reference pictures. |
---|
807 | \begin{displaymath} |
---|
808 | \resizebox{\hsize}{!}{$ |
---|
809 | \mathrm{SearchRange}’ = \mathrm{Round}\left( |
---|
810 | \mathrm{SearchRange} |
---|
811 | * \mathrm{ADAPT\_SR\_SCALE} |
---|
812 | * \frac{\mathrm{abs}( |
---|
813 | \mathrm{POCcur} - \mathrm{POCref} )}{ |
---|
814 | \mathrm{RateGOPSize}}\right) |
---|
815 | $} |
---|
816 | \end{displaymath} |
---|
817 | \\ |
---|
818 | \end{OptionTable} |
---|
819 | |
---|
820 | |
---|
821 | %% |
---|
822 | %% Mode decision parameters |
---|
823 | %% |
---|
824 | \begin{OptionTable}{Mode decision parameters} |
---|
825 | \Option{LambdaModifier$N$} & |
---|
826 | \ShortOption{-LM$N$} & |
---|
827 | \Default{1.0} & |
---|
828 | Specifies a value that is multiplied with the Lagrange multiplier |
---|
829 | $\lambda$, for use in the rate-distortion optimised cost calculation |
---|
830 | when encoding temporal layer~$N$. |
---|
831 | \par |
---|
832 | $N$ may be in the range 0--7. |
---|
833 | \\ |
---|
834 | |
---|
835 | \Option{FEN} & |
---|
836 | \ShortOption{\None} & |
---|
837 | \Default{false} & |
---|
838 | Enables or disables the use of fast encoder mode. When enabled, |
---|
839 | the following occurs: |
---|
840 | \begin{itemize} |
---|
841 | \item In the SAD computation for blocks having size larger than 8, only |
---|
842 | the lines of even rows in the block are considered. |
---|
843 | \item The number of iterations used in the bi-directional motion vector |
---|
844 | refinement in the motion estimation process is reduced from 4 to 1. |
---|
845 | \end{itemize} |
---|
846 | \\ |
---|
847 | |
---|
848 | \Option{FDM} & |
---|
849 | \ShortOption{\None} & |
---|
850 | \Default{true} & |
---|
851 | Enables or disables the use of fast encoder decisions for 2Nx2N merge |
---|
852 | mode. When enabled, the RD cost for the merge mode of the current |
---|
853 | candidate is not evaluated if the merge skip mode was the best merge |
---|
854 | mode for one of the previous candidates. |
---|
855 | \\ |
---|
856 | |
---|
857 | \Option{RDpenalty} & |
---|
858 | \ShortOption{\None} & |
---|
859 | \Default{0} & |
---|
860 | RD-penalty for 32x32 TU for intra in non-intra slices. |
---|
861 | Enabling this parameter can reduce the visibility of CU boundaries in the coded picture. |
---|
862 | \par |
---|
863 | \begin{tabular}{cp{0.45\textwidth}} |
---|
864 | 0 & No RD-penalty \\ |
---|
865 | 1 & RD-penalty \\ |
---|
866 | 2 & Maximum RD-penalty (no 32x32 TU)\\ |
---|
867 | \end{tabular} |
---|
868 | \\ |
---|
869 | |
---|
870 | \end{OptionTable} |
---|
871 | |
---|
872 | %% |
---|
873 | %% Quantization parameters |
---|
874 | %% |
---|
875 | \begin{OptionTable}{Quantization parameters} |
---|
876 | \Option{QP} & |
---|
877 | \ShortOption{-q} & |
---|
878 | \Default{30.0} & |
---|
879 | Specifies the base value of the quantization parameter. |
---|
880 | \\ |
---|
881 | |
---|
882 | \Option{CbQpOffset}% |
---|
883 | \Option{CrQpOffset} & |
---|
884 | \ShortOption{-cbqpofs}% |
---|
885 | \ShortOption{-crqpofs} & |
---|
886 | \Default{0}% |
---|
887 | \Default{0} & |
---|
888 | Global offset to apply to the luma QP to derive the QP of Cb and Cr |
---|
889 | respectively. These options correspond to the values of cb_qp_offset |
---|
890 | and cr_qp_offset, that are transmitted in the PPS. Valid values are in |
---|
891 | the range $[-12, 12]$. |
---|
892 | \\ |
---|
893 | |
---|
894 | \Option{MaxCuDQPDepth} & |
---|
895 | \ShortOption{\None} & |
---|
896 | \Default{0} & |
---|
897 | Defines maximum depth of a minimum CuDQP for sub-LCU-level delta QP. |
---|
898 | MaxCuDQPDepth shall be greater than or equal to SliceGranularity. |
---|
899 | \\ |
---|
900 | |
---|
901 | \Option{RDOQ} & |
---|
902 | \ShortOption{\None} & |
---|
903 | \Default{true} & |
---|
904 | Enables or disables rate-distortion-optimized quantization. |
---|
905 | \\ |
---|
906 | |
---|
907 | \Option{RDOQTS} & |
---|
908 | \ShortOption{\None} & |
---|
909 | \Default{true} & |
---|
910 | Enables or disables rate-distortion-optimized quantization for transform-skipped TUs. |
---|
911 | \\ |
---|
912 | |
---|
913 | \Option{DeltaQpRD} & |
---|
914 | \ShortOption{-dqr} & |
---|
915 | \Default{0} & |
---|
916 | Specifies the maximum QP offset at slice level for multi-pass slice |
---|
917 | encoding. When encoding, each slice is tested multiple times by using |
---|
918 | slice QP values in the range $[-\mathrm{DeltaQpRD}, \mathrm{DeptaQpRD}]$, |
---|
919 | and the best QP value is chosen as the slice QP. |
---|
920 | \\ |
---|
921 | |
---|
922 | \Option{MaxDeltaQP} & |
---|
923 | \ShortOption{-d} & |
---|
924 | \Default{0} & |
---|
925 | Specifies the maximum QP offset at the largest coding unit level for |
---|
926 | the block-level adaptive QP assignment scheme. In the encoder, each |
---|
927 | largest coding unit is tested multiple times by using the QP values in |
---|
928 | the range $[-\mathrm{MaxDeltaQP}, \mathrm{MaxDeltaQP}]$, and the best QP |
---|
929 | value is chosen as the QP value of the largest coding unit. |
---|
930 | \\ |
---|
931 | |
---|
932 | \Option{dQPFile} & |
---|
933 | \ShortOption{-m} & |
---|
934 | \Default{\NotSet} & |
---|
935 | Specifies a file containing a list of QP deltas. The $n$-th line |
---|
936 | (where $n$ is 0 for the first line) of this file corresponds to the QP |
---|
937 | value delta for the picture with POC value $n$. |
---|
938 | \\ |
---|
939 | |
---|
940 | \Option{AdaptiveQpSelection} & |
---|
941 | \ShortOption{-aqps} & |
---|
942 | \Default{false} & |
---|
943 | Specifies whether QP values for non-I frames will be calculated on the |
---|
944 | fly based on statistics of previously coded frames. |
---|
945 | \\ |
---|
946 | \Option{RecalculateQPAccordingToLambda} & |
---|
947 | \ShortOption{\None} & |
---|
948 | \Default{false} & |
---|
949 | Recalculate QP values according to lambda values. Do not suggest to be enabled in all intra case. |
---|
950 | \\ |
---|
951 | \end{OptionTable} |
---|
952 | |
---|
953 | |
---|
954 | %% |
---|
955 | %% Slice coding parameters |
---|
956 | %% |
---|
957 | \begin{OptionTable}{Slice coding parameters} |
---|
958 | %\Option{SliceGranularity} & |
---|
959 | %\ShortOption{\None} & |
---|
960 | %\Default{0} & |
---|
961 | %Determines the depth in an LCU at which slices may begin and end. |
---|
962 | %\par |
---|
963 | %\begin{tabular}{cp{0.45\textwidth}} |
---|
964 | % 0 & Slice addresses are LCU aligned \\ |
---|
965 | % $1 \leq n \leq 3$ |
---|
966 | % & Slice start addresses are aligned to CUs at depth $n$ \\ |
---|
967 | %\end{tabular} |
---|
968 | % |
---|
969 | %Note: The smallest permissible alignment is 16x16 CUs. |
---|
970 | %Values of $n$ must satisfy this constraint, for example, with a 64x64 |
---|
971 | %LCU, $n$ must be less than or equal to 2. |
---|
972 | %\\ |
---|
973 | |
---|
974 | \Option{SliceMode} & |
---|
975 | \ShortOption{\None} & |
---|
976 | \Default{0} & |
---|
977 | Controls the slice partitioning method in conjunction with |
---|
978 | SliceArgument. |
---|
979 | \par |
---|
980 | \begin{tabular}{cp{0.45\textwidth}} |
---|
981 | 0 & Single slice \\ |
---|
982 | 1 & Maximum number of CTUs per slice \\ |
---|
983 | 2 & Maximum number of bytes per slice \\ |
---|
984 | 3 & Maximum number of tiles per slice \\ |
---|
985 | \end{tabular} |
---|
986 | \\ |
---|
987 | |
---|
988 | \Option{SliceArgument} & |
---|
989 | \ShortOption{\None} & |
---|
990 | \Default{\NotSet} & |
---|
991 | Specifies the maximum number of CTUs, bytes or tiles in a slice depending on the |
---|
992 | SliceMode setting. |
---|
993 | \\ |
---|
994 | |
---|
995 | \Option{SliceSegmentMode} & |
---|
996 | \ShortOption{\None} & |
---|
997 | \Default{0} & |
---|
998 | Enables (dependent) slice segment coding in conjunction with |
---|
999 | SliceSegmentArgument. |
---|
1000 | \par |
---|
1001 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1002 | 0 & Single slice \\ |
---|
1003 | 1 & Maximum number of CTUs per slice segment\\ |
---|
1004 | 2 & Maximum number of bytes per slice segment\\ |
---|
1005 | 3 & Maximum number of tiles per slice segment\\ |
---|
1006 | \end{tabular} |
---|
1007 | \\ |
---|
1008 | |
---|
1009 | \Option{SliceSegmentArgument} & |
---|
1010 | \ShortOption{\None} & |
---|
1011 | \Default{\NotSet} & |
---|
1012 | Defines the maximum number of CTUs, bytes or tiles a slice segment |
---|
1013 | depending on the SliceSegmentMode setting. |
---|
1014 | \\ |
---|
1015 | |
---|
1016 | \Option{WaveFrontSynchro} & |
---|
1017 | \ShortOption{\None} & |
---|
1018 | \Default{false} & |
---|
1019 | Enables the use of specific CABAC probabilities synchronization at the |
---|
1020 | beginning of each line of CTBs in order to produce a bitstream that can |
---|
1021 | be encoded or decoded using one or more cores. |
---|
1022 | \\ |
---|
1023 | |
---|
1024 | \Option{NumTileColumnsMinus1}% |
---|
1025 | \Option{NumTileRowsMinus1} & |
---|
1026 | \ShortOption{\None} & |
---|
1027 | \Default{0} & |
---|
1028 | Specifies the tile based picture partitioning geometry as |
---|
1029 | $\mathrm{NumTileColumnsMinus1} + 1 \times \mathrm{NumTileRowsMinus1} + 1$ |
---|
1030 | columns and rows. |
---|
1031 | \\ |
---|
1032 | |
---|
1033 | \Option{UniformSpacingIdc} & |
---|
1034 | \ShortOption{\None} & |
---|
1035 | \Default{0} & |
---|
1036 | Controls the mode used to determine per row and column tile sizes. |
---|
1037 | \par |
---|
1038 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1039 | 0 & Each tile column width and tile row height is explicitly set |
---|
1040 | by ColumnWidthArray and RowHeightArray respectively \\ |
---|
1041 | 1 & Tile columns and tile rows are uniformly spaced. \\ |
---|
1042 | \end{tabular} |
---|
1043 | \\ |
---|
1044 | |
---|
1045 | \Option{ColumnWidthArray}% |
---|
1046 | \Option{RowHeightArray} & |
---|
1047 | \ShortOption{\None} & |
---|
1048 | \Default{\NotSet} & |
---|
1049 | Specifies a space or comma separated list of widths and heights, |
---|
1050 | respectively, of each tile column or tile row. The first value in the |
---|
1051 | list corresponds to the leftmost tile column or topmost tile row. |
---|
1052 | \\ |
---|
1053 | \end{OptionTable} |
---|
1054 | |
---|
1055 | |
---|
1056 | |
---|
1057 | %% |
---|
1058 | %% Deblocking filter parameters |
---|
1059 | %% |
---|
1060 | \begin{OptionTable}{Deblocking filter parameters} |
---|
1061 | \Option{LoopFilterDisable} & |
---|
1062 | \ShortOption{\None} & |
---|
1063 | \Default{false} & |
---|
1064 | Enables or disables the in-loop deblocking filter. |
---|
1065 | \\ |
---|
1066 | |
---|
1067 | \Option{LFCrossSliceBoundaryFlag} & |
---|
1068 | \ShortOption{\None} & |
---|
1069 | \Default{true} & |
---|
1070 | Enables or disables the use of in-loop filtering across slice |
---|
1071 | boundaries. |
---|
1072 | \\ |
---|
1073 | |
---|
1074 | \Option{DeblockingFilterControlPresent}& |
---|
1075 | \ShortOption{\None}& |
---|
1076 | \Default{false}& |
---|
1077 | Enables or disables the presence of the deblocking filter control |
---|
1078 | parameters in the picture parameter set and in the slice segment header. |
---|
1079 | When disabled, the default deblocking filter parameters are used. |
---|
1080 | \\ |
---|
1081 | |
---|
1082 | \Option{LoopFilterOffsetInPPS}& |
---|
1083 | \ShortOption{\None}& |
---|
1084 | \Default{false}& |
---|
1085 | If enabled, the in-loop deblocking filter control parameters are sent in PPS. |
---|
1086 | Otherwise, the in-loop deblocking filter control parameters are sent in the slice segment header. |
---|
1087 | If deblocking filter parameters are sent in PPS, the same values of deblocking filter parameters |
---|
1088 | are used for all pictures in the sequence (i.e. deblocking parameter = base parameter value). |
---|
1089 | If deblocking filter parameters are sent in the slice segment header, varying deblocking filter |
---|
1090 | parameters can be specified by setting parameters tcOffsetDiv2 and betaOffsetDiv2 in the GOP structure table. |
---|
1091 | In this case, the final value of the deblocking filter parameter sent for a certain GOP picture is equal to |
---|
1092 | (base parameter + GOP parameter for this picture). Intra-pictures use the base parameters values. |
---|
1093 | \\ |
---|
1094 | |
---|
1095 | \Option{LoopFilterTcOffset_div2}& |
---|
1096 | \ShortOption{\None}& |
---|
1097 | \Default{0}& |
---|
1098 | Specifies the base value for the in-loop deblocking filter parameter tc_offset_div2. The final value of tc_offset_div2 |
---|
1099 | shall be an integer number in the range $-6..6$. |
---|
1100 | \\ |
---|
1101 | |
---|
1102 | \Option{LoopFilterBetaOffset_div2}& |
---|
1103 | \ShortOption{\None}& |
---|
1104 | \Default{0}& |
---|
1105 | Specifies the base value for the in-loop deblocking filter parameter beta_offset_div2. The final value of beta_offset_div2 |
---|
1106 | shall be an integer number in the range $-6..6$. |
---|
1107 | \\ |
---|
1108 | |
---|
1109 | \end{OptionTable} |
---|
1110 | |
---|
1111 | |
---|
1112 | |
---|
1113 | %% |
---|
1114 | %% Coding tools parameters |
---|
1115 | %% |
---|
1116 | \begin{OptionTable}{Coding tools parameters} |
---|
1117 | %\Option{ALF} & |
---|
1118 | %\ShortOption{\None} & |
---|
1119 | %\Default{true} & |
---|
1120 | %Enables or disables the adaptive loop filter. |
---|
1121 | %\\ |
---|
1122 | |
---|
1123 | %\Option{ALFLowLatencyEncode} & |
---|
1124 | %\ShortOption{\None} & |
---|
1125 | %\Default{false} & |
---|
1126 | %Specifies the operating mode (low latency or high efficiency) of the |
---|
1127 | %adaptive loop filter. |
---|
1128 | %\\ |
---|
1129 | |
---|
1130 | \Option{SAO} & |
---|
1131 | \ShortOption{\None} & |
---|
1132 | \Default{true} & |
---|
1133 | Enables or disables the sample adaptive offset (SAO) filter. |
---|
1134 | \\ |
---|
1135 | |
---|
1136 | \Option{SAOLcuBoundary} & |
---|
1137 | \ShortOption{\None} & |
---|
1138 | \Default{false} & |
---|
1139 | Enables or disables SAO parameter estimation using non-deblocked pixels |
---|
1140 | for LCU bottom and right boundary areas. |
---|
1141 | \\ |
---|
1142 | |
---|
1143 | %\Option{LMChroma} & |
---|
1144 | %\ShortOption{\None} & |
---|
1145 | %\Default{true} & |
---|
1146 | %Enables or disables the intra chroma-from-luma prediction mode. |
---|
1147 | %\\ |
---|
1148 | |
---|
1149 | %\Option{NSQT} & |
---|
1150 | %\ShortOption{\None} & |
---|
1151 | %\Default{true} & |
---|
1152 | %Enables or disables the non-square quadtree transform. |
---|
1153 | %\\ |
---|
1154 | |
---|
1155 | \Option{ConstrainedIntraPred} & |
---|
1156 | \ShortOption{\None} & |
---|
1157 | \Default{false} & |
---|
1158 | Enables or disables constrained intra prediction. Constrained intra |
---|
1159 | prediction only permits samples from intra blocks in the same slice as the |
---|
1160 | current block to be used for intra prediction. |
---|
1161 | \\ |
---|
1162 | |
---|
1163 | \Option{TransquantBypassEnableFlag} & |
---|
1164 | \ShortOption{\None} & |
---|
1165 | \Default{false} & |
---|
1166 | Enables or disables the ability to bypass the transform, |
---|
1167 | quantization and filtering stages at CU level. |
---|
1168 | This option corresponds to the value of |
---|
1169 | transquant_bypass_enable_flag that is transmitted in the PPS. |
---|
1170 | |
---|
1171 | See CUTransquantBypassFlagForce for further details. |
---|
1172 | \\ |
---|
1173 | |
---|
1174 | \Option{CUTransquantBypassFlagForce} & |
---|
1175 | \ShortOption{\None} & |
---|
1176 | \Default{0} & |
---|
1177 | Controls the per CU transformation, quantization and filtering |
---|
1178 | mode decision. |
---|
1179 | This option controls the value of the per CU cu_transquant_bypass_flag. |
---|
1180 | \par |
---|
1181 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1182 | 0 & Bypass is searched on a CU-by-CU basis and will be used if the cost is lower than not bypassing. \\ |
---|
1183 | 1 & Bypass is forced for all CUs. \\ |
---|
1184 | \end{tabular} |
---|
1185 | |
---|
1186 | This option has no effect if TransquantBypassEnableFlag is disabled. |
---|
1187 | \\ |
---|
1188 | |
---|
1189 | \Option{PCMEnabledFlag} & |
---|
1190 | \ShortOption{\None} & |
---|
1191 | \Default{false} & |
---|
1192 | Enables or disables the use of PCM. The encoder will use cost measures on a CU-by-CU basis to determine if PCM mode is to be applied. |
---|
1193 | \\ |
---|
1194 | |
---|
1195 | \Option{PCMLog2MaxSize} & |
---|
1196 | \ShortOption{\None} & |
---|
1197 | \Default{5 \\ ($= \mathrm{log}_2(32)$)} & |
---|
1198 | Specifies log2 of the maximum PCM block size. When PCM is enabled, the |
---|
1199 | PCM mode is available for 2Nx2N intra PUs smaller than or equal to the |
---|
1200 | specified maximum PCM block size |
---|
1201 | \\ |
---|
1202 | |
---|
1203 | \Option{PCMLog2MinSize} & |
---|
1204 | \ShortOption{\None} & |
---|
1205 | \Default{3} & |
---|
1206 | Specifies log2 of the minimum PCM block size. When PCM is enabled, the |
---|
1207 | PCM mode is available for 2Nx2N intra PUs larger than or equal to the |
---|
1208 | specified minimum PCM block size. |
---|
1209 | \par |
---|
1210 | When larger than PCMLog2MaxSize, PCM mode is not used. |
---|
1211 | \\ |
---|
1212 | |
---|
1213 | \Option{PCMInputBitDepthFlag} & |
---|
1214 | \ShortOption{\None} & |
---|
1215 | \Default{1} & |
---|
1216 | If enabled specifies that PCM sample bit-depth is set equal to |
---|
1217 | InputBitDepth. Otherwise, it specifies that PCM sample bit-depth is set |
---|
1218 | equal to InternalBitDepth. |
---|
1219 | \\ |
---|
1220 | |
---|
1221 | \Option{PCMFilterDisableFlag} & |
---|
1222 | \ShortOption{\None} & |
---|
1223 | \Default{false} & |
---|
1224 | If enabled specifies that loop-filtering on reconstructed samples of PCM |
---|
1225 | blocks is skipped. Otherwise, it specifies that loop-filtering on |
---|
1226 | reconstructed samples of PCM blocks is not skipped. |
---|
1227 | % 0 = (loop-filtering is not skipped for PCM samples). |
---|
1228 | \\ |
---|
1229 | |
---|
1230 | \Option{WeightedPredP} & |
---|
1231 | \ShortOption{-wpP} & |
---|
1232 | \Default{false} & |
---|
1233 | Enables the use of weighted prediction in P slices. |
---|
1234 | \\ |
---|
1235 | |
---|
1236 | \Option{WeightedPredB} & |
---|
1237 | \ShortOption{-wpB} & |
---|
1238 | \Default{false} & |
---|
1239 | Enables the use of weighted prediction in B slices. |
---|
1240 | \\ |
---|
1241 | |
---|
1242 | \Option{SignHideFlag} & |
---|
1243 | \ShortOption{-SBH} & |
---|
1244 | \Default{true} & |
---|
1245 | If enabled specifies that for each 4x4 coefficient group for which the |
---|
1246 | number of coefficients between the first nonzero coefficient and the |
---|
1247 | last nonzero coefficient along the scanning line exceeds 4, the sign bit |
---|
1248 | of the first nonzero coefficient will not be directly transmitted in the |
---|
1249 | bitstream, but may be inferred from the parity of the sum of all nonzero |
---|
1250 | coefficients in the current coefficient group. |
---|
1251 | \\ |
---|
1252 | |
---|
1253 | \Option{StrongIntraSmoothing} & |
---|
1254 | \ShortOption{-sis} & |
---|
1255 | \Default{true} & |
---|
1256 | If enabled specifies that for 32x32 intra prediction block, the intra smoothing |
---|
1257 | when applied is either the 1:2:1 smoothing filter or a stronger bi-linear |
---|
1258 | interpolation filter. Key reference sample values are tested and if the criteria |
---|
1259 | is satisfied, the stronger intra smoothing filter is applied. |
---|
1260 | If disabled, the intra smoothing filter when applied is the 1:2:1 smoothing filter. |
---|
1261 | \\ |
---|
1262 | |
---|
1263 | \Option{TMVPMode} & |
---|
1264 | \ShortOption{\None} & |
---|
1265 | \Default{1} & |
---|
1266 | Controls the temporal motion vector prediction mode. |
---|
1267 | \par |
---|
1268 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1269 | 0 & Disabled for all slices. \\ |
---|
1270 | 1 & Enabled for all slices. \\ |
---|
1271 | 2 & Disabled only for the first picture of each GOPSize. \\ |
---|
1272 | \end{tabular} |
---|
1273 | \\ |
---|
1274 | |
---|
1275 | \Option{TransformSkip} & |
---|
1276 | \ShortOption{\None} & |
---|
1277 | \Default{false} & |
---|
1278 | Enables or disables transform-skipping mode decision for 4x4 TUs |
---|
1279 | \footnote{Enables transform_skip_enabled and per 4x4 TU tests}. |
---|
1280 | \\ |
---|
1281 | |
---|
1282 | \Option{TransformSkipFast} & |
---|
1283 | \ShortOption{\None} & |
---|
1284 | \Default{false} & |
---|
1285 | Enables or disables reduced testing of the transform-skipping mode |
---|
1286 | decision for chroma TUs. When enabled, no RDO search is performed for |
---|
1287 | chroma TUs, instead they are transform-skipped if the four corresponding |
---|
1288 | luma TUs are also skipped. |
---|
1289 | \par |
---|
1290 | This option has no effect if TransformSkip is disabled. |
---|
1291 | \\ |
---|
1292 | \end{OptionTable} |
---|
1293 | |
---|
1294 | %% |
---|
1295 | %% Rate control parameters |
---|
1296 | %% |
---|
1297 | \begin{OptionTable}{Rate control parameters} |
---|
1298 | |
---|
1299 | \Option{RateControl} & |
---|
1300 | \ShortOption{\None} & |
---|
1301 | \Default{false} & |
---|
1302 | Rate control: enables rate control or not. |
---|
1303 | \\ |
---|
1304 | |
---|
1305 | \Option{TargetBitrate} & |
---|
1306 | \ShortOption{\None} & |
---|
1307 | \Default{0} & |
---|
1308 | Rate control: target bitrate, in bps. |
---|
1309 | \\ |
---|
1310 | |
---|
1311 | \Option{KeepHierarchicalBit} & |
---|
1312 | \ShortOption{\None} & |
---|
1313 | \Default{0} & |
---|
1314 | Rate control: 0: equal bit allocation among pictures; |
---|
1315 | 1: fix ratio hierarchical bit allocation; 2: adaptive hierarchical ratio bit allocation. |
---|
1316 | It is suggested to enable hierarchical bit allocation for hierarchical-B coding structure. |
---|
1317 | \\ |
---|
1318 | |
---|
1319 | \Option{LCULevelRateControl} & |
---|
1320 | \ShortOption{\None} & |
---|
1321 | \Default{true} & |
---|
1322 | Rate control: true: LCU level RC; false: picture level RC. |
---|
1323 | \\ |
---|
1324 | |
---|
1325 | \Option{RCLCUSeparateModel} & |
---|
1326 | \ShortOption{\None} & |
---|
1327 | \Default{true} & |
---|
1328 | Rate control: use LCU level separate R-lambda model or not. |
---|
1329 | When LCULevelRateControl is equal to false, this parameter is meaningless. |
---|
1330 | \\ |
---|
1331 | |
---|
1332 | \Option{InitialQP} & |
---|
1333 | \ShortOption{\None} & |
---|
1334 | \Default{0} & |
---|
1335 | Rate control: initial QP value for the first picture. |
---|
1336 | 0 to auto determine the initial QP value. |
---|
1337 | \\ |
---|
1338 | |
---|
1339 | \Option{RCForceIntraQP} & |
---|
1340 | \ShortOption{\None} & |
---|
1341 | \Default{false} & |
---|
1342 | Rate control: force intra QP to be equal to initial QP or not. |
---|
1343 | \\ |
---|
1344 | \end{OptionTable} |
---|
1345 | |
---|
1346 | %% |
---|
1347 | %% VUI parameters |
---|
1348 | %% |
---|
1349 | \begin{OptionTable}{VUI parameters} |
---|
1350 | \Option{VuiParametersPresent} & |
---|
1351 | \ShortOption{-vui} & |
---|
1352 | \Default{false} & |
---|
1353 | Enable generation of vui_parameters(). |
---|
1354 | \\ |
---|
1355 | \Option{AspectRatioInfoPresent} & |
---|
1356 | \ShortOption{} & |
---|
1357 | \Default{false} & |
---|
1358 | Signals whether aspect_ratio_idc is present. |
---|
1359 | \\ |
---|
1360 | \Option{AspectRatioIdc} & |
---|
1361 | \ShortOption{} & |
---|
1362 | \Default{0} & |
---|
1363 | aspect_ratio_idc |
---|
1364 | \\ |
---|
1365 | \Option{SarWidth} & |
---|
1366 | \ShortOption{} & |
---|
1367 | \Default{0} & |
---|
1368 | Specifies the horizontal size of the sample aspect ratio. |
---|
1369 | \\ |
---|
1370 | \Option{SarHeight} & |
---|
1371 | \ShortOption{} & |
---|
1372 | \Default{0} & |
---|
1373 | Specifies the vertical size of the sample aspect ratio. |
---|
1374 | \\ |
---|
1375 | \Option{OverscanInfoPresent} & |
---|
1376 | \ShortOption{} & |
---|
1377 | \Default{false} & |
---|
1378 | Signals whether overscan_info_present_flag is present. |
---|
1379 | \\ |
---|
1380 | \Option{OverscanAppropriate} & |
---|
1381 | \ShortOption{} & |
---|
1382 | \Default{false} & |
---|
1383 | Indicates whether cropped decoded pictures are suitable for display using overscan. |
---|
1384 | \par |
---|
1385 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1386 | 0 & Indicates that the decoded pictures should not be displayed using overscan. \\ |
---|
1387 | 1 & Indicates that the decoded pictures may be displayed using overscan. \\ |
---|
1388 | \end{tabular} |
---|
1389 | \\ |
---|
1390 | \Option{VideoSignalTypePresent} & |
---|
1391 | \ShortOption{} & |
---|
1392 | \Default{false} & |
---|
1393 | Signals whether video_format, video_full_range_flag, and colour_description_present_flag are present. |
---|
1394 | \\ |
---|
1395 | \Option{VideoFormat} & |
---|
1396 | \ShortOption{} & |
---|
1397 | \Default{5} & |
---|
1398 | Indicates representation of pictures. |
---|
1399 | \\ |
---|
1400 | \Option{VideoFullRange} & |
---|
1401 | \ShortOption{} & |
---|
1402 | \Default{false} & |
---|
1403 | Indicates the black level and range of luma and chroma signals. |
---|
1404 | \par |
---|
1405 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1406 | 0 & Indicates that the luma and chroma signals are to be scaled prior to display. \\ |
---|
1407 | 1 & Indicates that the luma and chroma signals are not to be scaled prior to display. \\ |
---|
1408 | \end{tabular} |
---|
1409 | \\ |
---|
1410 | \Option{ColourDescriptionPresent} & |
---|
1411 | \ShortOption{} & |
---|
1412 | \Default{false} & |
---|
1413 | Signals whether colour_primaries, transfer_characteristics and matrix_coefficients are present. |
---|
1414 | \\ |
---|
1415 | \Option{ColourPrimaries} & |
---|
1416 | \ShortOption{} & |
---|
1417 | \Default{2} & |
---|
1418 | Indicates chromaticity coordinates of the source primaries. |
---|
1419 | \\ |
---|
1420 | \Option{TransferCharateristics} & |
---|
1421 | \ShortOption{} & |
---|
1422 | \Default{2} & |
---|
1423 | Indicates the opto-electronic transfer characteristics of the source. |
---|
1424 | \\ |
---|
1425 | \Option{MatrixCoefficients} & |
---|
1426 | \ShortOption{} & |
---|
1427 | \Default{2} & |
---|
1428 | Describes the matrix coefficients used in deriving luma and chroma from RGB primaries. |
---|
1429 | \\ |
---|
1430 | \Option{ChromaLocInfoPresent} & |
---|
1431 | \ShortOption{} & |
---|
1432 | \Default{false} & |
---|
1433 | Signals whether chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are present. |
---|
1434 | \\ |
---|
1435 | \Option{ChromaSampleLocTypeTopField} & |
---|
1436 | \ShortOption{} & |
---|
1437 | \Default{0} & |
---|
1438 | Specifies the location of chroma samples for top field. |
---|
1439 | \\ |
---|
1440 | \Option{ChromaSampleLocTypeBottomField} & |
---|
1441 | \ShortOption{} & |
---|
1442 | \Default{0} & |
---|
1443 | Specifies the location of chroma samples for bottom field. |
---|
1444 | \\ |
---|
1445 | \Option{NeutralChromaIndication} & |
---|
1446 | \ShortOption{} & |
---|
1447 | \Default{false} & |
---|
1448 | Indicates that the value of all decoded chroma samples is equal to 1<<(BitDepthCr-1). |
---|
1449 | \\ |
---|
1450 | |
---|
1451 | \Option{DefaultDisplayWindowFlag} & |
---|
1452 | \ShortOption{\None} & |
---|
1453 | \Default{0} & |
---|
1454 | Indicates the presence of the Default Window parameters. |
---|
1455 | \par |
---|
1456 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1457 | 0 & Disabled \\ |
---|
1458 | 1 & Enabled \\ |
---|
1459 | \end{tabular} |
---|
1460 | \\ |
---|
1461 | |
---|
1462 | \Option{DefDispWinLeftOffset}% |
---|
1463 | \Option{DefDispWinRightOffset}% |
---|
1464 | \Option{DefDispWinTopOffset}% |
---|
1465 | \Option{DefDispWinBottomOffset} & |
---|
1466 | \ShortOption{\None} & |
---|
1467 | \Default{0} & |
---|
1468 | Specifies the horizontal and vertical offset to be applied to the |
---|
1469 | input video from the conformance window in luma samples. |
---|
1470 | Must be a multiple of the chroma resolution (e.g. a multiple of two for 4:2:0). |
---|
1471 | \\ |
---|
1472 | |
---|
1473 | \Option{BitstreamRestriction} & |
---|
1474 | \ShortOption{} & |
---|
1475 | \Default{false} & |
---|
1476 | Signals whether bitstream restriction parameters are present. |
---|
1477 | \\ |
---|
1478 | \Option{TilesFixedStructure} & |
---|
1479 | \ShortOption{} & |
---|
1480 | \Default{false} & |
---|
1481 | Indicates that each active picture parameter set has the same values of the syntax elements related to tiles. |
---|
1482 | \\ |
---|
1483 | \Option{MotionVectorsOverPicBoundaries} & |
---|
1484 | \ShortOption{} & |
---|
1485 | \Default{false} & |
---|
1486 | Indicates that no samples outside the picture boundaries are used for inter prediction. |
---|
1487 | \\ |
---|
1488 | \Option{MaxBytesPerPicDenom} & |
---|
1489 | \ShortOption{} & |
---|
1490 | \Default{2} & |
---|
1491 | Indicates a number of bytes not exceeded by the sum of the sizes of the VCL NAL units associated with any coded picture. |
---|
1492 | \\ |
---|
1493 | \Option{MaxBitsPerMinCuDenom} & |
---|
1494 | \ShortOption{} & |
---|
1495 | \Default{1} & |
---|
1496 | Indicates an upper bound for the number of bits of coding_unit() data. |
---|
1497 | \\ |
---|
1498 | \Option{Log2MaxMvLengthHorizontal} & |
---|
1499 | \ShortOption{} & |
---|
1500 | \Default{15} & |
---|
1501 | Indicate the maximum absolute value of a decoded horizontal MV component in quarter-pel luma units. |
---|
1502 | \\ |
---|
1503 | \Option{Log2MaxMvLengthVertical} & |
---|
1504 | \ShortOption{} & |
---|
1505 | \Default{15} & |
---|
1506 | Indicate the maximum absolute value of a decoded vertical MV component in quarter-pel luma units. |
---|
1507 | \\ |
---|
1508 | \end{OptionTable} |
---|
1509 | |
---|
1510 | %% |
---|
1511 | %% SEI messages |
---|
1512 | %% |
---|
1513 | \begin{OptionTable}{SEI messages} |
---|
1514 | \Option{SEIDecodedPictureHash} & |
---|
1515 | \ShortOption{\None} & |
---|
1516 | \Default{0} & |
---|
1517 | Enables or disables the calculation and insertion of the Decoded picture hash |
---|
1518 | SEI messages. |
---|
1519 | \par |
---|
1520 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1521 | 0 & Disabled \\ |
---|
1522 | 1 & Transmits MD5 in SEI message and writes the value to the encoder |
---|
1523 | log \\ |
---|
1524 | 2 & Transmits CRC in SEI message and writes the value to the encoder |
---|
1525 | log \\ |
---|
1526 | 3 & Transmits checksum in SEI message and writes the value to the encoder |
---|
1527 | log \\ |
---|
1528 | \end{tabular} |
---|
1529 | \\ |
---|
1530 | \Option{SEIpictureDigest} & |
---|
1531 | \ShortOption{\None} & |
---|
1532 | \Default{0} & |
---|
1533 | Deprecated alias for SEIDecodedPictureHash. |
---|
1534 | Do not use anymore. |
---|
1535 | \\ |
---|
1536 | \Option{SEIRecoveryPoint} & |
---|
1537 | \ShortOption{\None} & |
---|
1538 | \Default{0} & |
---|
1539 | Enables or disables the insertion of the Recovery point |
---|
1540 | SEI messages. |
---|
1541 | \\ |
---|
1542 | \Option{SEIActiveParameterSets} & |
---|
1543 | \ShortOption{\None} & |
---|
1544 | \Default{0} & |
---|
1545 | Enables or disables the insertion of the Active parameter sets |
---|
1546 | SEI messages. |
---|
1547 | \\ |
---|
1548 | \Option{SEIBufferingPeriod} & |
---|
1549 | \ShortOption{\None} & |
---|
1550 | \Default{0} & |
---|
1551 | Enables or disables the insertion of the Buffering period |
---|
1552 | SEI messages. This option has no effect if VuiParametersPresent is disabled. |
---|
1553 | SEIBufferingPeriod requires SEIActiveParameterSets to be enabled. |
---|
1554 | \\ |
---|
1555 | \Option{SEIPictureTiming} & |
---|
1556 | \ShortOption{\None} & |
---|
1557 | \Default{0} & |
---|
1558 | Enables or disables the insertion of the Picture timing |
---|
1559 | SEI messages. This option has no effect if VuiParametersPresent is disabled. |
---|
1560 | \\ |
---|
1561 | \Option{SEIDecodingUnitInfo} & |
---|
1562 | \ShortOption{\None} & |
---|
1563 | \Default{0} & |
---|
1564 | Enables or disables the insertion of the Decoding unit information |
---|
1565 | SEI messages. This option has no effect if VuiParametersPresent is disabled. |
---|
1566 | \\ |
---|
1567 | \Option{SEIGradualDecodingRefreshInfo} & |
---|
1568 | \ShortOption{\None} & |
---|
1569 | \Default{0} & |
---|
1570 | Enables or disables the insertion of the Gradual decoding refresh information |
---|
1571 | SEI messages. |
---|
1572 | \\ |
---|
1573 | \Option{SEITemporalLevel0Index} & |
---|
1574 | \ShortOption{\None} & |
---|
1575 | \Default{0} & |
---|
1576 | Enables or disables the insertion of the Temporal level zero index |
---|
1577 | SEI messages. |
---|
1578 | \\ |
---|
1579 | \Option{SEIDisplayOrientation} & |
---|
1580 | \ShortOption{\None} & |
---|
1581 | \Default{0} & |
---|
1582 | Enables or disables the insertion of the Display orientation |
---|
1583 | SEI messages. |
---|
1584 | \par |
---|
1585 | \begin{tabular}{cp{0.30\textwidth}} |
---|
1586 | 0 & Disabled \\ |
---|
1587 | N: $0 < N < (2^{16} - 1)$ & Enable display orientation SEI message with |
---|
1588 | \mbox{anticlockwise_rotation = N} |
---|
1589 | and \mbox{display_orientation_repetition_period = 1} \\ |
---|
1590 | \end{tabular} |
---|
1591 | \\ |
---|
1592 | \Option{SEIFramePacking} & |
---|
1593 | \ShortOption{\None} & |
---|
1594 | \Default{0} & |
---|
1595 | Enables or disables the insertion of the Frame packing arrangement SEI messages. |
---|
1596 | \\ |
---|
1597 | \Option{SEIFramePackingType} & |
---|
1598 | \ShortOption{\None} & |
---|
1599 | \Default{0} & |
---|
1600 | Indicates the arrangement type in the Frame packing arrangement SEI message. |
---|
1601 | This option has no effect if SEIFramePacking is disabled. |
---|
1602 | \par |
---|
1603 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1604 | 0 & Checkerboard \\ |
---|
1605 | 1 & Line Alternate \\ |
---|
1606 | 2 & Column Alternate \\ |
---|
1607 | 3 & Side by Side \\ |
---|
1608 | 4 & Top Bottom \\ |
---|
1609 | 5 & Frame Alternate \\ |
---|
1610 | 6 & 2D Image \\ |
---|
1611 | 7 & Tile Format \\ |
---|
1612 | \end{tabular} |
---|
1613 | \\ |
---|
1614 | \Option{SEIFramePackingInterpretation} & |
---|
1615 | \ShortOption{\None} & |
---|
1616 | \Default{0} & |
---|
1617 | Indicates the constituent frames relationship in the Frame packing arrangement SEI message. |
---|
1618 | This option has no effect if SEIFramePacking is disabled. |
---|
1619 | \par |
---|
1620 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1621 | 0 & Unspecified \\ |
---|
1622 | 1 & Frame 0 is associated with the left view of a stereo pair \\ |
---|
1623 | 2 & Frame 0 is associated with the right view of a stereo pair \\ |
---|
1624 | \end{tabular} |
---|
1625 | \\ |
---|
1626 | \Option{SEIFramePackingQuincunx} & |
---|
1627 | \ShortOption{\None} & |
---|
1628 | \Default{0} & |
---|
1629 | Enables or disables the quincunx_sampling signalling in the |
---|
1630 | Frame packing arrangement SEI messages. This option has no |
---|
1631 | effect if SEIFramePacking is disabled. |
---|
1632 | \\ |
---|
1633 | \Option{SEIFramePackingId} & |
---|
1634 | \ShortOption{\None} & |
---|
1635 | \Default{0} & |
---|
1636 | Indicates the session number in the Frame packing arrangement |
---|
1637 | SEI messages. This option has no effect if SEIFramePacking is |
---|
1638 | disabled. |
---|
1639 | \\ |
---|
1640 | \Option{SEIToneMappingInfo} & |
---|
1641 | \ShortOption{\None} & |
---|
1642 | \Default{0} & |
---|
1643 | Enables or disables the insertion of the Tone Mapping SEI message. |
---|
1644 | \\ |
---|
1645 | \Option{SEIToneMapId} & |
---|
1646 | \ShortOption{\None} & |
---|
1647 | \Default{0} & |
---|
1648 | Specifies Id of Tone Mapping SEI message for a given session. |
---|
1649 | \\ |
---|
1650 | \Option{SEIToneMapCancelFlag} & |
---|
1651 | \ShortOption{\None} & |
---|
1652 | \Default{0} & |
---|
1653 | Indicates that Tone Mapping SEI message cancels the persistance or follows. |
---|
1654 | \\ |
---|
1655 | \Option{SEIToneMapPersistenceFlag} & |
---|
1656 | \ShortOption{\None} & |
---|
1657 | \Default{1} & |
---|
1658 | Specifies the persistence of the Tone Mapping SEI message. |
---|
1659 | \\ |
---|
1660 | \Option{SEIToneMapCodedDataBitDepth} & |
---|
1661 | \ShortOption{\None} & |
---|
1662 | \Default{10} & |
---|
1663 | Specifies Coded Data BitDepth of Tone Mapping SEI messages. |
---|
1664 | \\ |
---|
1665 | \Option{SEIToneMapTargetBitDepth} & |
---|
1666 | \ShortOption{\None} & |
---|
1667 | \Default{8} & |
---|
1668 | Specifies Output BitDepth of Tome mapping function. |
---|
1669 | \\ |
---|
1670 | \Option{SEIToneMapModelId} & |
---|
1671 | \ShortOption{\None} & |
---|
1672 | \Default{0} & |
---|
1673 | Specifies Model utilized for mapping coded data into |
---|
1674 | target_bit_depth range. |
---|
1675 | \par |
---|
1676 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1677 | 0 & linear mapping with clipping \\ |
---|
1678 | 1 & sigmoidal mapping \\ |
---|
1679 | 2 & user-defined table mapping \\ |
---|
1680 | 3 & piece-wise linear mapping \\ |
---|
1681 | 4 & luminance dynamic range mapping \\ |
---|
1682 | \end{tabular} |
---|
1683 | \\ |
---|
1684 | \Option{SEIToneMapMinValue} & |
---|
1685 | \ShortOption{\None} & |
---|
1686 | \Default{0} & |
---|
1687 | Specifies the minimum value in mode 0. |
---|
1688 | \\ |
---|
1689 | \Option{SEIToneMapMaxValue} & |
---|
1690 | \ShortOption{\None} & |
---|
1691 | \Default{1023} & |
---|
1692 | Specifies the maxmum value in mode 0. |
---|
1693 | \\ |
---|
1694 | \Option{SEIToneMapSigmoidMidpoint} & |
---|
1695 | \ShortOption{\None} & |
---|
1696 | \Default{512} & |
---|
1697 | Specifies the centre point in mode 1. |
---|
1698 | \\ |
---|
1699 | \Option{SEIToneMapSigmoidWidth} & |
---|
1700 | \ShortOption{\None} & |
---|
1701 | \Default{960} & |
---|
1702 | Specifies the distance between 5% and 95% values of |
---|
1703 | the target_bit_depth in mode 1. |
---|
1704 | \\ |
---|
1705 | \Option{SEIToneMapStartOfCodedInterval} & |
---|
1706 | \ShortOption{\None} & |
---|
1707 | \Default{\None} & |
---|
1708 | Array of user-defined mapping table. |
---|
1709 | Default table can be set to the following: |
---|
1710 | \par |
---|
1711 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1712 | 0 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 |
---|
1713 | 192 192 196 204 208 216 220 228 232 240 248 252 260 264 |
---|
1714 | 272 276 284 292 292 296 300 304 308 312 320 324 328 332 |
---|
1715 | 336 344 348 352 356 360 368 372 376 380 384 388 396 400 |
---|
1716 | 404 408 412 420 424 428 432 436 444 444 444 448 452 456 |
---|
1717 | 460 464 468 472 476 476 480 484 488 492 496 500 504 508 |
---|
1718 | 508 512 516 520 524 528 532 536 540 540 544 548 552 556 |
---|
1719 | 560 564 568 572 572 576 580 584 588 592 596 600 604 604 |
---|
1720 | 608 612 616 620 624 628 632 636 636 640 644 648 652 656 |
---|
1721 | 660 664 668 672 672 672 676 680 680 684 688 692 692 696 |
---|
1722 | 700 704 704 708 712 716 716 720 724 724 728 732 736 736 |
---|
1723 | 740 744 748 748 752 756 760 760 764 768 768 772 776 780 |
---|
1724 | 780 784 788 792 792 796 800 804 804 808 812 812 816 820 |
---|
1725 | 824 824 828 832 836 836 840 844 848 848 852 856 860 860 |
---|
1726 | 860 864 864 868 872 872 876 880 880 884 884 888 892 892 |
---|
1727 | 896 900 900 904 908 908 912 912 916 920 920 924 928 928 |
---|
1728 | 932 936 936 940 940 944 948 948 952 956 956 960 964 964 |
---|
1729 | 968 968 972 976 976 980 984 984 988 992 992 996 996 1000 |
---|
1730 | 1004 1004 1008 1012 1012 1016 1020 1024 |
---|
1731 | \end{tabular} |
---|
1732 | \\ |
---|
1733 | \Option{SEIToneMapNumPivots} & |
---|
1734 | \ShortOption{\None} & |
---|
1735 | \Default{5} & |
---|
1736 | Specifies the number of pivot points in mode 3. |
---|
1737 | \\ |
---|
1738 | \Option{SEIToneMapCodedPivotValue} & |
---|
1739 | \ShortOption{\None} & |
---|
1740 | \Default{\None} & |
---|
1741 | Array of coded pivot point in mode 3. |
---|
1742 | Default table can be set to the following: |
---|
1743 | \par |
---|
1744 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1745 | 64 128 256 512 768 |
---|
1746 | \end{tabular} |
---|
1747 | \\ |
---|
1748 | \Option{SEIToneMapTargetPivotValue} & |
---|
1749 | \ShortOption{\None} & |
---|
1750 | \Default{\None} & |
---|
1751 | Array of target pivot point in mode 3. |
---|
1752 | Default table can be set to the following: |
---|
1753 | \par |
---|
1754 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1755 | 48 73 111 168 215 |
---|
1756 | \end{tabular} |
---|
1757 | \\ |
---|
1758 | \Option{SEIToneMapCameraIsoSpeedIdc} & |
---|
1759 | \ShortOption{\None} & |
---|
1760 | \Default{0} & |
---|
1761 | Indicates the camera ISO speed for daylight illumination. |
---|
1762 | \\ |
---|
1763 | \Option{SEIToneMapCameraIsoSpeedValue} & |
---|
1764 | \ShortOption{\None} & |
---|
1765 | \Default{420} & |
---|
1766 | Specifies the camera ISO speed for daylight illumination of Extended_ISO. |
---|
1767 | \\ |
---|
1768 | \Option{SEIToneMapExposureCompensationValueSignFlag} & |
---|
1769 | \ShortOption{\None} & |
---|
1770 | \Default{0} & |
---|
1771 | Specifies the sign of ExposureCompensationValue. |
---|
1772 | \\ |
---|
1773 | \Option{SEIToneMapExposureCompensationValueNumerator} & |
---|
1774 | \ShortOption{\None} & |
---|
1775 | \Default{0} & |
---|
1776 | Specifies the numerator of ExposureCompensationValue. |
---|
1777 | \\ |
---|
1778 | \Option{SEIToneMapExposureCompensationValueDenomIdc} & |
---|
1779 | \ShortOption{\None} & |
---|
1780 | \Default{2} & |
---|
1781 | Specifies the denominator of ExposureCompensationValue. |
---|
1782 | \\ |
---|
1783 | \Option{SEIToneMapRefScreenLuminanceWhite} & |
---|
1784 | \ShortOption{\None} & |
---|
1785 | \Default{350} & |
---|
1786 | Specifies reference screen brightness setting in units of candela per square metre. |
---|
1787 | \\ |
---|
1788 | \Option{SEIToneMapExtendedRangeWhiteLevel} & |
---|
1789 | \ShortOption{\None} & |
---|
1790 | \Default{800} & |
---|
1791 | Indicates the luminance dynamic range. |
---|
1792 | \\ |
---|
1793 | \Option{SEIToneMapNominalBlackLevelLumaCodeValue} & |
---|
1794 | \ShortOption{\None} & |
---|
1795 | \Default{16} & |
---|
1796 | Specifies luma sample value of the nominal black level assigned decoded pictures. |
---|
1797 | \\ |
---|
1798 | \Option{SEIToneMapNominalWhiteLevelLumaCodeValue} & |
---|
1799 | \ShortOption{\None} & |
---|
1800 | \Default{235} & |
---|
1801 | Specifies luma sample value of the nominal white level assigned decoded pictures. |
---|
1802 | \\ |
---|
1803 | \Option{SEIToneMapExtendedWhiteLevelLumaCodeValue} & |
---|
1804 | \ShortOption{\None} & |
---|
1805 | \Default{300} & |
---|
1806 | Specifies luma sample value of the extended dynamic range assigned decoded pictures. |
---|
1807 | \\ |
---|
1808 | \end{OptionTable} |
---|
1809 | |
---|
1810 | %% |
---|
1811 | %% |
---|
1812 | %% |
---|
1813 | \subsection{Hardcoded encoder parameters} |
---|
1814 | \begin{MacroTable}{CommonDef.h constants} |
---|
1815 | ADAPT_SR_SCALE & |
---|
1816 | 1 & |
---|
1817 | Defines a scaling factor used to derive the motion search range is |
---|
1818 | adaptive (see ASR configuration parameter). Default value is 1. |
---|
1819 | \\ |
---|
1820 | |
---|
1821 | MAX_GOP & |
---|
1822 | 64 & |
---|
1823 | maximum size of value of hierarchical GOP. |
---|
1824 | \\ |
---|
1825 | |
---|
1826 | MAX_NUM_REF & |
---|
1827 | 4 & |
---|
1828 | maximum number of multiple reference frames |
---|
1829 | \\ |
---|
1830 | |
---|
1831 | MAX_NUM_REF_LC & |
---|
1832 | 8 & |
---|
1833 | maximum number of combined reference frames |
---|
1834 | \\ |
---|
1835 | |
---|
1836 | AMVP_MAX_NUM_CANDS & |
---|
1837 | 2 & |
---|
1838 | maximum number of final candidates |
---|
1839 | \\ |
---|
1840 | |
---|
1841 | AMVP_MAX_NUM_CANDS_MEM & |
---|
1842 | 3 & |
---|
1843 | \\ |
---|
1844 | |
---|
1845 | MRG_MAX_NUM_CANDS & |
---|
1846 | 5 & |
---|
1847 | \\ |
---|
1848 | |
---|
1849 | DYN_REF_FREE & |
---|
1850 | off & |
---|
1851 | dynamic free of reference memories |
---|
1852 | \\ |
---|
1853 | |
---|
1854 | MAX_TLAYER & |
---|
1855 | 8 & |
---|
1856 | maximum number of temporal layers |
---|
1857 | \\ |
---|
1858 | |
---|
1859 | HB_LAMBDA_FOR_LDC & |
---|
1860 | on & |
---|
1861 | use of B-style lambda for non-key pictures in low-delay mode |
---|
1862 | \\ |
---|
1863 | |
---|
1864 | GPB_SIMPLE & |
---|
1865 | on & |
---|
1866 | Fast estimation of generalized B in low-delay mode |
---|
1867 | \\ |
---|
1868 | |
---|
1869 | GPB_SIMPLE_UNI & |
---|
1870 | on & |
---|
1871 | Fast estimation of generalized B in low-delay mode for uni-direction |
---|
1872 | \\ |
---|
1873 | |
---|
1874 | FASTME_SMOOTHER_MV & |
---|
1875 | on & |
---|
1876 | Fast ME using smoother MV assumption |
---|
1877 | \\ |
---|
1878 | |
---|
1879 | ADAPT_SR_SCALE & |
---|
1880 | on & |
---|
1881 | division factor for adaptive search range |
---|
1882 | \\ |
---|
1883 | |
---|
1884 | CLIP_TO_709_RANGE & |
---|
1885 | off & |
---|
1886 | \\ |
---|
1887 | |
---|
1888 | EARLY_SKIP_THRES & |
---|
1889 | 1.5 & |
---|
1890 | early skip if RD < EARLY_SKIP_THRES*avg[BestSkipRD] |
---|
1891 | \\ |
---|
1892 | |
---|
1893 | MAX_NUM_REF_PICS & |
---|
1894 | 16 & |
---|
1895 | \\ |
---|
1896 | |
---|
1897 | MAX_CHROMA_FORMAT_IDC & |
---|
1898 | 3 & |
---|
1899 | \\ |
---|
1900 | \end{MacroTable} |
---|
1901 | |
---|
1902 | \subsubsection*{TypeDef.h} |
---|
1903 | Numerous constants that guard individual adoptions are defined within |
---|
1904 | \url{source/Lib/TLibCommon/TypeDef.h}. |
---|
1905 | |
---|
1906 | %% |
---|
1907 | %% |
---|
1908 | %% |
---|
1909 | \clearpage |
---|
1910 | \section{Using the decoder} |
---|
1911 | \begin{verbatim} |
---|
1912 | TAppDecoder -b str.bin -o dec.yuv [options] |
---|
1913 | \end{verbatim} |
---|
1914 | |
---|
1915 | \begin{OptionTable}{Decoder options} |
---|
1916 | \Option{} & |
---|
1917 | \ShortOption{-h} & |
---|
1918 | \Default{\None} & |
---|
1919 | Prints usage information. |
---|
1920 | \\ |
---|
1921 | |
---|
1922 | \Option{} & |
---|
1923 | \ShortOption{-o} & |
---|
1924 | \Default{\NotSet} & |
---|
1925 | Defines reconstructed YUV file name. |
---|
1926 | \\ |
---|
1927 | |
---|
1928 | \Option{} & |
---|
1929 | \ShortOption{-s} & |
---|
1930 | \Default{0} & |
---|
1931 | Defines the number of pictures in decoding order to skip. |
---|
1932 | \\ |
---|
1933 | |
---|
1934 | \Option{OutputBitDepth} & |
---|
1935 | \ShortOption{-d} & |
---|
1936 | \Default{0 \\ (Native)} & |
---|
1937 | Specifies the luma bit-depth of the reconstructed YUV file (the value 0 indicates |
---|
1938 | that the native bit-depth is used) |
---|
1939 | \\ |
---|
1940 | |
---|
1941 | \Option{OutputBitDepthC} & |
---|
1942 | \ShortOption{\None} & |
---|
1943 | \Default{0 \\ (Native)} & |
---|
1944 | Defines the chroma bit-depth of the reconstructed YUV file (the value 0 indicates |
---|
1945 | that the native bit-depth is used) |
---|
1946 | \\ |
---|
1947 | |
---|
1948 | \Option{SEIPictureDigest} & |
---|
1949 | \ShortOption{\None} & |
---|
1950 | \Default{1} & |
---|
1951 | Enable or disable verification of any Picture hash SEI messages. When |
---|
1952 | this parameter is set to 0, the feature is disabled and all messages are |
---|
1953 | ignored. When set to 1 (default), the feature is enabled and the decoder |
---|
1954 | has the following behaviour: |
---|
1955 | \begin{itemize} |
---|
1956 | \item |
---|
1957 | If Picture hash SEI messages are included in the bitstream, the same type |
---|
1958 | of hash is calculated for each decoded picture and written to the |
---|
1959 | log together with an indication whether the calculted value matches |
---|
1960 | the value in the SEI message. |
---|
1961 | Decoding will continue even if there is a mismatch. |
---|
1962 | |
---|
1963 | \item |
---|
1964 | After decoding is complete, if any MD5sum comparison failed, a warning |
---|
1965 | is printed and the decoder exits with the status EXIT_FAILURE |
---|
1966 | |
---|
1967 | \item |
---|
1968 | The per-picture MD5 log message has the following formats: |
---|
1969 | [MD5:d41d8cd98f00b204e9800998ecf8427e,(OK)], |
---|
1970 | [MD5:d41d8cd98f00b204e9800998ecf8427e,(unk)], |
---|
1971 | [MD5:d41d8cd98f00b204e9800998ecf8427e,(***ERROR***)] [rxMD5:b9e1...] |
---|
1972 | where, "(unk)" implies that no MD5 was signalled for this picture, |
---|
1973 | "(OK)" implies that the decoder agrees with the signalled MD5, |
---|
1974 | "(***ERROR***)" implies that the decoder disagrees with the signalled |
---|
1975 | MD5. "[rxMD5:...]" is the signalled MD5 if different. |
---|
1976 | \end{itemize} |
---|
1977 | \\ |
---|
1978 | |
---|
1979 | \Option{RespectDefDispWindow} & |
---|
1980 | \ShortOption{-w} & |
---|
1981 | \Default{0} & |
---|
1982 | Video region to be output by the decoder. |
---|
1983 | \par |
---|
1984 | \begin{tabular}{cp{0.45\textwidth}} |
---|
1985 | 0 & Output content inside the conformance window. \\ |
---|
1986 | 1 & Output content inside the default window. \\ |
---|
1987 | \end{tabular} |
---|
1988 | \\ |
---|
1989 | |
---|
1990 | \end{OptionTable} |
---|
1991 | |
---|
1992 | |
---|
1993 | \end{document} |
---|