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

image_extract.c File Reference

#include <math.h>
#include <gandalf/image/image_extract.h>
#include <gandalf/image/image_gl_float32.h>
#include <gandalf/image/image_gl_float64.h>
#include <gandalf/image/image_bit.h>
#include <gandalf/image/image_gl_uint8.h>
#include <gandalf/image/image_gl_uint16.h>
#include <gandalf/image/image_gl_int32.h>
#include <gandalf/image/image_gl_uint32.h>
#include <gandalf/image/image_gla_uint8.h>
#include <gandalf/image/image_gla_uint16.h>
#include <gandalf/image/image_gla_int32.h>
#include <gandalf/image/image_gla_uint32.h>
#include <gandalf/image/image_gla_float32.h>
#include <gandalf/image/image_gla_float64.h>
#include <gandalf/image/image_rgb_uint8.h>
#include <gandalf/image/image_rgb_uint16.h>
#include <gandalf/image/image_rgb_int32.h>
#include <gandalf/image/image_rgb_uint32.h>
#include <gandalf/image/image_rgb_float64.h>
#include <gandalf/image/image_rgb_float32.h>
#include <gandalf/image/image_rgba_uint8.h>
#include <gandalf/image/image_rgba_uint16.h>
#include <gandalf/image/image_rgba_int32.h>
#include <gandalf/image/image_rgba_uint32.h>
#include <gandalf/image/image_rgba_float64.h>
#include <gandalf/image/image_rgba_float32.h>
#include <gandalf/image/image_vfield2D_float32.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/common/array.h>
#include <gandalf/common/compare.h>
#include <gandalf/image/image_rgbx_uint8.h>
#include <gandalf/image/image_rgbx_uint10.h>
#include <gandalf/image/image_rgbas_uint10.h>
#include <gandalf/image/image_rgba_uint12.h>
#include <gandalf/image/image_yuvx444_uint8.h>
#include <gandalf/image/image_yuva444_uint8.h>
#include <gandalf/image/image_yuv422_uint8.h>
#include <gandalf/image/image_gl_uint10.h>
#include <gandalf/image/image_gl_uint12.h>

Defines

#define ui8   uc
#define ui16   us
#define ui32   ui
#define f32   f
#define f64   d
#define i32   i
#define ui32   ui
#define CLAMP_0_TO_255(p)   (((p) < 0) ? 0 : (((p) > 255) ? 255 : (p)))
#define CLAMP_0_TO_255(p)   (((p) < 0) ? 0 : (((p) > 255) ? 255 : (p)))
#define CLAMP_0_TO_255(p)   (((p) < 0) ? 0 : (((p) > 255) ? 255 : (p)))

Functions

Gan_Imagegan_image_extract_q (const Gan_Image *source, int r0, int c0, unsigned height, unsigned width, Gan_ImageFormat format, Gan_Type type, Gan_Bool copy_pixels, Gan_Image *dest)
 Extracts part of an image.

Detailed Description

Module: Extract/convert part of an image

Part of: Gandalf Library

Version:
1.71
Date:
2006/01/19 15:00:10
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Fri Mar 17 12:44:51 2006 by  doxygen 1.3.9.1