#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include "imageaccess.h"
#include "dma2bmp.h"
Include dependency graph for dma2bmp.c:
Go to the source code of this file.
Defines | |
#define | D(x) |
#define | D1(x) |
Functions | |
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) |
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 | |||
) |
Definition at line 22 of file dma2bmp.c.
References closePixelBuffers(), D1, getMonoRow(), getPalette(), initPixelBuffers(), memcpy(), outfile, stderr, and stdout.
Referenced by send_buf_image(), and send_immed_image().