Main Page   Compound List   File List   Compound Members   File Members  

vo_instance_s Struct Reference

#include <video_out.h>

Collaboration diagram for vo_instance_s:

Collaboration graph
[legend]
List of all members.

Public Attributes

vo_config_t* (*  config_read )(vo_instance_t *instance)
int (*  config_set )(vo_instance_t *instance, config *vo_config_t)
vo_event_t* (*  event_check )(vo_instance_t *instance)
int (*  event_action )(vo_instance_t *instance, char *action)
int (*  setup )(vo_instance_t *instance, int width, int height)
void (*  close )(vo_instance_t *instance)
vo_frame_t* (*  get_frame )(vo_instance_t *instance, int flags)
int (*  overlay )(vo_overlay_t *overlay, int id)

Detailed Description

A structure defining a video output instance. There can be more instances of video output.


Member Data Documentation

void(* vo_instance_s::close)(vo_instance_t *instance)
 

closes this output instance

vo_config_t *(* vo_instance_s::config_read)(vo_instance_t *instance)
 

NEEDS DISCUSSION: Get the plugin configuration string

int(* vo_instance_s::config_set)(vo_instance_t *instance, config *vo_config_t)
 

NEEDS DISCUSSION: Set/Apply the new plugin configuration

int(* vo_instance_s::event_action)(vo_instance_t *instance, char *action)
 

NEEDS DISCUSSION: React on an event. i.e. go fullscreen

vo_event_t *(* vo_instance_s::event_check)(vo_instance_t *instance)
 

NEEDS DISCUSSION: Check for input events, and return them

vo_frame_t *(* vo_instance_s::get_frame)(vo_instance_t *instance, int flags)
 

return the to 'flags' corresponding frame

int(* vo_instance_s::overlay)(vo_overlay_t *overlay, int id)
 

NEEDS DISCUSSION: This function adds an overlay. i.e. a fps counter. An overlay with 'id' 0 is beneath an overlay with 'id' 10. If there is hardware support for yuv overlays we should definitely include this in libvo. Where would overlays be drawn?

int(* vo_instance_s::setup)(vo_instance_t *instance, int width, int height)
 

initializes the video output and setups the output surface


The documentation for this struct was generated from the following file:
Generated at Sat Feb 24 12:06:28 2001 for libvo by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001