#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <math.h>
#include <asm/elphel/autoexp.h>
#include <asm/elphel/hist.h>
#include <sys/mman.h>
#include <asm/elphel/c313a.h>
#include "libpng/png.h"
Include dependency graph for pnghist_nocgi.c:
Go to the source code of this file.
Defines | |
#define | HIST_SIZE 256 * 4 * 4 |
#define | HPNG_PLOT_BARS 1 |
#define | HPNG_CONNECT_DOTS 2 |
#define | HPNG_FILL_ZEROS 4 |
#define | HPNG_LIN_INTERP 8 |
#define | HPNG_RUN_SQRT 16 |
#define | ERROR -1 |
#define | OK 0 |
Functions | |
int | write_png (char *file_name, int height, int data[1024], int mode, int colors) |
int | main (int argc, argv) |
int | write_png (char *file_name, int png_height, int data[1536], int mode, int colors) |
Variables | |
autoexp_t | autoexp |
#define ERROR -1 |
Definition at line 183 of file pnghist_nocgi.c.
#define HIST_SIZE 256 * 4 * 4 |
Definition at line 20 of file pnghist_nocgi.c.
#define HPNG_CONNECT_DOTS 2 |
Definition at line 23 of file pnghist_nocgi.c.
#define HPNG_FILL_ZEROS 4 |
Definition at line 24 of file pnghist_nocgi.c.
#define HPNG_LIN_INTERP 8 |
Definition at line 25 of file pnghist_nocgi.c.
#define HPNG_PLOT_BARS 1 |
Definition at line 22 of file pnghist_nocgi.c.
#define HPNG_RUN_SQRT 16 |
Definition at line 26 of file pnghist_nocgi.c.
#define OK 0 |
Definition at line 184 of file pnghist_nocgi.c.
Definition at line 29 of file pnghist_nocgi.c.
References _CCCMD, autoexp, AUTOEXP_DEV_NAME, CCAM_RPARS, coeff, fd, autoexp_t::height, HIST_SIZE, HPNG_FILL_ZEROS, HPNG_LIN_INTERP, HPNG_RUN_SQRT, IOC_AUTOEXP_GET, memcpy(), mode, P_ACTUAL_HEIGHT, P_ACTUAL_WIDTH, read, wh, autoexp_t::width, write_png(), and ww.
Definition at line 27 of file pnghist_nocgi.c.