Ignore:
Timestamp:
09/29/06 16:55:39 (18 years ago)
Author:
r2d
Message:
  • added libmpcenc and a common directory
  • can compile libmpcenc and libmpcpsy don't know about linking
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/r2d/src/mppdec.h

    r60 r64  
    420420# define PCLOSE(fp)                     pclose(fp)
    421421#endif
    422 
    423 #if defined _WIN32
    424 # define STRUCT_STAT            struct _stat
    425 # define STAT_CMD(f,s)          _stat (f, s)
    426 #else
    427 # define STRUCT_STAT            struct stat
    428 # define STAT_CMD(f,s)          stat (f, s)
    429 #endif /* WIN32 */
    430422
    431423#ifndef S_ISDIR
     
    883875typedef CPair_t   CPairArray [32];
    884876typedef Float     SCFTriple   [3];
    885 typedef struct {
    886 #ifndef MPP_ENCODER
    887     Uint32_t      Code;         // >=32 bit
    888 # ifdef USE_HUFF_PACK
    889     Schar         Value;        // >= 7 bit
    890     Uchar         Length;       // >= 4 bit
    891 # else
    892     Int           Value;
    893     Uint          Length;
    894 # endif
    895 #else
    896 # ifdef USE_HUFF_PACK
    897     Uint8_t       Length;      // >=  4 bit
    898     Uint8_t       ___;
    899     Uint16_t      Code;        // >= 14 bit
    900 # else
    901     Uint          Code;
    902     Uint          Length;
    903 # endif
    904 #endif
    905 } Huffman_t ;
    906 
    907 typedef struct {
    908     Uint          Code   : 16;  // >= 14 bit
    909     Uint          Length :  8;  // >=  4 bit
    910 } HuffSrc_t ;
    911877
    912878typedef struct {
Note: See TracChangeset for help on using the changeset viewer.