home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / quicktime / ima4.h < prev    next >
C/C++ Source or Header  |  2000-11-29  |  890b  |  28 lines

  1. #ifndef QUICKTIME_IMA4_H
  2. #define QUICKTIME_IMA4_H
  3.  
  4. #include "quicktime.h"
  5.  
  6. typedef struct
  7. {
  8. /* During decoding the work_buffer contains the most recently read chunk. */
  9. /* During encoding the work_buffer contains interlaced overflow samples  */
  10. /* from the last chunk written. */
  11.     QUICKTIME_INT16 *work_buffer;
  12.     unsigned char *read_buffer;    /* Temporary buffer for drive reads. */
  13.  
  14. /* Starting information for all channels during encoding. */
  15.     int *last_samples, *last_indexes;
  16.     long chunk; /* Number of chunk in work buffer */
  17.     int buffer_channel; /* Channel of work buffer */
  18.  
  19. /* Number of samples in largest chunk read. */
  20. /* Number of samples plus overflow in largest chunk write, interlaced. */
  21.     long work_size;     
  22.     long work_overflow; /* Number of overflow samples from the last chunk written. */
  23.     long read_size;     /* Size of read buffer. */
  24. } quicktime_ima4_codec_t;
  25.  
  26.  
  27. #endif
  28.