mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
4d3b1472e7
Original commit message from CVS: Added a goom plugin (goom.sourceforge.net) to test: ./gst-launch filesrc location=/opt/data/south.mp3 ! mad ! tee silent=true src%d! goom ! colorspace ! xvideosink tee0.src%d! osssink
24 lines
480 B
C
24 lines
480 B
C
#ifndef GRAPHIC_H
|
|
#define GRAPHIC_H
|
|
|
|
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;
|
|
|
|
inline void setPixelRGB (Uint *buffer, Uint x, Uint y, Color c) ;
|
|
inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) ;
|
|
|
|
#endif /*GRAPHIC_H*/
|