#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <math.h>
#include "lasercalc.h"
Include dependency graph for lasercalc.c:
Go to the source code of this file.
Defines | |
#define | D(x) |
Functions | |
int | calculateBeamParams (const char *dmaFileName, int width, int height, struct beam_params *beam) |
#define D | ( | x | ) |
Definition at line 15 of file lasercalc.c.
int calculateBeamParams | ( | const char * | dmaFileName, | |
int | width, | |||
int | height, | |||
struct beam_params * | beam | |||
) |
Definition at line 46 of file lasercalc.c.
References beam_params::ar, beam_params::az, beam_params::d, beam_params::dx, beam_params::dxe, beam_params::dy, beam_params::dye, MAP_OPTIONS, MAX_IMAGE_HEIGHT, MAX_IMAGE_WIDTH, MD, memset(), beam_params::s2x, beam_params::s2y, beam_params::SQ, stderr, beam_params::SxQ, beam_params::SxxQ, beam_params::sxy, beam_params::SxyQ, beam_params::SyQ, beam_params::SyyQ, beam_params::xc, and beam_params::yc.
Referenced by send_html_data().