mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
07c1dceae0
Original commit message from CVS: * gst/goom/filters.c: (zoomFilterNew), (calculatePXandPY), (setPixelRGB), (setPixelRGB_), (getPixelRGB), (getPixelRGB_), (zoomFilterSetResolution), (zoomFilterDestroy), (zoomFilterFastRGB), (pointFilter): * gst/goom/filters.h: * gst/goom/goom_core.c: (goom_init), (goom_set_resolution), (goom_update), (goom_close): * gst/goom/goom_core.h: * gst/goom/goom_tools.h: * gst/goom/graphic.c: * gst/goom/gstgoom.c: (gst_goom_class_init), (gst_goom_init), (gst_goom_dispose), (gst_goom_src_setcaps), (gst_goom_chain): * gst/goom/gstgoom.h: * gst/goom/lines.c: (goom_lines): * gst/goom/lines.h: Make goom reentrant by moving all important static variables into instance structures. (Fixes #329181)
14 lines
380 B
C
14 lines
380 B
C
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include "graphic.h"
|
|
|
|
const Color BLACK = { 0, 0, 0 };
|
|
const Color WHITE = { 0xff, 0xff, 0xff };
|
|
const Color RED = { 0xff, 0, 0 };
|
|
const Color GREEN = { 0, 0xff, 0 };
|
|
const Color BLUE = { 0, 0, 0xff };
|
|
const Color YELLOW = { 0xff, 0xff, 0x33 };
|
|
const Color ORANGE = { 0xff, 0xcc, 0x00 };
|
|
const Color VIOLET = { 0x55, 0x00, 0xff };
|