
#include "Envision/env_stdio_interface.h"#include "Envision/env_alloc.h"#include "Envision/env_image.h"#include "Envision/env_log.h"#include <ctype.h>#include <errno.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>

Go to the source code of this file.
Functions | |
| static void | lfatal (const char *msg,...) __attribute__((format(__printf__ |
| static void | div2 (const env_size_t numer, const env_size_t denom, const env_size_t ndigits, env_size_t *const whole, env_size_t *const fract) |
| void | env_stdio_assert_handler (const char *what, int custom_msg, const char *where, int line_no) |
| Print an error message to stderr and abort. | |
| void | env_stdio_print_alloc_stats (const struct env_alloc_stats *p, const env_size_t block_size) |
| struct env_rgb_pixel * | env_stdio_parse_rgb (const char *fname, struct env_dims *outdims) |
| NOTE: caller must deallocate the result with env_deallocate(). | |
| void | env_stdio_write_gray (const struct env_image *iimage, const char *outstem, const char *name, int c) |
Definition in file env_stdio_interface.c.
| void env_stdio_assert_handler | ( | const char * | what, | |
| int | custom_msg, | |||
| const char * | where, | |||
| int | line_no | |||
| ) |
Print an error message to stderr and abort.
Definition at line 93 of file env_stdio_interface.c.
Referenced by EnvVisualCortexBase::start1().
| struct env_rgb_pixel* env_stdio_parse_rgb | ( | const char * | fname, | |
| struct env_dims * | outdims | |||
| ) | [read] |
NOTE: caller must deallocate the result with env_deallocate().
Definition at line 212 of file env_stdio_interface.c.
References env_allocate(), env_dims::h, and env_dims::w.
1.6.3