Ignore:
Timestamp:
11/20/06 19:53:36 (18 years ago)
Author:
r2d
Message:
  • added a first version of the seek table for sv8
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libmpcenc/libmpcenc.h

    r137 r147  
    3232#define BUFFER_FULL         (4352 * FRAMES_PER_BLOCK)         // 34490 bit/frame  1320.3 kbps
    3333
     34// FIXME : make this size dependent of the input file
     35#define SEEK_SIZE (1 << 16) // number of seek entries
     36
    3437typedef struct {
    3538        unsigned int  L [36];
    3639        unsigned int  R [36];
    3740} SubbandQuantTyp;
    38 
    39 // TODO : enc/dec common struct
    40 // just the same struct as below, dup ?
    4141
    4242typedef struct {
     
    5353        mpc_uint_t framesInBlock;
    5454
     55        // seeking
     56        mpc_uint32_t seek_table[SEEK_SIZE];
     57        mpc_uint32_t seek_pos; /// current position in the seek table
     58        mpc_uint32_t seek_ref; /// reference position for the seek information
     59
    5560        FILE * outputFile; // ouput file
    5661
Note: See TracChangeset for help on using the changeset viewer.