Main Page   Compound List   File List   Compound Members   File Members  

video_out.c File Reference

Common function calls for libvo. More...

#include "config.h"
#include <stdlib.h>
#include <inttypes.h>
#include "video_out.h"
#include "video_out_internal.h"

Include dependency graph for video_out.c:

Include dependency graph

Compounds

struct  common_instance_s

Defines

#define memalign(align, size)   malloc (size)

Typedefs

typedef struct common_instance_s  common_instance_t

Functions

int libvo_common_alloc_frames (vo_instance_t *_instance, int width, int height, int frame_size, void(*copy)(vo_frame_t *, uint8_t **), void(*field)(vo_frame_t *, int), void(*draw)(vo_frame_t *))
void libvo_common_free_frames (vo_instance_t *_instance)
vo_frame_tlibvo_common_get_frame (vo_instance_t *_instance, int flags)
void vo_accel (uint32_t accel)

Variables

uint32_t vo_mm_accel = 0

Detailed Description

Common function calls for libvo.

Implements common functions for libvo plugins.


Typedef Documentation

typedef struct common_instance_s common_instance_t
 

common_instance_s

Warning:
Dunno what that is


Function Documentation

int libvo_common_alloc_frames ( vo_instance_t * _instance,
int width,
int height,
int frame_size,
void(* copy)(vo_frame_t *, uint8_t **),
void(* field)(vo_frame_t *, int),
void(* draw)(vo_frame_t *) )
 

Common allocation of video output frames.

Parameters:
_instance   the instance which should own the new allocated frames
width   of the frame to allocate
height   of the frame to allocate
frame_size  
copy   the function called to copy.
field  
draw   function to draw frame.
Returns:
0 on success

void libvo_common_free_frames ( vo_instance_t * _instance )
 

Free a commonly allocated frame

Parameters:
_instance   the instance which owns the frames to be freed

vo_frame_t * libvo_common_get_frame ( vo_instance_t * _instance,
int flags )
 

libvo_common_get_frame

Parameters:
_instance  
flags  
Returns:
the frame structure requested

void vo_accel ( uint32_t accel )
 

vo_accel

Warning:
FIX description


Variable Documentation

uint32_t vo_mm_accel = 0
 

vo_mm_accel

Warning:
FIX description


Generated at Sat Feb 24 12:06:28 2001 for libvo by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001