WebIDLpedia

VideoColorSpace interface

Definition

WebCodecs defines VideoColorSpace



[Exposed=(Window,DedicatedWorker)]
interface VideoColorSpace {
  constructor(optional VideoColorSpaceInit init = {});

  readonly attribute VideoColorPrimaries? primaries;
  readonly attribute VideoTransferCharacteristics? transfer;
  readonly attribute VideoMatrixCoefficients? matrix;
  readonly attribute boolean? fullRange;

  [Default] VideoColorSpaceInit toJSON();
};

Methods and attributes that return objects implementing VideoColorSpace

Referring IDL interfaces/dictionaries