diff --git a/backend/Makefile.in b/backend/Makefile.in index b49553756..b62dc786c 100644 --- a/backend/Makefile.in +++ b/backend/Makefile.in @@ -129,7 +129,7 @@ DISTFILES = abaton.c abaton.conf abaton.h agfafocus.c agfafocus.conf \ umax_pp_low.c umax_pp_low.h umax_pp_mid.c umax_pp_mid.h umax-scanner.c \ umax-scanner.h umax-scsidef.h umax-uc1200s.c umax-uc1200se.c umax-uc1260.c \ umax-uc630.c umax-uc840.c umax-ug630.c umax-ug80.c umax-usb.c v4l.c \ - v4l.conf v4l-frequencies.h v4l-grab.h v4l.h + v4l.conf v4l-frequencies.h v4l.h .PHONY: all clean depend dist distclean install uninstall diff --git a/backend/v4l-grab.h b/backend/v4l-grab.h deleted file mode 100644 index cbdd417b4..000000000 --- a/backend/v4l-grab.h +++ /dev/null @@ -1,74 +0,0 @@ -#define VIDEO_RGB08 1 /* bt848 dithered */ -#define VIDEO_GRAY 2 -#define VIDEO_RGB15_LE 3 /* 15 bpp little endian */ -#define VIDEO_RGB16_LE 4 /* 16 bpp little endian */ -#define VIDEO_RGB15_BE 5 /* 15 bpp big endian */ -#define VIDEO_RGB16_BE 6 /* 16 bpp big endian */ -#define VIDEO_BGR24 7 /* bgrbgrbgrbgr (LE) */ -#define VIDEO_BGR32 8 /* bgr-bgr-bgr- (LE) */ -#define VIDEO_RGB24 9 /* rgbrgbrgbrgb (BE) */ -#define VIDEO_RGB32 10 /* -rgb-rgb-rgb (BE) */ -#define VIDEO_LUT2 11 /* lookup-table 2 byte depth */ -#define VIDEO_LUT4 12 /* lookup-table 4 byte depth */ - -#define CAN_AUDIO_VOLUME 1 - -#define TRAP(txt) fprintf(stderr,"%s:%d:%s\n",__FILE__,__LINE__,txt);exit(1); - -/* ------------------------------------------------------------------------- */ - -struct STRTAB -{ - long nr; - char *str; -}; - -struct OVERLAY_CLIP -{ - int x1, x2, y1, y2; -}; - -struct GRABBER -{ - char *name; - int flags; - struct STRTAB *norms; - struct STRTAB *inputs; - - int (*grab_open) (char *opt); - int (*grab_close) (void); - - int (*grab_setupfb) (int sw, int sh, int format, void *base, int bpl); - int (*grab_overlay) (int x, int y, int width, int height, int format, - struct OVERLAY_CLIP * oc, int count); - - int (*grab_setparams) (int format, int *width, int *height, - int *linelength); - void *(*grab_capture) (int single); - void (*grab_cleanup) (void); - - int (*grab_tune) (unsigned long freq); - int (*grab_tuned) (void); - int (*grab_input) (int input, int norm); - int (*grab_picture) (int color, int bright, int hue, int contrast); - int (*grab_audio) (int mute, int volume, int *mode); -}; - -/* ------------------------------------------------------------------------- */ - -extern int debug; -extern int have_dga; - -extern char *device; -extern int fd_grab; -extern struct GRABBER *grabber; - -extern unsigned int format2depth[]; -extern unsigned char *format_desc[]; - -/* ------------------------------------------------------------------------- */ - -int grabber_open (int sw, int sh, void *base, int format, int width); -int grabber_setparams (int format, int *width, int *height, - int *linelength, int lut_valid); -void *grabber_capture (void *dest, int dest_linelength, int single);