diff --git a/lib/libpvf/adpcm.h b/lib/libpvf/adpcm.h new file mode 100644 index 0000000..21086b6 --- /dev/null +++ b/lib/libpvf/adpcm.h @@ -0,0 +1,21 @@ +/* +** adpcm.h - include file for adpcm coder. +** +** Version 1.0, 7-Jul-92. +*/ + +struct adpcm_state { + short valprev; /* Previous output value */ + char index; /* Index into stepsize table */ +}; + +#ifdef __STDC__ +#define ARGS(x) x +#else +#define ARGS(x) () +#endif + +#if 0 +void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *)); +void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *)); +#endif diff --git a/lib/libpvf/bitsizes.h b/lib/libpvf/bitsizes.h new file mode 100644 index 0000000..629ac75 --- /dev/null +++ b/lib/libpvf/bitsizes.h @@ -0,0 +1,21 @@ +/* + * bitsizes.h + * + * Declaration for variable types with defined bit sizes + * + * $Id: bitsizes.h,v 1.4 1998/09/09 21:06:32 gert Exp $ + * + */ + +typedef short vgetty_s_int16; +typedef unsigned short vgetty_u_int16; +typedef int vgetty_s_int32; +typedef unsigned int vgetty_u_int32; + +#ifdef linux + typedef int64_t vgetty_s_int64; + typedef u_int64_t vgetty_u_int64; +#else + typedef long long vgetty_s_int64; + typedef unsigned long long vgetty_u_int64; +#endif