public static EasyDecoder Default(int rectsPerRow = 90, int rectWidth = 4, int rectHeight = 4, byte bitsPerChannel = 6, bool fullRange = false) { return(new EasyDecoder( rectsPerRow, rectWidth, rectHeight, ChannelSettings.Default(bitsPerChannel, fullRange), ChannelSettings.Default(bitsPerChannel, fullRange), ChannelSettings.Default(bitsPerChannel, fullRange))); }
public BitsDecoder( IPixelDecoder pixelDecoder, ChannelSettings red, ChannelSettings green, ChannelSettings blue ) { m_PixelDecoder = pixelDecoder; m_Red = red; m_Green = green; m_Blue = blue; }
public EasyDecoder( int rectsPerRow, int rectWidth, int rectHeight, ChannelSettings red, ChannelSettings green, ChannelSettings blue) { m_RectsPerRow = rectsPerRow; m_RectWidth = rectWidth; m_RectHeight = rectHeight; m_CameraDataDecoder = new CameraDataDecoder( new DataDecoder( new BitsDecoder( this, red, green, blue ) ) ); }