3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
pngread.c File Reference
#include "pngread.h"
#include <stdlib.h>
Include dependency graph for pngread.c:

Functions

int check_if_png (const char *file_name, FILE **fp, unsigned int bytes_to_check)
 
int read_png (FILE *fp, unsigned int sig_read, png_bytep **row_pointers, png_uint_32 *width, png_uint_32 *height)
 
void free_pngrowpointers (png_bytep *row_pointers, png_uint_32 height)
 

Function Documentation

◆ check_if_png()

int check_if_png ( const char *  file_name,
FILE **  fp,
unsigned int  bytes_to_check 
)

Referenced by pngTexture(), and pngTexture3D().

Here is the caller graph for this function:

◆ free_pngrowpointers()

void free_pngrowpointers ( png_bytep *  row_pointers,
png_uint_32  height 
)

Referenced by pngTexture(), and pngTexture3D().

Here is the caller graph for this function:

◆ read_png()

int read_png ( FILE *  fp,
unsigned int  sig_read,
png_bytep **  row_pointers,
png_uint_32 *  width,
png_uint_32 *  height 
)

Referenced by pngTexture(), and pngTexture3D().

Here is the caller graph for this function: