apps/ccam/dma2jpeg.c File Reference

#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include "jpeg/jpeglib.h"
#include "imageaccess.h"
#include "dma2jpeg.h"

Include dependency graph for dma2jpeg.c:

Go to the source code of this file.

Defines

#define D(x)
#define D1(x)

Functions

int dma2jpeg (int ImageWidth, int ImageHeight, int Quality, int Contrast, int Color, int bayerOrient, int Depth, const char *pseudo, const char *ifn, const char *ofn)


Define Documentation

#define D ( x   ) 

Definition at line 35 of file dma2jpeg.c.

#define D1 ( x   ) 

Definition at line 36 of file dma2jpeg.c.


Function Documentation

int dma2jpeg ( int  ImageWidth,
int  ImageHeight,
int  Quality,
int  Contrast,
int  Color,
int  bayerOrient,
int  Depth,
const char *  pseudo,
const char *  ifn,
const char *  ofn 
)

Definition at line 63 of file dma2jpeg.c.

References closePixelBuffers(), D, getPalette(), getPixelRow(), initPixelBuffers(), jpeg_set_quality(), MD, outfile, stderr, and stdout.

Referenced by send_buf_image(), and send_immed_image().


Generated on Thu Aug 7 16:19:37 2008 for elphel by  doxygen 1.5.1