mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 10:59:39 +00:00
97f39d4647
Original commit message from CVS: * gst/goom/filters.c: * gst/goom/graphic.h: * gst/goom/lines.c: Make inline functions either 'static inline' or 'extern inline', otherwise the Forte compiler apparently won't inline them (#317300).
26 lines
558 B
C
26 lines
558 B
C
#ifndef GRAPHIC_H
|
|
#define GRAPHIC_H
|
|
|
|
#include <glib.h> /* defines inline for better portability */
|
|
|
|
typedef unsigned int Uint;
|
|
|
|
typedef struct
|
|
{
|
|
unsigned short r,v,b;
|
|
}
|
|
Color;
|
|
|
|
extern const Color BLACK;
|
|
extern const Color WHITE;
|
|
extern const Color RED;
|
|
extern const Color BLUE;
|
|
extern const Color GREEN;
|
|
extern const Color YELLOW;
|
|
extern const Color ORANGE;
|
|
extern const Color VIOLET;
|
|
|
|
extern inline void setPixelRGB (Uint *buffer, Uint x, Uint y, Color c) ;
|
|
extern inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) ;
|
|
|
|
#endif /*GRAPHIC_H*/
|