summaryrefslogtreecommitdiffstats
path: root/ima4.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-23 01:17:56 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-23 01:17:56 +0000
commitec02253fe60b81b8ea4842cbed613250b9aa4ac7 (patch)
tree986737b605fe20e38676120880eed4ee3edff2c3 /ima4.h
parente6ee04e413f13cb81072c05fe3d32e5a8d5173c1 (diff)
downloadmpv-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.h28
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