#include <stdlib.h>#include <assert.h>#include "pixelformat.h"Go to the source code of this file.
Defines | |
| #define | isinrange(x, lo, hi) ( (x)>=(lo) && (x)<=(hi) ) |
| #define | SHIFTL(val, shift) ( (shift) >= 0 ? ((val)<<(shift)) : ((val)>>(-(shift))) ) |
| #define | SHIFTR(val, shift) ( (shift) >= 0 ? ((val)>>(shift)) : ((val)<<(-(shift))) ) |
| #define | RGB_to_Gray(R, G, B) max(max(R,G),B) |
Functions | |
| GENESISAPI uint32 GENESISCC | gePixelFormat_ComposePixel (gePixelFormat Format, int R, int G, int B, int A) |
| GENESISAPI void GENESISCC | gePixelFormat_DecomposePixel (gePixelFormat Format, uint32 Pixel, int *R, int *G, int *B, int *A) |
| GENESISAPI uint32 GENESISCC | gePixelFormat_GetPixel (gePixelFormat Format, uint8 **ppData) |
| GENESISAPI void GENESISCC | gePixelFormat_PutPixel (gePixelFormat Format, uint8 **ppData, uint32 Pixel) |
| GENESISAPI void GENESISCC | gePixelFormat_GetColor (gePixelFormat Format, uint8 **ppData, int *R, int *G, int *B, int *A) |
| GENESISAPI void GENESISCC | gePixelFormat_PutColor (gePixelFormat Format, uint8 **ppData, int R, int G, int B, int A) |
| GENESISAPI uint32 GENESISCC | gePixelFormat_ConvertPixel (gePixelFormat Format, uint32 Pixel, gePixelFormat ToFormat) |
| GENESISAPI const gePixelFormat_Operations *GENESISCC | gePixelFormat_GetOperations (gePixelFormat Format) |
| GENESISAPI unsigned int GENESISCC | gePixelFormat_BytesPerPel (gePixelFormat Format) |
| GENESISAPI geBoolean GENESISCC | gePixelFormat_HasPalette (gePixelFormat Format) |
| GENESISAPI geBoolean GENESISCC | gePixelFormat_HasAlpha (gePixelFormat Format) |
| int | NumBitsOn (uint32 val) |
| GENESISAPI geBoolean GENESISCC | gePixelFormat_HasGoodAlpha (gePixelFormat Format) |
| GENESISAPI geBoolean GENESISCC | gePixelFormat_IsRaw (gePixelFormat Format) |
| GENESISAPI const char *GENESISCC | gePixelFormat_Description (gePixelFormat Format) |
| GENESISAPI geBoolean GENESISCC | gePixelFormat_IsValid (gePixelFormat Format) |
| uint32 | GetPixel_8bit (uint8 **ppData) |
| void | PutPixel_8bit (uint8 **ppData, uint32 Pixel) |
| uint32 | GetPixel_16bit (uint8 **ppData) |
| void | PutPixel_16bit (uint8 **ppData, uint32 Pixel) |
| uint32 | GetPixel_24bit (uint8 **ppData) |
| void | PutPixel_24bit (uint8 **ppData, uint32 Pixel) |
| uint32 | GetPixel_32bit (uint8 **ppData) |
| void | PutPixel_32bit (uint8 **ppData, uint32 Pixel) |
| uint32 | Compose_8bitGray (int R, int G, int B, int A) |
| void | Decompose_8bitGray (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_8bitGray (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_8bitGray (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_nada (int R, int G, int B, int A) |
| void | Decompose_nada (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_nada (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_nada (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_555rgb (int R, int G, int B, int A) |
| void | Decompose_555rgb (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_555rgb (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_555rgb (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_555bgr (int R, int G, int B, int A) |
| void | Decompose_555bgr (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_555bgr (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_555bgr (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_565rgb (int R, int G, int B, int A) |
| void | Decompose_565rgb (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_565rgb (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_565rgb (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_565bgr (int R, int G, int B, int A) |
| void | Decompose_565bgr (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_565bgr (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_565bgr (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_4444 (int R, int G, int B, int A) |
| void | Decompose_4444 (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_4444 (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_4444 (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_1555 (int R, int G, int B, int A) |
| void | Decompose_1555 (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_1555 (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_1555 (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_24rgb (int R, int G, int B, int A) |
| void | Decompose_24rgb (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_24rgb (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_24rgb (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_24bgr (int R, int G, int B, int A) |
| void | Decompose_24bgr (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_24bgr (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_24bgr (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32rgbx (int R, int G, int B, int A) |
| void | Decompose_32rgbx (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_32rgbx (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32rgbx (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32xrgb (int R, int G, int B, int A) |
| void | Decompose_32xrgb (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_32xrgb (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32xrgb (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32bgrx (int R, int G, int B, int A) |
| void | Decompose_32bgrx (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_32bgrx (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32bgrx (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32xbgr (int R, int G, int B, int A) |
| void | Decompose_32xbgr (uint32 Pixel, int *R, int *G, int *B, int *A) |
| void | Get_32xbgr (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32xbgr (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32rgba (int R, int G, int B, int A) |
| void | Decompose_32rgba (uint32 pixel, int *R, int *G, int *B, int *A) |
| void | Get_32rgba (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32rgba (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32argb (int R, int G, int B, int A) |
| void | Decompose_32argb (uint32 pixel, int *R, int *G, int *B, int *A) |
| void | Get_32argb (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32argb (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32bgra (int R, int G, int B, int A) |
| void | Decompose_32bgra (uint32 pixel, int *R, int *G, int *B, int *A) |
| void | Get_32bgra (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32bgra (uint8 **ppData, int R, int G, int B, int A) |
| uint32 | Compose_32abgr (int R, int G, int B, int A) |
| void | Decompose_32abgr (uint32 pixel, int *R, int *G, int *B, int *A) |
| void | Get_32abgr (uint8 **ppData, int *R, int *G, int *B, int *A) |
| void | Put_32abgr (uint8 **ppData, int R, int G, int B, int A) |
Variables | |
| const gePixelFormat_Operations * | gePixelFormat_Operations_Array = gePixelFormat_Operations_Array_Def |
| const gePixelFormat_Operations | gePixelFormat_Operations_Array_Def [] |
|
|
Definition at line 41 of file pixelformat.c. |
|
|
Definition at line 254 of file pixelformat.c. Referenced by Compose_8bitGray(), and Put_8bitGray(). |
|
|
Definition at line 43 of file pixelformat.c. |
|
|
Definition at line 44 of file pixelformat.c. |
|
||||||||||||||||||||
|
Definition at line 474 of file pixelformat.c. References A, B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 543 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 510 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 796 of file pixelformat.c. References A, B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 736 of file pixelformat.c. References A, B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 766 of file pixelformat.c. References A, B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 642 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 706 of file pixelformat.c. References A, B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 580 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 673 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 611 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 441 of file pixelformat.c. References A, B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 337 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 304 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 406 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 373 of file pixelformat.c. References B, G, R, and uint32.
|
|
||||||||||||||||||||
|
Definition at line 256 of file pixelformat.c. References B, G, R, RGB_to_Gray, and uint32.
00257 {
00258 return (uint32)RGB_to_Gray(R,G,B);
00259 }
|
|
||||||||||||||||||||
|
Definition at line 285 of file pixelformat.c. References uint32.
00286 {
00287 return 0;
00288 }
|
|
||||||||||||||||||||||||
|
Definition at line 480 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 549 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 516 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 802 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 742 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 772 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 648 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 712 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 586 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 679 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 617 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 447 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 343 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 310 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 412 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 379 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 261 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 290 of file pixelformat.c.
00291 {
00292 }
|
|
|
||||||||||||||||||||||||
|
Definition at line 52 of file pixelformat.c. References A, B, gePixelFormat_Operations::ComposePixel, G, GENESISAPI, GENESISCC, gePixelFormat_Operations_Array, R, and uint32. Referenced by geBitmap_Palette_SetEntryColor(), geBitmapUtil_SetColor(), geFont_DrawText(), geFont_DrawTextToBitmap(), and gePixelFormat_ConvertPixel().
00053 {
00054 const gePixelFormat_Operations * ops;
00055 ops = &gePixelFormat_Operations_Array[Format];
00056 assert(ops);
00057 assert(ops->ComposePixel);
00058 return ops->ComposePixel(R,G,B,A);
00059 }
|
|
||||||||||||||||
|
Definition at line 107 of file pixelformat.c. References A, B, G, GENESISAPI, GENESISCC, gePixelFormat_ComposePixel(), gePixelFormat_DecomposePixel(), R, and uint32. Referenced by geBitmap_SetFormatMin().
00108 {
00109 int R,G,B,A;
00110 gePixelFormat_DecomposePixel(Format,Pixel,&R,&G,&B,&A);
00111 return gePixelFormat_ComposePixel(ToFormat,R,G,B,A);
00112 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 61 of file pixelformat.c. References A, B, gePixelFormat_Operations::DecomposePixel, G, GENESISAPI, GENESISCC, gePixelFormat_Operations_Array, and R. Referenced by BlitData_DePalettize(), geBitmap_Palette_GetEntryColor(), and gePixelFormat_ConvertPixel().
00062 {
00063 const gePixelFormat_Operations * ops;
00064 ops = &gePixelFormat_Operations_Array[Format];
00065 assert(ops);
00066 assert(ops->DecomposePixel);
00067 ops->DecomposePixel(Pixel,R,G,B,A);
00068 }
|
|
|
Definition at line 174 of file pixelformat.c. References gePixelFormat_Operations::Description, GENESISAPI, GENESISCC, gePixelFormat_IsValid(), and gePixelFormat_Operations_Array. Referenced by geBitmap_CreateTHandle().
00175 {
00176 assert( gePixelFormat_IsValid(Format) );
00177 return gePixelFormat_Operations_Array[Format].Description;
00178 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 88 of file pixelformat.c. References A, B, G, GENESISAPI, GENESISCC, gePixelFormat_Operations_Array, gePixelFormat_Operations::GetColor, and R.
00089 {
00090 const gePixelFormat_Operations * ops;
00091 ops = &gePixelFormat_Operations_Array[Format];
00092 assert(ops);
00093 assert(ops->GetColor);
00094 ops->GetColor(ppData,R,G,B,A);
00095 }
|
|
|
Definition at line 114 of file pixelformat.c. References GENESISAPI, GENESISCC, gePixelFormat_IsValid(), gePixelFormat_Operations_Array, and NULL. Referenced by BlitData_DePalettize(), createOctTree(), geBitmap_BlitData_Sub(), geBitmap_ChooseDriverFormat(), geBitmap_GammaCorrect_Data(), geBitmap_GetAverageColor(), geBitmap_Palette_BlitData(), geBitmap_Palette_Create(), geBitmap_Palette_UnLock(), geBitmap_UpdateMips_Data(), geBitmap_UsesColorKey(), paletteOptimize(), and palettizePlane().
00115 {
00116 if ( ! gePixelFormat_IsValid(Format) )
00117 return NULL;
00118 else
00119 return & gePixelFormat_Operations_Array[Format];
00120 }
|
|
||||||||||||
|
Definition at line 70 of file pixelformat.c. References GENESISAPI, GENESISCC, gePixelFormat_Operations_Array, gePixelFormat_Operations::GetPixel, and uint32. Referenced by geBitmap_Palette_GetEntry(), and geBitmap_ReadInfo().
00071 {
00072 const gePixelFormat_Operations * ops;
00073 ops = &gePixelFormat_Operations_Array[Format];
00074 assert(ops);
00075 assert(ops->GetPixel);
00076 return ops->GetPixel(ppData);
00077 }
|
|
|
Definition at line 136 of file pixelformat.c. References gePixelFormat_Operations::AMask, geBoolean, GENESISAPI, GENESISCC, gePixelFormat_IsValid(), and gePixelFormat_Operations_Array. Referenced by BlitData_FromSeparateAlpha(), geBitmap_BlitData_Sub(), geBitmap_Palette_CreateFromDriver(), geBitmap_Palette_SetEntryColor(), geBitmap_SetColorKey(), Hack_FindPixelFormat(), palettizePlane(), and SetFormat_Create().
00137 {
00138 assert( gePixelFormat_IsValid(Format) );
00139 // if ( Format == GE_PIXELFORMAT_16BIT_1555_ARGB ) @@
00140 // return 0;
00141 return gePixelFormat_Operations_Array[Format].AMask;
00142 }
|
|
|
Definition at line 155 of file pixelformat.c. References GE_FALSE, GE_TRUE, geBoolean, GENESISAPI, GENESISCC, gePixelFormat_IsValid(), gePixelFormat_Operations_Array, and NumBitsOn(). Referenced by geBitmap_AllocPalette(), geBitmap_AttachToDriver(), geBitmap_ChooseDriverFormat(), geBitmap_CreateLockFromMip(), geBitmap_CreateLockFromMipSystem(), geBitmap_HasAlpha(), geBitmap_SetFormat(), and geBitmap_Update_SystemToDriver().
00156 {
00157 assert( gePixelFormat_IsValid(Format) );
00158
00159 if ( NumBitsOn(gePixelFormat_Operations_Array[Format].AMask) > 1 )
00160 return GE_TRUE;
00161 else
00162 return GE_FALSE;
00163 }
|
|
|
Definition at line 130 of file pixelformat.c. References geBoolean, GENESISAPI, GENESISCC, gePixelFormat_IsValid(), gePixelFormat_Operations_Array, and gePixelFormat_Operations::HasPalette. Referenced by BlitData_FromSeparateAlpha(), BlitData_ToSeparateAlpha(), Engine_CreateTHandle(), geBitmap_BlitData_Sub(), geBitmap_ChooseDriverFormat(), geBitmap_CreateLockFromMip(), geBitmap_Gamma_Apply(), geBitmap_GetAverageColor(), geBitmap_HasAlpha(), geBitmap_MakeDriverLockInfo(), geBitmap_SetFormat(), geBitmap_SetFormatMin(), geBitmap_SetPalette(), and geBitmap_UpdateMips_Data().
00131 {
00132 assert( gePixelFormat_IsValid(Format) );
00133 return gePixelFormat_Operations_Array[Format].HasPalette;
00134 }
|
|
|
Definition at line 165 of file pixelformat.c. References gePixelFormat_Operations::ComposePixel, GE_FALSE, GE_TRUE, geBoolean, GENESISAPI, GENESISCC, gePixelFormat_IsValid(), and gePixelFormat_Operations_Array. Referenced by geBitmap_AllocPalette(), geBitmap_ChooseDriverFormat(), geBitmap_GetAverageColor(), geBitmap_Palette_BlitData(), geBitmap_Palette_CreateFromDriver(), geBitmap_SetFormatMin(), geFont_DrawUsingDIB(), and palettizePlane().
00166 {
00167 assert( gePixelFormat_IsValid(Format) );
00168 if ( gePixelFormat_Operations_Array[Format].ComposePixel )
00169 return GE_TRUE;
00170 else
00171 return GE_FALSE;
00172 }
|
|
|
Definition at line 180 of file pixelformat.c. References GE_FALSE, GE_PIXELFORMAT_COUNT, GE_TRUE, geBoolean, GENESISAPI, and GENESISCC. Referenced by geBitmap_CreateTHandle(), geBitmap_WriteInfo(), gePixelFormat_BytesPerPel(), gePixelFormat_Description(), gePixelFormat_GetOperations(), gePixelFormat_HasAlpha(), gePixelFormat_HasGoodAlpha(), gePixelFormat_HasPalette(), gePixelFormat_IsRaw(), and SetFormat_Create().
00181 {
00182 if ( (int)Format < 0 || (int)Format >= GE_PIXELFORMAT_COUNT )
00183 return GE_FALSE;
00184 return GE_TRUE;
00185 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 96 of file pixelformat.c. References A, B, G, GENESISAPI, GENESISCC, gePixelFormat_Operations_Array, gePixelFormat_Operations::PutColor, and R. Referenced by BumpMap_ComputePalette(), ElectricFx_InitPalette(), geFont_DrawUsingDIB(), Particles_InitPalette(), PlasmaAnimator_CreatePalette(), ProcUtil_SetPaletteFromString(), and Smoke_InitPalette().
00097 {
00098 const gePixelFormat_Operations * ops;
00099 ops = &gePixelFormat_Operations_Array[Format];
00100 assert(ops);
00101 assert(ops->PutColor);
00102 ops->PutColor(ppData,R,G,B,A);
00103 }
|
|
||||||||||||||||
|
Definition at line 79 of file pixelformat.c. References GENESISAPI, GENESISCC, gePixelFormat_Operations_Array, and gePixelFormat_Operations::PutPixel. Referenced by geBitmap_Palette_SetEntry(), and geBitmap_WriteInfo().
00080 {
00081 const gePixelFormat_Operations * ops;
00082 ops = &gePixelFormat_Operations_Array[Format];
00083 assert(ops);
00084 assert(ops->PutPixel);
00085 ops->PutPixel(ppData,Pixel);
00086 }
|
|
||||||||||||||||||||||||
|
Definition at line 488 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 557 of file pixelformat.c. References A, B, G, R, and uint8.
|
|
||||||||||||||||||||||||
|
Definition at line 524 of file pixelformat.c. References A, B, G, R, and uint8.
|
|
||||||||||||||||||||||||
|
Definition at line 810 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 750 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 780 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 656 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 720 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 594 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 687 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 625 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 455 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 351 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 318 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 420 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 387 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 267 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 294 of file pixelformat.c.
00295 {
00296 }
|
|
|
Definition at line 205 of file pixelformat.c. References uint16, and uint32.
|
|
|
Definition at line 219 of file pixelformat.c. References uint32.
00220 {
00221 uint32 pel;
00222 pel = (*ppData)[0] <<16;
00223 pel += (*ppData)[1] << 8;
00224 pel += (*ppData)[2];
00225 (*ppData) += 3;
00226 return pel;
00227 }
|
|
|
Definition at line 237 of file pixelformat.c. References uint32.
|
|
|
Definition at line 191 of file pixelformat.c.
|
|
|
Definition at line 144 of file pixelformat.c. Referenced by geBitmap_ChooseDriverFormat(), geBitmap_FixDriverFlags(), and gePixelFormat_HasGoodAlpha().
|
|
||||||||||||||||||||||||
|
Definition at line 499 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 567 of file pixelformat.c. References B, G, R, and uint8.
|
|
||||||||||||||||||||||||
|
Definition at line 534 of file pixelformat.c. References B, G, R, and uint8.
|
|
||||||||||||||||||||||||
|
Definition at line 818 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 758 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 788 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 665 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 728 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 603 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 696 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 634 of file pixelformat.c.
|
|
||||||||||||||||||||||||
|
Definition at line 466 of file pixelformat.c. References A, B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 362 of file pixelformat.c. References B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 329 of file pixelformat.c. References B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 431 of file pixelformat.c. References B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 398 of file pixelformat.c. References B, G, R, and uint16.
|
|
||||||||||||||||||||||||
|
Definition at line 275 of file pixelformat.c. References B, G, R, RGB_to_Gray, and V.
00276 {
00277 int V;
00278 V = RGB_to_Gray(R,G,B);
00279 **ppData = V;
00280 (*ppData) += 1;
00281 }
|
|
||||||||||||||||||||||||
|
Definition at line 298 of file pixelformat.c.
00299 {
00300 }
|
|
||||||||||||
|
Definition at line 213 of file pixelformat.c. References uint16.
|
|
||||||||||||
|
Definition at line 229 of file pixelformat.c. References uint8.
|
|
||||||||||||
|
Definition at line 245 of file pixelformat.c. References uint32.
|
|
||||||||||||
|
Definition at line 199 of file pixelformat.c. References uint8.
|
|
|
|
Definition at line 829 of file pixelformat.c. |
1.3.2