xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Typedefs | Functions
dxr3_decode_spu.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <fcntl.h>
#include <errno.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/buffer.h>
#include "xine-engine/bswap.h"
#include "../input/libdvdnav/nav_types.h"
#include "../input/libdvdnav/nav_read.h"
#include "video_out_dxr3.h"
#include "dxr3.h"
#include "group_dxr3.h"

Data Structures

struct  dxr3_spu_stream_state_s
 
struct  pci_node_s
 
struct  dxr3_spudec_class_s
 
struct  dxr3_spudec_s
 

Macros

#define LOG_MODULE   "dxr3_decode_spu"
 
#define LOG_PTS   0
 
#define LOG_SPU   0
 
#define LOG_BTN   0
 
#define MAX_SPU_STREAMS   32
 

Typedefs

typedef struct dxr3_spu_stream_state_s dxr3_spu_stream_state_t
 
typedef struct pci_node_s pci_node_t
 
typedef struct dxr3_spudec_class_s dxr3_spudec_class_t
 
typedef struct dxr3_spudec_s dxr3_spudec_t
 

Functions

static spu_decoder_tdxr3_spudec_open_plugin (spu_decoder_class_t *class_gen, xine_stream_t *stream)
 
static void dxr3_spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf)
 
static void dxr3_spudec_reset (spu_decoder_t *this_gen)
 
static void dxr3_spudec_discontinuity (spu_decoder_t *this_gen)
 
static void dxr3_spudec_dispose (spu_decoder_t *this_gen)
 
static int dxr3_spudec_interact_info (spu_decoder_t *this_gen, void *data)
 
static void dxr3_spudec_set_button (spu_decoder_t *this_gen, int32_t button, int32_t mode)
 
static void dxr3_spudec_clear_nav_list (dxr3_spudec_t *this)
 
static void dxr3_spudec_update_nav (dxr3_spudec_t *this)
 
static void dxr3_spudec_process_nav (dxr3_spudec_t *this)
 
static int dxr3_spudec_copy_nav_to_btn (dxr3_spudec_t *this, int32_t mode, em8300_button_t *btn)
 
static void dxr3_swab_clut (int *clut)
 
void * dxr3_spudec_init_plugin (xine_t *xine, const void *data)
 

Macro Definition Documentation

◆ LOG_BTN

#define LOG_BTN   0

◆ LOG_MODULE

#define LOG_MODULE   "dxr3_decode_spu"

◆ LOG_PTS

#define LOG_PTS   0

Referenced by dxr3_spudec_decode_data().

◆ LOG_SPU

#define LOG_SPU   0

◆ MAX_SPU_STREAMS

#define MAX_SPU_STREAMS   32

Referenced by dxr3_spudec_reset().

Typedef Documentation

◆ dxr3_spu_stream_state_t

◆ dxr3_spudec_class_t

◆ dxr3_spudec_t

typedef struct dxr3_spudec_s dxr3_spudec_t

◆ pci_node_t

typedef struct pci_node_s pci_node_t

Function Documentation

◆ dxr3_spudec_clear_nav_list()

static void dxr3_spudec_clear_nav_list ( dxr3_spudec_t * this)
inlinestatic

◆ dxr3_spudec_copy_nav_to_btn()

static int dxr3_spudec_copy_nav_to_btn ( dxr3_spudec_t * this,
int32_t mode,
em8300_button_t * btn )
static

◆ dxr3_spudec_decode_data()

static void dxr3_spudec_decode_data ( spu_decoder_t * this_gen,
buf_element_t * buf )
static

◆ dxr3_spudec_discontinuity()

static void dxr3_spudec_discontinuity ( spu_decoder_t * this_gen)
static

◆ dxr3_spudec_dispose()

static void dxr3_spudec_dispose ( spu_decoder_t * this_gen)
static

◆ dxr3_spudec_init_plugin()

void * dxr3_spudec_init_plugin ( xine_t * xine,
const void * data )

◆ dxr3_spudec_interact_info()

static int dxr3_spudec_interact_info ( spu_decoder_t * this_gen,
void * data )
static

◆ dxr3_spudec_open_plugin()

static spu_decoder_t * dxr3_spudec_open_plugin ( spu_decoder_class_t * class_gen,
xine_stream_t * stream )
static

◆ dxr3_spudec_process_nav()

static void dxr3_spudec_process_nav ( dxr3_spudec_t * this)
static

◆ dxr3_spudec_reset()

static void dxr3_spudec_reset ( spu_decoder_t * this_gen)
static

◆ dxr3_spudec_set_button()

static void dxr3_spudec_set_button ( spu_decoder_t * this_gen,
int32_t button,
int32_t mode )
static

◆ dxr3_spudec_update_nav()

static void dxr3_spudec_update_nav ( dxr3_spudec_t * this)
inlinestatic

◆ dxr3_swab_clut()

static void dxr3_swab_clut ( int * clut)
inlinestatic

References bswap_32().

Referenced by dxr3_spudec_decode_data().