Mercurial > mplayer.hg
changeset 22860:efe51e2b81c3
removed references to no longer used internal drivers functions
author | ben |
---|---|
date | Sun, 01 Apr 2007 12:21:47 +0000 |
parents | c5a45e3d6d16 |
children | a9b5d1ddbd80 |
files | vidix/vidix.h |
diffstat | 1 files changed, 3 insertions(+), 73 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/vidix.h Sun Apr 01 12:16:49 2007 +0000 +++ b/vidix/vidix.h Sun Apr 01 12:21:47 2007 +0000 @@ -22,27 +22,9 @@ #define VIDIX_VERSION 100 -/* returns driver version */ -extern unsigned vixGetVersion (void); - -#define PROBE_NORMAL 0 /* normal probing */ -#define PROBE_FORCE 1 /* ignore device_id but recognize device if it's known */ - -/* Probes video hw. - verbose - specifies verbose level. - force - specifies force mode - driver should ignore - device_id (danger but useful for new devices) - Returns 0 if ok else errno */ -extern int vixProbe (int verbose, int force); - -/* Initializes driver. - args - specifies driver specific parameters - Returns 0 if ok else errno */ -extern int vixInit (const char *args); - -/* Destroys driver */ -extern void vixDestroy (void); - +#define PROBE_NORMAL 0 /* normal probing */ +#define PROBE_FORCE 1 /* ignore device_id but recognize device if it's known */ + typedef enum vidix_dev_type { TYPE_OUTPUT = 0x00000000, /* Is a video playback device */ TYPE_CAPTURE = 0x00000001, /* Is a capture device */ @@ -80,10 +62,6 @@ unsigned reserved1[4]; } vidix_capability_t; -/* Should fill at least type before init. - Returns 0 if ok else errno */ -extern int vixGetCapability (vidix_capability_t *); - typedef enum vidix_depth { VID_DEPTH_NONE = 0x0000, VID_DEPTH_1BPP = 0x0001, @@ -135,9 +113,6 @@ vidix_cap_t flags; /* output: capability */ } vidix_fourcc_t; -/* Returns 0 if ok else errno */ -extern int vixQueryFourcc (vidix_fourcc_t *); - typedef struct vidix_yuv_s { unsigned y,u,v; @@ -205,18 +180,6 @@ void *dga_addr; /* driver -> app: linear address */ } vidix_playback_t; -/* Returns 0 if ok else errno */ -extern int vixConfigPlayback (vidix_playback_t *); - -/* Returns 0 if ok else errno */ -extern int vixPlaybackOn (void); - -/* Returns 0 if ok else errno */ -extern int vixPlaybackOff (void); - -/* Returns 0 if ok else errno */ -extern int vixPlaybackFrameSelect (unsigned frame_idx); - typedef enum vidix_key_op { KEYS_PUT = 0, KEYS_AND = 1, @@ -231,12 +194,6 @@ vidix_key_op_t key_op; /* app -> driver: keys operations */ } vidix_grkey_t; -/* Returns 0 if ok else errno */ -extern int vixGetGrKeys (vidix_grkey_t *); - -/* Returns 0 if ok else errno */ -extern int vixSetGrKeys (const vidix_grkey_t *); - typedef enum vidix_veq_cap { VEQ_CAP_NONE = 0x00000000UL, VEQ_CAP_BRIGHTNESS = 0x00000001UL, @@ -267,12 +224,6 @@ space to use */ } vidix_video_eq_t; -/* Returns 0 if ok else errno */ -extern int vixPlaybackGetEq (vidix_video_eq_t *); - -/* Returns 0 if ok else errno */ -extern int vixPlaybackSetEq (const vidix_video_eq_t *); - typedef enum vidix_interlace_flag { /* stream is not interlaced */ CFG_NON_INTERLACED = 0x00000000, @@ -294,12 +245,6 @@ flag CFG_UNIQUE_INTERLACING is set */ } vidix_deinterlace_t; -/* Returns 0 if ok else errno */ -extern int vixPlaybackGetDeint (vidix_deinterlace_t *); - -/* Returns 0 if ok else errno */ -extern int vixPlaybackSetDeint (const vidix_deinterlace_t *); - typedef struct vidix_slice_s { void *address; /* app -> driver */ unsigned size; /* app -> driver */ @@ -319,12 +264,6 @@ vidix_dma_flag_t flags; /* app -> driver */ } vidix_dma_t; -/* Returns 0 if ok else errno */ -extern int vixPlaybackCopyFrame (vidix_dma_t *); - -/* Returns 0 if DMA is available else errno (EBUSY) */ -extern int vixQueryDMAStatus (void); - typedef enum vidix_fx_type { FX_TYPE_BOOLEAN = 0x00000000, FX_TYPE_INTEGER = 0x00000001, @@ -351,15 +290,6 @@ char *name[80]; /* effect name to display */ } vidix_oem_fx_t; -/* Returns 0 if ok else errno */ -extern int vixQueryNumOemEffects (unsigned * number); - -/* Returns 0 if ok else errno */ -extern int vixGetOemEffect (vidix_oem_fx_t *); - -/* Returns 0 if ok else errno */ -extern int vixSetOemEffect (const vidix_oem_fx_t *); - #ifdef __cplusplus } #endif