mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
videomixer: orc_init() doesn't need to be called
There's no need to call orc_init() unless you're using the Orc API directly. All code created by orcc is guaranteed to work without calling orc_init().
This commit is contained in:
parent
6143a60bdb
commit
85aed94676
|
@ -32,9 +32,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <gst/video/video.h>
|
#include <gst/video/video.h>
|
||||||
#ifdef HAVE_ORC
|
|
||||||
#include <orc/orc.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define BLEND(D,S,alpha) (((D) * (256 - (alpha)) + (S) * (alpha)) >> 8)
|
#define BLEND(D,S,alpha) (((D) * (256 - (alpha)) + (S) * (alpha)) >> 8)
|
||||||
|
|
||||||
|
@ -722,10 +719,6 @@ FillColorFunction gst_video_mixer_fill_color_uyvy;
|
||||||
void
|
void
|
||||||
gst_video_mixer_init_blend (void)
|
gst_video_mixer_init_blend (void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_ORC
|
|
||||||
orc_init ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_videomixer_blend_debug, "videomixer_blend", 0,
|
GST_DEBUG_CATEGORY_INIT (gst_videomixer_blend_debug, "videomixer_blend", 0,
|
||||||
"video mixer blending functions");
|
"video mixer blending functions");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue