csPackRGB Struct Reference
[Graphics]
RGB data packing.
More...
#include <csgfx/packrgb.h>
Static Public Member Functions | |
void | PackRGBcolorToRGBBuffer (uint8 *buf, const csRGBcolor *pixels, size_t numPixels) |
Pack an array of csRGBcolor into a RGB byte array. | |
const uint8 * | PackRGBcolorToRGB (const csRGBcolor *pixels, size_t numPixels) |
Pack an array of csRGBcolor into a RGB byte array. | |
void | DiscardPackedRGB (const uint8 *rgb) |
Frees memory possibly allocated by PackRGBcolorToRGB(). | |
void | UnpackRGBtoRGBcolor (csRGBcolor *buf, const uint8 *rgb, size_t numPixels) |
Unpack a RGB byte array into an array of csRGBcolor. | |
const csRGBcolor * | UnpackRGBtoRGBcolor (const uint8 *rgb, size_t numPixels) |
Unpack a RGB byte array into an array of csRGBcolor. | |
void | DiscardUnpackedRGBcolor (const csRGBcolor *pixels) |
Frees memory possibly allocated by UnpackRGBtoRGBcolor(). | |
uint8 * | PackRGBpixelToRGB (const csRGBpixel *pixels, size_t numPixels) |
Pack an array of csRGBpixel into a RGB byte array. | |
void | UnpackRGBtoRGBpixelBuffer (csRGBpixel *buf, uint8 *rgb, size_t numPixels) |
Unpack a RGB byte array into an array of csRGBpixel. |
Detailed Description
RGB data packing.
Definition at line 56 of file packrgb.h.
Member Function Documentation
|
Frees memory possibly allocated by PackRGBcolorToRGB().
|
|
Frees memory possibly allocated by UnpackRGBtoRGBcolor().
|
|
Pack an array of csRGBcolor into a RGB byte array.
|
|
Pack an array of csRGBcolor into a RGB byte array.
Definition at line 65 of file packrgb.h. References csRGBcolor::blue, csRGBcolor::green, and csRGBcolor::red. |
|
Pack an array of csRGBpixel into a RGB byte array. Alpha information is discarded!
Definition at line 174 of file packrgb.h. References csRGBpixel::blue, csRGBpixel::green, and csRGBpixel::red. |
|
Unpack a RGB byte array into an array of csRGBcolor.
|
|
Unpack a RGB byte array into an array of csRGBcolor.
Definition at line 118 of file packrgb.h. References csRGBcolor::blue, csRGBcolor::green, and csRGBcolor::red. |
|
Unpack a RGB byte array into an array of csRGBpixel.
Definition at line 194 of file packrgb.h. References csRGBpixel::blue, csRGBpixel::green, and csRGBpixel::red. |
The documentation for this struct was generated from the following file:
- csgfx/packrgb.h
Generated for Crystal Space by doxygen 1.3.9.1