Changeset 64 for mppenc/branches/r2d/src/mppdec.h
- Timestamp:
- 09/29/06 16:55:39 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mppenc/branches/r2d/src/mppdec.h
r60 r64 420 420 # define PCLOSE(fp) pclose(fp) 421 421 #endif 422 423 #if defined _WIN32424 # define STRUCT_STAT struct _stat425 # define STAT_CMD(f,s) _stat (f, s)426 #else427 # define STRUCT_STAT struct stat428 # define STAT_CMD(f,s) stat (f, s)429 #endif /* WIN32 */430 422 431 423 #ifndef S_ISDIR … … 883 875 typedef CPair_t CPairArray [32]; 884 876 typedef Float SCFTriple [3]; 885 typedef struct {886 #ifndef MPP_ENCODER887 Uint32_t Code; // >=32 bit888 # ifdef USE_HUFF_PACK889 Schar Value; // >= 7 bit890 Uchar Length; // >= 4 bit891 # else892 Int Value;893 Uint Length;894 # endif895 #else896 # ifdef USE_HUFF_PACK897 Uint8_t Length; // >= 4 bit898 Uint8_t ___;899 Uint16_t Code; // >= 14 bit900 # else901 Uint Code;902 Uint Length;903 # endif904 #endif905 } Huffman_t ;906 907 typedef struct {908 Uint Code : 16; // >= 14 bit909 Uint Length : 8; // >= 4 bit910 } HuffSrc_t ;911 877 912 878 typedef struct {
Note: See TracChangeset
for help on using the changeset viewer.