Beispiel #1
0
        public SipperFrame(SipperClock _clock)
        {
            clock = _clock;

            int x = 0;

            scanLines = new byte[SipperBaseFile.ScanLinesPerFrame][];
            for (x = 0; x < SipperBaseFile.ScanLinesPerFrame; x++)
            {
                scanLines[x] = new byte[4096];
            }
        }
Beispiel #2
0
        } /* Dispose */

        private void  Initialization()
        {
            clock = new SipperClock();
            int x = 0;

            frames = new SipperFrame[3];

            bool found = true;

            for (x = 0; x < frames.Length; x++)
            {
                frames[x] = new SipperFrame(clock);
                sipperFile.FrameRead(x, frames[x], ref found);
                if (!found)
                {
                    frames[x].FrameNum      = -1;
                    frames[x].ScanLineFirst = -1;
                    frames[x].ScanLineLast  = -1;
                }
            }

            SetPixelsPerDisplayLine(scanLineSize, 0, scanLineSize - 1);
        } /* Initialization */