Ejemplo n.º 1
0
        /// <summary> Use capture device zero, default frame rate and size</summary>
        public Capture(string pVideoInfoFilepath, string TextString, Control hWin, bool pParentWindowDisplay, VideoUserOptions pVideoUserOptions)
        {
            m_Count              = 0;
            m_String             = TextString;
            mParentWindowDisplay = pParentWindowDisplay;

            mFrameOverlay = new FrameOverlay(pVideoInfoFilepath, pVideoUserOptions);
            mFrameOverlay.loadFrameOverlayHeader();

            _Capture(mFrameOverlay.getVideofileToPlay(), hWin);

            mFrameOverlay.loadFrameOverlayData(m_videoWidth, m_videoHeight);

            mParentWindow = hWin;

            mLeft = 0;
            mTop  = 0;

            mAttr = new ImageAttributes();
            mAttr.SetColorKey(Color.Blue, Color.Blue);

//            Shape.initializeShapes(m_videoWidth,m_videoHeight);
        }
Ejemplo n.º 2
0
        /// <summary> Use capture device zero, default frame rate and size</summary>
        public Capture(string pVideoInfoFilepath, string TextString, Control hWin, bool pParentWindowDisplay, VideoUserOptions pVideoUserOptions)
        {
            m_Count = 0;
            m_String = TextString;
            mParentWindowDisplay = pParentWindowDisplay;

            mFrameOverlay = new FrameOverlay(pVideoInfoFilepath,pVideoUserOptions);
            mFrameOverlay.loadFrameOverlayHeader();

            _Capture(mFrameOverlay.getVideofileToPlay(), hWin);

            mFrameOverlay.loadFrameOverlayData(m_videoWidth, m_videoHeight);

            mParentWindow = hWin;

            mLeft = 0;
            mTop = 0;

            mAttr = new ImageAttributes();
            mAttr.SetColorKey(Color.Blue, Color.Blue);

            //            Shape.initializeShapes(m_videoWidth,m_videoHeight);
        }
Ejemplo n.º 3
0
 public FrameOverlayItem(FrameOverlay pParent, string[] row, int pVideoWidth, int pVideoHeight)
 {
     mParent = pParent;
     loadFrameOverlayData(row, pVideoWidth, pVideoHeight);
 }
Ejemplo n.º 4
0
 public FrameOverlayItem(FrameOverlay pParent,string[] row,int pVideoWidth,int pVideoHeight)
 {
     mParent = pParent;
     loadFrameOverlayData(row,pVideoWidth,pVideoHeight);
 }