unpack zips in src to better compression

This commit is contained in:
2022-10-20 13:28:49 +02:00
parent e25403bd5f
commit 87eb27f562
447 changed files with 55306 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
#ifndef __2B_UNIVERSAL_TYPES__
#define __2B_UNIVERSAL_TYPES__
typedef signed char int8;
typedef unsigned char uint8;
typedef signed long int32;
typedef unsigned long uint32;
typedef int32 fix31;
#ifdef __GNUC__
typedef signed short int16;
typedef unsigned short uint16;
#define __2B_HAS64_SUPPORT /* Compiler supports 64 Bit Integers */
typedef signed long long int64;
typedef unsigned long long uint64;
#else /* Compiler doesn't support 64 Bit Integers */
typedef signed int int16;
typedef unsigned int uint16;
typedef struct
{
int32 hi;
uint32 lo;
} int64;
typedef struct
{
int32 hi;
uint32 lo;
} loff_t;
typedef struct
{
uint32 hi;
uint32 lo;
} uint64;
#endif
typedef int32 boolean;
#endif /* __2B_UNIVERSAL_TYPES__ */

View File

@@ -0,0 +1,29 @@
#ifndef __ZCODECLIB_ZCODEC_H__
#define __ZCODECLIB_ZCODEC_H__
#include <types2b.h>
struct LDG;
struct MFDB;
typedef struct
{
int16 page; /* Number of page/image in the file */
uint16 *delay; /* Animation delay in millise. between each frame */
MFDB *image; /* The Image itself */
}IMAGE;
extern int16 planar, vdi_handle, nplanes, vdi_work_in[10], vdi_work_out[57];
extern LDG *ldg_mem;
extern int16 codecs_init( char *codec_name);
extern void codecs_quit( void);
extern IMAGE *load_img( const char *file, int16 w, int16 h, int16 keep_ratio);
extern void delete_img( IMAGE *img);
extern MFDB *pic_resize( MFDB *in, int16 w, int16 h, int16 keep_ratio);
extern void delete_mfdb( MFDB *bm, int16 nbr);
#define shared_malloc( s) _ldg_malloc( s, ldg_global[2]);
#define shared_free( s) _ldg_free( s, ldg_global[2]);
#endif