MLT
7.28.0
|
A container for data that may be supplied with an event. More...
#include <mlt_events.h>
Public Member Functions | |
mlt_event_data | mlt_event_data_from_frame (mlt_frame frame) |
Initialize event data with a frame. More... | |
mlt_event_data | mlt_event_data_from_int (int value) |
Initialize event data with an integer. More... | |
mlt_event_data | mlt_event_data_from_object (void *value) |
Initialize event data with opaque data. More... | |
mlt_event_data | mlt_event_data_from_string (const char *value) |
Initialize event data with a string. More... | |
mlt_event_data | mlt_event_data_none () |
Initialize an empty event data. More... | |
mlt_frame | mlt_event_data_to_frame (mlt_event_data event_data) |
Get a frame from the event data. More... | |
int | mlt_event_data_to_int (mlt_event_data event_data) |
Get an integer from the event data. More... | |
void * | mlt_event_data_to_object (mlt_event_data event_data) |
Get a pointer from the event data. More... | |
const char * | mlt_event_data_to_string (mlt_event_data event_data) |
Get a string from the event data. More... | |
Data Fields | |
union { | |
int i | |
void * p | |
} | u |
A container for data that may be supplied with an event.
mlt_event_data mlt_event_data_from_frame | ( | mlt_frame | frame | ) |
Initialize event data with a frame.
frame | the frame with which to initialize the event data |
mlt_event_data mlt_event_data_from_int | ( | int | value | ) |
Initialize event data with an integer.
value | the integer with which to initialize the event data |
mlt_event_data mlt_event_data_from_object | ( | void * | value | ) |
Initialize event data with opaque data.
value | the pointer with which to initialize the event data |
mlt_event_data mlt_event_data_from_string | ( | const char * | value | ) |
Initialize event data with a string.
value | the string with which to initialize the event data |
mlt_event_data mlt_event_data_none | ( | ) |
Initialize an empty event data.
mlt_frame mlt_event_data_to_frame | ( | mlt_event_data | event_data | ) |
Get a frame from the event data.
event_data | an event data object |
int mlt_event_data_to_int | ( | mlt_event_data | event_data | ) |
Get an integer from the event data.
event_data | an event data object |
void * mlt_event_data_to_object | ( | mlt_event_data | event_data | ) |
Get a pointer from the event data.
event_data | an event data object |
const char * mlt_event_data_to_string | ( | mlt_event_data | event_data | ) |
Get a string from the event data.
event_data | an event data object |
int mlt_event_data::i |
void* mlt_event_data::p |
union { ... } mlt_event_data::u |