summaryrefslogtreecommitdiff
path: root/ext/cog
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-21 23:10:08 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-21 23:10:08 +0100
commit23b435d858f36d7a71fce3d36532afb424ceac57 (patch)
treec41d4d0638f525f5eaae4f1066f172b2155d03e6 /ext/cog
parentedbce10db1730ccadbd1b1d23e6d9df15304c272 (diff)
orc: Fix warnings
Diffstat (limited to 'ext/cog')
-rw-r--r--ext/cog/Makefile.am2
-rw-r--r--ext/cog/cogvirtframe.c18
-rw-r--r--ext/cog/generate_tables.c2
-rw-r--r--ext/cog/gstcogmse.c3
-rw-r--r--ext/cog/gstcogutils.c2
5 files changed, 16 insertions, 11 deletions
diff --git a/ext/cog/Makefile.am b/ext/cog/Makefile.am
index 035a44e5a..57ff38465 100644
--- a/ext/cog/Makefile.am
+++ b/ext/cog/Makefile.am
@@ -47,7 +47,7 @@ CLEANFILES = cogorc.c cogorc.h
EXTRA_DIST=cog.orc
cogorc.c: $(srcdir)/cog.orc
- $(AM_V_GEN)$(ORCC) --implementation -o cogorc.c $(srcdir)/cog.orc
+ $(AM_V_GEN)$(ORCC) --include cogorc.h --implementation -o cogorc.c $(srcdir)/cog.orc
cogorc.h: $(srcdir)/cog.orc
$(AM_V_GEN)$(ORCC) --header -o cogorc.h $(srcdir)/cog.orc
diff --git a/ext/cog/cogvirtframe.c b/ext/cog/cogvirtframe.c
index 33367939e..31d561697 100644
--- a/ext/cog/cogvirtframe.c
+++ b/ext/cog/cogvirtframe.c
@@ -257,7 +257,7 @@ cog_virt_frame_render_downsample_horiz_cosite_3tap (CogFrame * frame,
}
}
-void
+static void
cog_virt_frame_render_downsample_horiz_halfsite (CogFrame * frame,
void *_dest, int component, int i)
{
@@ -345,7 +345,7 @@ cog_virt_frame_new_horiz_downsample (CogFrame * vf, int n_taps)
return virt_frame;
}
-void
+static void
cog_virt_frame_render_downsample_vert_cosite (CogFrame * frame,
void *_dest, int component, int i)
{
@@ -412,7 +412,7 @@ cog_virt_frame_render_downsample_vert_halfsite_4tap (CogFrame * frame,
}
-void
+static void
cog_virt_frame_render_downsample_vert_halfsite (CogFrame * frame,
void *_dest, int component, int i)
{
@@ -507,7 +507,7 @@ cog_virt_frame_new_vert_downsample (CogFrame * vf, int n_taps)
return virt_frame;
}
-void
+static void
cog_virt_frame_render_resample_vert_1tap (CogFrame * frame, void *_dest,
int component, int i)
{
@@ -530,7 +530,7 @@ cog_virt_frame_render_resample_vert_1tap (CogFrame * frame, void *_dest,
orc_memcpy (dest, src1, frame->components[component].width);
}
-void
+static void
cog_virt_frame_render_resample_vert_2tap (CogFrame * frame, void *_dest,
int component, int i)
{
@@ -561,7 +561,7 @@ cog_virt_frame_render_resample_vert_2tap (CogFrame * frame, void *_dest,
}
}
-void
+static void
cog_virt_frame_render_resample_vert_4tap (CogFrame * frame, void *_dest,
int component, int i)
{
@@ -624,7 +624,7 @@ cog_virt_frame_new_vert_resample (CogFrame * vf, int height, int n_taps)
return virt_frame;
}
-void
+static void
cog_virt_frame_render_resample_horiz_1tap (CogFrame * frame, void *_dest,
int component, int i)
{
@@ -645,7 +645,7 @@ cog_virt_frame_render_resample_horiz_1tap (CogFrame * frame, void *_dest,
}
}
-void
+static void
cog_virt_frame_render_resample_horiz_2tap (CogFrame * frame, void *_dest,
int component, int i)
{
@@ -692,7 +692,7 @@ cog_virt_frame_render_resample_horiz_2tap (CogFrame * frame, void *_dest,
}
}
-void
+static void
cog_virt_frame_render_resample_horiz_4tap (CogFrame * frame, void *_dest,
int component, int i)
{
diff --git a/ext/cog/generate_tables.c b/ext/cog/generate_tables.c
index 2bc8dc1c6..d775bcc21 100644
--- a/ext/cog/generate_tables.c
+++ b/ext/cog/generate_tables.c
@@ -8,7 +8,7 @@
#define SCALE 256
-void
+static void
get_taps (double *taps, double x)
{
taps[3] = x * x * (x - 1);
diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c
index d14fb1b9b..cf4e77ccd 100644
--- a/ext/cog/gstcogmse.c
+++ b/ext/cog/gstcogmse.c
@@ -74,6 +74,9 @@ struct _GstMSEClass
GstElementClass parent;
};
+GType gst_mse_get_type (void);
+
+
enum
{
PROP_0,
diff --git a/ext/cog/gstcogutils.c b/ext/cog/gstcogutils.c
index da37d9573..4d7c8b99f 100644
--- a/ext/cog/gstcogutils.c
+++ b/ext/cog/gstcogutils.c
@@ -21,6 +21,8 @@
#include "config.h"
#endif
+#include "gstcogutils.h"
+
#include <gst/gst.h>
#include <gst/video/video.h>
#include <cog/cog.h>