ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

image.c File Reference
#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "image.h"
#include "imports.h"
#include "macros.h"
#include "pixel.h"

Go to the source code of this file.

Defines

#define BYTE_TO_FLOAT(B)   ((B) == 0 ? 0.0F : ((2.0F * (B) + 1.0F) * (1.0F/255.0F)))
#define SHORT_TO_FLOAT(S)   ((S) == 0 ? 0.0F : ((2.0F * (S) + 1.0F) * (1.0F/65535.0F)))
#define CEILING(A, B)   ( (A) % (B) == 0 ? (A)/(B) : (A)/(B)+1 )

Functions

GLboolean _mesa_type_is_packed (GLenum type)
static void flip_bytes (GLubyte *p, GLuint n)
void _mesa_swap2 (GLushort *p, GLuint n)
void _mesa_swap4 (GLuint *p, GLuint n)
GLint _mesa_sizeof_type (GLenum type)
GLint _mesa_sizeof_packed_type (GLenum type)
GLint _mesa_components_in_format (GLenum format)
GLint _mesa_bytes_per_pixel (GLenum format, GLenum type)
GLboolean _mesa_is_legal_format_and_type (GLcontext *ctx, GLenum format, GLenum type)
GLvoid_mesa_image_address (GLuint dimensions, const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column)
GLvoid_mesa_image_address1d (const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLenum format, GLenum type, GLint column)
GLvoid_mesa_image_address2d (const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint row, GLint column)
GLvoid_mesa_image_address3d (const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column)
GLint _mesa_image_row_stride (const struct gl_pixelstore_attrib *packing, GLint width, GLenum format, GLenum type)
void _mesa_convert_colors (GLenum srcType, const GLvoid *src, GLenum dstType, GLvoid *dst, GLuint count, const GLubyte mask[])
GLboolean _mesa_clip_drawpixels (const GLcontext *ctx, GLint *destX, GLint *destY, GLsizei *width, GLsizei *height, struct gl_pixelstore_attrib *unpack)
GLboolean _mesa_clip_readpixels (const GLcontext *ctx, GLint *srcX, GLint *srcY, GLsizei *width, GLsizei *height, struct gl_pixelstore_attrib *pack)
GLboolean _mesa_clip_copytexsubimage (const GLcontext *ctx, GLint *destX, GLint *destY, GLint *srcX, GLint *srcY, GLsizei *width, GLsizei *height)
GLboolean _mesa_clip_to_region (GLint xmin, GLint ymin, GLint xmax, GLint ymax, GLint *x, GLint *y, GLsizei *width, GLsizei *height)

Generated on Sun May 27 2012 04:58:08 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.