[ Home ]

image.h File Reference

Image manipulation methods. More...

#include "../common/platform.h"

Include dependency graph for image.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void RGB32toRGB24 (const W8 *src, W8 *dest, W32 size)
 Convert image from 32-bits to 24-bits.
void RGB24toBGR565 (const void *src, void *dest, W32 size)
 Convert image from 24-bits to 16-bits 565.
void RGB24_adjustBrightness (void *data, W32 size)
 Adjust the brightness of an RGB24 image.
void RGB32_adjustBrightness (void *data, W32 size)
 Adjust the brightness of an RGB32 image.
void MergePics (const W8 *src, W8 *dest, W32 width, W32 height, W32 bpp, W16 totalwidth, W32 x_offset, W32 y_offset)
void MergeImages (W8 *src, W32 src_bpp, W32 src_totalwidth, W32 src_region_width, W32 src_region_height, W32 src_x_offset, W32 src_y_offset, W8 *dest, W16 dest_bpp, W32 dest_totalwidth, W32 dest_region_width, W32 dest_region_height, W32 dest_x_offset, W32 dest_y_offset)
void ReduxAlphaChannel_hq2x (W8 *data, W32 width, W32 height)
 Remove fringe from scaled hq2x images.


Detailed Description

Image manipulation methods.

Author:
Michael Liebscher
Date:
2006-2009

Function Documentation

void ReduxAlphaChannel_hq2x ( W8 *  data,
W32  width,
W32  height 
)

Remove fringe from scaled hq2x images.

Parameters:
[in,out] data Image data.
[in] width Width (in pixels) of image data.
[in] height Height (in pixels) of image image.
Returns:
Nothing.

void RGB24_adjustBrightness ( void *  data,
W32  size 
)

Adjust the brightness of an RGB24 image.

Parameters:
[in,out] data RGB24 data to adjust
[in] size Size of data buffer in bytes.
Returns:
Nothing.

void RGB24toBGR565 ( const void *  src,
void *  dest,
W32  size 
)

Convert image from 24-bits to 16-bits 565.

Parameters:
[in] src Source buffer to convert from.
[in,out] dest Destination buffer to convert to.
[in] size Size of src buffer in bytes.
Returns:
Nothing.
Note:
src and dest can point to the same memory block.

void RGB32_adjustBrightness ( void *  data,
W32  size 
)

Adjust the brightness of an RGB32 image.

Parameters:
[in,out] data RGB32 data to adjust
[in] size Size of data buffer in bytes.
Returns:
Nothing.

void RGB32toRGB24 ( const W8 *  src,
W8 *  dest,
W32  size 
)

Convert image from 32-bits to 24-bits.

Parameters:
[in] src Source buffer to convert from
[in,out] dest Destination buffer to convert to.
[in] size Size of src buffer.
Returns:
Nothing.
Note:
src and dest can point to the same memory block.