Ignore:
Timestamp:
09/16/06 16:33:17 (18 years ago)
Author:
zorg
Message:

Various type size reductions
Removed some type warnings
Replaced char, uchar with mpc_int8_t and mpc_uint8_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/zorg/include/mpcdec/decoder.h

    r10 r18  
    5252
    5353typedef struct {
    54     mpc_int32_t  L [36];
    55     mpc_int32_t  R [36];
     54    mpc_int16_t  L [36];
     55    mpc_int16_t  R [36];
    5656} QuantTyp;
    5757
     
    9191    mpc_uint32_t  __r2;
    9292
    93     mpc_int32_t   SCF_Index_L [32] [3];
    94     mpc_int32_t   SCF_Index_R [32] [3];       // holds scalefactor-indices
     93    mpc_int8_t    SCF_Index_L [32] [3];
     94    mpc_int8_t    SCF_Index_R [32] [3];       // holds scalefactor-indices
    9595    QuantTyp      Q [32];                     // holds quantized samples
    96     mpc_int32_t   Res_L [32];
    97     mpc_int32_t   Res_R [32];                 // holds the chosen quantizer for each subband
     96    mpc_int8_t    Res_L [32];
     97    mpc_int8_t    Res_R [32];                 // holds the chosen quantizer for each subband
     98#ifdef MPC_SUPPORT_SV456
    9899    mpc_bool_t    DSCF_Flag_L [32];
    99100    mpc_bool_t    DSCF_Flag_R [32];           // differential SCF used?
    100     mpc_int32_t   SCFI_L [32];
    101     mpc_int32_t   SCFI_R [32];                // describes order of transmitted SCF
    102     mpc_int32_t   DSCF_Reference_L [32];
    103     mpc_int32_t   DSCF_Reference_R [32];      // holds last frames SCF
     101#endif
     102    mpc_int8_t    SCFI_L [32];
     103    mpc_int8_t    SCFI_R [32];                // describes order of transmitted SCF
     104    //mpc_int32_t   DSCF_Reference_L [32];
     105    //mpc_int32_t   DSCF_Reference_R [32];      // holds last frames SCF
    104106    mpc_bool_t    MS_Flag[32];                // MS used?
    105107#ifdef MPC_FIXED_POINT
    106     unsigned char SCF_shift[256];
     108    mpc_uint8_t  SCF_shift[256];
    107109#endif
    108110
Note: See TracChangeset for help on using the changeset viewer.