Class ChromaPosition
Defines the positioning of chroma components relative to their associated luma components when chroma planes are subsampled.
Inheritance
System.Object
ChromaPosition
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public sealed class ChromaPosition : Enum
Fields
CositedHorizontal
Chroma components are aligned with luma columns.
Declaration
public const ChromaPosition CositedHorizontal
Field Value
Type | Description |
---|---|
ChromaPosition |
CositedVertical
Chroma components are aligned with luma rows.
Declaration
public const ChromaPosition CositedVertical
Field Value
Type | Description |
---|---|
ChromaPosition |
InterstitalVertical
Chroma components are offset between luma rows.
Declaration
public const ChromaPosition InterstitalVertical
Field Value
Type | Description |
---|---|
ChromaPosition |
InterstitialHorizontal
Chroma components are offset between luma columns.
Declaration
public const ChromaPosition InterstitialHorizontal
Field Value
Type | Description |
---|---|
ChromaPosition |
Jpeg
Chroma components are offset between luma rows and columns, as in JPEG images.
Declaration
public const ChromaPosition Jpeg
Field Value
Type | Description |
---|---|
ChromaPosition |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
Video
Chroma components are aligned with luma columns and offset between luma rows, as in most modern video formats.
Declaration
public const ChromaPosition Video
Field Value
Type | Description |
---|---|
ChromaPosition |