Exemple #1
0
        static public GIFReg Unpack(GIFTag tag, byte addr, UInt64 LowData, UInt64 HighData, bool PackedFormat)
        {
            GIFRegNOP nop = new GIFRegNOP(addr, LowData, HighData, PackedFormat);
            nop.Descriptor = GIFRegDescriptor.NOP;

            return nop;
        }
Exemple #2
0
        static public GIFReg Unpack(GIFTag tag, byte addr, UInt64 LowData, UInt64 HighData, bool PackedFormat)
        {
            GIFRegNOP nop = new GIFRegNOP(addr, LowData, HighData, PackedFormat);

            nop.Descriptor = GIFRegDescriptor.NOP;

            return(nop);
        }
Exemple #3
0
        static public GIFReg Unpack(GIFTag tag, byte addr, UInt64 LowData, UInt64 HighData, bool PackedFormat)
        {
            byte reg = (byte)GIFReg.GetBit(HighData, 0, 8);

            if (reg == (byte)GIFRegDescriptor.AD)
            {
                return(GIFRegNOP.Unpack(tag, reg, LowData, HighData, PackedFormat));
            }
            return(GIFTag.GetUnpack(reg)(tag, reg, LowData, HighData, false));
        }