mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 20:12:28 +00:00
tests/check/: generate and add structure size lists for x86_64
Original commit message from CVS: * tests/check/Makefile.am: * tests/check/gst/gstabi.c: * tests/check/gst/struct_x86_64.h: * tests/check/libs/libsabi.c: * tests/check/libs/struct_x86_64.h: generate and add structure size lists for x86_64
This commit is contained in:
parent
3a177aa40e
commit
f6284c80cb
6 changed files with 211 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* tests/check/Makefile.am:
|
||||||
|
* tests/check/gst/gstabi.c:
|
||||||
|
* tests/check/gst/struct_x86_64.h:
|
||||||
|
* tests/check/libs/libsabi.c:
|
||||||
|
* tests/check/libs/struct_x86_64.h:
|
||||||
|
generate and add structure size lists for x86_64
|
||||||
|
|
||||||
2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* libs/gst/check/gstcheck.c: (gst_check_abi_list):
|
* libs/gst/check/gstcheck.c: (gst_check_abi_list):
|
||||||
|
|
|
@ -90,7 +90,12 @@ noinst_PROGRAMS = \
|
||||||
|
|
||||||
TESTS = $(check_PROGRAMS)
|
TESTS = $(check_PROGRAMS)
|
||||||
|
|
||||||
noinst_HEADERS = gst/capslist.h gst/struct_i386.h libs/struct_i386.h
|
noinst_HEADERS = \
|
||||||
|
gst/capslist.h \
|
||||||
|
gst/struct_i386.h \
|
||||||
|
gst/struct_x86_64.h \
|
||||||
|
libs/struct_i386.h \
|
||||||
|
libs/struct_x86_64.h
|
||||||
|
|
||||||
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
|
||||||
LDADD = $(top_builddir)/libs/gst/check/libgstcheck-@GST_MAJORMINOR@.la \
|
LDADD = $(top_builddir)/libs/gst/check/libgstcheck-@GST_MAJORMINOR@.la \
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#else
|
#else
|
||||||
#ifdef HAVE_CPU_X86_64
|
#ifdef HAVE_CPU_X86_64
|
||||||
#include "struct_x86_64.h"
|
#include "struct_x86_64.h"
|
||||||
|
#define HAVE_ABI_SIZES TRUE
|
||||||
#else
|
#else
|
||||||
/* in case someone wants to generate a new arch */
|
/* in case someone wants to generate a new arch */
|
||||||
#include "struct_i386.h"
|
#include "struct_i386.h"
|
||||||
|
|
143
tests/check/gst/struct_x86_64.h
Normal file
143
tests/check/gst/struct_x86_64.h
Normal file
|
@ -0,0 +1,143 @@
|
||||||
|
GstCheckABIStruct list[] = {
|
||||||
|
{"GstBin", sizeof (GstBin), 336}
|
||||||
|
,
|
||||||
|
{"GstBinClass", sizeof (GstBinClass), 568}
|
||||||
|
,
|
||||||
|
{"GstBuffer", sizeof (GstBuffer), 120}
|
||||||
|
,
|
||||||
|
{"GstBufferClass", sizeof (GstBufferClass), 32}
|
||||||
|
,
|
||||||
|
{"GstBus", sizeof (GstBus), 152}
|
||||||
|
,
|
||||||
|
{"GstBusClass", sizeof (GstBusClass), 288}
|
||||||
|
,
|
||||||
|
{"GstCaps", sizeof (GstCaps), 56}
|
||||||
|
,
|
||||||
|
{"GstStaticCaps", sizeof (GstStaticCaps), 96}
|
||||||
|
,
|
||||||
|
{"GstChildProxyInterface", sizeof (GstChildProxyInterface), 80}
|
||||||
|
,
|
||||||
|
{"GstClockEntry", sizeof (GstClockEntry), 64}
|
||||||
|
,
|
||||||
|
{"GstClock", sizeof (GstClock), 240}
|
||||||
|
,
|
||||||
|
{"GstClockClass", sizeof (GstClockClass), 320}
|
||||||
|
,
|
||||||
|
{"GstElement", sizeof (GstElement), 232}
|
||||||
|
,
|
||||||
|
{"GstElementClass", sizeof (GstElementClass), 488}
|
||||||
|
,
|
||||||
|
{"GstElementFactory", sizeof (GstElementFactory), 280}
|
||||||
|
,
|
||||||
|
{"GstElementFactoryClass", sizeof (GstElementFactoryClass), 304}
|
||||||
|
,
|
||||||
|
{"GstElementDetails", sizeof (GstElementDetails), 64}
|
||||||
|
,
|
||||||
|
{"GstEvent", sizeof (GstEvent), 64}
|
||||||
|
,
|
||||||
|
{"GstEventClass", sizeof (GstEventClass), 64}
|
||||||
|
,
|
||||||
|
{"GstFormatDefinition", sizeof (GstFormatDefinition), 32}
|
||||||
|
,
|
||||||
|
{"GstIndexEntry", sizeof (GstIndexEntry), 32}
|
||||||
|
,
|
||||||
|
{"GstIndexGroup", sizeof (GstIndexGroup), 24}
|
||||||
|
,
|
||||||
|
{"GstIndex", sizeof (GstIndex), 192}
|
||||||
|
,
|
||||||
|
{"GstIndexClass", sizeof (GstIndexClass), 312}
|
||||||
|
,
|
||||||
|
{"GstIndexAssociation", sizeof (GstIndexAssociation), 16}
|
||||||
|
,
|
||||||
|
{"GstIndexFactory", sizeof (GstIndexFactory), 192}
|
||||||
|
,
|
||||||
|
{"GstIndexFactoryClass", sizeof (GstIndexFactoryClass), 304}
|
||||||
|
,
|
||||||
|
{"GstDebugCategory", sizeof (GstDebugCategory), 24}
|
||||||
|
,
|
||||||
|
{"GstImplementsInterfaceClass", sizeof (GstImplementsInterfaceClass), 56}
|
||||||
|
,
|
||||||
|
{"GstIterator", sizeof (GstIterator), 104}
|
||||||
|
,
|
||||||
|
{"GstMessage", sizeof (GstMessage), 104}
|
||||||
|
,
|
||||||
|
{"GstMessageClass", sizeof (GstMessageClass), 64}
|
||||||
|
,
|
||||||
|
{"GstMiniObject", sizeof (GstMiniObject), 24}
|
||||||
|
,
|
||||||
|
{"GstMiniObjectClass", sizeof (GstMiniObjectClass), 32}
|
||||||
|
,
|
||||||
|
{"GstObject", sizeof (GstObject), 80}
|
||||||
|
,
|
||||||
|
{"GstObjectClass", sizeof (GstObjectClass), 240}
|
||||||
|
,
|
||||||
|
{"GstPad", sizeof (GstPad), 368}
|
||||||
|
,
|
||||||
|
{"GstPadClass", sizeof (GstPadClass), 304}
|
||||||
|
,
|
||||||
|
{"GstPadTemplate", sizeof (GstPadTemplate), 136}
|
||||||
|
,
|
||||||
|
{"GstPadTemplateClass", sizeof (GstPadTemplateClass), 280}
|
||||||
|
,
|
||||||
|
{"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 112}
|
||||||
|
,
|
||||||
|
{"GstPipeline", sizeof (GstPipeline), 392}
|
||||||
|
,
|
||||||
|
{"GstPipelineClass", sizeof (GstPipelineClass), 600}
|
||||||
|
,
|
||||||
|
{"GstPlugin", sizeof (GstPlugin), 280}
|
||||||
|
,
|
||||||
|
{"GstPluginClass", sizeof (GstPluginClass), 272}
|
||||||
|
,
|
||||||
|
{"GstPluginDesc", sizeof (GstPluginDesc), 104}
|
||||||
|
,
|
||||||
|
{"GstPluginFeature", sizeof (GstPluginFeature), 144}
|
||||||
|
,
|
||||||
|
{"GstPluginFeatureClass", sizeof (GstPluginFeatureClass), 272}
|
||||||
|
,
|
||||||
|
{"GstQueryTypeDefinition", sizeof (GstQueryTypeDefinition), 32}
|
||||||
|
,
|
||||||
|
{"GstQuery", sizeof (GstQuery), 48}
|
||||||
|
,
|
||||||
|
{"GstQueryClass", sizeof (GstQueryClass), 64}
|
||||||
|
,
|
||||||
|
{"GstRegistry", sizeof (GstRegistry), 144}
|
||||||
|
,
|
||||||
|
{"GstRegistryClass", sizeof (GstRegistryClass), 288}
|
||||||
|
,
|
||||||
|
{"GstSegment", sizeof (GstSegment), 104}
|
||||||
|
,
|
||||||
|
{"GstStructure", sizeof (GstStructure), 40}
|
||||||
|
,
|
||||||
|
{"GstSystemClock", sizeof (GstSystemClock), 288}
|
||||||
|
,
|
||||||
|
{"GstSystemClockClass", sizeof (GstSystemClockClass), 352}
|
||||||
|
,
|
||||||
|
{"GstTagSetterIFace", sizeof (GstTagSetterIFace), 16}
|
||||||
|
,
|
||||||
|
{"GstTask", sizeof (GstTask), 160}
|
||||||
|
,
|
||||||
|
{"GstTaskClass", sizeof (GstTaskClass), 280}
|
||||||
|
,
|
||||||
|
{"GstTrace", sizeof (GstTrace), 32}
|
||||||
|
,
|
||||||
|
{"GstTraceEntry", sizeof (GstTraceEntry), 128}
|
||||||
|
,
|
||||||
|
{"GstAllocTrace", sizeof (GstAllocTrace), 24}
|
||||||
|
,
|
||||||
|
{"GstTypeFind", sizeof (GstTypeFind), 64}
|
||||||
|
,
|
||||||
|
{"GstTypeFindFactory", sizeof (GstTypeFindFactory), 216}
|
||||||
|
,
|
||||||
|
{"GstTypeFindFactoryClass", sizeof (GstTypeFindFactoryClass), 304}
|
||||||
|
,
|
||||||
|
{"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 88}
|
||||||
|
,
|
||||||
|
{"GstValueTable", sizeof (GstValueTable), 64}
|
||||||
|
,
|
||||||
|
{"GstXML", sizeof (GstXML), 128}
|
||||||
|
,
|
||||||
|
{"GstXMLClass", sizeof (GstXMLClass), 288}
|
||||||
|
,
|
||||||
|
{NULL, 0, 0}
|
||||||
|
};
|
|
@ -39,11 +39,15 @@
|
||||||
#include "struct_i386.h"
|
#include "struct_i386.h"
|
||||||
#define HAVE_ABI_SIZES TRUE
|
#define HAVE_ABI_SIZES TRUE
|
||||||
#else
|
#else
|
||||||
|
#ifdef HAVE_CPU_X86_64
|
||||||
|
#include "struct_x86_64.h"
|
||||||
|
#define HAVE_ABI_SIZES TRUE
|
||||||
|
#else
|
||||||
/* in case someone wants to generate a new arch */
|
/* in case someone wants to generate a new arch */
|
||||||
#include "struct_i386.h"
|
#include "struct_i386.h"
|
||||||
#define HAVE_ABI_SIZES FALSE
|
#define HAVE_ABI_SIZES FALSE
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_START_TEST (test_ABI)
|
GST_START_TEST (test_ABI)
|
||||||
{
|
{
|
||||||
|
|
47
tests/check/libs/struct_x86_64.h
Normal file
47
tests/check/libs/struct_x86_64.h
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
GstCheckABIStruct list[] = {
|
||||||
|
{"GstAdapter", sizeof (GstAdapter), 88}
|
||||||
|
,
|
||||||
|
{"GstAdapterClass", sizeof (GstAdapterClass), 168}
|
||||||
|
,
|
||||||
|
{"GstBaseSink", sizeof (GstBaseSink), 600}
|
||||||
|
,
|
||||||
|
{"GstBaseSinkClass", sizeof (GstBaseSinkClass), 728}
|
||||||
|
,
|
||||||
|
{"GstBaseSrc", sizeof (GstBaseSrc), 600}
|
||||||
|
,
|
||||||
|
{"GstBaseSrcClass", sizeof (GstBaseSrcClass), 744}
|
||||||
|
,
|
||||||
|
{"GstBaseTransform", sizeof (GstBaseTransform), 576}
|
||||||
|
,
|
||||||
|
{"GstBaseTransformClass", sizeof (GstBaseTransformClass), 744}
|
||||||
|
,
|
||||||
|
{"GstCollectData", sizeof (GstCollectData), 168}
|
||||||
|
,
|
||||||
|
{"GstCollectPads", sizeof (GstCollectPads), 168}
|
||||||
|
,
|
||||||
|
{"GstCollectPadsClass", sizeof (GstCollectPadsClass), 272}
|
||||||
|
,
|
||||||
|
{"GstPushSrc", sizeof (GstPushSrc), 632}
|
||||||
|
,
|
||||||
|
{"GstPushSrcClass", sizeof (GstPushSrcClass), 784}
|
||||||
|
,
|
||||||
|
{"GstTimedValue", sizeof (GstTimedValue), 32}
|
||||||
|
,
|
||||||
|
{"GstValueArray", sizeof (GstValueArray), 32}
|
||||||
|
,
|
||||||
|
{"GstController", sizeof (GstController), 80}
|
||||||
|
,
|
||||||
|
{"GstControllerClass", sizeof (GstControllerClass), 168}
|
||||||
|
,
|
||||||
|
{"GstNetClientClock", sizeof (GstNetClientClock), 368}
|
||||||
|
,
|
||||||
|
{"GstNetClientClockClass", sizeof (GstNetClientClockClass), 384}
|
||||||
|
,
|
||||||
|
{"GstNetTimePacket", sizeof (GstNetTimePacket), 16}
|
||||||
|
,
|
||||||
|
{"GstNetTimeProvider", sizeof (GstNetTimeProvider), 152}
|
||||||
|
,
|
||||||
|
{"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 240}
|
||||||
|
,
|
||||||
|
{NULL, 0, 0}
|
||||||
|
};
|
Loading…
Reference in a new issue