Commit fc00857c authored by Sebastian Dröge's avatar Sebastian Dröge

videomixer: Move debug categories into the source files and add debug category...

videomixer: Move debug categories into the source files and add debug category for the blend functions
parent 747070b4
......@@ -44,6 +44,9 @@
#endif
#endif
GST_DEBUG_CATEGORY_STATIC (gst_videomixer_blend_debug);
#define GST_CAT_DEFAULT gst_videomixer_blend_debug
/* Below are the implementations of everything */
/* A32 is for AYUV, ARGB and BGRA */
......@@ -761,6 +764,9 @@ gst_video_mixer_init_blend (void)
cpu_flags = orc_target_get_default_flags (orc_target_get_by_name ("mmx"));
#endif
GST_DEBUG_CATEGORY_INIT (gst_videomixer_blend_debug, "videomixer_blend", 0,
"video mixer blending functions");
gst_video_mixer_blend_argb = blend_argb_c;
gst_video_mixer_blend_bgra = blend_bgra_c;
gst_video_mixer_blend_i420 = blend_i420;
......
......@@ -77,7 +77,8 @@
#include "videomixer.h"
GST_DEBUG_CATEGORY (gst_videomixer_debug);
GST_DEBUG_CATEGORY_STATIC (gst_videomixer_debug);
#define GST_CAT_DEFAULT gst_videomixer_debug
#define GST_VIDEO_MIXER_GET_STATE_LOCK(mix) \
(GST_VIDEO_MIXER(mix)->state_lock)
......
......@@ -25,10 +25,6 @@
#include "videomixerpad.h"
#include "blend.h"
GST_DEBUG_CATEGORY_EXTERN (gst_videomixer_debug);
#define GST_CAT_DEFAULT gst_videomixer_debug
G_BEGIN_DECLS
#define GST_TYPE_VIDEO_MIXER (gst_videomixer_get_type())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment