cdt2bmp.cc

Go to the documentation of this file.
00001 //
00002 // Copyright 2002 Sony Corporation 
00003 //
00004 // Permission to use, copy, modify, and redistribute this software for
00005 // non-commercial use is hereby granted.
00006 //
00007 // This software is provided "as is" without warranty of any kind,
00008 // either expressed or implied, including but not limited to the
00009 // implied warranties of fitness for a particular purpose.
00010 //
00011 
00012 #include <stdio.h>
00013 #include <stdlib.h>
00014 #include "BMP.h"
00015 
00016 main(int argc, char **argv)
00017 {
00018     if (argc != 7) {
00019         fprintf(stderr,
00020                 "Usage: cdt2bmp path y_segment cr_max cr_min cb_max cb_min\n");
00021         exit(1);
00022     }
00023 
00024     BMP bmp;
00025     bmp.SaveCDT(argv[1], atoi(argv[2]),
00026                 atoi(argv[3]), atoi(argv[4]), atoi(argv[5]), atoi(argv[6]));
00027 }

Generated on Sun Dec 2 23:04:28 2007 for openSDK by  doxygen 1.3.9.1