orc: Fix warnings

This commit is contained in:
Benjamin Otte 2010-03-21 23:10:08 +01:00
parent edbce10db1
commit 23b435d858
5 changed files with 16 additions and 11 deletions

View file

@ -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

View file

@ -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)
{

View file

@ -8,7 +8,7 @@
#define SCALE 256
void
static void
get_taps (double *taps, double x)
{
taps[3] = x * x * (x - 1);

View file

@ -74,6 +74,9 @@ struct _GstMSEClass
GstElementClass parent;
};
GType gst_mse_get_type (void);
enum
{
PROP_0,

View file

@ -21,6 +21,8 @@
#include "config.h"
#endif
#include "gstcogutils.h"
#include <gst/gst.h>
#include <gst/video/video.h>
#include <cog/cog.h>