Searched refs:deARGB (Results 1 – 5 of 5) sorted by relevance
/external/deqp/framework/delibs/deimage/ |
D | deARGB.h | 30 typedef deUint32 deARGB; typedef 32 DE_INLINE deARGB deARGB_set (int r, int g, int b, int a) in deARGB_set() 41 DE_INLINE deARGB deARGB_white (void) { return deARGB_set(0xFF, 0xFF, 0xFF, 0xFF); } in deARGB_white() 42 DE_INLINE deARGB deARGB_black (void) { return deARGB_set(0, 0, 0, 0xFF); } in deARGB_black() 44 DE_INLINE int deARGB_getRed (deARGB argb) { return (int)((argb >> 16) & 0xFF); } in deARGB_getRed() 45 DE_INLINE int deARGB_getGreen (deARGB argb) { return (int)((argb >> 8) & 0xFF); } in deARGB_getGreen() 46 DE_INLINE int deARGB_getBlue (deARGB argb) { return (int)((argb >> 0) & 0xFF); } in deARGB_getBlue() 47 DE_INLINE int deARGB_getAlpha (deARGB argb) { return (int)((argb >> 24) & 0xFF); } in deARGB_getAlpha() 49 DE_INLINE deARGB deARGB_multiply (deARGB argb, int f) in deARGB_multiply() 61 DE_INLINE deARGB deARGB_add (deARGB a, deARGB b) in deARGB_add()
|
D | deImage.c | 71 deARGB deImage_getPixel (const deImage* image, int x, int y) in deImage_getPixel() 76 case DE_IMAGEFORMAT_XRGB8888: return *(deARGB*)addr; in deImage_getPixel() 77 case DE_IMAGEFORMAT_ARGB8888: return *(deARGB*)addr; in deImage_getPixel() 84 void deImage_setPixel (deImage* image, int x, int y, deARGB argb) in deImage_setPixel() 89 case DE_IMAGEFORMAT_XRGB8888: *(deARGB*)addr = argb; break; in deImage_setPixel() 90 case DE_IMAGEFORMAT_ARGB8888: *(deARGB*)addr = argb; break; in deImage_setPixel() 147 deARGB p00 = deImage_getPixel(srcImage, x0, y0); in deImage_scale() 148 deARGB p10 = deImage_getPixel(srcImage, x1, y0); in deImage_scale() 149 deARGB p01 = deImage_getPixel(srcImage, x0, y1); in deImage_scale() 150 deARGB p11 = deImage_getPixel(srcImage, x1, y1); in deImage_scale() [all …]
|
D | deImage.h | 52 deARGB deImage_getPixel (const deImage* image, int x, int y); 53 void deImage_setPixel (deImage* image, int x, int y, deARGB argb);
|
D | CMakeLists.txt | 8 deARGB.h
|
D | deTarga.c | 86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp); in deImage_loadTarga()
|