Vuo
2.4.4
Loading...
Searching...
No Matches
node
vuo.video
VuoVideoFrame.h
Go to the documentation of this file.
1
10
#pragma once
11
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#include "
VuoImage.h
"
26
#include <float.h>
27
29
#define VuoVideoFrame_NoTimestamp -INFINITY
30
35
typedef
struct
36
{
37
VuoImage
image;
38
VuoReal
timestamp;
39
VuoReal
duration;
40
}
VuoVideoFrame
;
41
42
#define VuoVideoFrame_SUPPORTS_COMPARISON
43
44
VuoVideoFrame
VuoVideoFrame_makeFromJson
(
struct
json_object * js);
45
struct
json_object *
VuoVideoFrame_getJson
(
const
VuoVideoFrame
value);
46
char
*
VuoVideoFrame_getSummary
(
const
VuoVideoFrame
value);
47
48
bool
VuoVideoFrame_areEqual
(
VuoVideoFrame
value1,
VuoVideoFrame
value2);
49
bool
VuoVideoFrame_isLessThan
(
const
VuoVideoFrame
a,
const
VuoVideoFrame
b);
50
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
return
(
VuoVideoFrame
){image, timestamp, duration};
67
}
68
73
#ifdef __cplusplus
74
}
75
#endif
Generated on Thu Nov 9 2023 16:59:30 for Vuo by
1.9.8