apps/ccam/dma2bmp.h

Go to the documentation of this file.
00001 #ifndef MAP_OPTIONS                     
00002 #ifndef MAP_FILE                        
00003   #define MAP_OPTIONS MAP_PRIVATE               /* Sun */
00004 #else
00005   #define MAP_OPTIONS MAP_FILE|MAP_PRIVATE      /* Linux */
00006 #endif
00007 #endif
00008 
00009 
00010 // Compression=0 - will work to stdout, Compression 1 - only to file (file length will be calculated later)
00011 // output 8-bit monochrome/color JPEG image (bayerOrient - pixel at 0/0: 0 - R, 1 G(R), 2 - G(B), 3 - B)
00012 //int dma2jpeg        (int ImageWidth, int ImageHeight, int Quality, int Contrast, int Color, int bayerOrient, int Depth, const char * ifn, const char * ofn);
00013 int dma2bmp (int ImageWidth, int ImageHeight, int Mode, int Contrast, int Color, int bayerOrient, int Depth, const char * pseudo, const char * ifn, const char * ofn);
00014 /*
00015 typedef struct {
00016   char           Signature[2];
00017   unsigned long  FileSize;
00018   unsigned long  reserved1;
00019   unsigned long  DataOffset;
00020   unsigned long  Size;
00021   unsigned long  Width;
00022   unsigned long  Height;
00023   unsigned short Planes;
00024   unsigned short BitCount;
00025   unsigned long  Compression;
00026   unsigned long  ImageSize;
00027   unsigned long  XpixelsPerM;
00028   unsigned long  YpixelsPerM;
00029   unsigned long  ColorsUsed;
00030   unsigned long  ColorsImportant;
00031   unsigned long  ColorTable[256];
00032 
00033 } BITMAPFILEHEADER;
00034 */

Generated on Thu Aug 7 16:18:59 2008 for elphel by  doxygen 1.5.1