Mercurial > mplayer.hg
comparison ima4.h @ 2399:35c767f8fea4
initial
author | alex |
---|---|
date | Tue, 23 Oct 2001 01:17:56 +0000 |
parents | |
children | 311676805f20 |
comparison
equal
deleted
inserted
replaced
2398:3679bb635267 | 2399:35c767f8fea4 |
---|---|
1 #ifndef QUICKTIME_IMA4_H | |
2 #define QUICKTIME_IMA4_H | |
3 | |
4 //#include "quicktime.h" | |
5 #include "inttypes.h" | |
6 | |
7 typedef struct | |
8 { | |
9 /* During decoding the work_buffer contains the most recently read chunk. */ | |
10 /* During encoding the work_buffer contains interlaced overflow samples */ | |
11 /* from the last chunk written. */ | |
12 int16_t *work_buffer; | |
13 unsigned char *read_buffer; /* Temporary buffer for drive reads. */ | |
14 | |
15 /* Starting information for all channels during encoding. */ | |
16 int *last_samples, *last_indexes; | |
17 long chunk; /* Number of chunk in work buffer */ | |
18 int buffer_channel; /* Channel of work buffer */ | |
19 | |
20 /* Number of samples in largest chunk read. */ | |
21 /* Number of samples plus overflow in largest chunk write, interlaced. */ | |
22 long work_size; | |
23 long work_overflow; /* Number of overflow samples from the last chunk written. */ | |
24 long read_size; /* Size of read buffer. */ | |
25 } quicktime_ima4_codec_t; | |
26 | |
27 | |
28 #endif |