mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
much build fixage turns out synaesthesia and smoothwav depend on gtk, maybe they should go to ext/
Original commit message from CVS: much build fixage turns out synaesthesia and smoothwav depend on gtk, maybe they should go to ext/
This commit is contained in:
parent
302e83b4e8
commit
9af006a1f0
9 changed files with 43 additions and 27 deletions
|
@ -1,5 +1,5 @@
|
||||||
SUBDIRS=gst sys ext gst-libs
|
SUBDIRS=gst-libs gst sys ext
|
||||||
|
|
||||||
DIST_SUBDIRS=gst sys ext gst-libs
|
DIST_SUBDIRS=gst-libs gst sys ext
|
||||||
|
|
||||||
EXTRA_DIST=gst-plugins.spec AUTHORS COPYING README ChangeLog
|
EXTRA_DIST=gst-plugins.spec AUTHORS COPYING README ChangeLog
|
||||||
|
|
17
configure.ac
17
configure.ac
|
@ -311,6 +311,21 @@ AC_ARG_WITH(plugins,
|
||||||
|
|
||||||
AC_SUBST(GST_PLUGINS_SELECTED)
|
AC_SUBST(GST_PLUGINS_SELECTED)
|
||||||
|
|
||||||
|
dnl needed for smoothwave, FIXME!
|
||||||
|
if test x$USE_GLIB2 = xno; then
|
||||||
|
AM_PATH_GTK(1.2.0,,
|
||||||
|
AC_MSG_ERROR(Cannot find gtk: Is gtk-config in path?))
|
||||||
|
HAVE_GTK=yes
|
||||||
|
# we have to have it
|
||||||
|
else
|
||||||
|
PKG_CHECK_MODULES(GTK2, gtk+-2.0, HAVE_GTK=yes, HAVE_GTK=no)
|
||||||
|
|
||||||
|
GTK_CFLAGS=$GTK2_CFLAGS
|
||||||
|
GTK_LIBS=$GTK2_LIBS
|
||||||
|
fi
|
||||||
|
AC_SUBST(GTK_LIBS)
|
||||||
|
AC_SUBST(GTK_CFLAGS)
|
||||||
|
|
||||||
dnl ==========================================================================
|
dnl ==========================================================================
|
||||||
dnl ============================= sys plugins ================================
|
dnl ============================= sys plugins ================================
|
||||||
dnl ==========================================================================
|
dnl ==========================================================================
|
||||||
|
@ -1076,7 +1091,6 @@ sys/vcd/Makefile
|
||||||
sys/vga/Makefile
|
sys/vga/Makefile
|
||||||
sys/xvideo/Makefile
|
sys/xvideo/Makefile
|
||||||
ext/Makefile
|
ext/Makefile
|
||||||
ext/a52/Makefile
|
|
||||||
ext/aalib/Makefile
|
ext/aalib/Makefile
|
||||||
ext/alsa/Makefile
|
ext/alsa/Makefile
|
||||||
ext/audiofile/Makefile
|
ext/audiofile/Makefile
|
||||||
|
@ -1088,6 +1102,7 @@ ext/vorbis/Makefile
|
||||||
gst-libs/Makefile
|
gst-libs/Makefile
|
||||||
gst-libs/gst/Makefile
|
gst-libs/gst/Makefile
|
||||||
gst-libs/gst/audio/Makefile
|
gst-libs/gst/audio/Makefile
|
||||||
|
gst-libs/gst/resample/Makefile
|
||||||
gst-plugins.spec
|
gst-plugins.spec
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
if USE_A52
|
#if USE_A52
|
||||||
A52_DIR=a52
|
#A52_DIR=a52
|
||||||
else
|
#else
|
||||||
A52_DIR=
|
#A52_DIR=
|
||||||
endif
|
#endif
|
||||||
|
|
||||||
if USE_AALIB
|
if USE_AALIB
|
||||||
AALIB_DIR=aalib
|
AALIB_DIR=aalib
|
||||||
|
@ -52,9 +52,10 @@ else
|
||||||
VORBIS_DIR=
|
VORBIS_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#$A52_DIR
|
||||||
SUBDIRS=$(A52_DIR) $(AALIB_DIR) $(ALSA_DIR) $(AUDIOFILE_DIR) $(ESD_DIR) \
|
SUBDIRS=$(AALIB_DIR) $(ALSA_DIR) $(AUDIOFILE_DIR) $(ESD_DIR) \
|
||||||
$(LAME_DIR) $(MAD_DIR) \
|
$(LAME_DIR) $(MAD_DIR) \
|
||||||
$(SDL_DIR) $(VORBIS_DIR)
|
$(SDL_DIR) $(VORBIS_DIR)
|
||||||
|
|
||||||
DIST_SUBDIRS=a52 aalib alsa audiofile esd lame mad sdl vorbis
|
#a52
|
||||||
|
DIST_SUBDIRS=aalib alsa audiofile esd lame mad sdl vorbis
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "alsa.h"
|
#include "gstalsa.h"
|
||||||
|
|
||||||
static GstElementDetails gst_alsa_sink_details = {
|
static GstElementDetails gst_alsa_sink_details = {
|
||||||
"Alsa Sink",
|
"Alsa Sink",
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef __GST_ALSA_H__
|
#ifndef __GST_ALSA_H__
|
||||||
#define __GST_ALSA_H__
|
#define __GST_ALSA_H__
|
||||||
|
|
||||||
#include <sys/asoundlib.h>
|
#include <alsa/asoundlib.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <libs/bytestream/gstbytestream.h>
|
#include <libs/bytestream/gstbytestream.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@ filterdir = $(libdir)/gst
|
||||||
filter_LTLIBRARIES = libgstaudioscale.la
|
filter_LTLIBRARIES = libgstaudioscale.la
|
||||||
|
|
||||||
libgstaudioscale_la_SOURCES = gstaudioscale.c
|
libgstaudioscale_la_SOURCES = gstaudioscale.c
|
||||||
libgstaudioscale_la_LIBADD = $(top_builddir)/libs/resample/libresample.la
|
libgstaudioscale_la_LIBADD = $(top_builddir)/gst-libs/gst/resample/libgstresample.la
|
||||||
libgstaudioscale_la_CFLAGS = -ffast-math $(GST_CFLAGS)
|
libgstaudioscale_la_CFLAGS = -ffast-math $(GST_CFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstaudioscale.h
|
noinst_HEADERS = gstaudioscale.h
|
||||||
|
|
|
@ -14,7 +14,7 @@ libgstvideoscale_la_SOURCES = \
|
||||||
gstvideoscale.c \
|
gstvideoscale.c \
|
||||||
videoscale.c \
|
videoscale.c \
|
||||||
$(ARCHSRCS)
|
$(ARCHSRCS)
|
||||||
libvideoscale_la_CFLAGS = -O2 $(FOMIT_FRAME_POINTER) -funroll-all-loops -finline-functions -ffast-math $(GST_CFLAGS)
|
libgstvideoscale_la_CFLAGS = -O2 $(FOMIT_FRAME_POINTER) -funroll-all-loops -finline-functions -ffast-math $(GST_CFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstvideoscale.h videoscale_x86.h
|
noinst_HEADERS = gstvideoscale.h videoscale_x86.h
|
||||||
|
|
||||||
|
|
|
@ -28,15 +28,15 @@
|
||||||
#include "videoscale_x86.h"
|
#include "videoscale_x86.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void gst_videoscale_scale_yuv (Videoscale *scale, unsigned char *src, unsigned char *dest);
|
static void gst_videoscale_scale_yuv (GstVideoscale *scale, unsigned char *src, unsigned char *dest);
|
||||||
static void gst_videoscale_scale_rgb (Videoscale *scale, unsigned char *src, unsigned char *dest);
|
static void gst_videoscale_scale_rgb (GstVideoscale *scale, unsigned char *src, unsigned char *dest);
|
||||||
|
|
||||||
/* scalers */
|
/* scalers */
|
||||||
static void gst_videoscale_scale_nearest (Videoscale *scale, unsigned char *src, unsigned char *dest,
|
static void gst_videoscale_scale_nearest (GstVideoscale *scale, unsigned char *src, unsigned char *dest,
|
||||||
int sw, int sh, int dw, int dh);
|
int sw, int sh, int dw, int dh);
|
||||||
static void gst_videoscale_scale_plane_slow (Videoscale *scale, unsigned char *src, unsigned char *dest,
|
static void gst_videoscale_scale_plane_slow (GstVideoscale *scale, unsigned char *src, unsigned char *dest,
|
||||||
int sw, int sh, int dw, int dh);
|
int sw, int sh, int dw, int dh);
|
||||||
static void gst_videoscale_scale_point_sample (Videoscale *scale, unsigned char *src, unsigned char *dest,
|
static void gst_videoscale_scale_point_sample (GstVideoscale *scale, unsigned char *src, unsigned char *dest,
|
||||||
int sw, int sh, int dw, int dh);
|
int sw, int sh, int dw, int dh);
|
||||||
|
|
||||||
/* filters */
|
/* filters */
|
||||||
|
@ -44,7 +44,7 @@ static unsigned char gst_videoscale_bilinear (unsigned char *src, double x, dou
|
||||||
static unsigned char gst_videoscale_bicubic (unsigned char *src, double x, double y, int sw, int sh);
|
static unsigned char gst_videoscale_bicubic (unsigned char *src, double x, double y, int sw, int sh);
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_videoscale_setup (Videoscale *scale)
|
gst_videoscale_setup (GstVideoscale *scale)
|
||||||
{
|
{
|
||||||
switch (scale->format) {
|
switch (scale->format) {
|
||||||
case GST_MAKE_FOURCC('I','4','2','0'):
|
case GST_MAKE_FOURCC('I','4','2','0'):
|
||||||
|
@ -95,7 +95,7 @@ gst_videoscale_setup (Videoscale *scale)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_videoscale_scale_rgb (Videoscale *scale, unsigned char *src, unsigned char *dest)
|
gst_videoscale_scale_rgb (GstVideoscale *scale, unsigned char *src, unsigned char *dest)
|
||||||
{
|
{
|
||||||
int sw = scale->width;
|
int sw = scale->width;
|
||||||
int sh = scale->height;
|
int sh = scale->height;
|
||||||
|
@ -121,7 +121,7 @@ gst_videoscale_scale_rgb (Videoscale *scale, unsigned char *src, unsigned char *
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_videoscale_scale_yuv (Videoscale *scale, unsigned char *src, unsigned char *dest)
|
gst_videoscale_scale_yuv (GstVideoscale *scale, unsigned char *src, unsigned char *dest)
|
||||||
{
|
{
|
||||||
int sw = scale->width;
|
int sw = scale->width;
|
||||||
int sh = scale->height;
|
int sh = scale->height;
|
||||||
|
@ -214,7 +214,7 @@ gst_videoscale_bicubic (unsigned char *src, double x, double y, int sw, int sh)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_videoscale_scale_plane_slow (Videoscale *scale, unsigned char *src, unsigned char *dest,
|
gst_videoscale_scale_plane_slow (GstVideoscale *scale, unsigned char *src, unsigned char *dest,
|
||||||
int sw, int sh, int dw, int dh)
|
int sw, int sh, int dw, int dh)
|
||||||
{
|
{
|
||||||
double zoomx = ((double)dw)/(double)sw;
|
double zoomx = ((double)dw)/(double)sw;
|
||||||
|
@ -244,7 +244,7 @@ gst_videoscale_scale_plane_slow (Videoscale *scale, unsigned char *src, unsigned
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_videoscale_scale_point_sample (Videoscale *scale, unsigned char *src, unsigned char *dest,
|
gst_videoscale_scale_point_sample (GstVideoscale *scale, unsigned char *src, unsigned char *dest,
|
||||||
int sw, int sh, int dw, int dh)
|
int sw, int sh, int dw, int dh)
|
||||||
{
|
{
|
||||||
int ypos, yinc, y;
|
int ypos, yinc, y;
|
||||||
|
@ -292,7 +292,7 @@ gst_videoscale_scale_point_sample (Videoscale *scale, unsigned char *src, unsign
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_videoscale_scale_nearest (Videoscale *scale,
|
gst_videoscale_scale_nearest (GstVideoscale *scale,
|
||||||
unsigned char *src,
|
unsigned char *src,
|
||||||
unsigned char *dest,
|
unsigned char *dest,
|
||||||
int sw, int sh, int dw, int dh)
|
int sw, int sh, int dw, int dh)
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
/* scalers */
|
/* scalers */
|
||||||
void gst_videoscale_generate_rowbytes_x86 (unsigned char *copy_row, int src_w, int dst_w, int bpp);
|
void gst_videoscale_generate_rowbytes_x86 (unsigned char *copy_row, int src_w, int dst_w, int bpp);
|
||||||
void gst_videoscale_scale_nearest_x86 (Videoscale *scale,
|
void gst_videoscale_scale_nearest_x86 (GstVideoscale *scale,
|
||||||
unsigned char *src, unsigned char *dest,
|
unsigned char *src, unsigned char *dest,
|
||||||
int sw, int sh, int dw, int dh);
|
int sw, int sh, int dw, int dh);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue