File SpinVideoDefs.h¶
File List > include > SpinVideoDefs.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_DEFS_H
#define FLIR_SPIN_VIDEO_DEFS_H
#include <memory.h>
#include <stdint.h>
namespace Spinnaker
{
namespace Video
{
struct MJPGOption
{
float frameRate;
unsigned int quality;
unsigned int width;
unsigned int height;
unsigned int reserved[192];
MJPGOption()
{
frameRate = 15.0;
quality = 75;
width = 0;
height = 0;
memset(reserved, 0, sizeof(reserved));
}
};
struct H264Option
{
float frameRate;
unsigned int width;
unsigned int height;
unsigned int bitrate;
bool useMP4;
unsigned int crf;
unsigned int reserved[256];
H264Option()
{
frameRate = 15.0;
width = 0;
height = 0;
bitrate = 1000000;
useMP4 = false;
crf = 23;
memset(reserved, 0, sizeof(reserved));
}
};
struct AVIOption
{
float frameRate;
unsigned int width;
unsigned int height;
unsigned int reserved[192];
AVIOption()
{
frameRate = 15.0;
width = 0;
height = 0;
memset(reserved, 0, sizeof(reserved));
}
};
} // namespace Video
} // namespace Spinnaker
#endif // FLIR_SPIN_VIDEO_DEFS_H