Skip to content

CLYCbCr, XYZ and KEY colorimetry #35

@garethsb

Description

@garethsb

ST 2110-20 and RFC 9134 (JPEG XS) define colorimetry values for CLYCbCr (constant luminance YCbCr), and XYZ colorspaces, and key.

IS-04 v1.3 raw video Flow components cannot represent these colorspaces, because the enum for components.name doesn't include the necessary entries and there isn't an escape via e.g. a string pattern.

PR #33 added support for components for coded video Flows, e.g. JPEG XS, using the same definition.

Should we add enum entries to the schema in the Parameter Registers even though this wouldn't solve the problem for video/raw Flows?

E.g.

              "Yc",
              "Cbc",
              "Crc",
              "X",
              "Z",
              "Key",

Or should we roll that back and add a color_sampling attribute (with values like the same-named parameter constraint in the Capabilities register) instead?


FWIW, there are just a few other "closed enums" in IS-04 and IS-05 that we might prefer were open to extension without having to bump the spec version...

In IS-04

In IS-05

  • fec_type has fixed options of XOR and Reed-Solomon (sufficient for all time?!)
  • more importantly /transporttype has a fixed list of options (and a larger change would be needed to make the schemas for new transport types "pluggable")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions