Changes
Page history
Create ChromaConvert
authored
Apr 17, 2023
by
Brandon Williams
Hide whitespace changes
Inline
Side-by-side
ChromaConvert.md
0 → 100644
View page @
8c3cebc6
_**Table of Contents**_
[[
_TOC_
]]
---
### Source Parameters
**SourceFile**
Source File Name
`default=NULL`
**SourceWidth**
Input Source Frame Width
`default=176 range=[0, 65536]`
**SourceHeight**
Input Source Frame Height
`default=144 range=[0, 65536]`
**SourceRate**
Input Source Frame Rate
`default=24 range=[0.01, 120.00]`
**NumberOfFrames**
Number of Frames to Process
`default=1 range=[1, 2147483647]`
**InputFileHeader**
Source Header (bytes)
`default=0 range=[0, 2147483647]`
**StartFrame**
Source Start Frame
`default=0 range=[0, 2147483647]`
**SourceInterleaved**
Interleaved or Planar Data Source
`default=0 range=[0, 1]`
**SourceInterlaced**
Interlaced Source
`default=0 range=[0, 1]`
**SilentMode**
Enable Silent Mode
`default=0 range=[0, 1]`
**SourceChromaFormat**
Input Chroma Format
`default=1 range=[0, 3]`
| Value | Meaning |
|-------|----------|
| 0 | 4:0:0 |
|
**1**
|
**4:2:0**
|
| 2 | 4:2:2 |
| 3 | 4:4:4 |
**SourceBitDepthCmp0**
Input Bit Depth of Luma Component for Distortion Computation
`default=8 range=[8, 16]`
**SourceBitDepthCmp1**
Input Bit Depth of u/cb Component for Distortion Computation
`default=8 range=[8, 16]`
**SourceBitDepthCmp2**
Input Bit Depth of v/cr Component for Distortion Computation
`default=8 range=[8, 16]`
**SourceFourCCCode**
Source Pixel Format
`default=0 range=[0, 8]`
| Value | Meaning |
|-------|----------|
|
**0**
|
**UYVY**
|
| 1 | YUY2 |
| 2 | YUYV |
| 3 | YVYU |
| 4 | BGR |
| 5 | BGR |
| 6 | V210 |
| 7 | UYVY10 |
| 8 | XYZ |
**SourceColorSpace**
Source Color Space
`default=0 range=[0, 2]`
| Value | Meaning |
|-------|----------|
|
**0**
|
**CM_YCbCr**
|
| 1 | CM_RGB |
| 2 | CM_XYZ |
**SourceColorPrimaries**
Source Color Primaries
`default=0 range=[0, 12]`
| Value | Meaning |
|-------|---------|
|
**0**
|
**BT.709**
|
| 1 | BT.2020 |
| 2 | P3D60 |
| 3 | P3D65 |
| 4 | None |
Source Sample Range
`default=0 range=[0, 1]`
| Value | Meaning | Description |
|-------|----------|-------------|
|
**0**
|
**Standard**
|
**
Standard/Limited/Video range (16-235)
* k**, **i.e. Floor (219 *
D
* N + 16 *
D + 0.5), with N = [0, 1]
**
|
| 1 | Total | Full range (0 - 2^(k-1)) |
**SetOutputSinglePrec**
Set OpenEXR Output File Precision
`default=0 range=[0, 1]`
| Value | Meaning |
|-------|----------|
|
**0**
|
**HALF**
|
| 1 | Single |
---
### Output Parameters
**OutputFile**
Output File Name
`default=test_1920x1080_24p_420.yuv`
**LogFile**
Output Log file name
`default=Log.txt`
**OutputChromaFormat**
Output Chroma Format
`default=1 range=[0, 3]`
| Value | Meaning |
|-------|----------|
|
**0**
|
**4:0:0**
|
| 1 | 4:2:0 |
| 2 | 4:2:2 |
| 3 | 4:4:4 |
**OutputBitDepthCmp0**
Bit Depth of Luma Component for Distortion Computation
`default=8 range=[8, 16]`
**OutputBitDepthCmp1**
Bit Depth of u/cb Component for Distortion Computation
`default=8 range=[8, 16]`
**OutputBitDepthCmp2**
Bit Depth of v/cr Component for Distortion Computation
`default=8 range=[8, 16]`
**ChromaDownsampleFilter**
444 to 420 Conversion Filters
`default=2 range=[0, 24]`
| Value | Meaning |
|-------|----------|
| 0 | Nearest Neighbor |
| 1 | Bilinear |
|
**2**
|
**F0, H={1, 6, 1} and V={1, 1}**
|
| 3 | F1, H={1, 2, 1} and V={1, 1} |
| 4 | TM, MPEG-2 upsampler |
| 5 | FV, FastVDO upsampling filters |
| 6 | GS |
| 7 | WCS |
| 8 | SVC |
| 9 | LZW |
| 10 | SNW |
| 11 | LZ2 |
| 12 | SN2 |
| 13 | SN3 |
| 14 | LZ3 |
| 15 | LZ4 |
| 16 | SNW3 |
| 17 | SNW7 |
| 18 | SNW11 |
| 19 | SNW15 |
| 20 | SSW3 |
| 21 | SSW5 |
| 22 | SSW7 |
| 23 | SSW11 |
| 24 | SSW15 |
**ChromaUpsampleFilter**
420 to 444 Conversion Filters
`default=0 range=[0, 8]`
| Value | Meaning |
|-------|----------|
|
**0**
|
**Nearest Neighbor**
|
| 1 | F0, 4-tap in w14548 | |
| 2 | FV, FastVDO upsampling filters |
| 3 | GS |
| 4 | LS3, Lanczos 3 upsampler |
| 5 | LS4, Lanczos 4 upsampler |
| 6 | TM, MPEG-2 upsampler |
| 7 | LS5, Lanczos 5 upsampler |
| 8 | LS6, Lanczos 6 upsampler |
\ No newline at end of file