Vuo  2.0.2
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 
40 
42 struct json_object * VuoVideoFrame_getJson(const VuoVideoFrame value);
43 char * VuoVideoFrame_getSummary(const VuoVideoFrame value);
44 
46 #define VuoVideoFrame_SUPPORTS_COMPARISON
49 
55 char * VuoVideoFrame_getString(const 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