Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions
VuoVideoFrame

Description

An image and timestamp for a single frame of video.

Classes

struct  VuoVideoFrame
 An image and timestamp for a single frame of video. More...
 

Macros

#define VuoVideoFrame_NoTimestamp   -INFINITY
 VuoVideoFrame.timestamp's value when no timestamp is available.
 

Functions

VuoVideoFrame VuoVideoFrame_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_objectVuoVideoFrame_getJson (const VuoVideoFrame value)
 Encodes value as a JSON object.
 
char * VuoVideoFrame_getSummary (const VuoVideoFrame value)
 Returns a compact string representation of value.
 
bool VuoVideoFrame_areEqual (VuoVideoFrame value1, VuoVideoFrame value2)
 Returns true if the frames are identical.
 
static VuoVideoFrame VuoVideoFrame_make (VuoImage image, VuoReal timestamp, VuoReal duration) __attribute__((const ))
 Returns a VuoVideoFrame with image and timestamp.
 
VuoVideoFrame VuoVideoFrame_makeFromString (const char *str)
 Automatically generated function.
 
char * VuoVideoFrame_getString (const VuoVideoFrame value)
 Automatically generated function.
 
void VuoVideoFrame_retain (VuoVideoFrame value)
 Automatically generated function.
 
void VuoVideoFrame_release (VuoVideoFrame value)
 Automatically generated function.
 

Class Documentation

struct VuoVideoFrame
Class Members
char blah[42]
Todo:
https://b33p.net/kosada/node/4124
VuoReal duration
VuoImage image
VuoReal timestamp

Macro Definition Documentation

#define VuoVideoFrame_NoTimestamp   -INFINITY

VuoVideoFrame.timestamp's value when no timestamp is available.

Function Documentation

bool VuoVideoFrame_areEqual ( VuoVideoFrame  value1,
VuoVideoFrame  value2 
)

Returns true if the frames are identical.

struct json_object* VuoVideoFrame_getJson ( const VuoVideoFrame  value)
read

Encodes value as a JSON object.

char* VuoVideoFrame_getString ( const VuoVideoFrame  value)

Automatically generated function.

char* VuoVideoFrame_getSummary ( const VuoVideoFrame  value)

Returns a compact string representation of value.

static VuoVideoFrame VuoVideoFrame_make ( VuoImage  image,
VuoReal  timestamp,
VuoReal  duration 
) const
inlinestatic

Returns a VuoVideoFrame with image and timestamp.

VuoVideoFrame VuoVideoFrame_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
{
"image" : NULL,
"timestamp" : 0.0
"duration" : 0.0
}
VuoVideoFrame VuoVideoFrame_makeFromString ( const char *  str)

Automatically generated function.

void VuoVideoFrame_release ( VuoVideoFrame  value)

Automatically generated function.

void VuoVideoFrame_retain ( VuoVideoFrame  value)

Automatically generated function.