public X264Native(X264Params p) { Bitrate = p.bitrate; _outBuf = new byte[p.width * p.height * 4]; byte[] b = FunctionEx.StructToBytes(p); obj = X264Native_New(b); _DLastX264Native = this; }