42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
#ifndef D8F82C97_DBD1_40D1_9ABD_E78F9B225CF5
|
|
#define D8F82C97_DBD1_40D1_9ABD_E78F9B225CF5
|
|
/*
|
|
*******************************************************************************
|
|
* INCLUDE
|
|
*******************************************************************************
|
|
*/
|
|
#include "NotificationQueue.h"
|
|
#include "SerialCode.h"
|
|
#include <Poco/SharedPtr.h>
|
|
|
|
/*
|
|
*******************************************************************************
|
|
* CONSTANTS
|
|
*******************************************************************************
|
|
*/
|
|
#define NUM_DATA_POINTERS 8
|
|
|
|
namespace Video
|
|
{
|
|
namespace Core
|
|
{
|
|
/*
|
|
*******************************************************************************
|
|
* CLASS DECLARE
|
|
*******************************************************************************
|
|
*/
|
|
struct Frame
|
|
{
|
|
using Ptr = Poco::SharedPtr<Frame>;
|
|
static const int DATA_LINES;
|
|
|
|
Poco::SharedPtr<uint8_t> data[NUM_DATA_POINTERS];
|
|
uint32_t length;
|
|
uint64_t timestamp;
|
|
SerialCode code;
|
|
};
|
|
|
|
using FrameQueue = NotificationQueue<Frame>;
|
|
}
|
|
}
|
|
#endif
|