Ignore:
Timestamp:
10/02/06 20:41:38 (18 years ago)
Author:
r2d
Message:
  • mppenc can be compiled *but* doesn't work (segfault)
  • some variables are not initialized in the libs structs - TO BE FIXED
  • I have duplicated some (one ?) variables in the libs structs and the dup variables in libmpcenc are not used (and not initialized) - TO BE FIXED
File:
1 edited

Legend:

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

    r64 r65  
    920920extern size_t             InputCnt;             // current offset in this buffer
    921921
    922 // huffsv7.c
    923 extern Huffman_t          HuffHdr    [10];
    924 extern Huffman_t          HuffSCFI   [ 4];
    925 extern Huffman_t          HuffDSCF   [16];
    926 extern Huffman_t          HuffQ1 [2] [ 3*3*3];
    927 extern Huffman_t          HuffQ2 [2] [ 5*5];
    928 extern Huffman_t          HuffQ3 [2] [ 7];
    929 extern Huffman_t          HuffN3 [2] [ 7*7];
    930 extern Huffman_t          HuffQ4 [2] [ 9];
    931 extern Huffman_t          HuffQ5 [2] [15];
    932 extern Huffman_t          HuffQ6 [2] [31];
    933 extern Huffman_t          HuffQ7 [2] [63];
    934 extern Huffman_t          HuffN8 [2][127];
    935 extern const Huffman_t*   HuffQ  [2] [ 8];
    936 extern const Huffman_t*   HuffN  [2] [ 9];
    937 extern Uint8_t            LUT1_0  [1<< 6];
    938 extern Uint8_t            LUT1_1  [1<< 9];
    939 extern Uint8_t            LUT2_0  [1<< 7];
    940 extern Uint8_t            LUT2_1  [1<<10];
    941 extern Uint8_t            LUT3_0  [1<< 4];
    942 extern Uint8_t            LUT3_1  [1<< 5];
    943 extern Uint8_t            LUT4_0  [1<< 4];
    944 extern Uint8_t            LUT4_1  [1<< 5];
    945 extern Uint8_t            LUT5_0  [1<< 6];
    946 extern Uint8_t            LUT5_1  [1<< 8];
    947 extern Uint8_t            LUT6_0  [1<< 7];
    948 extern Uint8_t            LUT6_1  [1<< 7];
    949 extern Uint8_t            LUT7_0  [1<< 8];
    950 extern Uint8_t            LUT7_1  [1<< 8];
    951 extern Uint8_t            LUTDSCF [1<< 6];
    952 
    953 // huffsv46.c
    954 extern const Huffman_t*   Entropie      [18];
    955 extern const Huffman_t*   Region        [32];
    956 extern Huffman_t          SCFI_Bundle   [ 8];
    957 extern Huffman_t          DSCF_Entropie [13];
     922// // huffsv7.c
     923// extern Huffman_t          HuffHdr    [10];
     924// extern Huffman_t          HuffSCFI   [ 4];
     925// extern Huffman_t          HuffDSCF   [16];
     926// extern Huffman_t          HuffQ1 [2] [ 3*3*3];
     927// extern Huffman_t          HuffQ2 [2] [ 5*5];
     928// extern Huffman_t          HuffQ3 [2] [ 7];
     929// extern Huffman_t          HuffN3 [2] [ 7*7];
     930// extern Huffman_t          HuffQ4 [2] [ 9];
     931// extern Huffman_t          HuffQ5 [2] [15];
     932// extern Huffman_t          HuffQ6 [2] [31];
     933// extern Huffman_t          HuffQ7 [2] [63];
     934// extern Huffman_t          HuffN8 [2][127];
     935// extern const Huffman_t*   HuffQ  [2] [ 8];
     936// extern const Huffman_t*   HuffN  [2] [ 9];
     937// extern Uint8_t            LUT1_0  [1<< 6];
     938// extern Uint8_t            LUT1_1  [1<< 9];
     939// extern Uint8_t            LUT2_0  [1<< 7];
     940// extern Uint8_t            LUT2_1  [1<<10];
     941// extern Uint8_t            LUT3_0  [1<< 4];
     942// extern Uint8_t            LUT3_1  [1<< 5];
     943// extern Uint8_t            LUT4_0  [1<< 4];
     944// extern Uint8_t            LUT4_1  [1<< 5];
     945// extern Uint8_t            LUT5_0  [1<< 6];
     946// extern Uint8_t            LUT5_1  [1<< 8];
     947// extern Uint8_t            LUT6_0  [1<< 7];
     948// extern Uint8_t            LUT6_1  [1<< 7];
     949// extern Uint8_t            LUT7_0  [1<< 8];
     950// extern Uint8_t            LUT7_1  [1<< 8];
     951// extern Uint8_t            LUTDSCF [1<< 6];
    958952
    959953// mppdec.c
     
    984978extern Uint               Bitrate;
    985979extern Int                Min_Band;
    986 extern Int                Max_Band;
    987980extern Float              __Cc          [1 + 18];
    988981extern const Uint         __Dc          [1 + 18];
     
    10541047
    10551048void       Init_Dither                ( Int bits, int shapingtype, Double dither );
    1056 void       OverdriveReport            ( void );
     1049// void       OverdriveReport            ( void );
    10571050SyntheseFilter16_t
    10581051           Get_Synthese_Filter        ( void );
     
    10621055void       Requantize_MidSideStereo   ( Int Stop_Band, const Bool_t* used_MS );
    10631056void       Requantize_IntensityStereo ( Int Start_Band, Int Stop_Band );
    1064 void       Resort_HuffTable           ( Huffman_t* const Table, const size_t elements, Int offset );
    1065 void       Make_HuffTable             ( Huffman_t* dst, const HuffSrc_t* src, size_t len );
    1066 void       Make_LookupTable           ( Uint8_t* LUT, size_t LUT_len, const Huffman_t* const Table, const size_t elements );
     1057// void       Resort_HuffTable           ( Huffman_t* const Table, const size_t elements, Int offset );
     1058// void       Make_HuffTable             ( Huffman_t* dst, const HuffSrc_t* src, size_t len );
     1059// void       Make_LookupTable           ( Uint8_t* LUT, size_t LUT_len, const Huffman_t* const Table, const size_t elements );
    10671060size_t     complete_read              ( int fd, void* dest, size_t bytes );
    10681061int        isdir                      ( const char* Name );
Note: See TracChangeset for help on using the changeset viewer.