public void StartConversion(
            string fileName, int topVtiOsdRow, int bottomVtiOsdRow, int leftVtiOsdCol, int rightVtiOsdCol,
            int firstIntegrationFrameNo, int integrationInterval, int lastFrameNo,
            string cameraModel, string sensorInfo, bool swapTimestampFields, bool manualIntegrationConfig)
        {
            m_Converting   = true;
            m_LastFrameNo  = lastFrameNo;
            m_FirstFrameNo = firstIntegrationFrameNo;

            m_ConvertVideoToAavController.StartConversion(fileName, topVtiOsdRow, bottomVtiOsdRow, leftVtiOsdCol, rightVtiOsdCol, firstIntegrationFrameNo, integrationInterval, cameraModel, sensorInfo, swapTimestampFields, manualIntegrationConfig);

            m_VideoController.PlayVideo(firstIntegrationFrameNo);
        }
Пример #2
0
        internal void StartProducingFrame(FrameType frameType, int framesToAverage, float effectiveExposureSeconds)
        {
            m_NumFrames       = framesToAverage;
            m_FramesDone      = 0;
            m_ExposureSeconds = effectiveExposureSeconds;
            m_FrameType       = frameType;

            m_Running = true;
            m_VideoController.PlayVideo();

            TangraContext.Current.CanScrollFrames = false;
            TangraContext.Current.CanPlayVideo    = false;
            m_VideoController.UpdateViews();

            m_ControlPanel.SetRunning(m_NumFrames);
        }