PandA-2024.02
Functions
mypgm.c File Reference
#include "mypgm.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for mypgm.c:

Go to the source code of this file.

Functions

void load_image_data (const char *file_name, unsigned char *image1, unsigned int *x_size1, unsigned int *y_size1)
 
void save_image_data (const char *file_name, unsigned char *image2, unsigned int x_size2, unsigned int y_size2)
 

Function Documentation

◆ load_image_data()

void load_image_data ( const char *  file_name,
unsigned char *  image1,
unsigned int *  x_size1,
unsigned int *  y_size1 
)

Definition at line 9 of file mypgm.c.

References MAX_BRIGHTNESS, MAX_BUFFERSIZE, MAX_IMAGESIZE, NULL, and x.

Referenced by main().

Here is the caller graph for this function:

◆ save_image_data()

void save_image_data ( const char *  file_name,
unsigned char *  image2,
unsigned int  x_size2,
unsigned int  y_size2 
)

Definition at line 76 of file mypgm.c.

References MAX_BRIGHTNESS, MAX_IMAGESIZE, and x.

Referenced by main().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:09 for PandA-2024.02 by doxygen 1.8.13