public static extern void EncodeFrame(ref EncoderJob JobSpec, ref MediaFrame Frame);
public static extern int DecodeFrame(ref DecoderJob jobSpec, ref MediaFrame frame);