Main Page | Modules | Class List | File List | Class Members | File Members

Access Individual Pixels of an Image
[Image Package]


Classes

struct  Gan_GLAPixel_uc
 Structure defining grey-level unsigned character pixel with alpha channel. More...
struct  Gan_GLAPixel_s
 Structure defining grey-level short integer pixel with alpha channel. More...
struct  Gan_GLAPixel_us
 Structure defining grey-level unsigned short pixel with alpha channel. More...
struct  Gan_GLAPixel_i
 Structure defining grey-level signed integer pixel with alpha channel. More...
struct  Gan_GLAPixel_ui
 Structure defining grey-level unsigned integer pixel with alpha channel. More...
struct  Gan_GLAPixel_f
 Structure defining grey-level single precision floating point pixel with alpha channel. More...
struct  Gan_GLAPixel_d
 Structure defining grey-level double precision floating point pixel with alpha channel. More...
struct  Gan_RGBPixel_uc
 Structure defining RGB colour unsigned character pixel. More...
struct  Gan_RGBPixel_s
 Structure defining RGB colour signed short integer pixel. More...
struct  Gan_RGBPixel_us
 Structure defining RGB colour unsigned short integer pixel. More...
struct  Gan_RGBPixel_i
 Structure defining RGB colour signed integer pixel. More...
struct  Gan_RGBPixel_ui
 Structure defining RGB colour unsigned integer pixel. More...
struct  Gan_RGBPixel_f
 Structure defining RGB colour singe precision floating point pixel. More...
struct  Gan_RGBPixel_d
 Structure defining RGB colour double precision floating point pixel. More...
struct  Gan_RGBAPixel_uc
 Structure defining RGB unsigned character pixel with alpha channel. More...
struct  Gan_RGBAPixel_s
 Structure defining RGB signed short integer pixel with alpha channel. More...
struct  Gan_RGBAPixel_us
 Structure defining RGB unsigned short integer pixel with alpha channel. More...
struct  Gan_RGBAPixel_i
 Structure defining RGB signed integer pixel with alpha channel. More...
struct  Gan_RGBAPixel_ui
 Structure defining RGB unsigned integer pixel with alpha channel. More...
struct  Gan_RGBAPixel_f
 Structure defining RGB single precision floating point pixel with alpha channel. More...
struct  Gan_RGBAPixel_d
 Structure defining RGB double precision floating point pixel with alpha channel. More...
struct  Gan_RGBXPixel_ui8
 Structure defining padded 8-bit RGBX pixel. More...
struct  Gan_RGBXPixel_ui10
 Structure defining 10-bit RGBX pixel. More...
struct  Gan_RGBASPixel_ui10
 Structure defining 10-bit RGB pixel with 2-bit alpha channel. More...
struct  Gan_RGBAPixel_ui12
 Structure defining 12-bit packed RGBA. More...
struct  Gan_YUVX444Pixel_ui8
 Structure defining YUV 8-bit 4-4-4 pixel padded to a word boundary. More...
struct  Gan_YUVA444Pixel_ui8
 Structure defining YUVA 8-bit 4-4-4 pixel. More...
struct  Gan_YUV422Pixel_ui8
 Structure defining UYVY 8-bit 4-2-2 pixel. More...
struct  Gan_YXPixel_ui10
 Structure defining YX 10-bit luminance with 6-bit padding. More...
struct  Gan_YXPixel_ui12
 Structure defining YX 12-bit luminance with 4-bit padding. More...
struct  Gan_Pixel
 Structure definition for image pixel of any format or type. More...

Typedefs

typedef Gan_GLAPixel_uc Gan_GLAPixel_uc
 Structure defining grey-level unsigned character pixel with alpha channel.
typedef Gan_GLAPixel_s Gan_GLAPixel_s
 Structure defining grey-level short integer pixel with alpha channel.
typedef Gan_GLAPixel_us Gan_GLAPixel_us
 Structure defining grey-level unsigned short pixel with alpha channel.
typedef Gan_GLAPixel_i Gan_GLAPixel_i
 Structure defining grey-level signed integer pixel with alpha channel.
typedef Gan_GLAPixel_ui Gan_GLAPixel_ui
 Structure defining grey-level unsigned integer pixel with alpha channel.
typedef Gan_GLAPixel_f Gan_GLAPixel_f
 Structure defining grey-level single precision floating point pixel with alpha channel.
typedef Gan_GLAPixel_d Gan_GLAPixel_d
 Structure defining grey-level double precision floating point pixel with alpha channel.
typedef Gan_RGBPixel_uc Gan_RGBPixel_uc
 Structure defining RGB colour unsigned character pixel.
typedef Gan_RGBPixel_s Gan_RGBPixel_s
 Structure defining RGB colour signed short integer pixel.
typedef Gan_RGBPixel_us Gan_RGBPixel_us
 Structure defining RGB colour unsigned short integer pixel.
typedef Gan_RGBPixel_i Gan_RGBPixel_i
 Structure defining RGB colour signed integer pixel.
typedef Gan_RGBPixel_ui Gan_RGBPixel_ui
 Structure defining RGB colour unsigned integer pixel.
typedef Gan_RGBPixel_f Gan_RGBPixel_f
 Structure defining RGB colour singe precision floating point pixel.
typedef Gan_RGBPixel_d Gan_RGBPixel_d
 Structure defining RGB colour double precision floating point pixel.
typedef Gan_RGBAPixel_uc Gan_RGBAPixel_uc
 Structure defining RGB unsigned character pixel with alpha channel.
typedef Gan_RGBAPixel_s Gan_RGBAPixel_s
 Structure defining RGB signed short integer pixel with alpha channel.
typedef Gan_RGBAPixel_us Gan_RGBAPixel_us
 Structure defining RGB unsigned short integer pixel with alpha channel.
typedef Gan_RGBAPixel_i Gan_RGBAPixel_i
 Structure defining RGB signed integer pixel with alpha channel.
typedef Gan_RGBAPixel_ui Gan_RGBAPixel_ui
 Structure defining RGB unsigned integer pixel with alpha channel.
typedef Gan_RGBAPixel_f Gan_RGBAPixel_f
 Structure defining RGB single precision floating point pixel with alpha channel.
typedef Gan_RGBAPixel_d Gan_RGBAPixel_d
 Structure defining RGB double precision floating point pixel with alpha channel.
typedef Gan_RGBXPixel_ui8 Gan_RGBXPixel_ui8
 Structure defining padded 8-bit RGBX pixel.
typedef Gan_RGBXPixel_ui10 Gan_RGBXPixel_ui10
 Structure defining 10-bit RGBX pixel.
typedef Gan_RGBASPixel_ui10 Gan_RGBASPixel_ui10
 Structure defining 10-bit RGB pixel with 2-bit alpha channel.
typedef Gan_RGBAPixel_ui12 Gan_RGBAPixel_ui12
 Structure defining 12-bit packed RGBA.
typedef Gan_YUVX444Pixel_ui8 Gan_YUVX444Pixel_ui8
 Structure defining YUV 8-bit 4-4-4 pixel padded to a word boundary.
typedef Gan_YUVA444Pixel_ui8 Gan_YUVA444Pixel_ui8
 Structure defining YUVA 8-bit 4-4-4 pixel.
typedef Gan_YUV422Pixel_ui8 Gan_YUV422Pixel_ui8
 Structure defining UYVY 8-bit 4-2-2 pixel.
typedef Gan_YXPixel_ui10 Gan_YXPixel_ui10
 Structure defining YX 10-bit luminance with 6-bit padding.
typedef Gan_YXPixel_ui12 Gan_YXPixel_ui12
 Structure defining YX 12-bit luminance with 4-bit padding.
typedef Gan_Pixel Gan_Pixel
 Structure definition for image pixel of any format or type.

Enumerations

enum  Gan_ImageFormat {
  GAN_GREY_LEVEL_IMAGE, GAN_GREY_LEVEL_ALPHA_IMAGE, GAN_RGB_COLOUR_IMAGE, GAN_RGB_COLOUR_ALPHA_IMAGE,
  GAN_VECTOR_FIELD_2D, GAN_VECTOR_FIELD_3D, GAN_RGBX, GAN_RGBAS,
  GAN_YUVX444, GAN_YUVA444, GAN_YUV422, GAN_UNDEFINED_IMAGE_FORMAT
}
 Different formats of image pixel. More...

Functions

Gan_Bool gan_image_set_pix_b (Gan_Image *img, unsigned row, unsigned col, Gan_Bool pix)
 Macro: Set a pixel in a grey-level Gan_Bool image.
