mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
videomixer: Move debug categories into the source files and add debug category for the blend functions
This commit is contained in:
parent
747070b475
commit
fc00857c82
3 changed files with 8 additions and 5 deletions
|
@ -44,6 +44,9 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_STATIC (gst_videomixer_blend_debug);
|
||||||
|
#define GST_CAT_DEFAULT gst_videomixer_blend_debug
|
||||||
|
|
||||||
/* Below are the implementations of everything */
|
/* Below are the implementations of everything */
|
||||||
|
|
||||||
/* A32 is for AYUV, ARGB and BGRA */
|
/* 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"));
|
cpu_flags = orc_target_get_default_flags (orc_target_get_by_name ("mmx"));
|
||||||
#endif
|
#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_argb = blend_argb_c;
|
||||||
gst_video_mixer_blend_bgra = blend_bgra_c;
|
gst_video_mixer_blend_bgra = blend_bgra_c;
|
||||||
gst_video_mixer_blend_i420 = blend_i420;
|
gst_video_mixer_blend_i420 = blend_i420;
|
||||||
|
|
|
@ -77,7 +77,8 @@
|
||||||
|
|
||||||
#include "videomixer.h"
|
#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) \
|
#define GST_VIDEO_MIXER_GET_STATE_LOCK(mix) \
|
||||||
(GST_VIDEO_MIXER(mix)->state_lock)
|
(GST_VIDEO_MIXER(mix)->state_lock)
|
||||||
|
|
|
@ -25,10 +25,6 @@
|
||||||
#include "videomixerpad.h"
|
#include "videomixerpad.h"
|
||||||
#include "blend.h"
|
#include "blend.h"
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_EXTERN (gst_videomixer_debug);
|
|
||||||
#define GST_CAT_DEFAULT gst_videomixer_debug
|
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_TYPE_VIDEO_MIXER (gst_videomixer_get_type())
|
#define GST_TYPE_VIDEO_MIXER (gst_videomixer_get_type())
|
||||||
|
|
Loading…
Reference in a new issue