Analogy for Linux, range related features. More...

Functions | |
| int | a4l_sizeof_chan (a4l_chinfo_t *chan) |
| Get the size in memory of an acquired element. | |
| int | a4l_sizeof_subd (a4l_sbinfo_t *subd) |
| Get the size in memory of a digital acquired element. | |
| int | a4l_find_range (a4l_desc_t *dsc, unsigned int idx_subd, unsigned int idx_chan, unsigned long unit, double min, double max, a4l_rnginfo_t **rng) |
| Find the must suitable range. | |
| int | a4l_rawtoul (a4l_chinfo_t *chan, unsigned long *dst, void *src, int cnt) |
| Unpack raw data (from the driver) into unsigned long values. | |
| int | a4l_rawtof (a4l_chinfo_t *chan, a4l_rnginfo_t *rng, float *dst, void *src, int cnt) |
| Convert raw data (from the driver) to float-typed samples. | |
| int | a4l_rawtod (a4l_chinfo_t *chan, a4l_rnginfo_t *rng, double *dst, void *src, int cnt) |
| Convert raw data (from the driver) to double-typed samples. | |
| int | a4l_ultoraw (a4l_chinfo_t *chan, void *dst, unsigned long *src, int cnt) |
| Pack unsigned long values into raw data (for the driver). | |
| int | a4l_ftoraw (a4l_chinfo_t *chan, a4l_rnginfo_t *rng, void *dst, float *src, int cnt) |
| Convert float-typed samples to raw data (for the driver). | |
| int | a4l_dtoraw (a4l_chinfo_t *chan, a4l_rnginfo_t *rng, void *dst, double *src, int cnt) |
| Convert double-typed samples to raw data (for the driver). | |
Analogy for Linux, range related features.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
1.7.1