整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
42
video/core/Frame.h
Normal file
42
video/core/Frame.h
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue