enum DeviceDataType :int
    {
        None = 0,
     
        SourceRGBA32 = 1,
      
        Keying = 2,
      
        TransportYUVA = 4,
    };

当声明一个DeviceDataType type = 7;时,type相当于SourceRGBA32 || Keying ||TransportYUVA,也就是type == SourceRGBA32,type == Keying,type == TransportYUVA都是true。

05-07 15:42