#======== Shutter Interval Info SEI message =====================
SEIShutterIntervalEnabled : 1
SEISiiTimeScale : 27000000
SEISiiInputNumUnitsInShutterInterval : 1080000 # should have at least one entry. if only one entry, the value is assigned to sii_num_units_in_shutter_interval,
# if multiple entries, the values are set to sub_layer_num_units_in_shutter_interval[ ]
156 & Omni viewport & Table \ref{tab:sei-omni-viewport}\\
158 & Motion-constrained tile set extraction information & Table \ref{tab:sei-mcts-extract}\\
203 & Shutter interval information & Table \ref{tab:sei-sii}\\
\end{SEIListTable}
%%
%% SEI messages
...
...
@@ -2314,6 +2319,61 @@ SEI messages.
\begin{OptionTableNoShorthand}{Film grain characteristics SEI message encoder parameters}{tab:sei-film-grain}
\Option{SEIFGCEnabled}&
\Default{0}&
Enables or disables the insertion of the film grain characteristics SEI message.
\\
\Option{SEIFGCCancelFlag}&
\Default{0}&
Specifies the persistence of any previous film grain characteristics SEI message in output order.
\\
\Option{SEIFGCPersistenceFlag}&
\Default{1}&
Specifies the persistence of the film grain characteristics SEI message for the current layer.
\\
\Option{SEIFGCModelID}&
\Default{0}&
Specifies the film grain simulation model.
\par
\begin{tabular}{cp{0.35\textwidth}}
0 & frequency filtering \\
1 & auto-regression \\
\end{tabular}
\\
\Option{SEIFGCSepColourDescPresentFlag}&
\Default{0}&
Specifies the presence of a distinct colour space description for the film grain characteristics specified in the SEI message.
\\
\Option{SEIFGCBlendingModeID}&
\Default{0}&
Specifies the blending mode used to blend the simulated film grain with the decoded images.
\par
\begin{tabular}{cp{0.35\textwidth}}
0 & additive \\
1 & multiplicative \\
\end{tabular}
\\
\Option{SEIFGCLog2ScaleFactor}&
\Default{0}&
Specifies a scale factor used in the film grain characterization equations.
\\
\Option{SEIFGCCompModelPresentComp0}&
\Default{0}&
Specifies the presence of film grain modelling on colour component 0.
\\
\Option{SEIFGCCompModelPresentComp1}&
\Default{0}&
Specifies the presence of film grain modelling on colour component 1.
\\
\Option{SEIFGCCompModelPresentComp2}&
\Default{0}&
Specifies the presence of film grain modelling on colour component 2.
\\
\end{OptionTableNoShorthand}
\begin{OptionTableNoShorthand}{Tone mapping information SEI message encoder parameters}{tab:sei-tone-mapping-info}
\Option{SEIToneMappingInfo}&
\Default{0}&
...
...
@@ -2890,6 +2950,120 @@ An example file can be found in cfg/misc/example_colour_remapping_sei_encoder_0.
\\
\end{OptionTableNoShorthand}
\begin{OptionTableNoShorthand}{Content light level info SEI message encoder parameters}{tab:sei-content-light-level}
\Option{SEICLLEnabled}&
\Default{false}&
Enables or disables the insertion of the content light level SEI message.
\\
\Option{SEICLLMaxContentLightLevel}&
\Default{4000}&
When not equal to 0, specifies an upper bound on the maximum light level among all individual samples in a 4:4:4 representation of red, green, and blue colour primary intensities in the linear light domain for the pictures of the CLVS, in units of candelas per square metre. When equal to 0, no such upper bound is indicated.
\\
\Option{SEICLLMaxPicAvgLightLevel}&
\Default{0}&
When not equal to 0, specifies an upper bound on the maximum average light level among the samples in a 4:4:4 representation of red, green, and blue colour primary intensities in the linear light domain for any individual picture of the CLVS, in units of candelas per square metre. When equal to 0, no such upper bound is indicated.
\\
\end{OptionTableNoShorthand}
\begin{OptionTableNoShorthand}{Alternative transfer characteristics SEI message encoder parameters}{tab:sei-alternative-transfer-characteristics}
\Option{SEIPreferredTransferCharacteristics}&
\Default{18}&
Indicates a preferred alternative value for the transfer_characteristics syntax element that is indicated by the colour description syntax of VUI parameters.
\\
\end{OptionTableNoShorthand}
\begin{OptionTableNoShorthand}{Ambient viewing environment SEI message encoder parameters}{tab:sei-ambient-viewing-environment}
\Option{SEIAVEEnabled}&
\Default{false}&
Enables or disables the insertion of the ambient viewing environment SEI message.
\\
\Option{SEIAVEAmbientIlluminance}&
\Default{100000}&
Specifies the environmental illuminance of the ambient viewing environment in units of 1/10000 lux. The value shall not be 0.
\\
\Option{SEIAVEAmbientLightX}&
\Default{15635}&
Specifies the x chromaticity coordinate, according to the CIE 1931 definition, of the environmental ambient light in the nominal viewing environment in normalized increments of 1/50000. The value shall be in the range of 0 to 50,000, inclusive.
\\
\Option{SEIAVEAmbientLightY}&
\Default{16450}&
Specifies the y chromaticity coordinate, according to the CIE 1931 definition, of the environmental ambient light in the nominal viewing environment in normalized increments of 1/50000. The value shall be in the range of 0 to 50,000, inclusive.
\\
\end{OptionTableNoShorthand}
\begin{OptionTableNoShorthand}{Content colour volume SEI message encoder parameters}{tab:sei-content-colour-volume}
\Option{SEICCVEnabled}&
\Default{false}&
Enables or disables the insertion of the content colour volume SEI message.
\\
\Option{SEICCVCancelFlag}&
\Default{false}&
Specifies the persistence of any previous content colour volume SEI message in output order.
\\
\Option{SEICCVPersistenceFlag}&
\Default{true}&
Specifies the persistence of the content colour volume SEI message for the current layer.
\\
\Option{SEICCVPrimariesPresent}&
\Default{true}&
Specifies whether the CCV primaries are present in the content colour volume SEI message.
\\
\Option{m_ccvSEIPrimariesX0}&
\Default{0.300}&
Specifies the x coordinate, according to the CIE 1931 definition, of the first (green) colour primary component in normalized increments of 1/50000.
\\
\Option{m_ccvSEIPrimariesY0}&
\Default{0.600}&
Specifies the y coordinate, according to the CIE 1931 definition, of the first (green) colour primary component in normalized increments of 1/50000.
\\
\Option{m_ccvSEIPrimariesX1}&
\Default{0.150}&
Specifies the x coordinate, according to the CIE 1931 definition, of the second (blue) colour primary component in normalized increments of 1/50000.
\\
\Option{m_ccvSEIPrimariesY1}&
\Default{0.060}&
Specifies the y coordinate, according to the CIE 1931 definition, of the second (blue) colour primary component in normalized increments of 1/50000.
\\
\Option{m_ccvSEIPrimariesX2}&
\Default{0.640}&
Specifies the x coordinate, according to the CIE 1931 definition, of the third (red) colour primary component in normalized increments of 1/50000.
\\
\Option{m_ccvSEIPrimariesY2}&
\Default{0.330}&
Specifies the y coordinate, according to the CIE 1931 definition, of the third (red) colour primary component in normalized increments of 1/50000.
\\
\Option{SEICCVMinLuminanceValuePresent}&
\Default{true}&
Specifies whether the CCV min luminance value is present in the content colour volume SEI message.
\\
\Option{SEICCVMinLuminanceValue}&
\Default{0.0}&
specifies the CCV min luminance value in the content colour volume SEI message.
\\
\Option{SEICCVMaxLuminanceValuePresent}&
\Default{1}&
Specifies whether the CCV max luminance value is present in the content colour volume SEI message.
\\
\Option{SEICCVMaxLuminanceValue}&
\Default{0.1}&
specifies the CCV max luminance value in the content colour volume SEI message.
\\
\Option{SEICCVAvgLuminanceValuePresent}&
\Default{1}&
Specifies whether the CCV avg luminance value is present in the content colour volume SEI message.
\\
\Option{SEICCVAvgLuminanceValue}&
\Default{0.01}&
specifies the CCV avg luminance value in the content colour volume SEI message.
\\
\end{OptionTableNoShorthand}
\begin{OptionTableNoShorthand}{Equirectangular Projection SEI message encoder parameters}{tab:sei-erp}
\Option{SEIErpEnabled}&
\Default{false}&
...
...
@@ -3124,6 +3298,33 @@ When true (non-zero), generates example motion-constrained tile sets extraction
\\
\end{OptionTableNoShorthand}
\begin{OptionTableNoShorthand}{Shutter interval info SEI message encoder parameters}{tab:sei-sii}
\Option{SEIShutterIntervalEnabled}&
\Default{false}&
Enables or disables the insertion of the shutter interval info SEI message.
\\
\Option{SEISiiNumUnitsInShutterInterval}&
\Default{1080000}&
Specifies the number of time units of a clock operating at the frequency sii_time_scale Hz that corresponds to one increment of an shutter clock tick counter.
\\
\Option{SEISiiTimeScale}&
\Default{27000000}&
Specifies the number of time units that pass in one second.
\\
\Option{SEISiiMaxSubLayersMinus1}&
\Default{0}&
The value plus 1 specifies the maximum number of temporal sub-layers that may be present in each CVS referring to the SPS. The value shall be in the range of 0 to 6.
\\
\Option{SEISiiFixedShutterIntervalWithinCVSFlag}&
\Default{true}&
Specifies if shutter interval info is the same for all temporal sub-layers in the CVS.
("SEICCVAvgLuminanceValuePresent",m_ccvSEIAvgLuminanceValuePresentFlag,true,"Specifies whether the CCV avg luminance value is present in the content colour volume SEI message")
("SEICCVAvgLuminanceValue",m_ccvSEIAvgLuminanceValue,0.01,"specifies the CCV avg luminance value in the content colour volume SEI message")
#endif
#if SHUTTER_INTERVAL_SEI_MESSAGE
("SEIShutterIntervalEnabled",m_siiSEIEnabled,false,"Controls if shutter interval information SEI message is enabled")
("SEIFGCEnabled",m_fgcSEIEnabled,false,"Control generation of the film grain characteristics SEI message")
("SEIFGCCancelFlag",m_fgcSEICancelFlag,true,"Specifies the persistence of any previous film grain characteristics SEI message in output order.")
("SEIFGCPersistenceFlag",m_fgcSEIPersistenceFlag,false,"Specifies the persistence of the film grain characteristics SEI message for the current layer.")
("SEIFGCModelID",m_fgcSEIModelID,0u,"Specifies the film grain simulation model. 0: frequency filtering; 1: auto-regression.")
("SEIFGCSepColourDescPresentFlag",m_fgcSEISepColourDescPresentFlag,false,"Specifies the presense of a distinct colour space description for the film grain charactersitics specified in the SEI message.")
("SEIFGCBlendingModeID",m_fgcSEIBlendingModeID,0u,"Specifies the blending mode used to blend the simulated film grain with the decoded images. 0: additive; 1: multiplicative.")
("SEIFGCLog2ScaleFactor",m_fgcSEILog2ScaleFactor,0u,"Specifies a scale factor used in the film grain characterization equations.")
("SEIFGCCompModelPresentComp0",m_fgcSEICompModelPresent[0],false,"Specifies the presense of film grain modelling on colour component 0.")
("SEIFGCCompModelPresentComp1",m_fgcSEICompModelPresent[1],false,"Specifies the presense of film grain modelling on colour component 1.")
("SEIFGCCompModelPresentComp2",m_fgcSEICompModelPresent[2],false,"Specifies the presense of film grain modelling on colour component 2.")
// content light level SEI
("SEICLLEnabled",m_cllSEIEnabled,false,"Control generation of the content light level SEI message")
("SEICLLMaxContentLightLevel",m_cllSEIMaxContentLevel,0u,"When not equal to 0, specifies an upper bound on the maximum light level among all individual samples in a 4:4:4 representation "
"of red, green, and blue colour primary intensities in the linear light domain for the pictures of the CLVS, "
"in units of candelas per square metre.When equal to 0, no such upper bound is indicated.")
("SEICLLMaxPicAvgLightLevel",m_cllSEIMaxPicAvgLevel,0u,"When not equal to 0, specifies an upper bound on the maximum average light level among the samples in a 4:4:4 representation "
"of red, green, and blue colour primary intensities in the linear light domain for any individual picture of the CLVS, "
"in units of candelas per square metre.When equal to 0, no such upper bound is indicated.")
// ambient viewing environment SEI
("SEIAVEEnabled",m_aveSEIEnabled,false,"Control generation of the ambient viewing environment SEI message")
("SEIAVEAmbientIlluminance",m_aveSEIAmbientIlluminance,100000u,"Specifies the environmental illluminance of the ambient viewing environment in units of 1/10000 lux for the ambient viewing enviornment SEI message")
("SEIAVEAmbientLightX",m_aveSEIAmbientLightX,15635u,"Specifies the normalized x chromaticity coordinate of the environmental ambient light in the nominal viewing enviornment according to the CIE 1931 defination in units of 1/50000 lux for the ambient viewing enviornment SEI message")
("SEIAVEAmbientLightY",m_aveSEIAmbientLightY,16450u,"Specifies the normalized y chromaticity coordinate of the environmental ambient light in the nominal viewing enviornment according to the CIE 1931 defination in units of 1/50000 lux for the ambient viewing enviornment SEI message")
#endif
#if ERP_SR_OV_SEI_MESSAGE
("SEIErpEnabled",m_erpSEIEnabled,false,"Control generation of equirectangular projection SEI messages")
("SEIErpCancelFlag",m_erpSEICancelFlag,true,"Indicate that equirectangular projection SEI message cancels the persistence or follows")
std::stringm_summaryOutFilename;///< filename to use for producing summary output file.
std::stringm_summaryPicFilenameBase;///< Base filename to use for producing summary picture output files. The actual filenames used will have I.txt, P.txt and B.txt appended.
UIntm_summaryVerboseness;///< Specifies the level of the verboseness of the text output.
#define AR_SEI_MESSAGE 1 ///< Annotated Region SEI message
#define SHUTTER_INTERVAL_SEI_MESSAGE 1 ///< support for shutter interval SEI message
#define SEI_ENCODER_CONTROL 1 ///< add encoder control for the following SEI: film grain characteristics, content light level, ambient viewing environment
#define FIXSAORESETAFTERIRAP 1 // Fix the reset mechanism for SAO after an IRAP for the case of IRAP period equal to gop size.
#define ADD_RESET_ENCODER_DECISIONS_AFTER_IRAP 1 // Add support to reseting encoder decisions after IRAP, to enable independent/parallel coding of randomaccess configuration intra-periods.