#include <plugin.h>
Data Fields | |
bg_plugin_common_t | common |
Infos and functions common to all plugin types. | |
int(* | open )(void *priv, gavl_video_format_t *format) |
Open plugin. | |
gavl_video_frame_t *(* | alloc_frame )(void *priv) |
Allocate a video frame. | |
int(* | read_frame )(void *priv, gavl_video_frame_t *frame) |
Read a video frame. | |
void(* | free_frame )(void *priv, gavl_video_frame_t *frame) |
Free a frame created with the alloc_frame() method. | |
void(* | close )(void *priv) |
Close the plugin. |
Infos and functions common to all plugin types.
int(* bg_rv_plugin_t::open)(void *priv, gavl_video_format_t *format) |
Open plugin.
priv | The handle returned by the create() method | |
format | Video format |
gavl_video_frame_t*(* bg_rv_plugin_t::alloc_frame)(void *priv) |
Allocate a video frame.
priv | The handle returned by the create() method |
int(* bg_rv_plugin_t::read_frame)(void *priv, gavl_video_frame_t *frame) |
Read a video frame.
priv | The handle returned by the create() method | |
frame | Where the frame will be copied |
void(* bg_rv_plugin_t::free_frame)(void *priv, gavl_video_frame_t *frame) |
Free a frame created with the alloc_frame() method.
priv | The handle returned by the create() method | |
frame | The frame to be freed |
void(* bg_rv_plugin_t::close)(void *priv) |
Close the plugin.
priv | The handle returned by the create() method |