include/it/io.h File Reference

#include <stdarg.h>
#include <assert.h>
#include <it/mat.h>

Go to the source code of this file.

Defines

#define it_assert(a, expr)   __it_assert((long)(a), "", 0, expr)

Functions

void it_vprintf (char *fmt, va_list args)
void it_fprintf (FILE *output, char *fmt,...)
void it_printf (char *fmt,...)
void it_vfprintf (FILE *output, char *fmt, va_list ap)
void it_warning (char *fmt,...)
void it_error (char *fmt,...)
void __it_assert (int a, const char *filename, int line, char *message)
void it_set_vec_default_fmt (char *fmt)
void it_set_mat_default_fmt (char *fmt)
char * it_read_int (char *s, int *p_val)
char * it_read_float (char *s, float *p_val)
char * it_read_double (char *s, double *p_val)
char * it_read_cplx (char *s, cplx *p_val)
char * it_read_vec (char *s, vec *v)
char * it_read_fvec (char *s, vec *v)
char * it_read_ivec (char *s, ivec *v)
char * it_read_bvec (char *s, bvec *v)
char * it_read_cvec (char *s, cvec *v)
char * it_read_mat (char *s, mat *m)
char * it_read_fmat (char *s, mat *m)
char * it_read_imat (char *s, imat *m)
char * it_read_bmat (char *s, bmat *m)
char * it_read_cmat (char *s, cmat *m)
vec vec_new_string (char *s)
vec fvec_new_string (char *s)
ivec ivec_new_string (char *s)
bvec bvec_new_string (char *s)
cvec cvec_new_string (char *s)
mat mat_new_string (char *s)
mat fmat_new_string (char *s)
imat imat_new_string (char *s)
bmat bmat_new_string (char *s)
cmat cmat_new_string (char *s)
char pnm_type (const char *filename)
int pnm_info (const char *filename, char *p_pnm_type, int *p_width, int *p_height, int *p_max_val, char *comments, int length)
mat mat_pgm_read (const char *filename)
imat imat_pgm_read (const char *filename)
int mat_pgm_write (const char *filename, mat m)
int imat_pgm_write (const char *filename, imat m)
int wav_info (const char *filename, int *p_channels, int *p_srate, int *p_depth, int *p_length)
mat mat_wav_read (const char *filename)
imat imat_wav_read (const char *filename)
void mat_wav_write (const char *filename, mat m, int srate, int depth)
void imat_wav_write (const char *filename, imat m, int srate, int depth)
void vec_fwrite (FILE *stream, vec v)
void fvec_fwrite (FILE *stream, vec v)
void bvec_fwrite (FILE *stream, bvec v)
void ivec_fwrite (FILE *stream, ivec v)
void cvec_fwrite (FILE *stream, cvec v)
int vec_fread (FILE *stream, vec v)
int fvec_fread (FILE *stream, vec v)
int bvec_fread (FILE *stream, bvec v)
int ivec_fread (FILE *stream, ivec v)
int cvec_fread (FILE *stream, cvec v)
vec vec_new_fread (FILE *stream)
vec fvec_new_fread (FILE *stream)
bvec bvec_new_fread (FILE *stream)
ivec ivec_new_fread (FILE *stream)
cvec cvec_new_fread (FILE *stream)
void mat_fwrite (FILE *stream, mat m)
void fmat_fwrite (FILE *stream, mat m)
void bmat_fwrite (FILE *stream, bmat m)
void imat_fwrite (FILE *stream, imat m)
void cmat_fwrite (FILE *stream, cmat m)
int vec_sread (void *buffer, vec v)
int fvec_sread (void *buffer, vec v)
int ivec_sread (void *buffer, ivec v)
mat mat_new_fread (FILE *stream)
bmat bmat_new_fread (FILE *stream)
imat imat_new_fread (FILE *stream)
cmat cmat_new_fread (FILE *stream)
bvec bvec_file_read_bits (const char *filename, int nb_max)
void bvec_file_write_bits (const char *filename, bvec v)


Hosted by
Copyright (C) 2005-2006 Hervé Jégou
Vivien Chappelier
Francois Cayre
libit logo courtesy of Jonathan Delhumeau