#include <string.h>
#include <gandalf/common/array.h>
Defines | |
#define | GAN_ARRAY_TYPE unsigned char |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_uc |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_uc |
#define | GAN_ARRAY_TYPE short |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_s |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_s |
#define | GAN_ARRAY_TYPE unsigned short |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_us |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_us |
#define | GAN_ARRAY_TYPE int |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_i |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_i |
#define | GAN_ARRAY_TYPE unsigned int |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_ui |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_ui |
#define | GAN_ARRAY_TYPE long |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_l |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_l |
#define | GAN_ARRAY_TYPE unsigned long |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_ul |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_ul |
#define | GAN_ARRAY_TYPE float |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_f |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_f |
#define | GAN_ARRAY_TYPE double |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_d |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_d |
#define | GAN_ARRAY_TYPE void * |
#define | GAN_ARRAY_FILLFUNC gan_fill_array_p |
#define | GAN_ARRAY_COPYFUNC gan_copy_array_p |
Functions | |
void | gan_fill_array_uc (unsigned char *arr, unsigned long size, long stride, unsigned char val) |
Fill array of objects. | |
void | gan_copy_array_uc (const unsigned char *source, long s_stride, unsigned long size, unsigned char *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #unsigned char to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_s (short *arr, unsigned long size, long stride, short val) |
Fill array of objects. | |
void | gan_copy_array_s (const short *source, long s_stride, unsigned long size, short *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #short to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_us (unsigned short *arr, unsigned long size, long stride, unsigned short val) |
Fill array of objects. | |
void | gan_copy_array_us (const unsigned short *source, long s_stride, unsigned long size, unsigned short *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #unsigned short to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_i (int *arr, unsigned long size, long stride, int val) |
Fill array of objects. | |
void | gan_copy_array_i (const int *source, long s_stride, unsigned long size, int *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #int to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_ui (unsigned int *arr, unsigned long size, long stride, unsigned int val) |
Fill array of objects. | |
void | gan_copy_array_ui (const unsigned int *source, long s_stride, unsigned long size, unsigned int *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #unsigned int to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_l (long *arr, unsigned long size, long stride, long val) |
Fill array of objects. | |
void | gan_copy_array_l (const long *source, long s_stride, unsigned long size, long *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #long to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_ul (unsigned long *arr, unsigned long size, long stride, unsigned long val) |
Fill array of objects. | |
void | gan_copy_array_ul (const unsigned long *source, long s_stride, unsigned long size, unsigned long *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #unsigned long to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_f (float *arr, unsigned long size, long stride, float val) |
Fill array of objects. | |
void | gan_copy_array_f (const float *source, long s_stride, unsigned long size, float *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #float to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_d (double *arr, unsigned long size, long stride, double val) |
Fill array of objects. | |
void | gan_copy_array_d (const double *source, long s_stride, unsigned long size, double *dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #double to dest array. The stride arguments indicate the spacing between elements of the arrays. | |
void | gan_fill_array_p (void **arr, unsigned long size, long stride, void *val) |
Fill array of objects. | |
void | gan_copy_array_p (const void **source, long s_stride, unsigned long size, void **dest, long d_stride) |
Copy array of objects. Copy source array of objects of type #void * to dest array. The stride arguments indicate the spacing between elements of the arrays. |
Part of: Gandalf Library