mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
test commentation
Original commit message from CVS: test commentation
This commit is contained in:
parent
f12f450410
commit
1d9413fe2f
3 changed files with 13 additions and 4 deletions
|
@ -1,8 +1,14 @@
|
||||||
noinst_PROGRAMS = test1 test2
|
if HAVE_NASM
|
||||||
|
TEST1=test1
|
||||||
|
else
|
||||||
|
TEST1=
|
||||||
|
endif
|
||||||
|
|
||||||
test1_SOURCES = test1.c gstbuffer.c gstmempool.c
|
noinst_PROGRAMS = $(TEST1) test2
|
||||||
|
|
||||||
|
test1_SOURCES = test1.c $(top_srcdir)/gst/gstbuffer.c gstmempool.c
|
||||||
|
|
||||||
EXTRA_DIST = gstbuffer.h gstmempool.h
|
EXTRA_DIST = gstbuffer.h gstmempool.h
|
||||||
|
|
||||||
LDADD = $(GST_LIBS)
|
LDADD = $(GST_LIBS)
|
||||||
AM_CFLAGS = $(GST_CFLAGS)
|
CFLAGS = $(GST_CFLAGS)
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
#define GST_MEM_POOL_DATA(pool) ((gpointer)(((GstMemPoolElement*)(pool)) + 1))
|
#define GST_MEM_POOL_DATA(pool) ((gpointer)(((GstMemPoolElement*)(pool)) + 1))
|
||||||
#define GST_MEM_POOL_LINK(mem) ((GstMemPoolElement*)((guint8*)(mem) - sizeof (GstMemPoolElement)))
|
#define GST_MEM_POOL_LINK(mem) ((GstMemPoolElement*)((guint8*)(mem) - sizeof (GstMemPoolElement)))
|
||||||
|
|
||||||
|
#ifdef HAVE_NASM
|
||||||
#define USE_ASM
|
#define USE_ASM
|
||||||
|
#endif
|
||||||
|
|
||||||
/*******************************************************
|
/*******************************************************
|
||||||
* area size
|
* area size
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "gstbuffer.h"
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
#include "gst/gstbuffer.h"
|
||||||
|
#include "gst/gstbufferpool-default.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
|
|
Loading…
Reference in a new issue