Skip to content

File SpinVideo.h

File List > include > SpinVideo.h

Go to the documentation of this file

//=============================================================================
// Copyright (c) 2026 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of FLIR
// Integrated Imaging Solutions, Inc. ("Confidential Information"). You
// shall not disclose such Confidential Information and shall use it only in
// accordance with the terms of the license agreement you entered into
// with FLIR Integrated Imaging Solutions, Inc. (FLIR).
//
// FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
// SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
// SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
// THIS SOFTWARE OR ITS DERIVATIVES.
//=============================================================================

#ifndef FLIR_SPIN_VIDEO_H
#define FLIR_SPIN_VIDEO_H

#include "SpinnakerPlatform.h"
#include "SpinVideoDefs.h"
#include "ImagePtr.h"

namespace Spinnaker
{
    namespace Video
    {
        class SPINNAKER_API SpinVideo
        {
          public:
            SpinVideo();

            virtual ~SpinVideo();

            virtual void Open(const char* pFileName, AVIOption& pOption);

            virtual void Open(const char* pFileName, MJPGOption& pOption);

            virtual void Open(const char* pFileName, H264Option& pOption);

            virtual void Append(ImagePtr pImage);

            virtual void Close();

            virtual void SetMaximumFileSize(unsigned int size);

          private:
            SpinVideo(const SpinVideo&);
            SpinVideo& operator=(const SpinVideo&);

            struct SpinVideoData; // Forward declaration

            SpinVideoData* m_pSpinVideoData;
        };

    } // namespace Video
} // namespace Spinnaker

#endif // FLIR_SPIN_VIDEO_H