TRVCamVideoMode, TRVColorModel types

<< Click to display table of contents >>

TRVCamVideoMode, TRVColorModel types

Contains information about webcam video mode.

Unit [VCL and LCL] MRVType;

Unit [FMX] fmxMRVType;

 

For Windows

type
  TRVColorModel = (rvcmARGB, rvcmRGB, rvcmYV, rvcmOther);
  TRVCamVideoMode = packed record
    Index:       Integer;

    Width:       Integer;

    Height:      Integer;

    ColorDepth:  byte;

    ColorModel:  TRVColorModel;

    VideoFormat: String;

    majortype:   TGUID;

    subtype:     TGUID;

    formattype:  TGUID;
  end;

For Linux and macOS

type
  TRVCamVideoMode = record
    Width, Height: Integer;
    PixelFormat: Cardinal;
  end;

 

You can use the functions from MRVWebCamFuncs unit to display description of the video mode to the user.

 

 

See also

TRVCamera's webcam video mode methods