public int Open(DecoderSetup setup)
        {
            Config = new DecoderConfig();

            if (setup.CodecProps.format == Core.Const.PIX_FMT_BGRA)
            {
                _dx     = setup.DirectXContext;
                _width  = setup.CodecProps.width;
                _height = setup.CodecProps.height;
            }
            return(0);
        }
 public void decode(BitStream inStream, DecoderConfig conf)
 {
     readElementInstanceTag(inStream);
     ics.decode(inStream, false, conf);
 }