change to fixed rate refresh stratigy for vicons
[goodguy/history.git] / cinelerra-5.0 / mpeg2enc / writepic.c
index d69e610992604afd05e0f81a0ba65a14a0b220df..e11112adb2416b597e0b5c8e6b5011c6f3cc9749 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
-#include "colormodels.h"
 #include "config.h"
 #include "global.h"
 
 void writeframe(int number, unsigned char *frame[])
 {
-  int chrom_hsize, chrom_vsize;
-  char name[128];
-  FILE *fd;
-
-       if(!qt_output) return;
-//printf("writeframe 1\n");
-  chrom_hsize = (chroma_format==CHROMA444) ? horizontal_size
-                                           : horizontal_size>>1;
-
-  chrom_vsize = (chroma_format!=CHROMA420) ? vertical_size
-                                           : vertical_size>>1;
-
-       quicktime_set_cmodel(qt_output, BC_YUV420P);
-       quicktime_encode_video(qt_output, 
-               frame, 
-               0);
 }