view spudec.h @ 4073:5f28d9d7d346

Changed the return value of the start function. Doesn't return the fd anymore. Just -1 for fail and 0 for OK.
author bertrand
date Thu, 10 Jan 2002 01:42:31 +0000
parents d358f4a74690
children 62f672249df1
line wrap: on
line source

#include "config.h"
#ifdef USE_DVDREAD
#ifndef _MPLAYER_SPUDEC_H
#define _MPLAYER_SPUDEC_H

#include "stream.h"
void spudec_heartbeat(void *this, int pts100);
void spudec_assemble(void *this, unsigned char *packet, int len, int pts100);
void spudec_draw(void *this, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
void *spudec_new(dvd_priv_t *dvd_info);
void spudec_free(void *this);
void spudec_reset(void *this);	// called after seek

#endif
#endif