Struct FourCC
4-character code of codec used to compress the frames.
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: OpenCvSharp.dll
Syntax
public readonly struct FourCC
Constructors
|
Improve this Doc
View Source
FourCC(Int32)
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Fields
|
Improve this Doc
View Source
AVC
Declaration
public static readonly int AVC
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CVID
Declaration
public static readonly int CVID
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Default
Declaration
public const int Default = -1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DIB
Declaration
public static readonly int DIB
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DIV3
Declaration
public static readonly int DIV3
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DIVX
Declaration
public static readonly int DIVX
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DV25
Declaration
public static readonly int DV25
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DV50
Declaration
public static readonly int DV50
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DVC
Declaration
public static readonly int DVC
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DVH1
Declaration
public static readonly int DVH1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DVHD
Declaration
public static readonly int DVHD
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DVSD
Declaration
public static readonly int DVSD
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DVSL
Declaration
public static readonly int DVSL
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
H261
Declaration
public static readonly int H261
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
H263
Declaration
public static readonly int H263
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
H264
Declaration
public static readonly int H264
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
H265
Declaration
public static readonly int H265
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
HEVC
Declaration
public static readonly int HEVC
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
I420
Declaration
public static readonly int I420
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IV32
Declaration
public static readonly int IV32
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IV41
Declaration
public static readonly int IV41
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IV50
Declaration
public static readonly int IV50
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IYUB
Declaration
public static readonly int IYUB
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IYUV
Declaration
public static readonly int IYUV
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
JPEG
Declaration
public static readonly int JPEG
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
M4S2
Declaration
public static readonly int M4S2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MJPG
Declaration
public static readonly int MJPG
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MP42
Declaration
public static readonly int MP42
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MP43
Declaration
public static readonly int MP43
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MP4S
Declaration
public static readonly int MP4S
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MP4V
Declaration
public static readonly int MP4V
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MPG1
Declaration
public static readonly int MPG1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MPG2
Declaration
public static readonly int MPG2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MPG4
Declaration
public static readonly int MPG4
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MSS1
Declaration
public static readonly int MSS1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MSS2
Declaration
public static readonly int MSS2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MSVC
Declaration
public static readonly int MSVC
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PIM1
Declaration
public static readonly int PIM1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Prompt
Declaration
public const int Prompt = -1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Value
Declaration
public readonly int Value
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WMV1
Declaration
public static readonly int WMV1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WMV2
Declaration
public static readonly int WMV2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WMV3
Declaration
public static readonly int WMV3
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WVC1
Declaration
public static readonly int WVC1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
X264
Declaration
public static readonly int X264
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
XVID
Declaration
public static readonly int XVID
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Equals(FourCC)
Declaration
public readonly bool Equals(FourCC other)
Parameters
Type |
Name |
Description |
FourCC |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override readonly bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
FromFourChars(Char, Char, Char, Char)
Create from four characters
Declaration
public static FourCC FromFourChars(char c1, char c2, char c3, char c4)
Parameters
Type |
Name |
Description |
System.Char |
c1 |
|
System.Char |
c2 |
|
System.Char |
c3 |
|
System.Char |
c4 |
|
Returns
|
Improve this Doc
View Source
FromInt32(Int32)
Declaration
public static FourCC FromInt32(int code)
Parameters
Type |
Name |
Description |
System.Int32 |
code |
|
Returns
|
Improve this Doc
View Source
FromString(String)
Create from string (length == 4)
Declaration
public static FourCC FromString(string code)
Parameters
Type |
Name |
Description |
System.String |
code |
|
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
ToInt32()
Declaration
public readonly int ToInt32()
Returns
Type |
Description |
System.Int32 |
|
Operators
|
Improve this Doc
View Source
Equality(FourCC, FourCC)
Declaration
public static bool operator ==(FourCC left, FourCC right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Implicit(FourCC to Int32)
Declaration
public static implicit operator int (FourCC fourcc)
Parameters
Type |
Name |
Description |
FourCC |
fourcc |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Implicit(Int32 to FourCC)
Declaration
public static implicit operator FourCC(int code)
Parameters
Type |
Name |
Description |
System.Int32 |
code |
|
Returns
|
Improve this Doc
View Source
Inequality(FourCC, FourCC)
Declaration
public static bool operator !=(FourCC left, FourCC right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
IEquatable<>