iio.c
//
// This function is the core of the library.
// Nearly everything passes through here (except the "raw"  images)
//
This function is the core of the library.
Nearly everything passes through here (except the "raw"  images)
This function is the core of the library . Nearly everything passes through here ( except the " raw " images )
static int read_image_f(struct iio_image *x, FILE *f)
{
	int bufmax = 0x100, nbuf, format;
	char buf[0x100] = {0};
	format = guess_format(f, buf, &nbuf, bufmax);
	IIO_DEBUG("iio file format guess: %s {%d}\n", iio_strfmt(format), nbuf);
	assert(nbuf > 0);
	return read_beheaded_image(x, f, buf, nbuf, format);
}
static int read_image_f ( struct iio_image * x , FILE * f ) { int bufmax = 0x100 , nbuf , format ; char buf [ 0x100 ] = { 0 } ; format = guess_format ( f , buf , & nbuf , bufmax ) ; IIO_DEBUG ( " \n " , iio_strfmt ( format ) , nbuf ) ; assert ( nbuf > 0 ) ; return read_beheaded_image ( x , f , buf , nbuf , format ) ; }
This function is the core of the library.
This function is the core of the library .