---
name: "vo_driver_s"
section: "3"
platform: "linux"
package: "libxine-dev"
version: "0.9.8-2woody3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/vo_driver_s"
---

# vo\_driver\_s(3)

## NAME

vo\_driver\_s -

## SYNOPSIS

`#include <xine.h>`

### Data Fields

uint32\_t (\* **get\_capabilities** )(**vo\_driver\_t** \*self)\
 **vo\_frame\_t**\* (\* **alloc\_frame** )(**vo\_driver\_t** \*self)\
 void (\* **update\_frame\_format** )(**vo\_driver\_t** \*self, **vo\_frame\_t** \*img, uint32\_t width, uint32\_t height, int ratio\_code, int format)\
 void (\* **display\_frame** )(**vo\_driver\_t** \*self, **vo\_frame\_t** \*vo\_img)\
 void (\* **overlay\_blend** )(**vo\_driver\_t** \*self, **vo\_frame\_t** \*vo\_img, **vo\_overlay\_t** \*overlay)\
 int (\* **get\_property** )(**vo\_driver\_t** \*self, int property)\
 int (\* **set\_property** )(**vo\_driver\_t** \*self, int property, int value)\
 void (\* **get\_property\_min\_max** )(**vo\_driver\_t** \*self, int property, int \*min, int \*max)\
 int (\* **gui\_data\_exchange** )(**vo\_driver\_t** \*self, int data\_type, void \*data)\
 void (\* **exit** )(**vo\_driver\_t** \*self)\

## DETAILED DESCRIPTION

Video driver fonctions.

## FIELD DOCUMENTATION

### vo\_frame\_t \*(\* vo\_driver\_s::alloc\_frame)(vo\_driver\_t \*self)

Allocate an **vo\_frame\_t** struct, the driver must supply the copy, field and dispose functions

### void(\* vo\_driver\_s::display\_frame)(vo\_driver\_t \*self, vo\_frame\_t \*vo\_img)

Display a given frame

### void(\* vo\_driver\_s::exit)(vo\_driver\_t \*self)

Leaving video driver.

### uint32\_t(\* vo\_driver\_s::get\_capabilities)(vo\_driver\_t \*self)

Get capabilities of video driver.

**See also:**  video driver capabilities

### int(\* vo\_driver\_s::get\_property)(vo\_driver\_t \*self, int property)

Get value if property.

**See also:**  Constants for the get/set properties functions.

### void(\* vo\_driver\_s::get\_property\_min\_max)(vo\_driver\_t \*self, int property, int \*min, int \*max)

Get min/max values of property.

**See also:**  Constants for the get/set properties functions.

### int(\* vo\_driver\_s::gui\_data\_exchange)(vo\_driver\_t \*self, int data\_type, void \*data)

General purpose communication channel between gui and driver

this should be used to propagate events, display data, window sizes etc. to the driver

### void(\* vo\_driver\_s::overlay\_blend)(vo\_driver\_t \*self, vo\_frame\_t \*vo\_img, vo\_overlay\_t \*overlay)

Overlay functions

### int(\* vo\_driver\_s::set\_property)(vo\_driver\_t \*self, int property, int value)

Set value of property.

**See also:**  Constants for the get/set properties functions.

### void(\* vo\_driver\_s::update\_frame\_format)(vo\_driver\_t \*self, vo\_frame\_t \*img, uint32\_t width, uint32\_t height, int ratio\_code, int format)

Check if the given image fullfills the format specified (re-)allocate memory if necessary

## AUTHOR

Generated automatically by Doxygen for XINE, A Free Video Player Project - API reference from the source code.
