00001 #ifndef QUICKTIME_WMX1_H 00002 #define QUICKTIME_WMX1_H 00003 00004 #define WMX_CHUNK_FRAMES 50 00005 00006 #include "yuv.h" 00007 00008 typedef struct 00009 { 00010 quicktime_yuv_t yuv_tables; 00011 unsigned char *frame_cache[WMX_CHUNK_FRAMES]; /* Frames that are similar enough to pack. */ 00012 unsigned char *key_frame; /* Packed frames for writing. */ 00013 long keyframe_position; 00014 int quality; 00015 int use_float; 00016 /* The YUV4 codec requires a bytes per line that is a multiple of 4 */ 00017 int bytes_per_line; 00018 /* Actual rows encoded in the yuv4 format */ 00019 int rows; 00020 00021 int frames_per_chunk; 00022 int threshold; /* How different a pixel must be for it to be called different. */ 00023 } quicktime_wmx1_codec_t; 00024 00025 #endif
1.5.5