mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-02 18:23:56 +00:00
configure.ac: update for swfdec-0.3 and liboil-0.2
Original commit message from CVS: * configure.ac: update for swfdec-0.3 and liboil-0.2 * ext/swfdec/gstswfdec.c: update for swfdec-0.3 * ext/swfdec/gstswfdec.h: same * gst/videofilter/gstvideobalance.c: update for liboil-0.2 * gst/videotestsrc/videotestsrc.c: same
This commit is contained in:
parent
1989b502da
commit
7aa6ed756e
3 changed files with 31 additions and 23 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-10-14 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* configure.ac: update for swfdec-0.3 and liboil-0.2
|
||||||
|
* ext/swfdec/gstswfdec.c: update for swfdec-0.3
|
||||||
|
* ext/swfdec/gstswfdec.h: same
|
||||||
|
* gst/videofilter/gstvideobalance.c: update for liboil-0.2
|
||||||
|
* gst/videotestsrc/videotestsrc.c: same
|
||||||
|
|
||||||
2004-10-14 Wim Taymans <wim@fluendo.com>
|
2004-10-14 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
|
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
|
||||||
|
|
|
@ -306,7 +306,7 @@ if test "x$HAVE_GDK_LOADERS" = "xyes"; then
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(HAVE_GDK_LOADERS, test "x$HAVE_GDK_LOADERS" = "xyes")
|
AM_CONDITIONAL(HAVE_GDK_LOADERS, test "x$HAVE_GDK_LOADERS" = "xyes")
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIBOIL, liboil-0.1, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
|
PKG_CHECK_MODULES(LIBOIL, liboil-0.2, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
|
||||||
AC_SUBST(LIBOIL_CFLAGS)
|
AC_SUBST(LIBOIL_CFLAGS)
|
||||||
AC_SUBST(LIBOIL_LIBS)
|
AC_SUBST(LIBOIL_LIBS)
|
||||||
if test "x${HAVE_LIBOIL}" = xyes ; then
|
if test "x${HAVE_LIBOIL}" = xyes ; then
|
||||||
|
@ -1490,7 +1490,7 @@ GST_CHECK_FEATURE(SNDFILE, [sndfile plug-in], sfsrc sfsink, [
|
||||||
dnl *** swfdec ***
|
dnl *** swfdec ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_SWFDEC, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_SWFDEC, true)
|
||||||
GST_CHECK_FEATURE(SWFDEC, [swfdec plug-in], swfdec, [
|
GST_CHECK_FEATURE(SWFDEC, [swfdec plug-in], swfdec, [
|
||||||
PKG_CHECK_MODULES(SWFDEC, swfdec >= 0.1.3.1, HAVE_SWFDEC=yes, HAVE_SWFDEC=no)
|
PKG_CHECK_MODULES(SWFDEC, swfdec-0.3 >= 0.3.0, HAVE_SWFDEC=yes, HAVE_SWFDEC=no)
|
||||||
AC_SUBST(SWFDEC_CFLAGS)
|
AC_SUBST(SWFDEC_CFLAGS)
|
||||||
AC_SUBST(SWFDEC_LIBS)
|
AC_SUBST(SWFDEC_LIBS)
|
||||||
])
|
])
|
||||||
|
|
|
@ -747,7 +747,7 @@ paint_setup_YVYU (paintinfo * p, char *dest)
|
||||||
|
|
||||||
#ifndef HAVE_LIBOIL
|
#ifndef HAVE_LIBOIL
|
||||||
void
|
void
|
||||||
splat_u8 (guint8 * dest, int dstr, guint8 val, int n)
|
oil_splat_u8 (guint8 * dest, int dstr, guint8 val, int n)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -766,9 +766,9 @@ paint_hline_YUY2 (paintinfo * p, int x, int y, int w)
|
||||||
int offset;
|
int offset;
|
||||||
|
|
||||||
offset = y * p->ystride;
|
offset = y * p->ystride;
|
||||||
splat_u8 (p->yp + offset + x * 2, 2, p->color->Y, w);
|
oil_splat_u8 (p->yp + offset + x * 2, 2, p->color->Y, w);
|
||||||
splat_u8 (p->up + offset + x1 * 4, 4, p->color->U, x2 - x1);
|
oil_splat_u8 (p->up + offset + x1 * 4, 4, p->color->U, x2 - x1);
|
||||||
splat_u8 (p->vp + offset + x1 * 4, 4, p->color->V, x2 - x1);
|
oil_splat_u8 (p->vp + offset + x1 * 4, 4, p->color->V, x2 - x1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -788,9 +788,9 @@ paint_hline_IYU2 (paintinfo * p, int x, int y, int w)
|
||||||
int offset;
|
int offset;
|
||||||
|
|
||||||
offset = y * p->ystride;
|
offset = y * p->ystride;
|
||||||
splat_u8 (p->yp + offset + x * 3, 3, p->color->Y, w);
|
oil_splat_u8 (p->yp + offset + x * 3, 3, p->color->Y, w);
|
||||||
splat_u8 (p->up + offset + x * 3, 3, p->color->U, w);
|
oil_splat_u8 (p->up + offset + x * 3, 3, p->color->U, w);
|
||||||
splat_u8 (p->vp + offset + x * 3, 3, p->color->V, w);
|
oil_splat_u8 (p->vp + offset + x * 3, 3, p->color->V, w);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -964,9 +964,9 @@ paint_hline_str4 (paintinfo * p, int x, int y, int w)
|
||||||
{
|
{
|
||||||
int offset = y * p->ystride;
|
int offset = y * p->ystride;
|
||||||
|
|
||||||
splat_u8 (p->yp + offset + x * 4, 4, p->color->R, w);
|
oil_splat_u8 (p->yp + offset + x * 4, 4, p->color->R, w);
|
||||||
splat_u8 (p->up + offset + x * 4, 4, p->color->G, w);
|
oil_splat_u8 (p->up + offset + x * 4, 4, p->color->G, w);
|
||||||
splat_u8 (p->vp + offset + x * 4, 4, p->color->B, w);
|
oil_splat_u8 (p->vp + offset + x * 4, 4, p->color->B, w);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -974,9 +974,9 @@ paint_hline_str3 (paintinfo * p, int x, int y, int w)
|
||||||
{
|
{
|
||||||
int offset = y * p->ystride;
|
int offset = y * p->ystride;
|
||||||
|
|
||||||
splat_u8 (p->yp + offset + x * 3, 3, p->color->R, w);
|
oil_splat_u8 (p->yp + offset + x * 3, 3, p->color->R, w);
|
||||||
splat_u8 (p->up + offset + x * 3, 3, p->color->G, w);
|
oil_splat_u8 (p->up + offset + x * 3, 3, p->color->G, w);
|
||||||
splat_u8 (p->vp + offset + x * 3, 3, p->color->B, w);
|
oil_splat_u8 (p->vp + offset + x * 3, 3, p->color->B, w);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -997,11 +997,11 @@ paint_hline_RGB565 (paintinfo * p, int x, int y, int w)
|
||||||
b = ((p->color->G << 3) & 0xe0) | (p->color->B >> 3);
|
b = ((p->color->G << 3) & 0xe0) | (p->color->B >> 3);
|
||||||
|
|
||||||
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
||||||
splat_u8 (p->yp + offset + x * 2 + 0, 2, b, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 0, 2, b, w);
|
||||||
splat_u8 (p->yp + offset + x * 2 + 1, 2, a, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 1, 2, a, w);
|
||||||
#else
|
#else
|
||||||
splat_u8 (p->yp + offset + x * 2 + 0, 2, a, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 0, 2, a, w);
|
||||||
splat_u8 (p->yp + offset + x * 2 + 1, 2, b, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 1, 2, b, w);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1023,10 +1023,10 @@ paint_hline_xRGB1555 (paintinfo * p, int x, int y, int w)
|
||||||
b = ((p->color->G << 2) & 0xe0) | (p->color->B >> 3);
|
b = ((p->color->G << 2) & 0xe0) | (p->color->B >> 3);
|
||||||
|
|
||||||
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
||||||
splat_u8 (p->yp + offset + x * 2 + 0, 2, b, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 0, 2, b, w);
|
||||||
splat_u8 (p->yp + offset + x * 2 + 1, 2, a, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 1, 2, a, w);
|
||||||
#else
|
#else
|
||||||
splat_u8 (p->yp + offset + x * 2 + 0, 2, a, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 0, 2, a, w);
|
||||||
splat_u8 (p->yp + offset + x * 2 + 1, 2, b, w);
|
oil_splat_u8 (p->yp + offset + x * 2 + 1, 2, b, w);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue