Exemplo n.º 1
0
 static public GIFReg Unpack(GIFTag tag, byte addr, UInt64 LowData, UInt64 HighData, bool PackedFormat)
 {
     GIFRegFOG u = new GIFRegFOG(addr, LowData, HighData, PackedFormat);
     u.Descriptor = (GIFRegDescriptor)addr;
     if (PackedFormat)
         u.F = (UInt16)(GetBit(HighData, 36, 8));
     else
         u.F = GetBit(LowData, 56, 8);
     return u;
 }
Exemplo n.º 2
0
        static public GIFReg Unpack(GIFTag tag, byte addr, UInt64 LowData, UInt64 HighData, bool PackedFormat)
        {
            GIFRegFOG u = new GIFRegFOG(addr, LowData, HighData, PackedFormat);

            u.Descriptor = (GIFRegDescriptor)addr;
            if (PackedFormat)
            {
                u.F = (UInt16)(GetBit(HighData, 36, 8));
            }
            else
            {
                u.F = GetBit(LowData, 56, 8);
            }
            return(u);
        }