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