# HDRnvert default configuration file
# format: parameter=value or parameter="stringvalue", no SPACES!

###############################################################################
#
# Input/output file parameters
#
###############################################################################
SourceFile=".\SVT_EBU_ParkJoy\%05d.sgi.tiff" 
OutputFile=".\SVT_ParkJoy_3840x2160p_10b420.yuv"     # converted YUV file

SourceWidth=3840         # input frame height
SourceHeight=2160        # input frame height
SourceRate=50.0          # input frame rate
SourceInterleaved=0      # Interleaved or Planar data 
SourceChromaFormat=3     # Input chroma format
                         # 0 : 400
                         # 1 : 420
                         # 2 : 422
                         # 3 : 444
SourceBitDepthCmp0=16    # Input bit depth of luma component 
SourceBitDepthCmp1=16    # Input bit depth of u/cb component 
SourceBitDepthCmp2=16    # Input bit depth of v/cr component 
SourceFourCCCode=6       # FourCC code for input source
                         # 0: UYVY
                         # 1: YUY2
                         # 2: YUYV
						 # 3: YVYU
                         # 4: BGR
                         # 5: V210
                         # 6: Y444I
SourceColorSpace=1       # 0: CM_YUV
                         # 1: CM_RGB 
                         # 2: CM_XYZ       

SourceColorPrimaries=0   # 0: BT.709
                         # 1: BT.2020
                         # 2: P3D60
                         # 3: P3D65
                         # 4: None
SourceSampleRange=1      # Sample Range:
                         # 0: Standard/Limited/Video
                         # 1: Full
                         # 2: Restricted
                         # 3: SDI Scaled
                         # 4: SDI
SourceTransferFunction=18

OutputRate=50.0          # output frame rate
OutputChromaFormat=1    # Output Chroma format
                         # 0 : 400
                         # 1 : 420
                         # 2 : 422
                         # 3 : 444

OutputBitDepthCmp0=10    # bit depth of luma component for distortion computation
OutputBitDepthCmp1=10    # bit depth of u/cb component for distortion computation 
OutputBitDepthCmp2=10    # bit depth of v/cr component for distortion computation 
OutputColorSpace=0       # 0: CM_YUV
                         # 1: CM_RGB 
                         # 2: CM_XYZ

OutputColorPrimaries=0   # 0: BT.709
                         # 1: BT.2020
                         # 2: P3D60
                         # 3: P3D65
                         # 4: None
OutputSampleRange=0      # Sample Range:
                         # 0: Standard/Limited/Video
                         # 1: Full
                         # 2: Restricted
                         # 3: SDI Scaled
                         # 4: SDI

                         
NumberOfFrames=500       # number of frames to process
InputFileHeader=0        # Input File header to be skipped (in bytes).
StartFrame=15523         # Number of frames to skip before start
 
SilentMode=1             # Enable Silent mode 

OutputTransferFunction=18 # Transfer Function
                         # 0: NULL (no new TF applied)
                         # 1: PQ
                         # 2: PH
                     
USeSingleTransferStep=1  # Use a single step or two step process for the application of the PQ TF
TransformPrecision=0     # Use fixed (0) or high precision for color transform 
#NormalizationScale=10000
ChromaDownsampleFilter=6 # 444 to 420 conversion filters
                         # 0: Nearest Neighbor
                         # 1: Bilinear
                         # 2: H={1, 6, 1} and V={1, 1}
                         # 3: H={1, 2, 1} and V={1, 1}
ChromaUpsampleFilter=0   # 420 to 444 conversion filters
                         # 0 : Nearest Neighbor
                         # 1 : 4-tap in w14548
SetOutputSinglePrec=0    # Set OpenEXR output file precision 
                         # 0: HALF, 1: SINGLE
OutputChromaLocationTop=0
OutputChromaLocationBottom=0

