blob: 1d98062a8c85b31849a41e5cf1fb65675c9ba1b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* Copyright (c) 2012 Yoann Blein
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#ifndef VIDEOFRAME_H
#define VIDEOFRAME_H
#pragma once
#include <boost/shared_ptr.hpp>
#include <vector>
#include <stdint.h>
namespace Swift {
class VideoFrame {
public:
typedef boost::shared_ptr<VideoFrame> ref;
VideoFrame(int width, int height, uint8_t *rgb24data);
int width;
int height;
std::vector<uint8_t> data;
};
}
#endif // VIDEOFRAME_H
|