mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
ec02253fe6
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2400 b3059339-0415-0410-9bf9-f77b7e298cf2
29 lines
906 B
C
29 lines
906 B
C
#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
|