Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / quicktime / wmx1.h
blob8abf50703c36b9beba31a64f69ab15494b6820ed
1 #ifndef QUICKTIME_WMX1_H
2 #define QUICKTIME_WMX1_H
4 #define WMX_CHUNK_FRAMES 50
6 #include "yuv.h"
8 typedef struct
10 quicktime_yuv_t yuv_tables;
11 unsigned char *frame_cache[WMX_CHUNK_FRAMES]; /* Frames that are similar enough to pack. */
12 unsigned char *key_frame; /* Packed frames for writing. */
13 long keyframe_position;
14 int quality;
15 int use_float;
16 /* The YUV4 codec requires a bytes per line that is a multiple of 4 */
17 int bytes_per_line;
18 /* Actual rows encoded in the yuv4 format */
19 int rows;
21 int frames_per_chunk;
22 int threshold; /* How different a pixel must be for it to be called different. */
23 } quicktime_wmx1_codec_t;
25 #endif