Vuo
2.1.1
node
vuo.video
VuoVideoFrame.h
Go to the documentation of this file.
1
10
#pragma once
11
21
#include "
VuoImage.h
"
22
#include <float.h>
23
25
#define VuoVideoFrame_NoTimestamp -INFINITY
26
31
typedef
struct
32
{
33
VuoImage
image;
34
VuoReal
timestamp;
35
VuoReal
duration;
36
37
char
blah[42];
38
39
}
VuoVideoFrame
;
40
41
VuoVideoFrame
VuoVideoFrame_makeFromJson
(
struct
json_object
* js);
42
struct
json_object
*
VuoVideoFrame_getJson
(
const
VuoVideoFrame
value);
43
char
*
VuoVideoFrame_getSummary
(
const
VuoVideoFrame
value);
44
46
#define VuoVideoFrame_SUPPORTS_COMPARISON
47
bool
VuoVideoFrame_areEqual
(
VuoVideoFrame
value1,
VuoVideoFrame
value2);
48
bool
VuoVideoFrame_isLessThan
(
const
VuoVideoFrame
a,
const
VuoVideoFrame
b);
49
53
VuoVideoFrame
VuoVideoFrame_makeFromString
(
const
char
*str);
55
char
*
VuoVideoFrame_getString
(
const
VuoVideoFrame
value);
56
void
VuoVideoFrame_retain
(
VuoVideoFrame
value);
57
void
VuoVideoFrame_release
(
VuoVideoFrame
value);
59
63
static
inline
VuoVideoFrame
VuoVideoFrame_make
(
VuoImage
image,
VuoReal
timestamp,
VuoReal
duration) __attribute__((
const
));
64
static
inline
VuoVideoFrame
VuoVideoFrame_make
(
VuoImage
image,
VuoReal
timestamp,
VuoReal
duration)
65
{
66
VuoVideoFrame
device = { image, timestamp, duration,
""
};
67
return
device;
68
}
69
Generated on Thu Jul 9 2020 21:02:25 for Vuo by
1.8.18