Vuo  2.3.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;
37 
39 struct json_object * VuoVideoFrame_getJson(const VuoVideoFrame value);
40 char * VuoVideoFrame_getSummary(const VuoVideoFrame value);
41 
43 #define VuoVideoFrame_SUPPORTS_COMPARISON
46 
56 
60 static inline VuoVideoFrame VuoVideoFrame_make(VuoImage image, VuoReal timestamp, VuoReal duration) __attribute__((const));
61 static inline VuoVideoFrame VuoVideoFrame_make(VuoImage image, VuoReal timestamp, VuoReal duration)
62 {
63  return (VuoVideoFrame){image, timestamp, duration};
64 }
65