So it works
This commit is contained in:
parent
af469ee545
commit
c95876422a
21
lib/libpvf/adpcm.h
Normal file
21
lib/libpvf/adpcm.h
Normal file
@ -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
|
21
lib/libpvf/bitsizes.h
Normal file
21
lib/libpvf/bitsizes.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user