Gan_BitWord gan_image_get_pix_b (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level Gan_Bool image.
Gan_Pixel gan_image_get_pix (const Gan_Image *img, unsigned row, unsigned col)
 Gets a pixel from an image.
void * gan_image_get_pixptr (const Gan_Image *img, unsigned row, unsigned col)
 Gets a pointer to a pixel from an image.
Gan_Bool gan_image_get_pix_zero (const Gan_Image *img, unsigned row, unsigned col)
 Gets a pixel from an image and compares it with zero.
Gan_Bool gan_image_set_pix (Gan_Image *img, unsigned row, unsigned col, Gan_Pixel *pix)
 Sets a pixel in an image.
Gan_Bool gan_image_set_pix_zero (Gan_Image *img, unsigned row, unsigned col)
 Sets a pixel in an image to zero.
double * gan_image_get_pixptr_gl_d (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level double image.
double ** gan_image_get_pixarr_gl_d (const Gan_Image *img)
 Return the pixel array from a grey-level double image.
Gan_Bool gan_image_set_pix_gl_d (Gan_Image *img, unsigned row, unsigned col, double pix)
 Macro: Set a pixel in a grey-level double image.
double gan_image_get_pix_gl_d (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level double image.
float * gan_image_get_pixptr_gl_f (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level float image.
float ** gan_image_get_pixarr_gl_f (const Gan_Image *img)
 Return the pixel array from a grey-level float image.
Gan_Bool gan_image_set_pix_gl_f (Gan_Image *img, unsigned row, unsigned col, float pix)
 Macro: Set a pixel in a grey-level float image.
float gan_image_get_pix_gl_f (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level float image.
gan_float32 * gan_image_get_pixptr_gl_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level 32-bit float image.
gan_float32 ** gan_image_get_pixarr_gl_f32 (const Gan_Image *img)
 Return the pixel array from a grey-level 32-bit float image.
Gan_Bool gan_image_set_pix_gl_f32 (Gan_Image *img, unsigned row, unsigned col, 32-bit float pix)
 Macro: Set a pixel in a grey-level 32-bit float image.
gan_float32 gan_image_get_pix_gl_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level 32-bit float image.
gan_float64 * gan_image_get_pixptr_gl_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level 64-bit float image.
gan_float64 ** gan_image_get_pixarr_gl_f64 (const Gan_Image *img)
 Return the pixel array from a grey-level 64-bit float image.
Gan_Bool gan_image_set_pix_gl_f64 (Gan_Image *img, unsigned row, unsigned col, 64-bit float pix)
 Macro: Set a pixel in a grey-level 64-bit float image.
gan_float64 gan_image_get_pix_gl_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level 64-bit float image.
int * gan_image_get_pixptr_gl_i (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level int image.
int ** gan_image_get_pixarr_gl_i (const Gan_Image *img)
 Return the pixel array from a grey-level int image.
Gan_Bool gan_image_set_pix_gl_i (Gan_Image *img, unsigned row, unsigned col, int pix)
 Macro: Set a pixel in a grey-level int image.
int gan_image_get_pix_gl_i (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level int image.
gan_int32 * gan_image_get_pixptr_gl_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level 32-bit signed image.
gan_int32 ** gan_image_get_pixarr_gl_i32 (const Gan_Image *img)
 Return the pixel array from a grey-level 32-bit signed image.
Gan_Bool gan_image_set_pix_gl_i32 (Gan_Image *img, unsigned row, unsigned col, 32-bit signed pix)
 Macro: Set a pixel in a grey-level 32-bit signed image.
gan_int32 gan_image_get_pix_gl_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level 32-bit signed image.
short * gan_image_get_pixptr_gl_s (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level short image.
short ** gan_image_get_pixarr_gl_s (const Gan_Image *img)
 Return the pixel array from a grey-level short image.
Gan_Bool gan_image_set_pix_gl_s (Gan_Image *img, unsigned row, unsigned col, short pix)
 Macro: Set a pixel in a grey-level short image.
short gan_image_get_pix_gl_s (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level short image.
unsigned char * gan_image_get_pixptr_gl_uc (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level unsigned char image.
unsigned char ** gan_image_get_pixarr_gl_uc (const Gan_Image *img)
 Return the pixel array from a grey-level unsigned char image.
Gan_Bool gan_image_set_pix_gl_uc (Gan_Image *img, unsigned row, unsigned col, unsigned char pix)
 Macro: Set a pixel in a grey-level unsigned char image.
unsigned char gan_image_get_pix_gl_uc (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level unsigned char image.
unsigned int * gan_image_get_pixptr_gl_ui (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level unsigned int image.
unsigned int ** gan_image_get_pixarr_gl_ui (const Gan_Image *img)
 Return the pixel array from a grey-level unsigned int image.
Gan_Bool gan_image_set_pix_gl_ui (Gan_Image *img, unsigned row, unsigned col, unsigned int pix)
 Macro: Set a pixel in a grey-level unsigned int image.
unsigned int gan_image_get_pix_gl_ui (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level unsigned int image.
Gan_YXPixel_ui10gan_image_get_pixptr_gl_ui10 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a Grey level gan_uint16 image.
Gan_YXPixel_ui10 ** gan_image_get_pixarr_gl_ui10 (const Gan_Image *img)
 Return the pixel array from a Grey level gan_uint16 image.
Gan_Bool gan_image_set_pix_gl_ui10 (Gan_Image *img, unsigned row, unsigned col, struct Gan_YXPixel_ui10 *pix)
 Macro: Set a pixel in a Grey level gan_uint16 image.
Gan_YXPixel_ui10 gan_image_get_pix_gl_ui10 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a Grey level gan_uint16 image.
Gan_YXPixel_ui12gan_image_get_pixptr_gl_ui12 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a Grey level gan_uint16 image.
Gan_YXPixel_ui12 ** gan_image_get_pixarr_gl_ui12 (const Gan_Image *img)
 Return the pixel array from a Grey level gan_uint16 image.
Gan_Bool gan_image_set_pix_gl_ui12 (Gan_Image *img, unsigned row, unsigned col, struct Gan_YXPixel_ui12 *pix)
 Macro: Set a pixel in a Grey level gan_uint16 image.
Gan_YXPixel_ui12 gan_image_get_pix_gl_ui12 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a Grey level gan_uint16 image.
gan_uint16 * gan_image_get_pixptr_gl_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level 16-bit unsigned image.
gan_uint16 ** gan_image_get_pixarr_gl_ui16 (const Gan_Image *img)
 Return the pixel array from a grey-level 16-bit unsigned image.
Gan_Bool gan_image_set_pix_gl_ui16 (Gan_Image *img, unsigned row, unsigned col, 16-bit unsigned pix)
 Macro: Set a pixel in a grey-level 16-bit unsigned image.
gan_uint16 gan_image_get_pix_gl_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level 16-bit unsigned image.
gan_uint32 * gan_image_get_pixptr_gl_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level 32-bit unsigned image.
gan_uint32 ** gan_image_get_pixarr_gl_ui32 (const Gan_Image *img)
 Return the pixel array from a grey-level 32-bit unsigned image.
Gan_Bool gan_image_set_pix_gl_ui32 (Gan_Image *img, unsigned row, unsigned col, 32-bit unsigned pix)
 Macro: Set a pixel in a grey-level 32-bit unsigned image.
gan_uint32 gan_image_get_pix_gl_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level 32-bit unsigned image.
gan_uint8 * gan_image_get_pixptr_gl_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level 8-bit unsigned image.
gan_uint8 ** gan_image_get_pixarr_gl_ui8 (const Gan_Image *img)
 Return the pixel array from a grey-level 8-bit unsigned image.
Gan_Bool gan_image_set_pix_gl_ui8 (Gan_Image *img, unsigned row, unsigned col, 8-bit unsigned pix)
 Macro: Set a pixel in a grey-level 8-bit unsigned image.
gan_uint8 gan_image_get_pix_gl_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level 8-bit unsigned image.
unsigned short * gan_image_get_pixptr_gl_us (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level unsigned short image.
unsigned short ** gan_image_get_pixarr_gl_us (const Gan_Image *img)
 Return the pixel array from a grey-level unsigned short image.
Gan_Bool gan_image_set_pix_gl_us (Gan_Image *img, unsigned row, unsigned col, unsigned short pix)
 Macro: Set a pixel in a grey-level unsigned short image.
unsigned short gan_image_get_pix_gl_us (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level unsigned short image.
Gan_GLAPixel_dgan_image_get_pixptr_gla_d (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha double image.
Gan_GLAPixel_d ** gan_image_get_pixarr_gla_d (const Gan_Image *img)
 Return the pixel array from a grey-level alpha double image.
Gan_Bool gan_image_set_pix_gla_d (Gan_Image *img, unsigned row, unsigned col, struct Gan_GLAPixel_d *pix)
 Macro: Set a pixel in a grey-level alpha double image.
Gan_GLAPixel_d gan_image_get_pix_gla_d (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha double image.
Gan_GLAPixel_fgan_image_get_pixptr_gla_f (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha float image.
Gan_GLAPixel_f ** gan_image_get_pixarr_gla_f (const Gan_Image *img)
 Return the pixel array from a grey-level alpha float image.
Gan_Bool gan_image_set_pix_gla_f (Gan_Image *img, unsigned row, unsigned col, struct Gan_GLAPixel_f *pix)
 Macro: Set a pixel in a grey-level alpha float image.
Gan_GLAPixel_f gan_image_get_pix_gla_f (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha float image.
Gan_GLAPixel_f32 * gan_image_get_pixptr_gla_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha 32-bit float image.
Gan_GLAPixel_f32 ** gan_image_get_pixarr_gla_f32 (const Gan_Image *img)
 Return the pixel array from a grey-level alpha 32-bit float image.
Gan_Bool gan_image_set_pix_gla_f32 (Gan_Image *img, unsigned row, unsigned col, Gan_GLAPixel_f32 *pix)
 Macro: Set a pixel in a grey-level alpha 32-bit float image.
Gan_GLAPixel_f32 gan_image_get_pix_gla_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha 32-bit float image.
Gan_GLAPixel_f64 * gan_image_get_pixptr_gla_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha 64-bit float image.
Gan_GLAPixel_f64 ** gan_image_get_pixarr_gla_f64 (const Gan_Image *img)
 Return the pixel array from a grey-level alpha 64-bit float image.
Gan_Bool gan_image_set_pix_gla_f64 (Gan_Image *img, unsigned row, unsigned col, Gan_GLAPixel_f64 *pix)
 Macro: Set a pixel in a grey-level alpha 64-bit float image.
Gan_GLAPixel_f64 gan_image_get_pix_gla_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha 64-bit float image.
Gan_GLAPixel_igan_image_get_pixptr_gla_i (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha int image.
Gan_GLAPixel_i ** gan_image_get_pixarr_gla_i (const Gan_Image *img)
 Return the pixel array from a grey-level alpha int image.
Gan_Bool gan_image_set_pix_gla_i (Gan_Image *img, unsigned row, unsigned col, struct Gan_GLAPixel_i *pix)
 Macro: Set a pixel in a grey-level alpha int image.
Gan_GLAPixel_i gan_image_get_pix_gla_i (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha int image.
Gan_GLAPixel_i32 * gan_image_get_pixptr_gla_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha 32-bit signed image.
Gan_GLAPixel_i32 ** gan_image_get_pixarr_gla_i32 (const Gan_Image *img)
 Return the pixel array from a grey-level alpha 32-bit signed image.
Gan_Bool gan_image_set_pix_gla_i32 (Gan_Image *img, unsigned row, unsigned col, Gan_GLAPixel_i32 *pix)
 Macro: Set a pixel in a grey-level alpha 32-bit signed image.
Gan_GLAPixel_i32 gan_image_get_pix_gla_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha 32-bit signed image.
Gan_GLAPixel_sgan_image_get_pixptr_gla_s (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha short image.
Gan_GLAPixel_s ** gan_image_get_pixarr_gla_s (const Gan_Image *img)
 Return the pixel array from a grey-level alpha short image.
Gan_Bool gan_image_set_pix_gla_s (Gan_Image *img, unsigned row, unsigned col, struct Gan_GLAPixel_s *pix)
 Macro: Set a pixel in a grey-level alpha short image.
Gan_GLAPixel_s gan_image_get_pix_gla_s (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha short image.
Gan_GLAPixel_ucgan_image_get_pixptr_gla_uc (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha unsigned char image.
Gan_GLAPixel_uc ** gan_image_get_pixarr_gla_uc (const Gan_Image *img)
 Return the pixel array from a grey-level alpha unsigned char image.
Gan_Bool gan_image_set_pix_gla_uc (Gan_Image *img, unsigned row, unsigned col, struct Gan_GLAPixel_uc *pix)
 Macro: Set a pixel in a grey-level alpha unsigned char image.
Gan_GLAPixel_uc gan_image_get_pix_gla_uc (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha unsigned char image.
Gan_GLAPixel_uigan_image_get_pixptr_gla_ui (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha unsigned int image.
Gan_GLAPixel_ui ** gan_image_get_pixarr_gla_ui (const Gan_Image *img)
 Return the pixel array from a grey-level alpha unsigned int image.
Gan_Bool gan_image_set_pix_gla_ui (Gan_Image *img, unsigned row, unsigned col, struct Gan_GLAPixel_ui *pix)
 Macro: Set a pixel in a grey-level alpha unsigned int image.
Gan_GLAPixel_ui gan_image_get_pix_gla_ui (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha unsigned int image.
Gan_GLAPixel_ui16 * gan_image_get_pixptr_gla_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha 16-bit unsigned image.
Gan_GLAPixel_ui16 ** gan_image_get_pixarr_gla_ui16 (const Gan_Image *img)
 Return the pixel array from a grey-level alpha 16-bit unsigned image.
Gan_Bool gan_image_set_pix_gla_ui16 (Gan_Image *img, unsigned row, unsigned col, Gan_GLAPixel_ui16 *pix)
 Macro: Set a pixel in a grey-level alpha 16-bit unsigned image.
Gan_GLAPixel_ui16 gan_image_get_pix_gla_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha 16-bit unsigned image.
Gan_GLAPixel_ui32 * gan_image_get_pixptr_gla_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha 32-bit unsigned image.
Gan_GLAPixel_ui32 ** gan_image_get_pixarr_gla_ui32 (const Gan_Image *img)
 Return the pixel array from a grey-level alpha 32-bit unsigned image.
Gan_Bool gan_image_set_pix_gla_ui32 (Gan_Image *img, unsigned row, unsigned col, Gan_GLAPixel_ui32 *pix)
 Macro: Set a pixel in a grey-level alpha 32-bit unsigned image.
Gan_GLAPixel_ui32 gan_image_get_pix_gla_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha 32-bit unsigned image.
Gan_GLAPixel_ui8 * gan_image_get_pixptr_gla_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha 8-bit unsigned image.
Gan_GLAPixel_ui8 ** gan_image_get_pixarr_gla_ui8 (const Gan_Image *img)
 Return the pixel array from a grey-level alpha 8-bit unsigned image.
Gan_Bool gan_image_set_pix_gla_ui8 (Gan_Image *img, unsigned row, unsigned col, Gan_GLAPixel_ui8 *pix)
 Macro: Set a pixel in a grey-level alpha 8-bit unsigned image.
Gan_GLAPixel_ui8 gan_image_get_pix_gla_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha 8-bit unsigned image.
Gan_GLAPixel_usgan_image_get_pixptr_gla_us (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level alpha unsigned short image.
Gan_GLAPixel_us ** gan_image_get_pixarr_gla_us (const Gan_Image *img)
 Return the pixel array from a grey-level alpha unsigned short image.
Gan_Bool gan_image_set_pix_gla_us (Gan_Image *img, unsigned row, unsigned col, struct Gan_GLAPixel_us *pix)
 Macro: Set a pixel in a grey-level alpha unsigned short image.
Gan_GLAPixel_us gan_image_get_pix_gla_us (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level alpha unsigned short image.
void ** gan_image_get_pixptr_p (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a grey-level void * image.
void *** gan_image_get_pixarr_p (const Gan_Image *img)
 Return the pixel array from a grey-level void * image.
Gan_Bool gan_image_set_pix_p (Gan_Image *img, unsigned row, unsigned col, void *pix)
 Macro: Set a pixel in a grey-level void * image.
void * gan_image_get_pix_p (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a grey-level void * image.
Gan_RGBPixel_dgan_image_get_pixptr_rgb_d (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour double image.
Gan_RGBPixel_d ** gan_image_get_pixarr_rgb_d (const Gan_Image *img)
 Return the pixel array from a RGB colour double image.
Gan_Bool gan_image_set_pix_rgb_d (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBPixel_d *pix)
 Macro: Set a pixel in a RGB colour double image.
Gan_RGBPixel_d gan_image_get_pix_rgb_d (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour double image.
Gan_RGBPixel_fgan_image_get_pixptr_rgb_f (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour float image.
Gan_RGBPixel_f ** gan_image_get_pixarr_rgb_f (const Gan_Image *img)
 Return the pixel array from a RGB colour float image.
Gan_Bool gan_image_set_pix_rgb_f (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBPixel_f *pix)
 Macro: Set a pixel in a RGB colour float image.
Gan_RGBPixel_f gan_image_get_pix_rgb_f (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour float image.
Gan_RGBPixel_f32 * gan_image_get_pixptr_rgb_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour 32-bit float image.
Gan_RGBPixel_f32 ** gan_image_get_pixarr_rgb_f32 (const Gan_Image *img)
 Return the pixel array from a RGB colour 32-bit float image.
Gan_Bool gan_image_set_pix_rgb_f32 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBPixel_f32 *pix)
 Macro: Set a pixel in a RGB colour 32-bit float image.
Gan_RGBPixel_f32 gan_image_get_pix_rgb_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour 32-bit float image.
Gan_RGBPixel_f64 * gan_image_get_pixptr_rgb_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour 64-bit float image.
Gan_RGBPixel_f64 ** gan_image_get_pixarr_rgb_f64 (const Gan_Image *img)
 Return the pixel array from a RGB colour 64-bit float image.
Gan_Bool gan_image_set_pix_rgb_f64 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBPixel_f64 *pix)
 Macro: Set a pixel in a RGB colour 64-bit float image.
Gan_RGBPixel_f64 gan_image_get_pix_rgb_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour 64-bit float image.
Gan_RGBPixel_igan_image_get_pixptr_rgb_i (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour int image.
Gan_RGBPixel_i ** gan_image_get_pixarr_rgb_i (const Gan_Image *img)
 Return the pixel array from a RGB colour int image.
Gan_Bool gan_image_set_pix_rgb_i (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBPixel_i *pix)
 Macro: Set a pixel in a RGB colour int image.
Gan_RGBPixel_i gan_image_get_pix_rgb_i (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour int image.
Gan_RGBPixel_i32 * gan_image_get_pixptr_rgb_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour 32-bit signed image.
Gan_RGBPixel_i32 ** gan_image_get_pixarr_rgb_i32 (const Gan_Image *img)
 Return the pixel array from a RGB colour 32-bit signed image.
Gan_Bool gan_image_set_pix_rgb_i32 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBPixel_i32 *pix)
 Macro: Set a pixel in a RGB colour 32-bit signed image.
Gan_RGBPixel_i32 gan_image_get_pix_rgb_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour 32-bit signed image.
Gan_RGBPixel_sgan_image_get_pixptr_rgb_s (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour short image.
Gan_RGBPixel_s ** gan_image_get_pixarr_rgb_s (const Gan_Image *img)
 Return the pixel array from a RGB colour short image.
Gan_Bool gan_image_set_pix_rgb_s (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBPixel_s *pix)
 Macro: Set a pixel in a RGB colour short image.
Gan_RGBPixel_s gan_image_get_pix_rgb_s (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour short image.
Gan_RGBPixel_ucgan_image_get_pixptr_rgb_uc (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour unsigned char image.
Gan_RGBPixel_uc ** gan_image_get_pixarr_rgb_uc (const Gan_Image *img)
 Return the pixel array from a RGB colour unsigned char image.
Gan_Bool gan_image_set_pix_rgb_uc (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBPixel_uc *pix)
 Macro: Set a pixel in a RGB colour unsigned char image.
Gan_RGBPixel_uc gan_image_get_pix_rgb_uc (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour unsigned char image.
Gan_RGBPixel_uigan_image_get_pixptr_rgb_ui (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour unsigned int image.
Gan_RGBPixel_ui ** gan_image_get_pixarr_rgb_ui (const Gan_Image *img)
 Return the pixel array from a RGB colour unsigned int image.
Gan_Bool gan_image_set_pix_rgb_ui (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBPixel_ui *pix)
 Macro: Set a pixel in a RGB colour unsigned int image.
Gan_RGBPixel_ui gan_image_get_pix_rgb_ui (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour unsigned int image.
Gan_RGBPixel_ui16 * gan_image_get_pixptr_rgb_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour 16-bit unsigned image.
Gan_RGBPixel_ui16 ** gan_image_get_pixarr_rgb_ui16 (const Gan_Image *img)
 Return the pixel array from a RGB colour 16-bit unsigned image.
Gan_Bool gan_image_set_pix_rgb_ui16 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBPixel_ui16 *pix)
 Macro: Set a pixel in a RGB colour 16-bit unsigned image.
Gan_RGBPixel_ui16 gan_image_get_pix_rgb_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour 16-bit unsigned image.
Gan_RGBPixel_ui32 * gan_image_get_pixptr_rgb_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour 32-bit unsigned image.
Gan_RGBPixel_ui32 ** gan_image_get_pixarr_rgb_ui32 (const Gan_Image *img)
 Return the pixel array from a RGB colour 32-bit unsigned image.
Gan_Bool gan_image_set_pix_rgb_ui32 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBPixel_ui32 *pix)
 Macro: Set a pixel in a RGB colour 32-bit unsigned image.
Gan_RGBPixel_ui32 gan_image_get_pix_rgb_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour 32-bit unsigned image.
Gan_RGBPixel_ui8 * gan_image_get_pixptr_rgb_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour 8-bit unsigned image.
Gan_RGBPixel_ui8 ** gan_image_get_pixarr_rgb_ui8 (const Gan_Image *img)
 Return the pixel array from a RGB colour 8-bit unsigned image.
Gan_Bool gan_image_set_pix_rgb_ui8 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBPixel_ui8 *pix)
 Macro: Set a pixel in a RGB colour 8-bit unsigned image.
Gan_RGBPixel_ui8 gan_image_get_pix_rgb_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour 8-bit unsigned image.
Gan_RGBPixel_usgan_image_get_pixptr_rgb_us (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour unsigned short image.
Gan_RGBPixel_us ** gan_image_get_pixarr_rgb_us (const Gan_Image *img)
 Return the pixel array from a RGB colour unsigned short image.
Gan_Bool gan_image_set_pix_rgb_us (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBPixel_us *pix)
 Macro: Set a pixel in a RGB colour unsigned short image.
Gan_RGBPixel_us gan_image_get_pix_rgb_us (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour unsigned short image.
Gan_RGBAPixel_dgan_image_get_pixptr_rgba_d (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha double image.
Gan_RGBAPixel_d ** gan_image_get_pixarr_rgba_d (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha double image.
Gan_Bool gan_image_set_pix_rgba_d (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_d *pix)
 Macro: Set a pixel in a RGB-colour alpha double image.
Gan_RGBAPixel_d gan_image_get_pix_rgba_d (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha double image.
Gan_RGBAPixel_fgan_image_get_pixptr_rgba_f (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha float image.
Gan_RGBAPixel_f ** gan_image_get_pixarr_rgba_f (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha float image.
Gan_Bool gan_image_set_pix_rgba_f (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_f *pix)
 Macro: Set a pixel in a RGB-colour alpha float image.
Gan_RGBAPixel_f gan_image_get_pix_rgba_f (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha float image.
Gan_RGBAPixel_f32 * gan_image_get_pixptr_rgba_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha 32-bit float image.
Gan_RGBAPixel_f32 ** gan_image_get_pixarr_rgba_f32 (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha 32-bit float image.
Gan_Bool gan_image_set_pix_rgba_f32 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBAPixel_f32 *pix)
 Macro: Set a pixel in a RGB-colour alpha 32-bit float image.
Gan_RGBAPixel_f32 gan_image_get_pix_rgba_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha 32-bit float image.
Gan_RGBAPixel_f64 * gan_image_get_pixptr_rgba_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha 64-bit float image.
Gan_RGBAPixel_f64 ** gan_image_get_pixarr_rgba_f64 (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha 64-bit float image.
Gan_Bool gan_image_set_pix_rgba_f64 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBAPixel_f64 *pix)
 Macro: Set a pixel in a RGB-colour alpha 64-bit float image.
Gan_RGBAPixel_f64 gan_image_get_pix_rgba_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha 64-bit float image.
Gan_RGBAPixel_igan_image_get_pixptr_rgba_i (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha int image.
Gan_RGBAPixel_i ** gan_image_get_pixarr_rgba_i (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha int image.
Gan_Bool gan_image_set_pix_rgba_i (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_i *pix)
 Macro: Set a pixel in a RGB-colour alpha int image.
Gan_RGBAPixel_i gan_image_get_pix_rgba_i (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha int image.
Gan_RGBAPixel_i32 * gan_image_get_pixptr_rgba_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGBA colour 32-bit signed image.
Gan_RGBAPixel_i32 ** gan_image_get_pixarr_rgba_i32 (const Gan_Image *img)
 Return the pixel array from a RGBA colour 32-bit signed image.
Gan_Bool gan_image_set_pix_rgba_i32 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBAPixel_i32 *pix)
 Macro: Set a pixel in a RGBA colour 32-bit signed image.
Gan_RGBAPixel_i32 gan_image_get_pix_rgba_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGBA colour 32-bit signed image.
Gan_RGBAPixel_sgan_image_get_pixptr_rgba_s (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha short image.
Gan_RGBAPixel_s ** gan_image_get_pixarr_rgba_s (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha short image.
Gan_Bool gan_image_set_pix_rgba_s (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_s *pix)
 Macro: Set a pixel in a RGB-colour alpha short image.
Gan_RGBAPixel_s gan_image_get_pix_rgba_s (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha short image.
Gan_RGBAPixel_ucgan_image_get_pixptr_rgba_uc (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha unsigned char image.
Gan_RGBAPixel_uc ** gan_image_get_pixarr_rgba_uc (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha unsigned char image.
Gan_Bool gan_image_set_pix_rgba_uc (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_uc *pix)
 Macro: Set a pixel in a RGB-colour alpha unsigned char image.
Gan_RGBAPixel_uc gan_image_get_pix_rgba_uc (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha unsigned char image.
Gan_RGBAPixel_uigan_image_get_pixptr_rgba_ui (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha unsigned int image.
Gan_RGBAPixel_ui ** gan_image_get_pixarr_rgba_ui (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha unsigned int image.
Gan_Bool gan_image_set_pix_rgba_ui (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_ui *pix)
 Macro: Set a pixel in a RGB-colour alpha unsigned int image.
Gan_RGBAPixel_ui gan_image_get_pix_rgba_ui (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha unsigned int image.
Gan_RGBAPixel_ui12gan_image_get_pixptr_rgba_ui12 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGBA colour gan_uint16 image.
Gan_RGBAPixel_ui12 ** gan_image_get_pixarr_rgba_ui12 (const Gan_Image *img)
 Return the pixel array from a RGBA colour gan_uint16 image.
Gan_Bool gan_image_set_pix_rgba_ui12 (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_ui12 *pix)
 Macro: Set a pixel in a RGBA colour gan_uint16 image.
Gan_RGBAPixel_ui12 gan_image_get_pix_rgba_ui12 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGBA colour gan_uint16 image.
Gan_RGBAPixel_ui16 * gan_image_get_pixptr_rgba_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha 16-bit unsigned image.
Gan_RGBAPixel_ui16 ** gan_image_get_pixarr_rgba_ui16 (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha 16-bit unsigned image.
Gan_Bool gan_image_set_pix_rgba_ui16 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBAPixel_ui16 *pix)
 Macro: Set a pixel in a RGB-colour alpha 16-bit unsigned image.
Gan_RGBAPixel_ui16 gan_image_get_pix_rgba_ui16 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha 16-bit unsigned image.
Gan_RGBAPixel_ui32 * gan_image_get_pixptr_rgba_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha 32-bit unsigned image.
Gan_RGBAPixel_ui32 ** gan_image_get_pixarr_rgba_ui32 (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha 32-bit unsigned image.
Gan_Bool gan_image_set_pix_rgba_ui32 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBAPixel_ui32 *pix)
 Macro: Set a pixel in a RGB-colour alpha 32-bit unsigned image.
Gan_RGBAPixel_ui32 gan_image_get_pix_rgba_ui32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha 32-bit unsigned image.
Gan_RGBAPixel_ui8 * gan_image_get_pixptr_rgba_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha 8-bit unsigned image.
Gan_RGBAPixel_ui8 ** gan_image_get_pixarr_rgba_ui8 (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha 8-bit unsigned image.
Gan_Bool gan_image_set_pix_rgba_ui8 (Gan_Image *img, unsigned row, unsigned col, Gan_RGBAPixel_ui8 *pix)
 Macro: Set a pixel in a RGB-colour alpha 8-bit unsigned image.
Gan_RGBAPixel_ui8 gan_image_get_pix_rgba_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha 8-bit unsigned image.
Gan_RGBAPixel_usgan_image_get_pixptr_rgba_us (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB-colour alpha unsigned short image.
Gan_RGBAPixel_us ** gan_image_get_pixarr_rgba_us (const Gan_Image *img)
 Return the pixel array from a RGB-colour alpha unsigned short image.
Gan_Bool gan_image_set_pix_rgba_us (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBAPixel_us *pix)
 Macro: Set a pixel in a RGB-colour alpha unsigned short image.
Gan_RGBAPixel_us gan_image_get_pix_rgba_us (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB-colour alpha unsigned short image.
Gan_RGBASPixel_ui10gan_image_get_pixptr_rgbas_ui10 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGBA colour gan_uint16 image.
Gan_RGBASPixel_ui10 ** gan_image_get_pixarr_rgbas_ui10 (const Gan_Image *img)
 Return the pixel array from a RGBA colour gan_uint16 image.
Gan_Bool gan_image_set_pix_rgbas_ui10 (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBASPixel_ui10 *pix)
 Macro: Set a pixel in a RGBA colour gan_uint16 image.
Gan_RGBASPixel_ui10 gan_image_get_pix_rgbas_ui10 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGBA colour gan_uint16 image.
Gan_RGBXPixel_ui10gan_image_get_pixptr_rgbx_ui10 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour gan_uint16 image.
Gan_RGBXPixel_ui10 ** gan_image_get_pixarr_rgbx_ui10 (const Gan_Image *img)
 Return the pixel array from a RGB colour gan_uint16 image.
Gan_Bool gan_image_set_pix_rgbx_ui10 (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBXPixel_ui10 *pix)
 Macro: Set a pixel in a RGB colour gan_uint16 image.
Gan_RGBXPixel_ui10 gan_image_get_pix_rgbx_ui10 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour gan_uint16 image.
Gan_RGBXPixel_ui8gan_image_get_pixptr_rgbx_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a RGB colour gan_uint8 image.
Gan_RGBXPixel_ui8 ** gan_image_get_pixarr_rgbx_ui8 (const Gan_Image *img)
 Return the pixel array from a RGB colour gan_uint8 image.
Gan_Bool gan_image_set_pix_rgbx_ui8 (Gan_Image *img, unsigned row, unsigned col, struct Gan_RGBXPixel_ui8 *pix)
 Macro: Set a pixel in a RGB colour gan_uint8 image.
Gan_RGBXPixel_ui8 gan_image_get_pix_rgbx_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a RGB colour gan_uint8 image.
Gan_Vector2gan_image_get_pixptr_vfield2D_d (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector-field double image.
Gan_Vector2 ** gan_image_get_pixarr_vfield2D_d (const Gan_Image *img)
 Return the pixel array from a 2D vector-field double image.
Gan_Bool gan_image_set_pix_vfield2D_d (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2 *pix)
 Macro: Set a pixel in a 2D vector double image.
Gan_Vector2 gan_image_get_pix_vfield2D_d (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector double image.
Gan_Vector2_fgan_image_get_pixptr_vfield2D_f (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector-field float image.
Gan_Vector2_f ** gan_image_get_pixarr_vfield2D_f (const Gan_Image *img)
 Return the pixel array from a 2D vector-field float image.
Gan_Bool gan_image_set_pix_vfield2D_f (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_f *pix)
 Macro: Set a pixel in a 2D vector float image.
Gan_Vector2_f gan_image_get_pix_vfield2D_f (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector float image.
Gan_Vector2_f32 * gan_image_get_pixptr_vfield2D_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector 32-bit floating image.
Gan_Vector2_f32 ** gan_image_get_pixarr_vfield2D_f32 (const Gan_Image *img)
 Return the pixel array from a 2D vector 32-bit floating image.
Gan_Bool gan_image_set_pix_vfield2D_f32 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_f32 *pix)
 Macro: Set a pixel in a 2D vector 32-bit floating image.
Gan_Vector2_f32 gan_image_get_pix_vfield2D_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector 32-bit floating image.
Gan_Vector2_f64 * gan_image_get_pixptr_vfield2D_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector 64-bit floating image.
Gan_Vector2_f64 ** gan_image_get_pixarr_vfield2D_f64 (const Gan_Image *img)
 Return the pixel array from a 2D vector 64-bit floating image.
Gan_Bool gan_image_set_pix_vfield2D_f64 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_f64 *pix)
 Macro: Set a pixel in a 2D vector 64-bit floating image.
Gan_Vector2_f64 gan_image_get_pix_vfield2D_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector 64-bit floating image.
Gan_Vector2_igan_image_get_pixptr_vfield2D_i (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector-field int image.
Gan_Vector2_i ** gan_image_get_pixarr_vfield2D_i (const Gan_Image *img)
 Return the pixel array from a 2D vector-field int image.
Gan_Bool gan_image_set_pix_vfield2D_i (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_i *pix)
 Macro: Set a pixel in a 2D vector int image.
Gan_Vector2_i gan_image_get_pix_vfield2D_i (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector int image.
Gan_Vector2_i16 * gan_image_get_pixptr_vfield2D_i16 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector 16-bit signed image.
Gan_Vector2_i16 ** gan_image_get_pixarr_vfield2D_i16 (const Gan_Image *img)
 Return the pixel array from a 2D vector 16-bit signed image.
Gan_Bool gan_image_set_pix_vfield2D_i16 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_i16 *pix)
 Macro: Set a pixel in a 2D vector 16-bit signed image.
Gan_Vector2_i16 gan_image_get_pix_vfield2D_i16 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector 16-bit signed image.
Gan_Vector2_i32 * gan_image_get_pixptr_vfield2D_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector 32-bit signed image.
Gan_Vector2_i32 ** gan_image_get_pixarr_vfield2D_i32 (const Gan_Image *img)
 Return the pixel array from a 2D vector 32-bit signed image.
Gan_Bool gan_image_set_pix_vfield2D_i32 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_i32 *pix)
 Macro: Set a pixel in a 2D vector 32-bit signed image.
Gan_Vector2_i32 gan_image_get_pix_vfield2D_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector 32-bit signed image.
Gan_Vector2_sgan_image_get_pixptr_vfield2D_s (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 2D vector-field short image.
Gan_Vector2_s ** gan_image_get_pixarr_vfield2D_s (const Gan_Image *img)
 Return the pixel array from a 2D vector-field short image.
Gan_Bool gan_image_set_pix_vfield2D_s (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_s *pix)
 Macro: Set a pixel in a 2D vector short image.
Gan_Vector2_s gan_image_get_pix_vfield2D_s (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 2D vector short image.
Gan_Vector3gan_image_get_pixptr_vfield3D_d (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector-field double image.
Gan_Vector3 ** gan_image_get_pixarr_vfield3D_d (const Gan_Image *img)
 Return the pixel array from a 3D vector-field double image.
Gan_Bool gan_image_set_pix_vfield3D_d (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector3 *pix)
 Macro: Set a pixel in a 3D vector double image.
Gan_Vector3 gan_image_get_pix_vfield3D_d (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector double image.
Gan_Vector3_fgan_image_get_pixptr_vfield3D_f (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector-field float image.
Gan_Vector3_f ** gan_image_get_pixarr_vfield3D_f (const Gan_Image *img)
 Return the pixel array from a 3D vector-field float image.
Gan_Bool gan_image_set_pix_vfield3D_f (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector3_f *pix)
 Macro: Set a pixel in a 3D vector float image.
Gan_Vector3_f gan_image_get_pix_vfield3D_f (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector float image.
Gan_Vector2_f32 * gan_image_get_pixptr_vfield3D_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector 32-bit floating image.
Gan_Vector2_f32 ** gan_image_get_pixarr_vfield3D_f32 (const Gan_Image *img)
 Return the pixel array from a 3D vector 32-bit floating image.
Gan_Bool gan_image_set_pix_vfield3D_f32 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_f32 *pix)
 Macro: Set a pixel in a 3D vector 32-bit floating image.
Gan_Vector2_f32 gan_image_get_pix_vfield3D_f32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector 32-bit floating image.
Gan_Vector2_f64 * gan_image_get_pixptr_vfield3D_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector 64-bit floating image.
Gan_Vector2_f64 ** gan_image_get_pixarr_vfield3D_f64 (const Gan_Image *img)
 Return the pixel array from a 3D vector 64-bit floating image.
Gan_Bool gan_image_set_pix_vfield3D_f64 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_f64 *pix)
 Macro: Set a pixel in a 3D vector 64-bit floating image.
Gan_Vector2_f64 gan_image_get_pix_vfield3D_f64 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector 64-bit floating image.
Gan_Vector3_igan_image_get_pixptr_vfield3D_i (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector-field int image.
Gan_Vector3_i ** gan_image_get_pixarr_vfield3D_i (const Gan_Image *img)
 Return the pixel array from a 3D vector-field int image.
Gan_Bool gan_image_set_pix_vfield3D_i (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector3_i *pix)
 Macro: Set a pixel in a 3D vector int image.
Gan_Vector3_i gan_image_get_pix_vfield3D_i (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector int image.
Gan_Vector2_i16 * gan_image_get_pixptr_vfield3D_i16 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector 16-bit signed image.
Gan_Vector2_i16 ** gan_image_get_pixarr_vfield3D_i16 (const Gan_Image *img)
 Return the pixel array from a 3D vector 16-bit signed image.
Gan_Bool gan_image_set_pix_vfield3D_i16 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_i16 *pix)
 Macro: Set a pixel in a 3D vector 16-bit signed image.
Gan_Vector2_i16 gan_image_get_pix_vfield3D_i16 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector 16-bit signed image.
Gan_Vector2_i32 * gan_image_get_pixptr_vfield3D_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector 32-bit signed image.
Gan_Vector2_i32 ** gan_image_get_pixarr_vfield3D_i32 (const Gan_Image *img)
 Return the pixel array from a 3D vector 32-bit signed image.
Gan_Bool gan_image_set_pix_vfield3D_i32 (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector2_i32 *pix)
 Macro: Set a pixel in a 3D vector 32-bit signed image.
Gan_Vector2_i32 gan_image_get_pix_vfield3D_i32 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector 32-bit signed image.
Gan_Vector3_sgan_image_get_pixptr_vfield3D_s (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a 3D vector-field short image.
Gan_Vector3_s ** gan_image_get_pixarr_vfield3D_s (const Gan_Image *img)
 Return the pixel array from a 3D vector-field short image.
Gan_Bool gan_image_set_pix_vfield3D_s (Gan_Image *img, unsigned row, unsigned col, struct Gan_Vector3_s *pix)
 Macro: Set a pixel in a 3D vector short image.
Gan_Vector3_s gan_image_get_pix_vfield3D_s (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a 3D vector short image.
Gan_YUV422Pixel_ui8gan_image_get_pixptr_yuv422_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a YUV colour gan_uint8 image.
Gan_YUV422Pixel_ui8 ** gan_image_get_pixarr_yuv422_ui8 (const Gan_Image *img)
 Return the pixel array from a YUV colour gan_uint8 image.
Gan_Bool gan_image_set_pix_yuv422_ui8 (Gan_Image *img, unsigned row, unsigned col, struct Gan_YUV422Pixel_ui8 *pix)
 Macro: Set a pixel in a YUV colour gan_uint8 image.
Gan_YUV422Pixel_ui8 gan_image_get_pix_yuv422_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a YUV colour gan_uint8 image.
Gan_YUVA444Pixel_ui8gan_image_get_pixptr_yuva444_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a YUVA colour gan_uint8 image.
Gan_YUVA444Pixel_ui8 ** gan_image_get_pixarr_yuva444_ui8 (const Gan_Image *img)
 Return the pixel array from a YUVA colour gan_uint8 image.
Gan_Bool gan_image_set_pix_yuva444_ui8 (Gan_Image *img, unsigned row, unsigned col, struct Gan_YUVA444Pixel_ui8 *pix)
 Macro: Set a pixel in a YUVA colour gan_uint8 image.
Gan_YUVA444Pixel_ui8 gan_image_get_pix_yuva444_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a YUVA colour gan_uint8 image.
Gan_YUVX444Pixel_ui8gan_image_get_pixptr_yuvx444_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Return a pointer to a pixel from a YUV colour gan_uint8 image.
Gan_YUVX444Pixel_ui8 ** gan_image_get_pixarr_yuvx444_ui8 (const Gan_Image *img)
 Return the pixel array from a YUV colour gan_uint8 image.
Gan_Bool gan_image_set_pix_yuvx444_ui8 (Gan_Image *img, unsigned row, unsigned col, struct Gan_YUVX444Pixel_ui8 *pix)
 Macro: Set a pixel in a YUV colour gan_uint8 image.
Gan_YUVX444Pixel_ui8 gan_image_get_pix_yuvx444_ui8 (const Gan_Image *img, unsigned row, unsigned col)
 Macro: Return a pixel from a YUV colour gan_uint8 image.
unsigned char gan_pixel_rgbuc_to_yuc (const Gan_RGBPixel_uc *rgb)
 Convert RGB unsigned char pixel to grey-level unsigned char pixel.
unsigned short gan_pixel_rgbuc_to_yus (const Gan_RGBPixel_uc *rgb)
 Convert RGB unsigned char pixel to grey-level unsigned short pixel.
unsigned int gan_pixel_rgbuc_to_yui (const Gan_RGBPixel_uc *rgb)
 Convert RGB unsigned char pixel to grey-level unsigned int pixel.
unsigned char gan_pixel_rgbus_to_yuc (const Gan_RGBPixel_us *rgb)
 Convert RGB unsigned short pixel to grey-level unsigned char pixel.
unsigned short gan_pixel_rgbus_to_yus (const Gan_RGBPixel_us *rgb)
 Convert RGB unsigned short pixel to grey-level unsigned short pixel.
float gan_pixel_rgbui_to_yf (const Gan_RGBPixel_ui *rgb)
 Convert RGB float pixel to grey-level float pixel.
float gan_pixel_rgbf_to_yf (const Gan_RGBPixel_f *rgb)
 Convert RGB float pixel to grey-level float pixel.
double gan_pixel_rgbd_to_yd (const Gan_RGBPixel_d *rgb)
 Convert RGB double pixel to grey-level double pixel.
unsigned char gan_pixel_rgbauc_to_yuc (const Gan_RGBAPixel_uc *rgba)
 Convert RGBA unsigned char pixel to grey-level unsigned char pixel.
unsigned short gan_pixel_rgbauc_to_yus (const Gan_RGBAPixel_uc *rgba)
 Convert RGBA unsigned char pixel to grey-level unsigned short pixel.
unsigned int gan_pixel_rgbauc_to_yui (const Gan_RGBAPixel_uc *rgba)
 Convert RGBA unsigned char pixel to grey-level unsigned int pixel.
unsigned char gan_pixel_rgbaus_to_yuc (const Gan_RGBAPixel_us *rgba)
 Convert RGBA unsigned short pixel to grey-level unsigned char pixel.
unsigned short gan_pixel_rgbaus_to_yus (const Gan_RGBAPixel_us *rgba)
 Convert RGBA unsigned short pixel to grey-level unsigned short pixel.
float gan_pixel_rgbaui_to_yf (const Gan_RGBAPixel_ui *rgba)
 Convert RGBA float pixel to grey-level float pixel.
float gan_pixel_rgbaf_to_yf (const Gan_RGBAPixel_f *rgba)
 Convert RGBA float pixel to grey-level float pixel.
double gan_pixel_rgbad_to_yd (const Gan_RGBAPixel_d *rgba)
 Convert RGBA double pixel to grey-level double pixel.
Gan_Bool gan_image_convert_pixel (Gan_Pixel *inpix, Gan_ImageFormat format, Gan_Type type, Gan_Pixel *outpix, int *error_code)
 Convert a pixel to the given format and type.
double gan_image_convert_scale (Gan_Type gtFromType, Gan_Type gtToType)
 Return the scaling involved in converting a pixel from one type to another.
Gan_Bool gan_image_offset_pixel_q (Gan_Pixel *pixel, double offset, Gan_Pixel *offset_pixel)
 Offset pixel values.
Gan_Bool gan_image_scale_pixel_q (Gan_Pixel *pixel, double scale, Gan_Pixel *scaled_pixel)
 Scale pixel values.
Gan_Bool gan_image_divide_pixel_q (Gan_Pixel *pixel, double scale, Gan_Pixel *scaled_pixel)
 Divide pixel values by scalar.
Gan_Bool gan_image_fill_zero_pixel (Gan_Pixel *pixel)
 Fill a pixel with zero value(s).
const char * gan_image_format_string (Gan_ImageFormat format)
 Generates a string identifier for an internal image format.
Gan_ImageFormat gan_image_format_with_alpha (Gan_ImageFormat format)
 Returns a pixel format with an alpha channel given an input format.
Gan_ImageFormat gan_image_format_without_alpha (Gan_ImageFormat format)
 Returns a pixel format without an alpha channel given an input format.
gan_uint8 gan_pixel_rgbui8_to_yui8 (const Gan_RGBPixel_ui8 *rgb)
 Macro: Convert RGB 8-bit pixel to grey-level 8-bit pixel.
gan_uint16 gan_pixel_rgbui8_to_yui16 (const Gan_RGBPixel_ui8 *rgb)
 Macro: Convert RGB 8-bit pixel to grey-level 16-bit pixel.
gan_uint32 gan_pixel_rgbui8_to_yui32 (const Gan_RGBPixel_ui8 *rgb)
 Macro: Convert RGB 8-bit pixel to grey-level 32-bit pixel.
gan_uint8 gan_pixel_rgbui16_to_yui8 (const Gan_RGBPixel_ui16 *rgb)
 Macro: Convert RGB 16-bit pixel to grey-level 8-bit pixel.
gan_uint16 gan_pixel_rgbui16_to_yui16 (const Gan_RGBPixel_ui16 *rgb)
 Macro: Convert RGB 16-bit pixel to grey-level 16-bit pixel.
gan_float32 gan_pixel_rgbui32_to_yf32 (const Gan_RGBPixel_ui32 *rgb)
 Macro: Convert RGB 32-bit pixel to grey-level 32-bit float pixel.
gan_float32 gan_pixel_rgbf32_to_yf32 (const Gan_RGBPixel_f32 *rgb)
 Macro: Convert RGB 32-bit float pixel to grey-level 32-bit float pixel.
gan_float64 gan_pixel_rgbf64_to_yf64 (const Gan_RGBPixel_f64 *rgb)
 Macro: Convert RGB 64-bit float pixel to grey-level 64-bit float pixel.
gan_uint8 gan_pixel_rgbaui8_to_yui8 (const Gan_RGBAPixel_ui8 *rgba)
 Macro: Convert RGBA 8-bit pixel to grey-level 8-bit pixel.
gan_uint16 gan_pixel_rgbaui8_to_yui16 (const Gan_RGBAPixel_ui8 *rgba)
 Macro: Convert RGBA 8-bit pixel to grey-level 16-bit pixel.
gan_uint32 gan_pixel_rgbaui8_to_yui32 (const Gan_RGBAPixel_ui8 *rgba)
 Macro: Convert RGBA 8-bit pixel to grey-level 32-bit pixel.
gan_uint8 gan_pixel_rgbaui16_to_yui8 (const Gan_RGBAPixel_ui16 *rgba)
 Macro: Convert RGBA 16-bit pixel to grey-level 8-bit pixel.
gan_uint16 gan_pixel_rgbaui16_to_yui16 (const Gan_RGBAPixel_ui16 *rgba)
 Macro: Convert RGBA 16-bit pixel to grey-level 16-bit pixel.
gan_float32 gan_pixel_rgbaui32_to_yf32 (const Gan_RGBAPixel_ui32 *rgba)
 Macro: Convert RGBA 32-bit pixel to grey-level 32-bit float pixel.
gan_float32 gan_pixel_rgbaf32_to_yf32 (const Gan_RGBAPixel_f32 *rgba)
 Macro: Convert RGBA 32-bit float pixel to grey-level 32-bit float pixel.
gan_float64 gan_pixel_rgbaf64_to_yf64 (const Gan_RGBAPixel_f64 *rgba)
 Macro: Convert RGBA 64-bit float pixel to grey-level 64-bit float pixel.
unsigned char gan_pixel_us_to_uc (unsigned short x)
 Macro: Convert a pixel field from unsigned short to unsigned char type.
gan_uint8 gan_pixel_ui16_to_ui8 (gan_uint16 x)
 Macro: Convert a pixel field from unsigned 16-bit to unsigned 8-bit type.
unsigned char gan_pixel_ui_to_uc (unsigned x)
 Macro: Convert a pixel field from unsigned int to unsigned char type.
gan_uint8 gan_pixel_ui32_to_ui8 (gan_uint32 x)
 Macro: Convert a pixel field from 32-bit unsigned integer to 8-bit unsigned integer type.
unsigned char gan_pixel_f_to_uc (float x)
 Macro: Convert a pixel field from float to unsigned char type.
gan_uint8 gan_pixel_f32_to_ui8 (gan_float32 x)
 Macro: Convert a pixel field from 32-bit float to 8-bit unsigned integer type.
unsigned char gan_pixel_d_to_uc (double x)
 Macro: Convert a pixel field from double to unsigned char type.
gan_uint8 gan_pixel_f64_to_ui8 (gan_float64 x)
 Macro: Convert a pixel field from 64-bit float to 8-bit unsigned integer type.
unsigned short gan_pixel_uc_to_us (unsigned char x)
 Macro: Convert a pixel field from unsigned char to unsigned short type.
gan_uint16 gan_pixel_ui8_to_ui16 (gan_uint8 x)
 Macro: Convert a pixel field from 8-bit unsigned integer to 16-bit unsigned integer type.
unsigned short gan_pixel_ui_to_us (unsigned x)
 Macro: Convert a pixel field from unsigned int to unsigned short type.
gan_uint16 gan_pixel_ui32_to_ui16 (gan_uint32 x)
 Macro: Convert a pixel field from 32-bit unsigned integer to 16-bit unsigned integer type.
short gan_pixel_i_to_s (int x)
 Macro: Convert a pixel field from int to short type.
gan_int16 gan_pixel_i32_to_i16 (gan_int32 x)
 Macro: Convert a pixel field from 32-bit to 16-bit signed integer type.
unsigned short gan_pixel_f_to_us (float x)
 Macro: Convert a pixel field from float to unsigned short type.
gan_int16 gan_pixel_f32_to_ui16 (gan_float32 x)
 Macro: Convert a pixel field from 32-bit float to 16-bit unsigned integer type.
unsigned short gan_pixel_d_to_us (double x)
 Macro: Convert a pixel field from double to unsigned short type.
gan_int16 gan_pixel_f64_to_ui16 (gan_float64 x)
 Macro: Convert a pixel field from 64-bit float to 16-bit unsigned integer type.
unsigned int gan_pixel_uc_to_ui (unsigned char x)
 Macro: Convert a pixel field from unsigned char to unsigned int type.
gan_uint32 gan_pixel_ui8_to_ui32 (gan_uint8 x)
 Macro: Convert a pixel field from 8-bit unsigned integer to 32-bit unsigned integer type.
unsigned int gan_pixel_us_to_ui (unsigned short x)
 Macro: Convert a pixel field from unsigned short to unsigned int type.
gan_uint32 gan_pixel_ui16_to_ui32 (gan_uint16 x)
 Macro: Convert a pixel field from 16-bit unsigned integer to 32-bit unsigned integer type.
int gan_pixel_s_to_i (short x)
 Macro: Convert a pixel field from short to int type.
gan_int32 gan_pixel_i16_to_i32 (gan_int16 x)
 Macro: Convert a pixel field from 16-bit to 32-bit signed integer type.
unsigned int gan_pixel_f_to_ui (float x)
 Macro: Convert a pixel field from float to unsigned int type.
gan_uint32 gan_pixel_f32_to_ui32 (gan_float32 x)
 Macro: Convert a pixel field from 32-bit float to 32-bit unsigned integer type.
unsigned int gan_pixel_d_to_ui (double x)
 Macro: Convert a pixel field from double to unsigned int type.
gan_uint32 gan_pixel_f64_to_ui32 (gan_float64 x)
 Macro: Convert a pixel field from 64-bit float to 32-bit unsigned integer type.
float gan_pixel_uc_to_f (unsigned char x)
gan_float32 gan_pixel_ui8_to_f32 (gan_uint8 x)
float gan_pixel_us_to_f (unsigned short x)
 Macro: Convert a pixel field from unsigned short to float type.
gan_float32 gan_pixel_ui16_to_f32 (gan_uint16 x)
 Macro: Convert a pixel field from 16-bit unsigned integer to 32-bit float type.
float gan_pixel_ui_to_f (unsigned int x)
 Macro: Convert a pixel field from unsigned int to float type.
gan_float32 gan_pixel_ui32_to_f32 (gan_uint32 x)
 Macro: Convert a pixel field from 32-bit unsigned integer to 32-bit float type.
double gan_pixel_uc_to_d (unsigned char x)
 Macro: Convert a pixel field from unsigned char to double type.
gan_float64 gan_pixel_ui8_to_f64 (gan_uint8 x)
 Macro: Convert a pixel field from 8-bit unsigned integer to 64-bit float type.
double gan_pixel_us_to_d (unsigned short x)
 Macro: Convert a pixel field from unsigned short to double type.
gan_float64 gan_pixel_ui16_to_f64 (gan_uint16 x)
 Macro: Convert a pixel field from 16-bit unsigned integer to 64-bit float type.
double gan_pixel_ui_to_d (unsigned int x)
 Macro: Convert a pixel field from unsigned int to double type.
gan_float64 gan_pixel_ui32_to_f64 (gan_uint32 x)
 Macro: Convert a pixel field from 32-bit unsigned integer to 64-bit float type.
int gan_pixel_f_to_i (float x)
 Macro: Convert a pixel field from float to int type.
gan_int32 gan_pixel_f32_to_i32 (gan_float32 x)
 Macro: Convert a pixel field from 32-bit float to 32-bit signed integer type.
int gan_pixel_d_to_i (double x)
 Macro: Convert a pixel field from double to int type.
gan_int32 gan_pixel_f64_to_i32 (gan_float64 x)
 Macro: Convert a pixel field from 64-bit float to 32-bit signed integer type.
short gan_pixel_f_to_s (float x)
 Macro: Convert a pixel field from float to short type.
gan_int16 gan_pixel_f32_to_i16 (gan_float32 x)
 Macro: Convert a pixel field from 32-bit float to 16-bit signed integer type.
short gan_pixel_d_to_s (double x)
 Macro: Convert a pixel field from double to short type.
gan_int16 gan_pixel_f64_to_i16 (gan_float64 x)
 Macro: Convert a pixel field from 64-bit float to 16-bit signed integer type.
float gan_pixel_s_to_f (short x)
 Macro: Convert a pixel field from short to float type.
gan_float32 gan_pixel_i16_to_f32 (gan_int16 x)
 Macro: Convert a pixel field from 16-bit signed integer to 32-bit float type.
double gan_pixel_s_to_d (short x)
 Macro: Convert a pixel field from short to double type.
gan_float64 gan_pixel_i16_to_f64 (gan_int16 x)
 Macro: Convert a pixel field from 16-bit signed integer to 64-bit float type.
float gan_pixel_i_to_f (int x)
 Macro: Convert a pixel field from int to float type.
gan_float32 gan_pixel_i32_to_f32 (gan_int32 x)
 Macro: Convert a pixel field from 32-bit signed integer to 32-bit float type.
double gan_pixel_i_to_d (int x)
 Macro: Convert a pixel field from int to double type.
gan_float64 gan_pixel_i32_to_f64 (gan_int32 x)
 Macro: Convert a pixel field from 32-bit signed integer to 64-bit float type.
Gan_Bool gan_image_convert_pixel_q (Gan_Pixel *inpix, Gan_ImageFormat format, Gan_Type type, Gan_Pixel *outpix)
 Macro: Convert pixel.
Gan_Bool gan_image_convert_pixel_i (Gan_Pixel *pix, Gan_ImageFormat format, Gan_Type type)
 Macro: Convert pixel in-place.
Gan_Bool gan_image_offset_pixel_i (Gan_Pixel *pixel, double offset)
 Macro: Offset pixel in-place.
Gan_Bool gan_image_scale_pixel_i (Gan_Pixel *pixel, double scale)
 Macro: Scale pixel in-place.
Gan_Bool gan_image_divide_pixel_i (Gan_Pixel *pixel, double scale)
 Macro: Divide pixel by scalar pixel in-place.

Variables

float lookup_table_8bit [UCHAR_MAX+1]
float lookup_table_8bit []

Typedef Documentation

typedef struct Gan_RGBAPixel_ui12 Gan_RGBAPixel_ui12
 

Structure defining 12-bit packed RGBA.

NB cannot be used to iterate along raster because of the packing

typedef struct Gan_YUV422Pixel_ui8 Gan_YUV422Pixel_ui8
 

Structure defining UYVY 8-bit 4-2-2 pixel.

NB cannot be used to iterate along raster because of the 4-2-2 sampling


Enumeration Type Documentation

enum Gan_ImageFormat
 

Different formats of image pixel.

Enumeration values:
GAN_GREY_LEVEL_IMAGE  grey-level images
GAN_GREY_LEVEL_ALPHA_IMAGE  grey-level images with alpha channel
GAN_RGB_COLOUR_IMAGE  RGB colour images
GAN_RGB_COLOUR_ALPHA_IMAGE  RGB colour images with alpha channel
GAN_VECTOR_FIELD_2D  2D image of 2D vectors
GAN_VECTOR_FIELD_3D  2D image of 3D vectors
GAN_RGBX  RGB padded out to a word boundary
GAN_RGBAS  RGB with a small alpha channel
GAN_YUVX444  YUV 4-4-4 padded out to a word boundary
GAN_YUVA444  YUV with alpha
GAN_YUV422  YUV 4-2-2 arranged as UYVY


Function Documentation

Gan_Bool gan_image_convert_pixel Gan_Pixel inpix,
Gan_ImageFormat  format,
Gan_Type  type,
Gan_Pixel outpix,
int *  error_code
 

Convert a pixel to the given format and type.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Convert pixel inpix to the given format and type, writing the result into pixel outpix. If error_code is not NULL, an error condition is returned in the error_code pointer; otherwise error_code is NULL and the Gandalf error handler gan_err_register() is invoked. In either case GAN_FALSE is returned.

Gan_Bool gan_image_convert_pixel_i Gan_Pixel pix,
Gan_ImageFormat  format,
Gan_Type  type
 

Macro: Convert pixel in-place.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Converts pix to the given format and type, overwriting pix with the result.

Gan_Bool gan_image_convert_pixel_q Gan_Pixel inpix,
Gan_ImageFormat  format,
Gan_Type  type,
Gan_Pixel outpix
 

Macro: Convert pixel.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Converts inpix to the given format and type, producing an ouput pixel in outpix.

Gan_Bool gan_image_divide_pixel_i Gan_Pixel pixel,
double  scale
 

Macro: Divide pixel by scalar pixel in-place.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Divides all the channels of the given pixel by the given scale factor, overwriting pixel with the result.

Gan_Bool gan_image_divide_pixel_q Gan_Pixel pixel,
double  scale,
Gan_Pixel scaled_pixel
 

Divide pixel values by scalar.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Divide each channel of pixel by the given scale factor, writing the result into scaled_pixel.

Gan_Bool gan_image_fill_zero_pixel Gan_Pixel pixel  ) 
 

Fill a pixel with zero value(s).

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
You should set the format and type of the pixel before calling this function.

const char* gan_image_format_string Gan_ImageFormat  format  ) 
 

Generates a string identifier for an internal image format.

Parameters:
format Image format, e.g. GAN_RGB_COLOUR_IMAGE
Returns:
String identifier, e.g. "RGB colour", or "" for unknown format.

Gan_ImageFormat gan_image_format_with_alpha Gan_ImageFormat  format  ) 
 

Returns a pixel format with an alpha channel given an input format.

Parameters:
format Image format, e.g. GAN_RGB_COLOUR_IMAGE
Returns:
Pixel format with alpha channel

Gan_ImageFormat gan_image_format_without_alpha Gan_ImageFormat  format  ) 
 

Returns a pixel format without an alpha channel given an input format.

Parameters:
format Image format, e.g. GAN_RGB_COLOUR_IMAGE
Returns:
Pixel format without alpha channel

Gan_Pixel gan_image_get_pix const Gan_Image img,
unsigned  row,
unsigned  col
 

Gets a pixel from an image.

Parameters:
img The image
row The row position of the pixel
col The column position of the pixel
Returns:
The pixel at the given position
Gets the pixel from image img at position row, col.
See also:
gan_image_set_pix().

Gan_BitWord gan_image_get_pix_b const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level Gan_Bool image.

Returns the value of the pixel at position row, col in grey-level image img.

double gan_image_get_pix_gl_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level double image.

Returns the value of the pixel at position row, col in grey-level image img.

float gan_image_get_pix_gl_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level float image.

Returns the value of the pixel at position row, col in grey-level image img.

gan_float32 gan_image_get_pix_gl_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level 32-bit float image.

Returns the value of the pixel at position row, col in grey-level image img.

gan_float64 gan_image_get_pix_gl_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level 64-bit float image.

Returns the value of the pixel at position row, col in grey-level image img.

int gan_image_get_pix_gl_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level int image.

Returns the value of the pixel at position row, col in grey-level image img.

gan_int32 gan_image_get_pix_gl_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level 32-bit signed image.

Returns the value of the pixel at position row, col in grey-level image img.

short gan_image_get_pix_gl_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level short image.

Returns the value of the pixel at position row, col in grey-level image img.

unsigned char gan_image_get_pix_gl_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level unsigned char image.

Returns the value of the pixel at position row, col in grey-level image img.

unsigned int gan_image_get_pix_gl_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level unsigned int image.

Returns the value of the pixel at position row, col in grey-level image img.

struct Gan_YXPixel_ui10 gan_image_get_pix_gl_ui10 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a Grey level gan_uint16 image.

Returns the value of the pixel at position row, col in Grey level gan_uint16 image img.

struct Gan_YXPixel_ui12 gan_image_get_pix_gl_ui12 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a Grey level gan_uint16 image.

Returns the value of the pixel at position row, col in Grey level gan_uint16 image img.

gan_uint16 gan_image_get_pix_gl_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level 16-bit unsigned image.

Returns the value of the pixel at position row, col in grey-level image img.

gan_uint32 gan_image_get_pix_gl_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level 32-bit unsigned image.

Returns the value of the pixel at position row, col in grey-level image img.

gan_uint8 gan_image_get_pix_gl_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level 8-bit unsigned image.

Returns the value of the pixel at position row, col in grey-level image img.

unsigned short gan_image_get_pix_gl_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level unsigned short image.

Returns the value of the pixel at position row, col in grey-level image img.

struct Gan_GLAPixel_d gan_image_get_pix_gla_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha double image.

Returns the value of the pixel at position row, col in grey-level alpha double image img.

struct Gan_GLAPixel_f gan_image_get_pix_gla_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha float image.

Returns the value of the pixel at position row, col in grey-level alpha float image img.

Gan_GLAPixel_f32 gan_image_get_pix_gla_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha 32-bit float image.

Returns the value of the pixel at position row, col in grey-level alpha 32-bit float image img.

Gan_GLAPixel_f64 gan_image_get_pix_gla_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha 64-bit float image.

Returns the value of the pixel at position row, col in grey-level alpha 64-bit float image img.

struct Gan_GLAPixel_i gan_image_get_pix_gla_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha int image.

Returns the value of the pixel at position row, col in grey-level alpha int image img.

Gan_GLAPixel_i32 gan_image_get_pix_gla_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha 32-bit signed image.

Returns the value of the pixel at position row, col in grey-level alpha 32-bit signed image img.

struct Gan_GLAPixel_s gan_image_get_pix_gla_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha short image.

Returns the value of the pixel at position row, col in grey-level alpha short image img.

struct Gan_GLAPixel_uc gan_image_get_pix_gla_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha unsigned char image.

Returns the value of the pixel at position row, col in grey-level alpha unsigned char image img.

struct Gan_GLAPixel_ui gan_image_get_pix_gla_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha unsigned int image.

Returns the value of the pixel at position row, col in grey-level alpha unsigned int image img.

Gan_GLAPixel_ui16 gan_image_get_pix_gla_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha 16-bit unsigned image.

Returns the value of the pixel at position row, col in grey-level alpha 16-bit unsigned image img.

Gan_GLAPixel_ui32 gan_image_get_pix_gla_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha 32-bit unsigned image.

Returns the value of the pixel at position row, col in grey-level alpha 32-bit unsigned image img.

Gan_GLAPixel_ui8 gan_image_get_pix_gla_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha 8-bit unsigned image.

Returns the value of the pixel at position row, col in grey-level alpha 8-bit unsigned image img.

struct Gan_GLAPixel_us gan_image_get_pix_gla_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level alpha unsigned short image.

Returns the value of the pixel at position row, col in grey-level alpha unsigned short image img.

void* gan_image_get_pix_p const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a grey-level void * image.

Returns the value of the pixel at position row, col in grey-level image img.

struct Gan_RGBPixel_d gan_image_get_pix_rgb_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour double image.

Returns the value of the pixel at position row, col in RGB colour double image img.

struct Gan_RGBPixel_f gan_image_get_pix_rgb_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour float image.

Returns the value of the pixel at position row, col in RGB colour float image img.

Gan_RGBPixel_f32 gan_image_get_pix_rgb_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour 32-bit float image.

Returns the value of the pixel at position row, col in RGB colour 32-bit float image img.

Gan_RGBPixel_f64 gan_image_get_pix_rgb_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour 64-bit float image.

Returns the value of the pixel at position row, col in RGB colour 64-bit float image img.

struct Gan_RGBPixel_i gan_image_get_pix_rgb_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour int image.

Returns the value of the pixel at position row, col in RGB colour int image img.

Gan_RGBPixel_i32 gan_image_get_pix_rgb_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour 32-bit signed image.

Returns the value of the pixel at position row, col in RGB colour 32-bit signed image img.

struct Gan_RGBPixel_s gan_image_get_pix_rgb_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour short image.

Returns the value of the pixel at position row, col in RGB colour short image img.

struct Gan_RGBPixel_uc gan_image_get_pix_rgb_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour unsigned char image.

Returns the value of the pixel at position row, col in RGB colour unsigned char image img.

struct Gan_RGBPixel_ui gan_image_get_pix_rgb_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour unsigned int image.

Returns the value of the pixel at position row, col in RGB colour unsigned int image img.

Gan_RGBPixel_ui16 gan_image_get_pix_rgb_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour 16-bit unsigned image.

Returns the value of the pixel at position row, col in RGB colour 16-bit unsigned image img.

Gan_RGBPixel_ui32 gan_image_get_pix_rgb_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour 32-bit unsigned image.

Returns the value of the pixel at position row, col in RGB colour 32-bit unsigned image img.

Gan_RGBPixel_ui8 gan_image_get_pix_rgb_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour 8-bit unsigned image.

Returns the value of the pixel at position row, col in RGB colour 8-bit unsigned image img.

struct Gan_RGBPixel_us gan_image_get_pix_rgb_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour unsigned short image.

Returns the value of the pixel at position row, col in RGB colour unsigned short image img.

struct Gan_RGBAPixel_d gan_image_get_pix_rgba_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha double image.

Returns the value of the pixel at position row, col in RGB-colour alpha double image img.

struct Gan_RGBAPixel_f gan_image_get_pix_rgba_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha float image.

Returns the value of the pixel at position row, col in RGB-colour alpha float image img.

Gan_RGBAPixel_f32 gan_image_get_pix_rgba_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha 32-bit float image.

Returns the value of the pixel at position row, col in RGB-colour alpha 32-bit float image img.

Gan_RGBAPixel_f64 gan_image_get_pix_rgba_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha 64-bit float image.

Returns the value of the pixel at position row, col in RGB-colour alpha 64-bit float image img.

struct Gan_RGBAPixel_i gan_image_get_pix_rgba_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha int image.

Returns the value of the pixel at position row, col in RGB-colour alpha int image img.

Gan_RGBAPixel_i32 gan_image_get_pix_rgba_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGBA colour 32-bit signed image.

Returns the value of the pixel at position row, col in RGBA colour 32-bit signed image img.

struct Gan_RGBAPixel_s gan_image_get_pix_rgba_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha short image.

Returns the value of the pixel at position row, col in RGB-colour alpha short image img.

struct Gan_RGBAPixel_uc gan_image_get_pix_rgba_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha unsigned char image.

Returns the value of the pixel at position row, col in RGB-colour alpha unsigned char image img.

struct Gan_RGBAPixel_ui gan_image_get_pix_rgba_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha unsigned int image.

Returns the value of the pixel at position row, col in RGB-colour alpha unsigned int image img.

struct Gan_RGBAPixel_ui12 gan_image_get_pix_rgba_ui12 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGBA colour gan_uint16 image.

Returns the value of the pixel at position row, col in RGBA colour gan_uint16 image img.

Gan_RGBAPixel_ui16 gan_image_get_pix_rgba_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha 16-bit unsigned image.

Returns the value of the pixel at position row, col in RGB-colour alpha 16-bit unsigned image img.

Gan_RGBAPixel_ui32 gan_image_get_pix_rgba_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha 32-bit unsigned image.

Returns the value of the pixel at position row, col in RGB-colour alpha 32-bit unsigned image img.

Gan_RGBAPixel_ui8 gan_image_get_pix_rgba_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha 8-bit unsigned image.

Returns the value of the pixel at position row, col in RGB-colour alpha 8-bit unsigned image img.

struct Gan_RGBAPixel_us gan_image_get_pix_rgba_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB-colour alpha unsigned short image.

Returns the value of the pixel at position row, col in RGB-colour alpha unsigned short image img.

struct Gan_RGBASPixel_ui10 gan_image_get_pix_rgbas_ui10 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGBA colour gan_uint16 image.

Returns the value of the pixel at position row, col in RGBA colour gan_uint16 image img.

struct Gan_RGBXPixel_ui10 gan_image_get_pix_rgbx_ui10 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour gan_uint16 image.

Returns the value of the pixel at position row, col in RGB colour gan_uint16 image img.

struct Gan_RGBXPixel_ui8 gan_image_get_pix_rgbx_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a RGB colour gan_uint8 image.

Returns the value of the pixel at position row, col in RGB colour gan_uint8 image img.

struct Gan_Vector2 gan_image_get_pix_vfield2D_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector double image.

Returns the value of the pixel at position row, col in 2D vector double image img.

struct Gan_Vector2_f gan_image_get_pix_vfield2D_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector float image.

Returns the value of the pixel at position row, col in 2D vector float image img.

struct Gan_Vector2_f32 gan_image_get_pix_vfield2D_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector 32-bit floating image.

Returns the value of the pixel at position row, col in 2D vector 32-bit floating image img.

struct Gan_Vector2_f64 gan_image_get_pix_vfield2D_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector 64-bit floating image.

Returns the value of the pixel at position row, col in 2D vector 64-bit floating image img.

struct Gan_Vector2_i gan_image_get_pix_vfield2D_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector int image.

Returns the value of the pixel at position row, col in 2D vector int image img.

struct Gan_Vector2_i16 gan_image_get_pix_vfield2D_i16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector 16-bit signed image.

Returns the value of the pixel at position row, col in 2D vector 16-bit signed image img.

struct Gan_Vector2_i32 gan_image_get_pix_vfield2D_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector 32-bit signed image.

Returns the value of the pixel at position row, col in 2D vector 32-bit signed image img.

struct Gan_Vector2_s gan_image_get_pix_vfield2D_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 2D vector short image.

Returns the value of the pixel at position row, col in 2D vector short image img.

struct Gan_Vector3 gan_image_get_pix_vfield3D_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector double image.

Returns the value of the pixel at position row, col in 3D vector double image img.

struct Gan_Vector3_f gan_image_get_pix_vfield3D_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector float image.

Returns the value of the pixel at position row, col in 3D vector float image img.

struct Gan_Vector2_f32 gan_image_get_pix_vfield3D_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector 32-bit floating image.

Returns the value of the pixel at position row, col in 3D vector 32-bit floating image img.

struct Gan_Vector2_f64 gan_image_get_pix_vfield3D_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector 64-bit floating image.

Returns the value of the pixel at position row, col in 3D vector 64-bit floating image img.

struct Gan_Vector3_i gan_image_get_pix_vfield3D_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector int image.

Returns the value of the pixel at position row, col in 3D vector int image img.

struct Gan_Vector2_i16 gan_image_get_pix_vfield3D_i16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector 16-bit signed image.

Returns the value of the pixel at position row, col in 3D vector 16-bit signed image img.

struct Gan_Vector2_i32 gan_image_get_pix_vfield3D_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector 32-bit signed image.

Returns the value of the pixel at position row, col in 3D vector 32-bit signed image img.

struct Gan_Vector3_s gan_image_get_pix_vfield3D_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a 3D vector short image.

Returns the value of the pixel at position row, col in 3D vector short image img.

struct Gan_YUV422Pixel_ui8 gan_image_get_pix_yuv422_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a YUV colour gan_uint8 image.

Returns the value of the pixel at position row, col in YUV colour gan_uint8 image img.

struct Gan_YUVA444Pixel_ui8 gan_image_get_pix_yuva444_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a YUVA colour gan_uint8 image.

Returns the value of the pixel at position row, col in YUVA colour gan_uint8 image img.

struct Gan_YUVX444Pixel_ui8 gan_image_get_pix_yuvx444_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Macro: Return a pixel from a YUV colour gan_uint8 image.

Returns the value of the pixel at position row, col in YUV colour gan_uint8 image img.

Gan_Bool gan_image_get_pix_zero const Gan_Image img,
unsigned  row,
unsigned  col
 

Gets a pixel from an image and compares it with zero.

Parameters:
img The image
row The row position of the pixel
col The column position of the pixel
Returns:
GAN_TRUE if the pixel is zero, GAN_FALSE otherwise.
Gets a pixel from an image and compares it with zero.
See also:
gan_image_get_pix().

double ** gan_image_get_pixarr_gl_d const Gan_Image img  ) 
 

Return the pixel array from a grey-level double image.

Returns the pixel array from the grey-level double image img.

float ** gan_image_get_pixarr_gl_f const Gan_Image img  ) 
 

Return the pixel array from a grey-level float image.

Returns the pixel array from the grey-level float image img.

gan_float32** gan_image_get_pixarr_gl_f32 const Gan_Image img  ) 
 

Return the pixel array from a grey-level 32-bit float image.

Returns the pixel array from the grey-level 32-bit float image img.

gan_float64** gan_image_get_pixarr_gl_f64 const Gan_Image img  ) 
 

Return the pixel array from a grey-level 64-bit float image.

Returns the pixel array from the grey-level 64-bit float image img.

int ** gan_image_get_pixarr_gl_i const Gan_Image img  ) 
 

Return the pixel array from a grey-level int image.

Returns the pixel array from the grey-level int image img.

gan_int32** gan_image_get_pixarr_gl_i32 const Gan_Image img  ) 
 

Return the pixel array from a grey-level 32-bit signed image.

Returns the pixel array from the grey-level 32-bit signed image img.

short ** gan_image_get_pixarr_gl_s const Gan_Image img  ) 
 

Return the pixel array from a grey-level short image.

Returns the pixel array from the grey-level short image img.

unsigned char ** gan_image_get_pixarr_gl_uc const Gan_Image img  ) 
 

Return the pixel array from a grey-level unsigned char image.

Returns the pixel array from the grey-level unsigned char image img.

unsigned int ** gan_image_get_pixarr_gl_ui const Gan_Image img  ) 
 

Return the pixel array from a grey-level unsigned int image.

Returns the pixel array from the grey-level unsigned int image img.

struct Gan_YXPixel_ui10 ** gan_image_get_pixarr_gl_ui10 const Gan_Image img  ) 
 

Return the pixel array from a Grey level gan_uint16 image.

Returns the pixel array for the Grey level gan_uint16 image img.

struct Gan_YXPixel_ui12 ** gan_image_get_pixarr_gl_ui12 const Gan_Image img  ) 
 

Return the pixel array from a Grey level gan_uint16 image.

Returns the pixel array for the Grey level gan_uint16 image img.

gan_uint16** gan_image_get_pixarr_gl_ui16 const Gan_Image img  ) 
 

Return the pixel array from a grey-level 16-bit unsigned image.

Returns the pixel array from the grey-level 16-bit unsigned image img.

gan_uint32** gan_image_get_pixarr_gl_ui32 const Gan_Image img  ) 
 

Return the pixel array from a grey-level 32-bit unsigned image.

Returns the pixel array from the grey-level 32-bit unsigned image img.

gan_uint8** gan_image_get_pixarr_gl_ui8 const Gan_Image img  ) 
 

Return the pixel array from a grey-level 8-bit unsigned image.

Returns the pixel array from the grey-level 8-bit unsigned image img.

unsigned short ** gan_image_get_pixarr_gl_us const Gan_Image img  ) 
 

Return the pixel array from a grey-level unsigned short image.

Returns the pixel array from the grey-level unsigned short image img.

struct Gan_GLAPixel_d ** gan_image_get_pixarr_gla_d const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha double image.

Returns the pixel array for the grey-level alpha double image img.

struct Gan_GLAPixel_f ** gan_image_get_pixarr_gla_f const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha float image.

Returns the pixel array for the grey-level alpha float image img.

Gan_GLAPixel_f32** gan_image_get_pixarr_gla_f32 const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha 32-bit float image.

Returns the pixel array for the grey-level alpha 32-bit float image img.

Gan_GLAPixel_f64** gan_image_get_pixarr_gla_f64 const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha 64-bit float image.

Returns the pixel array for the grey-level alpha 64-bit float image img.

struct Gan_GLAPixel_i ** gan_image_get_pixarr_gla_i const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha int image.

Returns the pixel array for the grey-level alpha int image img.

Gan_GLAPixel_i32** gan_image_get_pixarr_gla_i32 const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha 32-bit signed image.

Returns the pixel array for the grey-level alpha 32-bit signed image img.

struct Gan_GLAPixel_s ** gan_image_get_pixarr_gla_s const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha short image.

Returns the pixel array for the grey-level alpha short image img.

struct Gan_GLAPixel_uc ** gan_image_get_pixarr_gla_uc const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha unsigned char image.

Returns the pixel array for the grey-level alpha unsigned char image img.

struct Gan_GLAPixel_ui ** gan_image_get_pixarr_gla_ui const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha unsigned int image.

Returns the pixel array for the grey-level alpha unsigned int image img.

Gan_GLAPixel_ui16** gan_image_get_pixarr_gla_ui16 const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha 16-bit unsigned image.

Returns the pixel array for the grey-level alpha 16-bit unsigned image img.

Gan_GLAPixel_ui32** gan_image_get_pixarr_gla_ui32 const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha 32-bit unsigned image.

Returns the pixel array for the grey-level alpha 32-bit unsigned image img.

Gan_GLAPixel_ui8** gan_image_get_pixarr_gla_ui8 const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha 8-bit unsigned image.

Returns the pixel array for the grey-level alpha 8-bit unsigned image img.

struct Gan_GLAPixel_us ** gan_image_get_pixarr_gla_us const Gan_Image img  ) 
 

Return the pixel array from a grey-level alpha unsigned short image.

Returns the pixel array for the grey-level alpha unsigned short image img.

void *** gan_image_get_pixarr_p const Gan_Image img  ) 
 

Return the pixel array from a grey-level void * image.

Returns the pixel array from the grey-level void * image img.

struct Gan_RGBPixel_d ** gan_image_get_pixarr_rgb_d const Gan_Image img  ) 
 

Return the pixel array from a RGB colour double image.

Returns the pixel array for the RGB colour double image img.

struct Gan_RGBPixel_f ** gan_image_get_pixarr_rgb_f const Gan_Image img  ) 
 

Return the pixel array from a RGB colour float image.

Returns the pixel array for the RGB colour float image img.

Gan_RGBPixel_f32** gan_image_get_pixarr_rgb_f32 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour 32-bit float image.

Returns the pixel array for the RGB colour 32-bit float image img.

Gan_RGBPixel_f64** gan_image_get_pixarr_rgb_f64 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour 64-bit float image.

Returns the pixel array for the RGB colour 64-bit float image img.

struct Gan_RGBPixel_i ** gan_image_get_pixarr_rgb_i const Gan_Image img  ) 
 

Return the pixel array from a RGB colour int image.

Returns the pixel array for the RGB colour int image img.

Gan_RGBPixel_i32** gan_image_get_pixarr_rgb_i32 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour 32-bit signed image.

Returns the pixel array for the RGB colour 32-bit signed image img.

struct Gan_RGBPixel_s ** gan_image_get_pixarr_rgb_s const Gan_Image img  ) 
 

Return the pixel array from a RGB colour short image.

Returns the pixel array for the RGB colour short image img.

struct Gan_RGBPixel_uc ** gan_image_get_pixarr_rgb_uc const Gan_Image img  ) 
 

Return the pixel array from a RGB colour unsigned char image.

Returns the pixel array for the RGB colour unsigned char image img.

struct Gan_RGBPixel_ui ** gan_image_get_pixarr_rgb_ui const Gan_Image img  ) 
 

Return the pixel array from a RGB colour unsigned int image.

Returns the pixel array for the RGB colour unsigned int image img.

Gan_RGBPixel_ui16** gan_image_get_pixarr_rgb_ui16 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour 16-bit unsigned image.

Returns the pixel array for the RGB colour 16-bit unsigned image img.

Gan_RGBPixel_ui32** gan_image_get_pixarr_rgb_ui32 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour 32-bit unsigned image.

Returns the pixel array for the RGB colour 32-bit unsigned image img.

Gan_RGBPixel_ui8** gan_image_get_pixarr_rgb_ui8 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour 8-bit unsigned image.

Returns the pixel array for the RGB colour 8-bit unsigned image img.

struct Gan_RGBPixel_us ** gan_image_get_pixarr_rgb_us const Gan_Image img  ) 
 

Return the pixel array from a RGB colour unsigned short image.

Returns the pixel array for the RGB colour unsigned short image img.

struct Gan_RGBAPixel_d ** gan_image_get_pixarr_rgba_d const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha double image.

Returns the pixel array for the RGB-colour alpha double image img.

struct Gan_RGBAPixel_f ** gan_image_get_pixarr_rgba_f const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha float image.

Returns the pixel array for the RGB-colour alpha float image img.

Gan_RGBAPixel_f32** gan_image_get_pixarr_rgba_f32 const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha 32-bit float image.

Returns the pixel array for the RGB-colour alpha 32-bit float image img.

Gan_RGBAPixel_f64** gan_image_get_pixarr_rgba_f64 const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha 64-bit float image.

Returns the pixel array for the RGB-colour alpha 64-bit float image img.

struct Gan_RGBAPixel_i ** gan_image_get_pixarr_rgba_i const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha int image.

Returns the pixel array for the RGB-colour alpha int image img.

Gan_RGBAPixel_i32** gan_image_get_pixarr_rgba_i32 const Gan_Image img  ) 
 

Return the pixel array from a RGBA colour 32-bit signed image.

Returns the pixel array for the RGBA colour 32-bit signed image img.

struct Gan_RGBAPixel_s ** gan_image_get_pixarr_rgba_s const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha short image.

Returns the pixel array for the RGB-colour alpha short image img.

struct Gan_RGBAPixel_uc ** gan_image_get_pixarr_rgba_uc const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha unsigned char image.

Returns the pixel array for the RGB-colour alpha unsigned char image img.

struct Gan_RGBAPixel_ui ** gan_image_get_pixarr_rgba_ui const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha unsigned int image.

Returns the pixel array for the RGB-colour alpha unsigned int image img.

struct Gan_RGBAPixel_ui12 ** gan_image_get_pixarr_rgba_ui12 const Gan_Image img  ) 
 

Return the pixel array from a RGBA colour gan_uint16 image.

Returns the pixel array for the RGBA colour gan_uint16 image img.

Gan_RGBAPixel_ui16** gan_image_get_pixarr_rgba_ui16 const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha 16-bit unsigned image.

Returns the pixel array for the RGB-colour alpha 16-bit unsigned image img.

Gan_RGBAPixel_ui32** gan_image_get_pixarr_rgba_ui32 const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha 32-bit unsigned image.

Returns the pixel array for the RGB-colour alpha 32-bit unsigned image img.

Gan_RGBAPixel_ui8** gan_image_get_pixarr_rgba_ui8 const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha 8-bit unsigned image.

Returns the pixel array for the RGB-colour alpha 8-bit unsigned image img.

struct Gan_RGBAPixel_us ** gan_image_get_pixarr_rgba_us const Gan_Image img  ) 
 

Return the pixel array from a RGB-colour alpha unsigned short image.

Returns the pixel array for the RGB-colour alpha unsigned short image img.

struct Gan_RGBASPixel_ui10 ** gan_image_get_pixarr_rgbas_ui10 const Gan_Image img  ) 
 

Return the pixel array from a RGBA colour gan_uint16 image.

Returns the pixel array for the RGBA colour gan_uint16 image img.

struct Gan_RGBXPixel_ui10 ** gan_image_get_pixarr_rgbx_ui10 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour gan_uint16 image.

Returns the pixel array for the RGB colour gan_uint16 image img.

struct Gan_RGBXPixel_ui8 ** gan_image_get_pixarr_rgbx_ui8 const Gan_Image img  ) 
 

Return the pixel array from a RGB colour gan_uint8 image.

Returns the pixel array for the RGB colour gan_uint8 image img.

struct Gan_Vector2 ** gan_image_get_pixarr_vfield2D_d const Gan_Image img  ) 
 

Return the pixel array from a 2D vector-field double image.

Returns the pixel array for the 2D vector-field double image img.

struct Gan_Vector2_f ** gan_image_get_pixarr_vfield2D_f const Gan_Image img  ) 
 

Return the pixel array from a 2D vector-field float image.

Returns the pixel array for the 2D vector-field float image img.

struct Gan_Vector2_f32** gan_image_get_pixarr_vfield2D_f32 const Gan_Image img  ) 
 

Return the pixel array from a 2D vector 32-bit floating image.

Returns the pixel array for the 2D vector 32-bit floating image img.

struct Gan_Vector2_f64** gan_image_get_pixarr_vfield2D_f64 const Gan_Image img  ) 
 

Return the pixel array from a 2D vector 64-bit floating image.

Returns the pixel array for the 2D vector 64-bit floating image img.

struct Gan_Vector2_i ** gan_image_get_pixarr_vfield2D_i const Gan_Image img  ) 
 

Return the pixel array from a 2D vector-field int image.

Returns the pixel array for the 2D vector-field int image img.

struct Gan_Vector2_i16** gan_image_get_pixarr_vfield2D_i16 const Gan_Image img  ) 
 

Return the pixel array from a 2D vector 16-bit signed image.

Returns the pixel array for the 2D vector 16-bit signed image img.

struct Gan_Vector2_i32** gan_image_get_pixarr_vfield2D_i32 const Gan_Image img  ) 
 

Return the pixel array from a 2D vector 32-bit signed image.

Returns the pixel array for the 2D vector 32-bit signed image img.

struct Gan_Vector2_s ** gan_image_get_pixarr_vfield2D_s const Gan_Image img  ) 
 

Return the pixel array from a 2D vector-field short image.

Returns the pixel array for the 2D vector-field short image img.

struct Gan_Vector3 ** gan_image_get_pixarr_vfield3D_d const Gan_Image img  ) 
 

Return the pixel array from a 3D vector-field double image.

Returns the pixel array for the 3D vector-field double image img.

struct Gan_Vector3_f ** gan_image_get_pixarr_vfield3D_f const Gan_Image img  ) 
 

Return the pixel array from a 3D vector-field float image.

Returns the pixel array for the 3D vector-field float image img.

struct Gan_Vector2_f32** gan_image_get_pixarr_vfield3D_f32 const Gan_Image img  ) 
 

Return the pixel array from a 3D vector 32-bit floating image.

Returns the pixel array for the 3D vector 32-bit floating image img.

struct Gan_Vector2_f64** gan_image_get_pixarr_vfield3D_f64 const Gan_Image img  ) 
 

Return the pixel array from a 3D vector 64-bit floating image.

Returns the pixel array for the 3D vector 64-bit floating image img.

struct Gan_Vector3_i ** gan_image_get_pixarr_vfield3D_i const Gan_Image img  ) 
 

Return the pixel array from a 3D vector-field int image.

Returns the pixel array for the 3D vector-field int image img.

struct Gan_Vector2_i16** gan_image_get_pixarr_vfield3D_i16 const Gan_Image img  ) 
 

Return the pixel array from a 3D vector 16-bit signed image.

Returns the pixel array for the 3D vector 16-bit signed image img.

struct Gan_Vector2_i32** gan_image_get_pixarr_vfield3D_i32 const Gan_Image img  ) 
 

Return the pixel array from a 3D vector 32-bit signed image.

Returns the pixel array for the 3D vector 32-bit signed image img.

struct Gan_Vector3_s ** gan_image_get_pixarr_vfield3D_s const Gan_Image img  ) 
 

Return the pixel array from a 3D vector-field short image.

Returns the pixel array for the 3D vector-field short image img.

struct Gan_YUV422Pixel_ui8 ** gan_image_get_pixarr_yuv422_ui8 const Gan_Image img  ) 
 

Return the pixel array from a YUV colour gan_uint8 image.

Returns the pixel array for the YUV colour gan_uint8 image img.

struct Gan_YUVA444Pixel_ui8 ** gan_image_get_pixarr_yuva444_ui8 const Gan_Image img  ) 
 

Return the pixel array from a YUVA colour gan_uint8 image.

Returns the pixel array for the YUVA colour gan_uint8 image img.

struct Gan_YUVX444Pixel_ui8 ** gan_image_get_pixarr_yuvx444_ui8 const Gan_Image img  ) 
 

Return the pixel array from a YUV colour gan_uint8 image.

Returns the pixel array for the YUV colour gan_uint8 image img.

void * gan_image_get_pixptr const Gan_Image img,
unsigned  row,
unsigned  col
 

Gets a pointer to a pixel from an image.

Parameters:
img The image
row The row position of the pixel
col The column position of the pixel
Returns:
A pointer to the pixel at the given position
Gets the pixel pointer from image img at position row, col.
See also:
gan_image_get_pix().

double * gan_image_get_pixptr_gl_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level double image.

Returns the pointer to the pixel at position row, col in grey-level double image img.

float * gan_image_get_pixptr_gl_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level float image.

Returns the pointer to the pixel at position row, col in grey-level float image img.

gan_float32* gan_image_get_pixptr_gl_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level 32-bit float image.

Returns the pointer to the pixel at position row, col in grey-level 32-bit float image img.

gan_float64* gan_image_get_pixptr_gl_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level 64-bit float image.

Returns the pointer to the pixel at position row, col in grey-level 64-bit float image img.

int * gan_image_get_pixptr_gl_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level int image.

Returns the pointer to the pixel at position row, col in grey-level int image img.

gan_int32* gan_image_get_pixptr_gl_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level 32-bit signed image.

Returns the pointer to the pixel at position row, col in grey-level 32-bit signed image img.

short * gan_image_get_pixptr_gl_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level short image.

Returns the pointer to the pixel at position row, col in grey-level short image img.

unsigned char * gan_image_get_pixptr_gl_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level unsigned char image.

Returns the pointer to the pixel at position row, col in grey-level unsigned char image img.

unsigned int * gan_image_get_pixptr_gl_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level unsigned int image.

Returns the pointer to the pixel at position row, col in grey-level unsigned int image img.

struct Gan_YXPixel_ui10 * gan_image_get_pixptr_gl_ui10 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a Grey level gan_uint16 image.

Returns the pointer to the pixel at position row, col in Grey level gan_uint16 image img.

struct Gan_YXPixel_ui12 * gan_image_get_pixptr_gl_ui12 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a Grey level gan_uint16 image.

Returns the pointer to the pixel at position row, col in Grey level gan_uint16 image img.

gan_uint16* gan_image_get_pixptr_gl_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level 16-bit unsigned image.

Returns the pointer to the pixel at position row, col in grey-level 16-bit unsigned image img.

gan_uint32* gan_image_get_pixptr_gl_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level 32-bit unsigned image.

Returns the pointer to the pixel at position row, col in grey-level 32-bit unsigned image img.

gan_uint8* gan_image_get_pixptr_gl_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level 8-bit unsigned image.

Returns the pointer to the pixel at position row, col in grey-level 8-bit unsigned image img.

unsigned short * gan_image_get_pixptr_gl_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level unsigned short image.

Returns the pointer to the pixel at position row, col in grey-level unsigned short image img.

struct Gan_GLAPixel_d * gan_image_get_pixptr_gla_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha double image.

Returns the pointer to the pixel at position row, col in grey-level alpha double image img.

struct Gan_GLAPixel_f * gan_image_get_pixptr_gla_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha float image.

Returns the pointer to the pixel at position row, col in grey-level alpha float image img.

Gan_GLAPixel_f32* gan_image_get_pixptr_gla_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha 32-bit float image.

Returns the pointer to the pixel at position row, col in grey-level alpha 32-bit float image img.

Gan_GLAPixel_f64* gan_image_get_pixptr_gla_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha 64-bit float image.

Returns the pointer to the pixel at position row, col in grey-level alpha 64-bit float image img.

struct Gan_GLAPixel_i * gan_image_get_pixptr_gla_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha int image.

Returns the pointer to the pixel at position row, col in grey-level alpha int image img.

Gan_GLAPixel_i32* gan_image_get_pixptr_gla_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha 32-bit signed image.

Returns the pointer to the pixel at position row, col in grey-level alpha 32-bit signed image img.

struct Gan_GLAPixel_s * gan_image_get_pixptr_gla_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha short image.

Returns the pointer to the pixel at position row, col in grey-level alpha short image img.

struct Gan_GLAPixel_uc * gan_image_get_pixptr_gla_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha unsigned char image.

Returns the pointer to the pixel at position row, col in grey-level alpha unsigned char image img.

struct Gan_GLAPixel_ui * gan_image_get_pixptr_gla_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha unsigned int image.

Returns the pointer to the pixel at position row, col in grey-level alpha unsigned int image img.

Gan_GLAPixel_ui16* gan_image_get_pixptr_gla_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha 16-bit unsigned image.

Returns the pointer to the pixel at position row, col in grey-level alpha 16-bit unsigned image img.

Gan_GLAPixel_ui32* gan_image_get_pixptr_gla_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha 32-bit unsigned image.

Returns the pointer to the pixel at position row, col in grey-level alpha 32-bit unsigned image img.

Gan_GLAPixel_ui8* gan_image_get_pixptr_gla_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha 8-bit unsigned image.

Returns the pointer to the pixel at position row, col in grey-level alpha 8-bit unsigned image img.

struct Gan_GLAPixel_us * gan_image_get_pixptr_gla_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level alpha unsigned short image.

Returns the pointer to the pixel at position row, col in grey-level alpha unsigned short image img.

void ** gan_image_get_pixptr_p const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a grey-level void * image.

Returns the pointer to the pixel at position row, col in grey-level void * image img.

struct Gan_RGBPixel_d * gan_image_get_pixptr_rgb_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour double image.

Returns the pointer to the pixel at position row, col in RGB colour double image img.

struct Gan_RGBPixel_f * gan_image_get_pixptr_rgb_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour float image.

Returns the pointer to the pixel at position row, col in RGB colour float image img.

Gan_RGBPixel_f32* gan_image_get_pixptr_rgb_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour 32-bit float image.

Returns the pointer to the pixel at position row, col in RGB colour 32-bit float image img.

Gan_RGBPixel_f64* gan_image_get_pixptr_rgb_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour 64-bit float image.

Returns the pointer to the pixel at position row, col in RGB colour 64-bit float image img.

struct Gan_RGBPixel_i * gan_image_get_pixptr_rgb_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour int image.

Returns the pointer to the pixel at position row, col in RGB colour int image img.

Gan_RGBPixel_i32* gan_image_get_pixptr_rgb_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour 32-bit signed image.

Returns the pointer to the pixel at position row, col in RGB colour 32-bit signed image img.

struct Gan_RGBPixel_s * gan_image_get_pixptr_rgb_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour short image.

Returns the pointer to the pixel at position row, col in RGB colour short image img.

struct Gan_RGBPixel_uc * gan_image_get_pixptr_rgb_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour unsigned char image.

Returns the pointer to the pixel at position row, col in RGB colour unsigned char image img.

struct Gan_RGBPixel_ui * gan_image_get_pixptr_rgb_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour unsigned int image.

Returns the pointer to the pixel at position row, col in RGB colour unsigned int image img.

Gan_RGBPixel_ui16* gan_image_get_pixptr_rgb_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour 16-bit unsigned image.

Returns the pointer to the pixel at position row, col in RGB colour 16-bit unsigned image img.

Gan_RGBPixel_ui32* gan_image_get_pixptr_rgb_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour 32-bit unsigned image.

Returns the pointer to the pixel at position row, col in RGB colour 32-bit unsigned image img.

Gan_RGBPixel_ui8* gan_image_get_pixptr_rgb_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour 8-bit unsigned image.

Returns the pointer to the pixel at position row, col in RGB colour 8-bit unsigned image img.

struct Gan_RGBPixel_us * gan_image_get_pixptr_rgb_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour unsigned short image.

Returns the pointer to the pixel at position row, col in RGB colour unsigned short image img.

struct Gan_RGBAPixel_d * gan_image_get_pixptr_rgba_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha double image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha double image img.

struct Gan_RGBAPixel_f * gan_image_get_pixptr_rgba_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha float image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha float image img.

Gan_RGBAPixel_f32* gan_image_get_pixptr_rgba_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha 32-bit float image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha 32-bit float image img.

Gan_RGBAPixel_f64* gan_image_get_pixptr_rgba_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha 64-bit float image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha 64-bit float image img.

struct Gan_RGBAPixel_i * gan_image_get_pixptr_rgba_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha int image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha int image img.

Gan_RGBAPixel_i32* gan_image_get_pixptr_rgba_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGBA colour 32-bit signed image.

Returns the pointer to the pixel at position row, col in RGBA colour 32-bit signed image img.

struct Gan_RGBAPixel_s * gan_image_get_pixptr_rgba_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha short image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha short image img.

struct Gan_RGBAPixel_uc * gan_image_get_pixptr_rgba_uc const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha unsigned char image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha unsigned char image img.

struct Gan_RGBAPixel_ui * gan_image_get_pixptr_rgba_ui const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha unsigned int image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha unsigned int image img.

struct Gan_RGBAPixel_ui12 * gan_image_get_pixptr_rgba_ui12 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGBA colour gan_uint16 image.

Returns the pointer to the pixel at position row, col in RGBA colour gan_uint16 image img.

Gan_RGBAPixel_ui16* gan_image_get_pixptr_rgba_ui16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha 16-bit unsigned image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha 16-bit unsigned image img.

Gan_RGBAPixel_ui32* gan_image_get_pixptr_rgba_ui32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha 32-bit unsigned image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha 32-bit unsigned image img.

Gan_RGBAPixel_ui8* gan_image_get_pixptr_rgba_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha 8-bit unsigned image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha 8-bit unsigned image img.

struct Gan_RGBAPixel_us * gan_image_get_pixptr_rgba_us const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB-colour alpha unsigned short image.

Returns the pointer to the pixel at position row, col in RGB-colour alpha unsigned short image img.

struct Gan_RGBASPixel_ui10 * gan_image_get_pixptr_rgbas_ui10 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGBA colour gan_uint16 image.

Returns the pointer to the pixel at position row, col in RGBA colour gan_uint16 image img.

struct Gan_RGBXPixel_ui10 * gan_image_get_pixptr_rgbx_ui10 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour gan_uint16 image.

Returns the pointer to the pixel at position row, col in RGB colour gan_uint16 image img.

struct Gan_RGBXPixel_ui8 * gan_image_get_pixptr_rgbx_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a RGB colour gan_uint8 image.

Returns the pointer to the pixel at position row, col in RGB colour gan_uint8 image img.

struct Gan_Vector2 * gan_image_get_pixptr_vfield2D_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector-field double image.

Returns the pointer to the pixel at position row, col in 2D vector-field double image img.

struct Gan_Vector2_f * gan_image_get_pixptr_vfield2D_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector-field float image.

Returns the pointer to the pixel at position row, col in 2D vector-field float image img.

struct Gan_Vector2_f32* gan_image_get_pixptr_vfield2D_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector 32-bit floating image.

Returns the pointer to the pixel at position row, col in 2D vector 32-bit floating image img.

struct Gan_Vector2_f64* gan_image_get_pixptr_vfield2D_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector 64-bit floating image.

Returns the pointer to the pixel at position row, col in 2D vector 64-bit floating image img.

struct Gan_Vector2_i * gan_image_get_pixptr_vfield2D_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector-field int image.

Returns the pointer to the pixel at position row, col in 2D vector-field int image img.

struct Gan_Vector2_i16* gan_image_get_pixptr_vfield2D_i16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector 16-bit signed image.

Returns the pointer to the pixel at position row, col in 2D vector 16-bit signed image img.

struct Gan_Vector2_i32* gan_image_get_pixptr_vfield2D_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector 32-bit signed image.

Returns the pointer to the pixel at position row, col in 2D vector 32-bit signed image img.

struct Gan_Vector2_s * gan_image_get_pixptr_vfield2D_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 2D vector-field short image.

Returns the pointer to the pixel at position row, col in 2D vector-field short image img.

struct Gan_Vector3 * gan_image_get_pixptr_vfield3D_d const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector-field double image.

Returns the pointer to the pixel at position row, col in 3D vector-field double image img.

struct Gan_Vector3_f * gan_image_get_pixptr_vfield3D_f const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector-field float image.

Returns the pointer to the pixel at position row, col in 3D vector-field float image img.

struct Gan_Vector2_f32* gan_image_get_pixptr_vfield3D_f32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector 32-bit floating image.

Returns the pointer to the pixel at position row, col in 3D vector 32-bit floating image img.

struct Gan_Vector2_f64* gan_image_get_pixptr_vfield3D_f64 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector 64-bit floating image.

Returns the pointer to the pixel at position row, col in 3D vector 64-bit floating image img.

struct Gan_Vector3_i * gan_image_get_pixptr_vfield3D_i const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector-field int image.

Returns the pointer to the pixel at position row, col in 3D vector-field int image img.

struct Gan_Vector2_i16* gan_image_get_pixptr_vfield3D_i16 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector 16-bit signed image.

Returns the pointer to the pixel at position row, col in 3D vector 16-bit signed image img.

struct Gan_Vector2_i32* gan_image_get_pixptr_vfield3D_i32 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector 32-bit signed image.

Returns the pointer to the pixel at position row, col in 3D vector 32-bit signed image img.

struct Gan_Vector3_s * gan_image_get_pixptr_vfield3D_s const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a 3D vector-field short image.

Returns the pointer to the pixel at position row, col in 3D vector-field short image img.

struct Gan_YUV422Pixel_ui8 * gan_image_get_pixptr_yuv422_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a YUV colour gan_uint8 image.

Returns the pointer to the pixel at position row, col in YUV colour gan_uint8 image img.

struct Gan_YUVA444Pixel_ui8 * gan_image_get_pixptr_yuva444_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a YUVA colour gan_uint8 image.

Returns the pointer to the pixel at position row, col in YUVA colour gan_uint8 image img.

struct Gan_YUVX444Pixel_ui8 * gan_image_get_pixptr_yuvx444_ui8 const Gan_Image img,
unsigned  row,
unsigned  col
 

Return a pointer to a pixel from a YUV colour gan_uint8 image.

Returns the pointer to the pixel at position row, col in YUV colour gan_uint8 image img.

Gan_Bool gan_image_offset_pixel_i Gan_Pixel pixel,
double  offset
 

Macro: Offset pixel in-place.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Adds all the channels of the given pixel to the given offset factor, overwriting pixel with the result.

Gan_Bool gan_image_offset_pixel_q Gan_Pixel pixel,
double  offset,
Gan_Pixel offset_pixel
 

Offset pixel values.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Add each channel of pixel to the given offset factor, writing the result into offset_pixel.

Gan_Bool gan_image_scale_pixel_i Gan_Pixel pixel,
double  scale
 

Macro: Scale pixel in-place.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Multiplies all the channels of the given pixel by the given scale factor, overwriting pixel with the result.

Gan_Bool gan_image_scale_pixel_q Gan_Pixel pixel,
double  scale,
Gan_Pixel scaled_pixel
 

Scale pixel values.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Multiply each channel of pixel by the given scale factor, writing the result into scaled_pixel.

Gan_Bool gan_image_set_pix Gan_Image img,
unsigned  row,
unsigned  col,
Gan_Pixel pix
 

Sets a pixel in an image.

Parameters:
img The image
row The row position of the pixel
col The column position of the pixel
pix The pixel to set
Returns:
GAN_TRUE on success, or GAN_FALSE on failure.
Sets the pixel an image img at position row, col to the given value pix.

See also:
gan_image_get_pix().

Gan_Bool gan_image_set_pix_b Gan_Image img,
unsigned  row,
unsigned  col,
Gan_Bool  pix
 

Macro: Set a pixel in a grey-level Gan_Bool image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_d Gan_Image img,
unsigned  row,
unsigned  col,
double  pix
 

Macro: Set a pixel in a grey-level double image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_f Gan_Image img,
unsigned  row,
unsigned  col,
float  pix
 

Macro: Set a pixel in a grey-level float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_f32 Gan_Image img,
unsigned  row,
unsigned  col,
32-bit float  pix
 

Macro: Set a pixel in a grey-level 32-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_f64 Gan_Image img,
unsigned  row,
unsigned  col,
64-bit float  pix
 

Macro: Set a pixel in a grey-level 64-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_i Gan_Image img,
unsigned  row,
unsigned  col,
int  pix
 

Macro: Set a pixel in a grey-level int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_i32 Gan_Image img,
unsigned  row,
unsigned  col,
32-bit signed  pix
 

Macro: Set a pixel in a grey-level 32-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_s Gan_Image img,
unsigned  row,
unsigned  col,
short  pix
 

Macro: Set a pixel in a grey-level short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_uc Gan_Image img,
unsigned  row,
unsigned  col,
unsigned char  pix
 

Macro: Set a pixel in a grey-level unsigned char image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_ui Gan_Image img,
unsigned  row,
unsigned  col,
unsigned int  pix
 

Macro: Set a pixel in a grey-level unsigned int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_ui10 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_YXPixel_ui10 pix
 

Macro: Set a pixel in a Grey level gan_uint16 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in Grey level gan_uint16 image img to pix.

Gan_Bool gan_image_set_pix_gl_ui12 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_YXPixel_ui12 pix
 

Macro: Set a pixel in a Grey level gan_uint16 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in Grey level gan_uint16 image img to pix.

Gan_Bool gan_image_set_pix_gl_ui16 Gan_Image img,
unsigned  row,
unsigned  col,
16-bit unsigned  pix
 

Macro: Set a pixel in a grey-level 16-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_ui32 Gan_Image img,
unsigned  row,
unsigned  col,
32-bit unsigned  pix
 

Macro: Set a pixel in a grey-level 32-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
8-bit unsigned  pix
 

Macro: Set a pixel in a grey-level 8-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gl_us Gan_Image img,
unsigned  row,
unsigned  col,
unsigned short  pix
 

Macro: Set a pixel in a grey-level unsigned short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_gla_d Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_GLAPixel_d pix
 

Macro: Set a pixel in a grey-level alpha double image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha double image img to pix.

Gan_Bool gan_image_set_pix_gla_f Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_GLAPixel_f pix
 

Macro: Set a pixel in a grey-level alpha float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha float image img to pix.

Gan_Bool gan_image_set_pix_gla_f32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_GLAPixel_f32 *  pix
 

Macro: Set a pixel in a grey-level alpha 32-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha 32-bit float image img to pix.

Gan_Bool gan_image_set_pix_gla_f64 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_GLAPixel_f64 *  pix
 

Macro: Set a pixel in a grey-level alpha 64-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha 64-bit float image img to pix.

Gan_Bool gan_image_set_pix_gla_i Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_GLAPixel_i pix
 

Macro: Set a pixel in a grey-level alpha int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha int image img to pix.

Gan_Bool gan_image_set_pix_gla_i32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_GLAPixel_i32 *  pix
 

Macro: Set a pixel in a grey-level alpha 32-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha 32-bit signed image img to pix.

Gan_Bool gan_image_set_pix_gla_s Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_GLAPixel_s pix
 

Macro: Set a pixel in a grey-level alpha short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha short image img to pix.

Gan_Bool gan_image_set_pix_gla_uc Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_GLAPixel_uc pix
 

Macro: Set a pixel in a grey-level alpha unsigned char image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha unsigned char image img to pix.

Gan_Bool gan_image_set_pix_gla_ui Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_GLAPixel_ui pix
 

Macro: Set a pixel in a grey-level alpha unsigned int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha unsigned int image img to pix.

Gan_Bool gan_image_set_pix_gla_ui16 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_GLAPixel_ui16 *  pix
 

Macro: Set a pixel in a grey-level alpha 16-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha 16-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_gla_ui32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_GLAPixel_ui32 *  pix
 

Macro: Set a pixel in a grey-level alpha 32-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha 32-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_gla_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_GLAPixel_ui8 *  pix
 

Macro: Set a pixel in a grey-level alpha 8-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha 8-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_gla_us Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_GLAPixel_us pix
 

Macro: Set a pixel in a grey-level alpha unsigned short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level alpha unsigned short image img to pix.

Gan_Bool gan_image_set_pix_p Gan_Image img,
unsigned  row,
unsigned  col,
void *  pix
 

Macro: Set a pixel in a grey-level void * image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in grey-level image img to pix.

Gan_Bool gan_image_set_pix_rgb_d Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBPixel_d pix
 

Macro: Set a pixel in a RGB colour double image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour double image img to pix.

Gan_Bool gan_image_set_pix_rgb_f Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBPixel_f pix
 

Macro: Set a pixel in a RGB colour float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour float image img to pix.

Gan_Bool gan_image_set_pix_rgb_f32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBPixel_f32 *  pix
 

Macro: Set a pixel in a RGB colour 32-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour 32-bit float image img to pix.

Gan_Bool gan_image_set_pix_rgb_f64 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBPixel_f64 *  pix
 

Macro: Set a pixel in a RGB colour 64-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour 64-bit float image img to pix.

Gan_Bool gan_image_set_pix_rgb_i Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBPixel_i pix
 

Macro: Set a pixel in a RGB colour int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour int image img to pix.

Gan_Bool gan_image_set_pix_rgb_i32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBPixel_i32 *  pix
 

Macro: Set a pixel in a RGB colour 32-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour 32-bit signed image img to pix.

Gan_Bool gan_image_set_pix_rgb_s Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBPixel_s pix
 

Macro: Set a pixel in a RGB colour short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour short image img to pix.

Gan_Bool gan_image_set_pix_rgb_uc Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBPixel_uc pix
 

Macro: Set a pixel in a RGB colour unsigned char image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour unsigned char image img to pix.

Gan_Bool gan_image_set_pix_rgb_ui Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBPixel_ui pix
 

Macro: Set a pixel in a RGB colour unsigned int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour unsigned int image img to pix.

Gan_Bool gan_image_set_pix_rgb_ui16 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBPixel_ui16 *  pix
 

Macro: Set a pixel in a RGB colour 16-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour 16-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_rgb_ui32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBPixel_ui32 *  pix
 

Macro: Set a pixel in a RGB colour 32-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour 32-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_rgb_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBPixel_ui8 *  pix
 

Macro: Set a pixel in a RGB colour 8-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour 8-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_rgb_us Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBPixel_us pix
 

Macro: Set a pixel in a RGB colour unsigned short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour unsigned short image img to pix.

Gan_Bool gan_image_set_pix_rgba_d Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_d pix
 

Macro: Set a pixel in a RGB-colour alpha double image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha double image img to pix.

Gan_Bool gan_image_set_pix_rgba_f Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_f pix
 

Macro: Set a pixel in a RGB-colour alpha float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha float image img to pix.

Gan_Bool gan_image_set_pix_rgba_f32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBAPixel_f32 *  pix
 

Macro: Set a pixel in a RGB-colour alpha 32-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha 32-bit float image img to pix.

Gan_Bool gan_image_set_pix_rgba_f64 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBAPixel_f64 *  pix
 

Macro: Set a pixel in a RGB-colour alpha 64-bit float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha 64-bit float image img to pix.

Gan_Bool gan_image_set_pix_rgba_i Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_i pix
 

Macro: Set a pixel in a RGB-colour alpha int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha int image img to pix.

Gan_Bool gan_image_set_pix_rgba_i32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBAPixel_i32 *  pix
 

Macro: Set a pixel in a RGBA colour 32-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGBA colour 32-bit signed image img to pix.

Gan_Bool gan_image_set_pix_rgba_s Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_s pix
 

Macro: Set a pixel in a RGB-colour alpha short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha short image img to pix.

Gan_Bool gan_image_set_pix_rgba_uc Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_uc pix
 

Macro: Set a pixel in a RGB-colour alpha unsigned char image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha unsigned char image img to pix.

Gan_Bool gan_image_set_pix_rgba_ui Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_ui pix
 

Macro: Set a pixel in a RGB-colour alpha unsigned int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha unsigned int image img to pix.

Gan_Bool gan_image_set_pix_rgba_ui12 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_ui12 pix
 

Macro: Set a pixel in a RGBA colour gan_uint16 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGBA colour gan_uint16 image img to pix.

Gan_Bool gan_image_set_pix_rgba_ui16 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBAPixel_ui16 *  pix
 

Macro: Set a pixel in a RGB-colour alpha 16-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha 16-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_rgba_ui32 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBAPixel_ui32 *  pix
 

Macro: Set a pixel in a RGB-colour alpha 32-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha 32-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_rgba_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
Gan_RGBAPixel_ui8 *  pix
 

Macro: Set a pixel in a RGB-colour alpha 8-bit unsigned image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha 8-bit unsigned image img to pix.

Gan_Bool gan_image_set_pix_rgba_us Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBAPixel_us pix
 

Macro: Set a pixel in a RGB-colour alpha unsigned short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB-colour alpha unsigned short image img to pix.

Gan_Bool gan_image_set_pix_rgbas_ui10 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBASPixel_ui10 pix
 

Macro: Set a pixel in a RGBA colour gan_uint16 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGBA colour gan_uint16 image img to pix.

Gan_Bool gan_image_set_pix_rgbx_ui10 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBXPixel_ui10 pix
 

Macro: Set a pixel in a RGB colour gan_uint16 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour gan_uint16 image img to pix.

Gan_Bool gan_image_set_pix_rgbx_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_RGBXPixel_ui8 pix
 

Macro: Set a pixel in a RGB colour gan_uint8 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in RGB colour gan_uint8 image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_d Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2 pix
 

Macro: Set a pixel in a 2D vector double image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector double image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_f Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_f pix
 

Macro: Set a pixel in a 2D vector float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector float image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_f32 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_f32 *  pix
 

Macro: Set a pixel in a 2D vector 32-bit floating image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector 32-bit floating image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_f64 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_f64 *  pix
 

Macro: Set a pixel in a 2D vector 64-bit floating image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector 64-bit floating image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_i Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_i pix
 

Macro: Set a pixel in a 2D vector int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector int image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_i16 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_i16 *  pix
 

Macro: Set a pixel in a 2D vector 16-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector 16-bit signed image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_i32 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_i32 *  pix
 

Macro: Set a pixel in a 2D vector 32-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector 32-bit signed image img to pix.

Gan_Bool gan_image_set_pix_vfield2D_s Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_s pix
 

Macro: Set a pixel in a 2D vector short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 2D vector short image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_d Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector3 pix
 

Macro: Set a pixel in a 3D vector double image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector double image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_f Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector3_f pix
 

Macro: Set a pixel in a 3D vector float image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector float image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_f32 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_f32 *  pix
 

Macro: Set a pixel in a 3D vector 32-bit floating image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector 32-bit floating image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_f64 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_f64 *  pix
 

Macro: Set a pixel in a 3D vector 64-bit floating image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector 64-bit floating image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_i Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector3_i pix
 

Macro: Set a pixel in a 3D vector int image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector int image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_i16 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_i16 *  pix
 

Macro: Set a pixel in a 3D vector 16-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector 16-bit signed image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_i32 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector2_i32 *  pix
 

Macro: Set a pixel in a 3D vector 32-bit signed image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector 32-bit signed image img to pix.

Gan_Bool gan_image_set_pix_vfield3D_s Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_Vector3_s pix
 

Macro: Set a pixel in a 3D vector short image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in 3D vector short image img to pix.

Gan_Bool gan_image_set_pix_yuv422_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_YUV422Pixel_ui8 pix
 

Macro: Set a pixel in a YUV colour gan_uint8 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in YUV colour gan_uint8 image img to pix.

Gan_Bool gan_image_set_pix_yuva444_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_YUVA444Pixel_ui8 pix
 

Macro: Set a pixel in a YUVA colour gan_uint8 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in YUVA colour gan_uint8 image img to pix.

Gan_Bool gan_image_set_pix_yuvx444_ui8 Gan_Image img,
unsigned  row,
unsigned  col,
struct Gan_YUVX444Pixel_ui8 pix
 

Macro: Set a pixel in a YUV colour gan_uint8 image.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set the pixel at position row, col in YUV colour gan_uint8 image img to pix.

Gan_Bool gan_image_set_pix_zero Gan_Image img,
unsigned  row,
unsigned  col
 

Sets a pixel in an image to zero.

Parameters:
img The image
row The row position of the pixel
col The column position of the pixel
Returns:
GAN_TRUE on success, or GAN_FALSE on failure.
Sets the pixel in image img at position row, col to zero.
See also:
gan_image_set_pix().

int gan_pixel_d_to_i double  x  ) 
 

Macro: Convert a pixel field from double to int type.

Overflow is handled.

short gan_pixel_d_to_s double  x  ) 
 

Macro: Convert a pixel field from double to short type.

Overflow is handled.

unsigned char gan_pixel_d_to_uc double  x  ) 
 

Macro: Convert a pixel field from double to unsigned char type.

Overflow is handled.

unsigned int gan_pixel_d_to_ui double  x  ) 
 

Macro: Convert a pixel field from double to unsigned int type.

Overflow is handled.

unsigned short gan_pixel_d_to_us double  x  ) 
 

Macro: Convert a pixel field from double to unsigned short type.

Overflow is handled.

gan_int16 gan_pixel_f32_to_i16 gan_float32  x  ) 
 

Macro: Convert a pixel field from 32-bit float to 16-bit signed integer type.

Overflow is handled.

gan_int32 gan_pixel_f32_to_i32 gan_float32  x  ) 
 

Macro: Convert a pixel field from 32-bit float to 32-bit signed integer type.

Overflow is handled.

gan_int16 gan_pixel_f32_to_ui16 gan_float32  x  ) 
 

Macro: Convert a pixel field from 32-bit float to 16-bit unsigned integer type.

Overflow is handled.

gan_uint32 gan_pixel_f32_to_ui32 gan_float32  x  ) 
 

Macro: Convert a pixel field from 32-bit float to 32-bit unsigned integer type.

Overflow is handled.

gan_uint8 gan_pixel_f32_to_ui8 gan_float32  x  ) 
 

Macro: Convert a pixel field from 32-bit float to 8-bit unsigned integer type.

Overflow is handled.

gan_int16 gan_pixel_f64_to_i16 gan_float64  x  ) 
 

Macro: Convert a pixel field from 64-bit float to 16-bit signed integer type.

Overflow is handled.

gan_int32 gan_pixel_f64_to_i32 gan_float64  x  ) 
 

Macro: Convert a pixel field from 64-bit float to 32-bit signed integer type.

Overflow is handled.

gan_int16 gan_pixel_f64_to_ui16 gan_float64  x  ) 
 

Macro: Convert a pixel field from 64-bit float to 16-bit unsigned integer type.

Overflow is handled.

gan_uint32 gan_pixel_f64_to_ui32 gan_float64  x  ) 
 

Macro: Convert a pixel field from 64-bit float to 32-bit unsigned integer type.

Overflow is handled.

gan_uint8 gan_pixel_f64_to_ui8 gan_float64  x  ) 
 

Macro: Convert a pixel field from 64-bit float to 8-bit unsigned integer type.

Overflow is handled.

int gan_pixel_f_to_i float  x  ) 
 

Macro: Convert a pixel field from float to int type.

Overflow is handled.

short gan_pixel_f_to_s float  x  ) 
 

Macro: Convert a pixel field from float to short type.

Overflow is handled.

unsigned char gan_pixel_f_to_uc float  x  ) 
 

Macro: Convert a pixel field from float to unsigned char type.

Overflow is handled.

unsigned int gan_pixel_f_to_ui float  x  ) 
 

Macro: Convert a pixel field from float to unsigned int type.

Overflow is handled.

unsigned short gan_pixel_f_to_us float  x  ) 
 

Macro: Convert a pixel field from float to unsigned short type.

Overflow is handled.


Generated on Fri Mar 17 12:45:01 2006 by  doxygen 1.3.9.1