diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-23 01:17:56 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-23 01:17:56 +0000 |
commit | ec02253fe60b81b8ea4842cbed613250b9aa4ac7 (patch) | |
tree | 986737b605fe20e38676120880eed4ee3edff2c3 /ima4.h | |
parent | e6ee04e413f13cb81072c05fe3d32e5a8d5173c1 (diff) | |
download | mpv-ec02253fe60b81b8ea4842cbed613250b9aa4ac7.tar.bz2 mpv-ec02253fe60b81b8ea4842cbed613250b9aa4ac7.tar.xz |
initial
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2400 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'ima4.h')
-rw-r--r-- | ima4.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ima4.h b/ima4.h new file mode 100644 index 0000000000..ec2ed1a107 --- /dev/null +++ b/ima4.h @@ -0,0 +1,28 @@ +#ifndef QUICKTIME_IMA4_H +#define QUICKTIME_IMA4_H + +//#include "quicktime.h" +#include "inttypes.h" + +typedef struct +{ +/* During decoding the work_buffer contains the most recently read chunk. */ +/* During encoding the work_buffer contains interlaced overflow samples */ +/* from the last chunk written. */ + int16_t *work_buffer; + unsigned char *read_buffer; /* Temporary buffer for drive reads. */ + +/* Starting information for all channels during encoding. */ + int *last_samples, *last_indexes; + long chunk; /* Number of chunk in work buffer */ + int buffer_channel; /* Channel of work buffer */ + +/* Number of samples in largest chunk read. */ +/* Number of samples plus overflow in largest chunk write, interlaced. */ + long work_size; + long work_overflow; /* Number of overflow samples from the last chunk written. */ + long read_size; /* Size of read buffer. */ +} quicktime_ima4_codec_t; + + +#endif |