xine-lib: xine-lib-1.2.12/src/xine-engine/spu.c File Reference

xine-lib 1.2.12

Macros | Functions
spu.c File Reference
`#include <xine/configfile.h>`
`#include <xine/xine_internal.h>`
`#include <xine/spu.h>`
`#include <xine.h>`

## Macros
#define | BLACK_OPACITY 67
#define | COLOUR_OPACITY 100

## Functions
void | _x_spu_misc_init (xine_t *this)
void | _x_spu_get_opacity (xine_t *this, xine_spu_opacity_t *opacity)
int | _x_spu_calculate_opacity (const clut_t *clut, uint8_t trans, const xine_spu_opacity_t *opacity)

## Macro Definition Documentation

## ◆ BLACK_OPACITY

#define BLACK_OPACITY 67

## ◆ COLOUR_OPACITY

#define COLOUR_OPACITY 100

## Function Documentation

## ◆ _x_spu_calculate_opacity()

int _x_spu_calculate_opacity | ( | const clut_t * | clut,
|  | uint8_t | trans,
|  | const xine_spu_opacity_t * | opacity
| ) |  |

References xine_spu_opacity_s::black, clut_s::cb, xine_spu_opacity_s::colour, clut_s::cr, and clut_s::y.

Referenced by dvb_spu_class_open_plugin(), and recalculate_trans().

## ◆ _x_spu_get_opacity()

void _x_spu_get_opacity | ( | xine_t * | this,
|  | xine_spu_opacity_t * | opacity
| ) |  |

References xine_spu_opacity_s::black, BLACK_OPACITY, xine_spu_opacity_s::colour, COLOUR_OPACITY, and cfg_entry_s::num_value.

Referenced by dvb_spu_class_open_plugin(), and recalculate_trans().

## ◆ _x_spu_misc_init()

void _x_spu_misc_init | ( | xine_t * | this | ) |

References _, BLACK_OPACITY, COLOUR_OPACITY, and NULL.

Referenced by xine_stream_new().