csPackRGBA Struct Reference
[Graphics]
RGBA data packing.
More...
#include <csgfx/packrgb.h>
Static Public Member Functions | |
static csRGBpixel * | CopyUnpackRGBAtoRGBpixel (const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBpixel. | |
static void | csDiscardUnpackedRGBpixel (const csRGBpixel *pixels) |
Frees memory possibly allocated by UnpackRGBAtoRGBpixel(). | |
static void | DiscardPackedRGBA (const uint8 *rgba) |
Frees memory possibly allocated by PackRGBpixelToRGBA(). | |
static bool | IsRGBpixelSane () |
static const uint8 * | PackRGBpixelToRGBA (const csRGBpixel *pixels, size_t numPixels) |
Pack an array of csRGBpixel into a RGBA byte array. | |
static void | PackRGBpixelToRGBA (uint8 *buf, const csRGBpixel *pixels, size_t numPixels) |
Pack an array of csRGBpixel into a RGBA byte array. | |
static csRGBcolor * | UnpackRGBAtoRGBcolor (const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBcolor. | |
static const csRGBpixel * | UnpackRGBAtoRGBpixel (const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBpixel. | |
static void | UnpackRGBAtoRGBpixel (csRGBpixel *buf, const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBpixel. |
Detailed Description
RGBA data packing.
Definition at line 211 of file packrgb.h.
Member Function Documentation
|
Unpack a RGBA byte array into an array of csRGBpixel.
Definition at line 324 of file packrgb.h. References IsRGBpixelSane(), and UnpackRGBAtoRGBpixel(). |
|
Frees memory possibly allocated by UnpackRGBAtoRGBpixel().
Definition at line 341 of file packrgb.h. References IsRGBpixelSane(). |
|
Frees memory possibly allocated by PackRGBpixelToRGBA().
Definition at line 263 of file packrgb.h. References IsRGBpixelSane(). |
|
Pack an array of csRGBpixel into a RGBA byte array.
Definition at line 247 of file packrgb.h. References IsRGBpixelSane(), and PackRGBpixelToRGBA(). |
|
Pack an array of csRGBpixel into a RGBA byte array.
Definition at line 220 of file packrgb.h. References csRGBpixel::alpha, csRGBpixel::blue, csRGBpixel::green, IsRGBpixelSane(), and csRGBpixel::red. Referenced by PackRGBpixelToRGBA(). |
|
Unpack a RGBA byte array into an array of csRGBcolor. Alpha information is discarded!
Definition at line 355 of file packrgb.h. References csRGBcolor::blue, csRGBcolor::green, and csRGBcolor::red. |
|
Unpack a RGBA byte array into an array of csRGBpixel.
Definition at line 303 of file packrgb.h. References IsRGBpixelSane(), and UnpackRGBAtoRGBpixel(). |
|
Unpack a RGBA byte array into an array of csRGBpixel.
Definition at line 276 of file packrgb.h. References csRGBpixel::alpha, csRGBpixel::blue, csRGBpixel::green, IsRGBpixelSane(), and csRGBpixel::red. Referenced by CopyUnpackRGBAtoRGBpixel(), and UnpackRGBAtoRGBpixel(). |
The documentation for this struct was generated from the following file:
- csgfx/packrgb.h
Generated for Crystal Space by doxygen 1.4.6