52 lines
1.2 KiB
C
52 lines
1.2 KiB
C
#ifndef _fjpvutes_
|
|
#define _fjpvutes_
|
|
|
|
#include "pgmutes.h"
|
|
|
|
#define PICSIZ 307200
|
|
#define PICWID 640
|
|
#define TOOFAR 6
|
|
#define TOONEAR 8
|
|
|
|
|
|
typedef struct _typPics {
|
|
typImg * pvisible;
|
|
typImg * pir;
|
|
typImg * pmask;
|
|
typImg * pdots;
|
|
typImg * pxxx;
|
|
} typPics;
|
|
|
|
void unmask(typImg * );
|
|
int quadrant(typImg * );
|
|
unsigned char * capture_on(libusb_device_handle * );
|
|
int prep(libusb_device_handle * );
|
|
int lights_on(libusb_device_handle * );
|
|
int lights_off(libusb_device_handle * );
|
|
int scanmode(libusb_device_handle * );
|
|
int detect(libusb_device_handle * , typPics * );
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
Copyright (c) Atlantean Technical Solutions Limited (ATSL) 2022
|
|
|
|
This software has been produced by ATSL and is the copyright of ATSL. The
|
|
use of source code for the software is strictly governed by the terms and
|
|
conditions of the source code licence. Any unauthorised use of the source
|
|
source code for the software in any manner shall invalidate the licence,
|
|
any existing warranty and software support agreements by ATSL.
|
|
|
|
@proj usbutes
|
|
@subsys CCL
|
|
@file ccl.c
|
|
@brief <B> *** Useful general purpose common C functions *** </B>
|
|
@author GoodwinC
|
|
@date 2022-10-27
|
|
@spec N.A
|
|
|
|
*/
|