From 58443d6f2b490ba7a0a20843f1657e19304b1506 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 26 Sep 2012 17:08:30 +0200 Subject: [PATCH] tests: add abi checks Enable abi checks again. Fix abi sizes for x86_64, copy the file to other archs. --- tests/check/Makefile.am | 2 - tests/check/gst/struct_arm.h | 136 +++++++++++++++++++-------------------- tests/check/gst/struct_hppa.h | 133 +++++++++++++++++++------------------- tests/check/gst/struct_i386.h | 137 ++++++++++++++++++++-------------------- tests/check/gst/struct_ppc32.h | 133 +++++++++++++++++++------------------- tests/check/gst/struct_ppc64.h | 135 ++++++++++++++++++++------------------- tests/check/gst/struct_sparc.h | 136 +++++++++++++++++++-------------------- tests/check/gst/struct_x86_64.h | 135 ++++++++++++++++++--------------------- 8 files changed, 474 insertions(+), 473 deletions(-) diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 266dcd9..b4b0263 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -38,13 +38,11 @@ endif # Do not run the abi test in case any option which causes the API to change has # been used -if FALSE if !GST_DISABLE_REGISTRY if !GST_DISABLE_TRACE ABI_CHECKS = gst/gstabi endif endif -endif if FALSE LIBSABI_CHECKS = libs/libsabi diff --git a/tests/check/gst/struct_arm.h b/tests/check/gst/struct_arm.h index 3f28d86..b7a2952 100644 --- a/tests/check/gst/struct_arm.h +++ b/tests/check/gst/struct_arm.h @@ -1,70 +1,72 @@ - -GstCheckABIStruct list[] = { - {"GstBin", sizeof (GstBin), 192}, - {"GstBinClass", sizeof (GstBinClass), 288}, - {"GstBuffer", sizeof (GstBuffer), 88}, - {"GstBufferClass", sizeof (GstBufferClass), 16}, - {"GstBus", sizeof (GstBus), 80}, - {"GstBusClass", sizeof (GstBusClass), 144}, - {"GstCaps", sizeof (GstCaps), 32}, - {"GstStaticCaps", sizeof (GstStaticCaps), 52}, - {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 40}, - {"GstClock", sizeof (GstClock), 176}, - {"GstClockClass", sizeof (GstClockClass), 160}, - {"GstElement", sizeof (GstElement), 136}, - {"GstElementClass", sizeof (GstElementClass), 248}, - {"GstElementFactory", sizeof (GstElementFactory), 144}, - {"GstElementFactoryClass", sizeof (GstElementFactoryClass), 152}, - {"GstElementDetails", sizeof (GstElementDetails), 32}, - {"GstEvent", sizeof (GstEvent), 48}, - {"GstEventClass", sizeof (GstEventClass), 32}, - {"GstFormatDefinition", sizeof (GstFormatDefinition), 16}, - {"GstIndexEntry", sizeof (GstIndexEntry), 20}, - {"GstIndexGroup", sizeof (GstIndexGroup), 16}, - {"GstIndex", sizeof (GstIndex), 100}, - {"GstIndexClass", sizeof (GstIndexClass), 156}, - {"GstIndexAssociation", sizeof (GstIndexAssociation), 16}, - {"GstIndexFactory", sizeof (GstIndexFactory), 96}, - {"GstIndexFactoryClass", sizeof (GstIndexFactoryClass), 152}, - {"GstDebugCategory", sizeof (GstDebugCategory), 16}, - {"GstIterator", sizeof (GstIterator), 52}, - {"GstMessage", sizeof (GstMessage), 64}, - {"GstMessageClass", sizeof (GstMessageClass), 32}, - {"GstMiniObject", sizeof (GstMiniObject), 16}, - {"GstMiniObjectClass", sizeof (GstMiniObjectClass), 16}, - {"GstObject", sizeof (GstObject), 40}, - {"GstObjectClass", sizeof (GstObjectClass), 120}, - {"GstPad", sizeof (GstPad), 188}, - {"GstPadClass", sizeof (GstPadClass), 152}, - {"GstPadTemplate", sizeof (GstPadTemplate), 72}, - {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 140}, +static GstCheckABIStruct list[] = { + {"GstAllocationParams", sizeof (GstAllocationParams), 64}, + {"GstAllocator", sizeof (GstAllocator), 176}, + {"GstAllocatorClass", sizeof (GstAllocatorClass), 232}, + {"GstBinClass", sizeof (GstBinClass), 576}, + {"GstBin", sizeof (GstBin), 376}, + {"GstBuffer", sizeof (GstBuffer), 112}, + {"GstBufferPoolAcquireParams", sizeof (GstBufferPoolAcquireParams), 64}, + {"GstBufferPool", sizeof (GstBufferPool), 136}, + {"GstBufferPoolClass", sizeof (GstBufferPoolClass), 288}, + {"GstBusClass", sizeof (GstBusClass), 232}, + {"GstBus", sizeof (GstBus), 128}, + {"GstCaps", sizeof (GstCaps), 64}, + {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 88}, + {"GstClockClass", sizeof (GstClockClass), 264}, + {"GstClockEntry", sizeof (GstClockEntry), 112}, + {"GstClock", sizeof (GstClock), 128}, + {"GstControlBinding", sizeof (GstControlBinding), 152}, + {"GstControlBindingClass", sizeof (GstControlBindingClass), 248}, + {"GstControlSource", sizeof (GstControlSource), 136}, + {"GstControlSourceClass", sizeof (GstControlSourceClass), 216}, + {"GstDebugCategory", sizeof (GstDebugCategory), 24}, + {"GstElementClass", sizeof (GstElementClass), 488}, + {"GstElement", sizeof (GstElement), 264}, + {"GstEvent", sizeof (GstEvent), 88}, + {"GstFormatDefinition", sizeof (GstFormatDefinition), 32}, + {"GstGhostPadClass", sizeof (GstGhostPadClass), 272}, + {"GstGhostPad", sizeof (GstGhostPad), 536}, + {"GstIterator", sizeof (GstIterator), 120}, + {"GstMemory", sizeof (GstMemory), 112}, + {"GstMapInfo", sizeof (GstMapInfo), 104}, + {"GstMessage", sizeof (GstMessage), 120}, + {"GstMeta", sizeof (GstMeta), 16}, + {"GstMetaTransformCopy", sizeof (GstMetaTransformCopy), 24}, + {"GstMetaInfo", sizeof (GstMetaInfo), 80}, + {"GstMiniObject", sizeof (GstMiniObject), 64}, + {"GstObjectClass", sizeof (GstObjectClass), 184}, + {"GstObject", sizeof (GstObject), 88}, + {"GstPadClass", sizeof (GstPadClass), 232}, + {"GstPad", sizeof (GstPad), 520}, + {"GstPadProbeInfo", sizeof (GstPadProbeInfo), 72}, + {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 224}, + {"GstPadTemplate", sizeof (GstPadTemplate), 144}, + {"GstParamSpecFraction", sizeof (GstParamSpecFraction), 96}, + {"GstPipelineClass", sizeof (GstPipelineClass), 608}, + {"GstPipeline", sizeof (GstPipeline), 440}, + {"GstPluginDesc", sizeof (GstPluginDesc), 112}, + {"GstPresetInterface", sizeof (GstPresetInterface), 112}, + {"GstProxyPadClass", sizeof (GstProxyPadClass), 240}, + {"GstProxyPad", sizeof (GstProxyPad), 528}, + {"GstQuery", sizeof (GstQuery), 72}, + {"GstRegistryClass", sizeof (GstRegistryClass), 184}, + {"GstRegistry", sizeof (GstRegistry), 96}, + {"GstSegment", sizeof (GstSegment), 120}, + {"GstStaticCaps", sizeof (GstStaticCaps), 48}, {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 64}, - {"GstPipeline", sizeof (GstPipeline), 232}, - {"GstPipelineClass", sizeof (GstPipelineClass), 304}, - {"GstPlugin", sizeof (GstPlugin), 152}, - {"GstPluginClass", sizeof (GstPluginClass), 136}, - {"GstPluginDesc", sizeof (GstPluginDesc), 56}, - {"GstPluginFeature", sizeof (GstPluginFeature), 72}, - {"GstPluginFeatureClass", sizeof (GstPluginFeatureClass), 136}, - {"GstQueryTypeDefinition", sizeof (GstQueryTypeDefinition), 16}, - {"GstQuery", sizeof (GstQuery), 28}, - {"GstQueryClass", sizeof (GstQueryClass), 32}, - {"GstRegistry", sizeof (GstRegistry), 72}, - {"GstRegistryClass", sizeof (GstRegistryClass), 144}, - {"GstSegment", sizeof (GstSegment), 88}, - {"GstStructure", sizeof (GstStructure), 20}, - {"GstSystemClock", sizeof (GstSystemClock), 200}, - {"GstSystemClockClass", sizeof (GstSystemClockClass), 176}, - {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8}, - {"GstTask", sizeof (GstTask), 80}, - {"GstTaskClass", sizeof (GstTaskClass), 140}, - {"GstTrace", sizeof (GstTrace), 20}, - {"GstTraceEntry", sizeof (GstTraceEntry), 128}, - {"GstAllocTrace", sizeof (GstAllocTrace), 16}, - {"GstTypeFind", sizeof (GstTypeFind), 32}, - {"GstTypeFindFactory", sizeof (GstTypeFindFactory), 108}, - {"GstTypeFindFactoryClass", sizeof (GstTypeFindFactoryClass), 152}, - {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 44}, - {"GstValueTable", sizeof (GstValueTable), 32}, + {"GstStructure", sizeof (GstStructure), 16}, + {"GstSystemClockClass", sizeof (GstSystemClockClass), 296}, + {"GstSystemClock", sizeof (GstSystemClock), 168}, + {"GstTagList", sizeof (GstTagList), 64,}, + {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16}, + {"GstTaskClass", sizeof (GstTaskClass), 224}, + {"GstTask", sizeof (GstTask), 200}, + {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 248}, + {"GstTaskPool", sizeof (GstTaskPool), 128}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {"GstTocSetterInterface", sizeof (GstTocSetterInterface), 16}, + {"GstTypeFind", sizeof (GstTypeFind), 64}, + {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 48}, + {"GstValueTable", sizeof (GstValueTable), 64}, {NULL, 0, 0} }; diff --git a/tests/check/gst/struct_hppa.h b/tests/check/gst/struct_hppa.h index 08df6b3..b7a2952 100644 --- a/tests/check/gst/struct_hppa.h +++ b/tests/check/gst/struct_hppa.h @@ -1,69 +1,72 @@ static GstCheckABIStruct list[] = { - {"GstBin", sizeof (GstBin), 192}, - {"GstBinClass", sizeof (GstBinClass), 288}, - {"GstBuffer", sizeof (GstBuffer), 88}, - {"GstBufferClass", sizeof (GstBufferClass), 16}, - {"GstBus", sizeof (GstBus), 80}, - {"GstBusClass", sizeof (GstBusClass), 144}, - {"GstCaps", sizeof (GstCaps), 32}, - {"GstStaticCaps", sizeof (GstStaticCaps), 52}, - {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 40}, - {"GstClock", sizeof (GstClock), 176}, - {"GstClockClass", sizeof (GstClockClass), 160}, - {"GstElement", sizeof (GstElement), 136}, - {"GstElementClass", sizeof (GstElementClass), 248}, - {"GstElementFactory", sizeof (GstElementFactory), 144}, - {"GstElementFactoryClass", sizeof (GstElementFactoryClass), 152}, - {"GstElementDetails", sizeof (GstElementDetails), 32}, - {"GstEvent", sizeof (GstEvent), 48}, - {"GstEventClass", sizeof (GstEventClass), 32}, - {"GstFormatDefinition", sizeof (GstFormatDefinition), 16}, - {"GstIndexEntry", sizeof (GstIndexEntry), 20}, - {"GstIndexGroup", sizeof (GstIndexGroup), 16}, - {"GstIndex", sizeof (GstIndex), 100}, - {"GstIndexClass", sizeof (GstIndexClass), 156}, - {"GstIndexAssociation", sizeof (GstIndexAssociation), 16}, - {"GstIndexFactory", sizeof (GstIndexFactory), 96}, - {"GstIndexFactoryClass", sizeof (GstIndexFactoryClass), 152}, - {"GstDebugCategory", sizeof (GstDebugCategory), 16}, - {"GstIterator", sizeof (GstIterator), 52}, - {"GstMessage", sizeof (GstMessage), 64}, - {"GstMessageClass", sizeof (GstMessageClass), 32}, - {"GstMiniObject", sizeof (GstMiniObject), 16}, - {"GstMiniObjectClass", sizeof (GstMiniObjectClass), 16}, - {"GstObject", sizeof (GstObject), 40}, - {"GstObjectClass", sizeof (GstObjectClass), 120}, - {"GstPad", sizeof (GstPad), 188}, - {"GstPadClass", sizeof (GstPadClass), 152}, - {"GstPadTemplate", sizeof (GstPadTemplate), 72}, - {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 140}, + {"GstAllocationParams", sizeof (GstAllocationParams), 64}, + {"GstAllocator", sizeof (GstAllocator), 176}, + {"GstAllocatorClass", sizeof (GstAllocatorClass), 232}, + {"GstBinClass", sizeof (GstBinClass), 576}, + {"GstBin", sizeof (GstBin), 376}, + {"GstBuffer", sizeof (GstBuffer), 112}, + {"GstBufferPoolAcquireParams", sizeof (GstBufferPoolAcquireParams), 64}, + {"GstBufferPool", sizeof (GstBufferPool), 136}, + {"GstBufferPoolClass", sizeof (GstBufferPoolClass), 288}, + {"GstBusClass", sizeof (GstBusClass), 232}, + {"GstBus", sizeof (GstBus), 128}, + {"GstCaps", sizeof (GstCaps), 64}, + {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 88}, + {"GstClockClass", sizeof (GstClockClass), 264}, + {"GstClockEntry", sizeof (GstClockEntry), 112}, + {"GstClock", sizeof (GstClock), 128}, + {"GstControlBinding", sizeof (GstControlBinding), 152}, + {"GstControlBindingClass", sizeof (GstControlBindingClass), 248}, + {"GstControlSource", sizeof (GstControlSource), 136}, + {"GstControlSourceClass", sizeof (GstControlSourceClass), 216}, + {"GstDebugCategory", sizeof (GstDebugCategory), 24}, + {"GstElementClass", sizeof (GstElementClass), 488}, + {"GstElement", sizeof (GstElement), 264}, + {"GstEvent", sizeof (GstEvent), 88}, + {"GstFormatDefinition", sizeof (GstFormatDefinition), 32}, + {"GstGhostPadClass", sizeof (GstGhostPadClass), 272}, + {"GstGhostPad", sizeof (GstGhostPad), 536}, + {"GstIterator", sizeof (GstIterator), 120}, + {"GstMemory", sizeof (GstMemory), 112}, + {"GstMapInfo", sizeof (GstMapInfo), 104}, + {"GstMessage", sizeof (GstMessage), 120}, + {"GstMeta", sizeof (GstMeta), 16}, + {"GstMetaTransformCopy", sizeof (GstMetaTransformCopy), 24}, + {"GstMetaInfo", sizeof (GstMetaInfo), 80}, + {"GstMiniObject", sizeof (GstMiniObject), 64}, + {"GstObjectClass", sizeof (GstObjectClass), 184}, + {"GstObject", sizeof (GstObject), 88}, + {"GstPadClass", sizeof (GstPadClass), 232}, + {"GstPad", sizeof (GstPad), 520}, + {"GstPadProbeInfo", sizeof (GstPadProbeInfo), 72}, + {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 224}, + {"GstPadTemplate", sizeof (GstPadTemplate), 144}, + {"GstParamSpecFraction", sizeof (GstParamSpecFraction), 96}, + {"GstPipelineClass", sizeof (GstPipelineClass), 608}, + {"GstPipeline", sizeof (GstPipeline), 440}, + {"GstPluginDesc", sizeof (GstPluginDesc), 112}, + {"GstPresetInterface", sizeof (GstPresetInterface), 112}, + {"GstProxyPadClass", sizeof (GstProxyPadClass), 240}, + {"GstProxyPad", sizeof (GstProxyPad), 528}, + {"GstQuery", sizeof (GstQuery), 72}, + {"GstRegistryClass", sizeof (GstRegistryClass), 184}, + {"GstRegistry", sizeof (GstRegistry), 96}, + {"GstSegment", sizeof (GstSegment), 120}, + {"GstStaticCaps", sizeof (GstStaticCaps), 48}, {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 64}, - {"GstPipeline", sizeof (GstPipeline), 232}, - {"GstPipelineClass", sizeof (GstPipelineClass), 304}, - {"GstPlugin", sizeof (GstPlugin), 152}, - {"GstPluginClass", sizeof (GstPluginClass), 136}, - {"GstPluginDesc", sizeof (GstPluginDesc), 56}, - {"GstPluginFeature", sizeof (GstPluginFeature), 72}, - {"GstPluginFeatureClass", sizeof (GstPluginFeatureClass), 136}, - {"GstQueryTypeDefinition", sizeof (GstQueryTypeDefinition), 16}, - {"GstQuery", sizeof (GstQuery), 28}, - {"GstQueryClass", sizeof (GstQueryClass), 32}, - {"GstRegistry", sizeof (GstRegistry), 72}, - {"GstRegistryClass", sizeof (GstRegistryClass), 144}, - {"GstSegment", sizeof (GstSegment), 88}, - {"GstStructure", sizeof (GstStructure), 20}, - {"GstSystemClock", sizeof (GstSystemClock), 200}, - {"GstSystemClockClass", sizeof (GstSystemClockClass), 176}, - {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8}, - {"GstTask", sizeof (GstTask), 80}, - {"GstTaskClass", sizeof (GstTaskClass), 140}, - {"GstTrace", sizeof (GstTrace), 20}, - {"GstTraceEntry", sizeof (GstTraceEntry), 128}, - {"GstAllocTrace", sizeof (GstAllocTrace), 16}, - {"GstTypeFind", sizeof (GstTypeFind), 32}, - {"GstTypeFindFactory", sizeof (GstTypeFindFactory), 108}, - {"GstTypeFindFactoryClass", sizeof (GstTypeFindFactoryClass), 152}, - {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 44}, - {"GstValueTable", sizeof (GstValueTable), 32}, + {"GstStructure", sizeof (GstStructure), 16}, + {"GstSystemClockClass", sizeof (GstSystemClockClass), 296}, + {"GstSystemClock", sizeof (GstSystemClock), 168}, + {"GstTagList", sizeof (GstTagList), 64,}, + {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16}, + {"GstTaskClass", sizeof (GstTaskClass), 224}, + {"GstTask", sizeof (GstTask), 200}, + {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 248}, + {"GstTaskPool", sizeof (GstTaskPool), 128}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {"GstTocSetterInterface", sizeof (GstTocSetterInterface), 16}, + {"GstTypeFind", sizeof (GstTypeFind), 64}, + {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 48}, + {"GstValueTable", sizeof (GstValueTable), 64}, {NULL, 0, 0} }; diff --git a/tests/check/gst/struct_i386.h b/tests/check/gst/struct_i386.h index 7aba5ae..b7a2952 100644 --- a/tests/check/gst/struct_i386.h +++ b/tests/check/gst/struct_i386.h @@ -1,69 +1,72 @@ static GstCheckABIStruct list[] = { - {"GstBin", sizeof (GstBin), 184}, - {"GstBinClass", sizeof(GstBinClass), 288}, - {"GstBuffer", sizeof(GstBuffer), 80}, - {"GstBufferClass", sizeof(GstBufferClass), 16}, - {"GstBus", sizeof(GstBus), 80}, - {"GstBusClass", sizeof(GstBusClass), 144}, - {"GstCaps", sizeof(GstCaps), 32}, - {"GstStaticCaps", sizeof(GstStaticCaps), 52}, - {"GstChildProxyInterface", sizeof(GstChildProxyInterface), 40}, - {"GstClock", sizeof(GstClock), 172}, - {"GstClockClass", sizeof(GstClockClass), 160}, - {"GstElement", sizeof(GstElement), 128}, - {"GstElementClass", sizeof(GstElementClass), 248}, - {"GstElementFactory", sizeof(GstElementFactory), 144}, - {"GstElementFactoryClass", sizeof(GstElementFactoryClass), 152}, - {"GstElementDetails", sizeof(GstElementDetails), 32}, - {"GstEvent", sizeof(GstEvent), 40}, - {"GstEventClass", sizeof(GstEventClass), 32}, - {"GstFormatDefinition", sizeof(GstFormatDefinition), 16}, - {"GstIndexEntry", sizeof(GstIndexEntry), 20}, - {"GstIndexGroup", sizeof(GstIndexGroup), 16}, - {"GstIndex", sizeof(GstIndex), 100}, - {"GstIndexClass", sizeof(GstIndexClass), 156}, - {"GstIndexAssociation", sizeof(GstIndexAssociation), 12}, - {"GstIndexFactory", sizeof(GstIndexFactory), 96}, - {"GstIndexFactoryClass", sizeof(GstIndexFactoryClass), 152}, - {"GstDebugCategory", sizeof(GstDebugCategory), 16}, - {"GstIterator", sizeof(GstIterator), 52}, - {"GstMessage", sizeof(GstMessage), 60}, - {"GstMessageClass", sizeof(GstMessageClass), 32}, - {"GstMiniObject", sizeof(GstMiniObject), 16}, - {"GstMiniObjectClass", sizeof(GstMiniObjectClass), 16}, - {"GstObject", sizeof(GstObject), 40}, - {"GstObjectClass", sizeof(GstObjectClass), 120}, - {"GstPad", sizeof(GstPad), 188}, - {"GstPadClass", sizeof(GstPadClass), 152}, - {"GstPadTemplate", sizeof(GstPadTemplate), 72}, - {"GstPadTemplateClass", sizeof(GstPadTemplateClass), 140}, - {"GstStaticPadTemplate", sizeof(GstStaticPadTemplate), 64}, - {"GstPipeline", sizeof(GstPipeline), 220}, - {"GstPipelineClass", sizeof(GstPipelineClass), 304}, - {"GstPlugin", sizeof(GstPlugin), 148}, - {"GstPluginClass", sizeof(GstPluginClass), 136}, - {"GstPluginDesc", sizeof(GstPluginDesc), 56}, - {"GstPluginFeature", sizeof(GstPluginFeature), 72}, - {"GstPluginFeatureClass", sizeof(GstPluginFeatureClass), 136}, - {"GstQueryTypeDefinition", sizeof(GstQueryTypeDefinition), 16}, - {"GstQuery", sizeof(GstQuery), 28}, - {"GstQueryClass", sizeof(GstQueryClass), 32}, - {"GstRegistry", sizeof(GstRegistry), 72}, - {"GstRegistryClass", sizeof(GstRegistryClass), 144}, - {"GstSegment", sizeof(GstSegment), 88}, - {"GstStructure", sizeof(GstStructure), 20}, - {"GstSystemClock", sizeof(GstSystemClock), 196}, - {"GstSystemClockClass", sizeof(GstSystemClockClass), 176}, - {"GstTagSetterInterface", sizeof(GstTagSetterInterface), 8}, - {"GstTask", sizeof(GstTask), 80}, - {"GstTaskClass", sizeof(GstTaskClass), 140}, - {"GstTrace", sizeof(GstTrace), 20}, - {"GstTraceEntry", sizeof(GstTraceEntry), 128}, - {"GstAllocTrace", sizeof(GstAllocTrace), 16}, - {"GstTypeFind", sizeof(GstTypeFind), 32}, - {"GstTypeFindFactory", sizeof(GstTypeFindFactory), 108}, - {"GstTypeFindFactoryClass", sizeof(GstTypeFindFactoryClass), 152}, - {"GstURIHandlerInterface", sizeof(GstURIHandlerInterface), 44}, - {"GstValueTable", sizeof(GstValueTable), 32}, - {NULL, 0, 0} + {"GstAllocationParams", sizeof (GstAllocationParams), 64}, + {"GstAllocator", sizeof (GstAllocator), 176}, + {"GstAllocatorClass", sizeof (GstAllocatorClass), 232}, + {"GstBinClass", sizeof (GstBinClass), 576}, + {"GstBin", sizeof (GstBin), 376}, + {"GstBuffer", sizeof (GstBuffer), 112}, + {"GstBufferPoolAcquireParams", sizeof (GstBufferPoolAcquireParams), 64}, + {"GstBufferPool", sizeof (GstBufferPool), 136}, + {"GstBufferPoolClass", sizeof (GstBufferPoolClass), 288}, + {"GstBusClass", sizeof (GstBusClass), 232}, + {"GstBus", sizeof (GstBus), 128}, + {"GstCaps", sizeof (GstCaps), 64}, + {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 88}, + {"GstClockClass", sizeof (GstClockClass), 264}, + {"GstClockEntry", sizeof (GstClockEntry), 112}, + {"GstClock", sizeof (GstClock), 128}, + {"GstControlBinding", sizeof (GstControlBinding), 152}, + {"GstControlBindingClass", sizeof (GstControlBindingClass), 248}, + {"GstControlSource", sizeof (GstControlSource), 136}, + {"GstControlSourceClass", sizeof (GstControlSourceClass), 216}, + {"GstDebugCategory", sizeof (GstDebugCategory), 24}, + {"GstElementClass", sizeof (GstElementClass), 488}, + {"GstElement", sizeof (GstElement), 264}, + {"GstEvent", sizeof (GstEvent), 88}, + {"GstFormatDefinition", sizeof (GstFormatDefinition), 32}, + {"GstGhostPadClass", sizeof (GstGhostPadClass), 272}, + {"GstGhostPad", sizeof (GstGhostPad), 536}, + {"GstIterator", sizeof (GstIterator), 120}, + {"GstMemory", sizeof (GstMemory), 112}, + {"GstMapInfo", sizeof (GstMapInfo), 104}, + {"GstMessage", sizeof (GstMessage), 120}, + {"GstMeta", sizeof (GstMeta), 16}, + {"GstMetaTransformCopy", sizeof (GstMetaTransformCopy), 24}, + {"GstMetaInfo", sizeof (GstMetaInfo), 80}, + {"GstMiniObject", sizeof (GstMiniObject), 64}, + {"GstObjectClass", sizeof (GstObjectClass), 184}, + {"GstObject", sizeof (GstObject), 88}, + {"GstPadClass", sizeof (GstPadClass), 232}, + {"GstPad", sizeof (GstPad), 520}, + {"GstPadProbeInfo", sizeof (GstPadProbeInfo), 72}, + {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 224}, + {"GstPadTemplate", sizeof (GstPadTemplate), 144}, + {"GstParamSpecFraction", sizeof (GstParamSpecFraction), 96}, + {"GstPipelineClass", sizeof (GstPipelineClass), 608}, + {"GstPipeline", sizeof (GstPipeline), 440}, + {"GstPluginDesc", sizeof (GstPluginDesc), 112}, + {"GstPresetInterface", sizeof (GstPresetInterface), 112}, + {"GstProxyPadClass", sizeof (GstProxyPadClass), 240}, + {"GstProxyPad", sizeof (GstProxyPad), 528}, + {"GstQuery", sizeof (GstQuery), 72}, + {"GstRegistryClass", sizeof (GstRegistryClass), 184}, + {"GstRegistry", sizeof (GstRegistry), 96}, + {"GstSegment", sizeof (GstSegment), 120}, + {"GstStaticCaps", sizeof (GstStaticCaps), 48}, + {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 64}, + {"GstStructure", sizeof (GstStructure), 16}, + {"GstSystemClockClass", sizeof (GstSystemClockClass), 296}, + {"GstSystemClock", sizeof (GstSystemClock), 168}, + {"GstTagList", sizeof (GstTagList), 64,}, + {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16}, + {"GstTaskClass", sizeof (GstTaskClass), 224}, + {"GstTask", sizeof (GstTask), 200}, + {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 248}, + {"GstTaskPool", sizeof (GstTaskPool), 128}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {"GstTocSetterInterface", sizeof (GstTocSetterInterface), 16}, + {"GstTypeFind", sizeof (GstTypeFind), 64}, + {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 48}, + {"GstValueTable", sizeof (GstValueTable), 64}, + {NULL, 0, 0} }; diff --git a/tests/check/gst/struct_ppc32.h b/tests/check/gst/struct_ppc32.h index 08df6b3..b7a2952 100644 --- a/tests/check/gst/struct_ppc32.h +++ b/tests/check/gst/struct_ppc32.h @@ -1,69 +1,72 @@ static GstCheckABIStruct list[] = { - {"GstBin", sizeof (GstBin), 192}, - {"GstBinClass", sizeof (GstBinClass), 288}, - {"GstBuffer", sizeof (GstBuffer), 88}, - {"GstBufferClass", sizeof (GstBufferClass), 16}, - {"GstBus", sizeof (GstBus), 80}, - {"GstBusClass", sizeof (GstBusClass), 144}, - {"GstCaps", sizeof (GstCaps), 32}, - {"GstStaticCaps", sizeof (GstStaticCaps), 52}, - {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 40}, - {"GstClock", sizeof (GstClock), 176}, - {"GstClockClass", sizeof (GstClockClass), 160}, - {"GstElement", sizeof (GstElement), 136}, - {"GstElementClass", sizeof (GstElementClass), 248}, - {"GstElementFactory", sizeof (GstElementFactory), 144}, - {"GstElementFactoryClass", sizeof (GstElementFactoryClass), 152}, - {"GstElementDetails", sizeof (GstElementDetails), 32}, - {"GstEvent", sizeof (GstEvent), 48}, - {"GstEventClass", sizeof (GstEventClass), 32}, - {"GstFormatDefinition", sizeof (GstFormatDefinition), 16}, - {"GstIndexEntry", sizeof (GstIndexEntry), 20}, - {"GstIndexGroup", sizeof (GstIndexGroup), 16}, - {"GstIndex", sizeof (GstIndex), 100}, - {"GstIndexClass", sizeof (GstIndexClass), 156}, - {"GstIndexAssociation", sizeof (GstIndexAssociation), 16}, - {"GstIndexFactory", sizeof (GstIndexFactory), 96}, - {"GstIndexFactoryClass", sizeof (GstIndexFactoryClass), 152}, - {"GstDebugCategory", sizeof (GstDebugCategory), 16}, - {"GstIterator", sizeof (GstIterator), 52}, - {"GstMessage", sizeof (GstMessage), 64}, - {"GstMessageClass", sizeof (GstMessageClass), 32}, - {"GstMiniObject", sizeof (GstMiniObject), 16}, - {"GstMiniObjectClass", sizeof (GstMiniObjectClass), 16}, - {"GstObject", sizeof (GstObject), 40}, - {"GstObjectClass", sizeof (GstObjectClass), 120}, - {"GstPad", sizeof (GstPad), 188}, - {"GstPadClass", sizeof (GstPadClass), 152}, - {"GstPadTemplate", sizeof (GstPadTemplate), 72}, - {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 140}, + {"GstAllocationParams", sizeof (GstAllocationParams), 64}, + {"GstAllocator", sizeof (GstAllocator), 176}, + {"GstAllocatorClass", sizeof (GstAllocatorClass), 232}, + {"GstBinClass", sizeof (GstBinClass), 576}, + {"GstBin", sizeof (GstBin), 376}, + {"GstBuffer", sizeof (GstBuffer), 112}, + {"GstBufferPoolAcquireParams", sizeof (GstBufferPoolAcquireParams), 64}, + {"GstBufferPool", sizeof (GstBufferPool), 136}, + {"GstBufferPoolClass", sizeof (GstBufferPoolClass), 288}, + {"GstBusClass", sizeof (GstBusClass), 232}, + {"GstBus", sizeof (GstBus), 128}, + {"GstCaps", sizeof (GstCaps), 64}, + {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 88}, + {"GstClockClass", sizeof (GstClockClass), 264}, + {"GstClockEntry", sizeof (GstClockEntry), 112}, + {"GstClock", sizeof (GstClock), 128}, + {"GstControlBinding", sizeof (GstControlBinding), 152}, + {"GstControlBindingClass", sizeof (GstControlBindingClass), 248}, + {"GstControlSource", sizeof (GstControlSource), 136}, + {"GstControlSourceClass", sizeof (GstControlSourceClass), 216}, + {"GstDebugCategory", sizeof (GstDebugCategory), 24}, + {"GstElementClass", sizeof (GstElementClass), 488}, + {"GstElement", sizeof (GstElement), 264}, + {"GstEvent", sizeof (GstEvent), 88}, + {"GstFormatDefinition", sizeof (GstFormatDefinition), 32}, + {"GstGhostPadClass", sizeof (GstGhostPadClass), 272}, + {"GstGhostPad", sizeof (GstGhostPad), 536}, + {"GstIterator", sizeof (GstIterator), 120}, + {"GstMemory", sizeof (GstMemory), 112}, + {"GstMapInfo", sizeof (GstMapInfo), 104}, + {"GstMessage", sizeof (GstMessage), 120}, + {"GstMeta", sizeof (GstMeta), 16}, + {"GstMetaTransformCopy", sizeof (GstMetaTransformCopy), 24}, + {"GstMetaInfo", sizeof (GstMetaInfo), 80}, + {"GstMiniObject", sizeof (GstMiniObject), 64}, + {"GstObjectClass", sizeof (GstObjectClass), 184}, + {"GstObject", sizeof (GstObject), 88}, + {"GstPadClass", sizeof (GstPadClass), 232}, + {"GstPad", sizeof (GstPad), 520}, + {"GstPadProbeInfo", sizeof (GstPadProbeInfo), 72}, + {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 224}, + {"GstPadTemplate", sizeof (GstPadTemplate), 144}, + {"GstParamSpecFraction", sizeof (GstParamSpecFraction), 96}, + {"GstPipelineClass", sizeof (GstPipelineClass), 608}, + {"GstPipeline", sizeof (GstPipeline), 440}, + {"GstPluginDesc", sizeof (GstPluginDesc), 112}, + {"GstPresetInterface", sizeof (GstPresetInterface), 112}, + {"GstProxyPadClass", sizeof (GstProxyPadClass), 240}, + {"GstProxyPad", sizeof (GstProxyPad), 528}, + {"GstQuery", sizeof (GstQuery), 72}, + {"GstRegistryClass", sizeof (GstRegistryClass), 184}, + {"GstRegistry", sizeof (GstRegistry), 96}, + {"GstSegment", sizeof (GstSegment), 120}, + {"GstStaticCaps", sizeof (GstStaticCaps), 48}, {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 64}, - {"GstPipeline", sizeof (GstPipeline), 232}, - {"GstPipelineClass", sizeof (GstPipelineClass), 304}, - {"GstPlugin", sizeof (GstPlugin), 152}, - {"GstPluginClass", sizeof (GstPluginClass), 136}, - {"GstPluginDesc", sizeof (GstPluginDesc), 56}, - {"GstPluginFeature", sizeof (GstPluginFeature), 72}, - {"GstPluginFeatureClass", sizeof (GstPluginFeatureClass), 136}, - {"GstQueryTypeDefinition", sizeof (GstQueryTypeDefinition), 16}, - {"GstQuery", sizeof (GstQuery), 28}, - {"GstQueryClass", sizeof (GstQueryClass), 32}, - {"GstRegistry", sizeof (GstRegistry), 72}, - {"GstRegistryClass", sizeof (GstRegistryClass), 144}, - {"GstSegment", sizeof (GstSegment), 88}, - {"GstStructure", sizeof (GstStructure), 20}, - {"GstSystemClock", sizeof (GstSystemClock), 200}, - {"GstSystemClockClass", sizeof (GstSystemClockClass), 176}, - {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8}, - {"GstTask", sizeof (GstTask), 80}, - {"GstTaskClass", sizeof (GstTaskClass), 140}, - {"GstTrace", sizeof (GstTrace), 20}, - {"GstTraceEntry", sizeof (GstTraceEntry), 128}, - {"GstAllocTrace", sizeof (GstAllocTrace), 16}, - {"GstTypeFind", sizeof (GstTypeFind), 32}, - {"GstTypeFindFactory", sizeof (GstTypeFindFactory), 108}, - {"GstTypeFindFactoryClass", sizeof (GstTypeFindFactoryClass), 152}, - {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 44}, - {"GstValueTable", sizeof (GstValueTable), 32}, + {"GstStructure", sizeof (GstStructure), 16}, + {"GstSystemClockClass", sizeof (GstSystemClockClass), 296}, + {"GstSystemClock", sizeof (GstSystemClock), 168}, + {"GstTagList", sizeof (GstTagList), 64,}, + {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16}, + {"GstTaskClass", sizeof (GstTaskClass), 224}, + {"GstTask", sizeof (GstTask), 200}, + {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 248}, + {"GstTaskPool", sizeof (GstTaskPool), 128}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {"GstTocSetterInterface", sizeof (GstTocSetterInterface), 16}, + {"GstTypeFind", sizeof (GstTypeFind), 64}, + {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 48}, + {"GstValueTable", sizeof (GstValueTable), 64}, {NULL, 0, 0} }; diff --git a/tests/check/gst/struct_ppc64.h b/tests/check/gst/struct_ppc64.h index 7b77248..b7a2952 100644 --- a/tests/check/gst/struct_ppc64.h +++ b/tests/check/gst/struct_ppc64.h @@ -1,69 +1,72 @@ static 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} , - {"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} , - {"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} , - {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 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} , + {"GstAllocationParams", sizeof (GstAllocationParams), 64}, + {"GstAllocator", sizeof (GstAllocator), 176}, + {"GstAllocatorClass", sizeof (GstAllocatorClass), 232}, + {"GstBinClass", sizeof (GstBinClass), 576}, + {"GstBin", sizeof (GstBin), 376}, + {"GstBuffer", sizeof (GstBuffer), 112}, + {"GstBufferPoolAcquireParams", sizeof (GstBufferPoolAcquireParams), 64}, + {"GstBufferPool", sizeof (GstBufferPool), 136}, + {"GstBufferPoolClass", sizeof (GstBufferPoolClass), 288}, + {"GstBusClass", sizeof (GstBusClass), 232}, + {"GstBus", sizeof (GstBus), 128}, + {"GstCaps", sizeof (GstCaps), 64}, + {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 88}, + {"GstClockClass", sizeof (GstClockClass), 264}, + {"GstClockEntry", sizeof (GstClockEntry), 112}, + {"GstClock", sizeof (GstClock), 128}, + {"GstControlBinding", sizeof (GstControlBinding), 152}, + {"GstControlBindingClass", sizeof (GstControlBindingClass), 248}, + {"GstControlSource", sizeof (GstControlSource), 136}, + {"GstControlSourceClass", sizeof (GstControlSourceClass), 216}, + {"GstDebugCategory", sizeof (GstDebugCategory), 24}, + {"GstElementClass", sizeof (GstElementClass), 488}, + {"GstElement", sizeof (GstElement), 264}, + {"GstEvent", sizeof (GstEvent), 88}, + {"GstFormatDefinition", sizeof (GstFormatDefinition), 32}, + {"GstGhostPadClass", sizeof (GstGhostPadClass), 272}, + {"GstGhostPad", sizeof (GstGhostPad), 536}, + {"GstIterator", sizeof (GstIterator), 120}, + {"GstMemory", sizeof (GstMemory), 112}, + {"GstMapInfo", sizeof (GstMapInfo), 104}, + {"GstMessage", sizeof (GstMessage), 120}, + {"GstMeta", sizeof (GstMeta), 16}, + {"GstMetaTransformCopy", sizeof (GstMetaTransformCopy), 24}, + {"GstMetaInfo", sizeof (GstMetaInfo), 80}, + {"GstMiniObject", sizeof (GstMiniObject), 64}, + {"GstObjectClass", sizeof (GstObjectClass), 184}, + {"GstObject", sizeof (GstObject), 88}, + {"GstPadClass", sizeof (GstPadClass), 232}, + {"GstPad", sizeof (GstPad), 520}, + {"GstPadProbeInfo", sizeof (GstPadProbeInfo), 72}, + {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 224}, + {"GstPadTemplate", sizeof (GstPadTemplate), 144}, + {"GstParamSpecFraction", sizeof (GstParamSpecFraction), 96}, + {"GstPipelineClass", sizeof (GstPipelineClass), 608}, + {"GstPipeline", sizeof (GstPipeline), 440}, + {"GstPluginDesc", sizeof (GstPluginDesc), 112}, + {"GstPresetInterface", sizeof (GstPresetInterface), 112}, + {"GstProxyPadClass", sizeof (GstProxyPadClass), 240}, + {"GstProxyPad", sizeof (GstProxyPad), 528}, + {"GstQuery", sizeof (GstQuery), 72}, + {"GstRegistryClass", sizeof (GstRegistryClass), 184}, + {"GstRegistry", sizeof (GstRegistry), 96}, + {"GstSegment", sizeof (GstSegment), 120}, + {"GstStaticCaps", sizeof (GstStaticCaps), 48}, + {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 64}, + {"GstStructure", sizeof (GstStructure), 16}, + {"GstSystemClockClass", sizeof (GstSystemClockClass), 296}, + {"GstSystemClock", sizeof (GstSystemClock), 168}, + {"GstTagList", sizeof (GstTagList), 64,}, + {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16}, + {"GstTaskClass", sizeof (GstTaskClass), 224}, + {"GstTask", sizeof (GstTask), 200}, + {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 248}, + {"GstTaskPool", sizeof (GstTaskPool), 128}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {"GstTocSetterInterface", sizeof (GstTocSetterInterface), 16}, + {"GstTypeFind", sizeof (GstTypeFind), 64}, + {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 48}, + {"GstValueTable", sizeof (GstValueTable), 64}, {NULL, 0, 0} }; diff --git a/tests/check/gst/struct_sparc.h b/tests/check/gst/struct_sparc.h index 3f28d86..b7a2952 100644 --- a/tests/check/gst/struct_sparc.h +++ b/tests/check/gst/struct_sparc.h @@ -1,70 +1,72 @@ - -GstCheckABIStruct list[] = { - {"GstBin", sizeof (GstBin), 192}, - {"GstBinClass", sizeof (GstBinClass), 288}, - {"GstBuffer", sizeof (GstBuffer), 88}, - {"GstBufferClass", sizeof (GstBufferClass), 16}, - {"GstBus", sizeof (GstBus), 80}, - {"GstBusClass", sizeof (GstBusClass), 144}, - {"GstCaps", sizeof (GstCaps), 32}, - {"GstStaticCaps", sizeof (GstStaticCaps), 52}, - {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 40}, - {"GstClock", sizeof (GstClock), 176}, - {"GstClockClass", sizeof (GstClockClass), 160}, - {"GstElement", sizeof (GstElement), 136}, - {"GstElementClass", sizeof (GstElementClass), 248}, - {"GstElementFactory", sizeof (GstElementFactory), 144}, - {"GstElementFactoryClass", sizeof (GstElementFactoryClass), 152}, - {"GstElementDetails", sizeof (GstElementDetails), 32}, - {"GstEvent", sizeof (GstEvent), 48}, - {"GstEventClass", sizeof (GstEventClass), 32}, - {"GstFormatDefinition", sizeof (GstFormatDefinition), 16}, - {"GstIndexEntry", sizeof (GstIndexEntry), 20}, - {"GstIndexGroup", sizeof (GstIndexGroup), 16}, - {"GstIndex", sizeof (GstIndex), 100}, - {"GstIndexClass", sizeof (GstIndexClass), 156}, - {"GstIndexAssociation", sizeof (GstIndexAssociation), 16}, - {"GstIndexFactory", sizeof (GstIndexFactory), 96}, - {"GstIndexFactoryClass", sizeof (GstIndexFactoryClass), 152}, - {"GstDebugCategory", sizeof (GstDebugCategory), 16}, - {"GstIterator", sizeof (GstIterator), 52}, - {"GstMessage", sizeof (GstMessage), 64}, - {"GstMessageClass", sizeof (GstMessageClass), 32}, - {"GstMiniObject", sizeof (GstMiniObject), 16}, - {"GstMiniObjectClass", sizeof (GstMiniObjectClass), 16}, - {"GstObject", sizeof (GstObject), 40}, - {"GstObjectClass", sizeof (GstObjectClass), 120}, - {"GstPad", sizeof (GstPad), 188}, - {"GstPadClass", sizeof (GstPadClass), 152}, - {"GstPadTemplate", sizeof (GstPadTemplate), 72}, - {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 140}, +static GstCheckABIStruct list[] = { + {"GstAllocationParams", sizeof (GstAllocationParams), 64}, + {"GstAllocator", sizeof (GstAllocator), 176}, + {"GstAllocatorClass", sizeof (GstAllocatorClass), 232}, + {"GstBinClass", sizeof (GstBinClass), 576}, + {"GstBin", sizeof (GstBin), 376}, + {"GstBuffer", sizeof (GstBuffer), 112}, + {"GstBufferPoolAcquireParams", sizeof (GstBufferPoolAcquireParams), 64}, + {"GstBufferPool", sizeof (GstBufferPool), 136}, + {"GstBufferPoolClass", sizeof (GstBufferPoolClass), 288}, + {"GstBusClass", sizeof (GstBusClass), 232}, + {"GstBus", sizeof (GstBus), 128}, + {"GstCaps", sizeof (GstCaps), 64}, + {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 88}, + {"GstClockClass", sizeof (GstClockClass), 264}, + {"GstClockEntry", sizeof (GstClockEntry), 112}, + {"GstClock", sizeof (GstClock), 128}, + {"GstControlBinding", sizeof (GstControlBinding), 152}, + {"GstControlBindingClass", sizeof (GstControlBindingClass), 248}, + {"GstControlSource", sizeof (GstControlSource), 136}, + {"GstControlSourceClass", sizeof (GstControlSourceClass), 216}, + {"GstDebugCategory", sizeof (GstDebugCategory), 24}, + {"GstElementClass", sizeof (GstElementClass), 488}, + {"GstElement", sizeof (GstElement), 264}, + {"GstEvent", sizeof (GstEvent), 88}, + {"GstFormatDefinition", sizeof (GstFormatDefinition), 32}, + {"GstGhostPadClass", sizeof (GstGhostPadClass), 272}, + {"GstGhostPad", sizeof (GstGhostPad), 536}, + {"GstIterator", sizeof (GstIterator), 120}, + {"GstMemory", sizeof (GstMemory), 112}, + {"GstMapInfo", sizeof (GstMapInfo), 104}, + {"GstMessage", sizeof (GstMessage), 120}, + {"GstMeta", sizeof (GstMeta), 16}, + {"GstMetaTransformCopy", sizeof (GstMetaTransformCopy), 24}, + {"GstMetaInfo", sizeof (GstMetaInfo), 80}, + {"GstMiniObject", sizeof (GstMiniObject), 64}, + {"GstObjectClass", sizeof (GstObjectClass), 184}, + {"GstObject", sizeof (GstObject), 88}, + {"GstPadClass", sizeof (GstPadClass), 232}, + {"GstPad", sizeof (GstPad), 520}, + {"GstPadProbeInfo", sizeof (GstPadProbeInfo), 72}, + {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 224}, + {"GstPadTemplate", sizeof (GstPadTemplate), 144}, + {"GstParamSpecFraction", sizeof (GstParamSpecFraction), 96}, + {"GstPipelineClass", sizeof (GstPipelineClass), 608}, + {"GstPipeline", sizeof (GstPipeline), 440}, + {"GstPluginDesc", sizeof (GstPluginDesc), 112}, + {"GstPresetInterface", sizeof (GstPresetInterface), 112}, + {"GstProxyPadClass", sizeof (GstProxyPadClass), 240}, + {"GstProxyPad", sizeof (GstProxyPad), 528}, + {"GstQuery", sizeof (GstQuery), 72}, + {"GstRegistryClass", sizeof (GstRegistryClass), 184}, + {"GstRegistry", sizeof (GstRegistry), 96}, + {"GstSegment", sizeof (GstSegment), 120}, + {"GstStaticCaps", sizeof (GstStaticCaps), 48}, {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 64}, - {"GstPipeline", sizeof (GstPipeline), 232}, - {"GstPipelineClass", sizeof (GstPipelineClass), 304}, - {"GstPlugin", sizeof (GstPlugin), 152}, - {"GstPluginClass", sizeof (GstPluginClass), 136}, - {"GstPluginDesc", sizeof (GstPluginDesc), 56}, - {"GstPluginFeature", sizeof (GstPluginFeature), 72}, - {"GstPluginFeatureClass", sizeof (GstPluginFeatureClass), 136}, - {"GstQueryTypeDefinition", sizeof (GstQueryTypeDefinition), 16}, - {"GstQuery", sizeof (GstQuery), 28}, - {"GstQueryClass", sizeof (GstQueryClass), 32}, - {"GstRegistry", sizeof (GstRegistry), 72}, - {"GstRegistryClass", sizeof (GstRegistryClass), 144}, - {"GstSegment", sizeof (GstSegment), 88}, - {"GstStructure", sizeof (GstStructure), 20}, - {"GstSystemClock", sizeof (GstSystemClock), 200}, - {"GstSystemClockClass", sizeof (GstSystemClockClass), 176}, - {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 8}, - {"GstTask", sizeof (GstTask), 80}, - {"GstTaskClass", sizeof (GstTaskClass), 140}, - {"GstTrace", sizeof (GstTrace), 20}, - {"GstTraceEntry", sizeof (GstTraceEntry), 128}, - {"GstAllocTrace", sizeof (GstAllocTrace), 16}, - {"GstTypeFind", sizeof (GstTypeFind), 32}, - {"GstTypeFindFactory", sizeof (GstTypeFindFactory), 108}, - {"GstTypeFindFactoryClass", sizeof (GstTypeFindFactoryClass), 152}, - {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 44}, - {"GstValueTable", sizeof (GstValueTable), 32}, + {"GstStructure", sizeof (GstStructure), 16}, + {"GstSystemClockClass", sizeof (GstSystemClockClass), 296}, + {"GstSystemClock", sizeof (GstSystemClock), 168}, + {"GstTagList", sizeof (GstTagList), 64,}, + {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16}, + {"GstTaskClass", sizeof (GstTaskClass), 224}, + {"GstTask", sizeof (GstTask), 200}, + {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 248}, + {"GstTaskPool", sizeof (GstTaskPool), 128}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {"GstTocSetterInterface", sizeof (GstTocSetterInterface), 16}, + {"GstTypeFind", sizeof (GstTypeFind), 64}, + {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 48}, + {"GstValueTable", sizeof (GstValueTable), 64}, {NULL, 0, 0} }; diff --git a/tests/check/gst/struct_x86_64.h b/tests/check/gst/struct_x86_64.h index 469d749..b7a2952 100644 --- a/tests/check/gst/struct_x86_64.h +++ b/tests/check/gst/struct_x86_64.h @@ -1,85 +1,72 @@ static GstCheckABIStruct list[] = { - {"GstAllocTrace", sizeof (GstAllocTrace), 24}, - {"GstBinClass", sizeof (GstBinClass), 568}, - {"GstBin", sizeof (GstBin), 336}, - {"GstBufferClass", sizeof (GstBufferClass), 32}, - {"GstBuffer", sizeof (GstBuffer), 120}, - {"GstBusClass", sizeof (GstBusClass), 288}, - {"GstBus", sizeof (GstBus), 152}, - {"GstCaps", sizeof (GstCaps), 56}, - {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 80}, - {"GstClockClass", sizeof (GstClockClass), 320}, - {"GstClockEntry", sizeof (GstClockEntry), 80}, - {"GstClock", sizeof (GstClock), 240}, + {"GstAllocationParams", sizeof (GstAllocationParams), 64}, + {"GstAllocator", sizeof (GstAllocator), 176}, + {"GstAllocatorClass", sizeof (GstAllocatorClass), 232}, + {"GstBinClass", sizeof (GstBinClass), 576}, + {"GstBin", sizeof (GstBin), 376}, + {"GstBuffer", sizeof (GstBuffer), 112}, + {"GstBufferPoolAcquireParams", sizeof (GstBufferPoolAcquireParams), 64}, + {"GstBufferPool", sizeof (GstBufferPool), 136}, + {"GstBufferPoolClass", sizeof (GstBufferPoolClass), 288}, + {"GstBusClass", sizeof (GstBusClass), 232}, + {"GstBus", sizeof (GstBus), 128}, + {"GstCaps", sizeof (GstCaps), 64}, + {"GstChildProxyInterface", sizeof (GstChildProxyInterface), 88}, + {"GstClockClass", sizeof (GstClockClass), 264}, + {"GstClockEntry", sizeof (GstClockEntry), 112}, + {"GstClock", sizeof (GstClock), 128}, + {"GstControlBinding", sizeof (GstControlBinding), 152}, + {"GstControlBindingClass", sizeof (GstControlBindingClass), 248}, + {"GstControlSource", sizeof (GstControlSource), 136}, + {"GstControlSourceClass", sizeof (GstControlSourceClass), 216}, {"GstDebugCategory", sizeof (GstDebugCategory), 24}, {"GstElementClass", sizeof (GstElementClass), 488}, - {"GstElementDetails", sizeof (GstElementDetails), 64}, - {"GstElementFactoryClass", sizeof (GstElementFactoryClass), 304}, - {"GstElementFactory", sizeof (GstElementFactory), 280}, - {"GstElement", sizeof (GstElement), 232}, - {"GstEventClass", sizeof (GstEventClass), 64}, - {"GstEvent", sizeof (GstEvent), 64}, + {"GstElement", sizeof (GstElement), 264}, + {"GstEvent", sizeof (GstEvent), 88}, {"GstFormatDefinition", sizeof (GstFormatDefinition), 32}, - {"GstGhostPadClass", sizeof (GstGhostPadClass), 344}, - {"GstGhostPad", sizeof (GstGhostPad), 384}, - {"GstIndexAssociation", sizeof (GstIndexAssociation), 16}, - {"GstIndexClass", sizeof (GstIndexClass), 312}, - {"GstIndexEntry", sizeof (GstIndexEntry), 32}, - {"GstIndexFactoryClass", sizeof (GstIndexFactoryClass), 304}, - {"GstIndexFactory", sizeof (GstIndexFactory), 192}, - {"GstIndexGroup", sizeof (GstIndexGroup), 24}, - {"GstIndex", sizeof (GstIndex), 192}, - {"GstIterator", sizeof (GstIterator), 104}, - {"GstMessageClass", sizeof (GstMessageClass), 64}, - {"GstMessage", sizeof (GstMessage), 104}, - {"GstMiniObjectClass", sizeof (GstMiniObjectClass), 32}, - {"GstMiniObject", sizeof (GstMiniObject), 24}, - {"GstObjectClass", sizeof (GstObjectClass), 240}, - {"GstObject", sizeof (GstObject), 80}, - {"GstPadClass", sizeof (GstPadClass), 304}, - {"GstPad", sizeof (GstPad), 368}, - {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 280}, - {"GstPadTemplate", sizeof (GstPadTemplate), 136}, - {"GstPadTemplate", sizeof (GstPadTemplate), 136}, + {"GstGhostPadClass", sizeof (GstGhostPadClass), 272}, + {"GstGhostPad", sizeof (GstGhostPad), 536}, + {"GstIterator", sizeof (GstIterator), 120}, + {"GstMemory", sizeof (GstMemory), 112}, + {"GstMapInfo", sizeof (GstMapInfo), 104}, + {"GstMessage", sizeof (GstMessage), 120}, + {"GstMeta", sizeof (GstMeta), 16}, + {"GstMetaTransformCopy", sizeof (GstMetaTransformCopy), 24}, + {"GstMetaInfo", sizeof (GstMetaInfo), 80}, + {"GstMiniObject", sizeof (GstMiniObject), 64}, + {"GstObjectClass", sizeof (GstObjectClass), 184}, + {"GstObject", sizeof (GstObject), 88}, + {"GstPadClass", sizeof (GstPadClass), 232}, + {"GstPad", sizeof (GstPad), 520}, + {"GstPadProbeInfo", sizeof (GstPadProbeInfo), 72}, + {"GstPadTemplateClass", sizeof (GstPadTemplateClass), 224}, + {"GstPadTemplate", sizeof (GstPadTemplate), 144}, {"GstParamSpecFraction", sizeof (GstParamSpecFraction), 96}, - {"GstParamSpecMiniObject", sizeof (GstParamSpecMiniObject), 72}, - {"GstPipelineClass", sizeof (GstPipelineClass), 600}, - {"GstPipeline", sizeof (GstPipeline), 392}, - {"GstPluginClass", sizeof (GstPluginClass), 272}, - {"GstPluginDesc", sizeof (GstPluginDesc), 104}, - {"GstPluginFeatureClass", sizeof (GstPluginFeatureClass), 272}, - {"GstPluginFeature", sizeof (GstPluginFeature), 144}, - {"GstPlugin", sizeof (GstPlugin), 280}, + {"GstPipelineClass", sizeof (GstPipelineClass), 608}, + {"GstPipeline", sizeof (GstPipeline), 440}, + {"GstPluginDesc", sizeof (GstPluginDesc), 112}, {"GstPresetInterface", sizeof (GstPresetInterface), 112}, - {"GstProxyPadClass", sizeof (GstProxyPadClass), 312}, - {"GstProxyPad", sizeof (GstProxyPad), 376}, - {"GstQueryClass", sizeof (GstQueryClass), 64}, - {"GstQuery", sizeof (GstQuery), 48}, - {"GstQueryTypeDefinition", sizeof (GstQueryTypeDefinition), 32}, - {"GstRegistryClass", sizeof (GstRegistryClass), 288}, - {"GstRegistry", sizeof (GstRegistry), 144}, - {"GstSegment", sizeof (GstSegment), 104}, - {"GstStaticCaps", sizeof (GstStaticCaps), 96}, - {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 112}, - {"GstStructure", sizeof (GstStructure), 40}, - {"GstSystemClockClass", sizeof (GstSystemClockClass), 352}, - {"GstSystemClock", sizeof (GstSystemClock), 288}, - {"GstTagList", sizeof (GstTagList), 40}, + {"GstProxyPadClass", sizeof (GstProxyPadClass), 240}, + {"GstProxyPad", sizeof (GstProxyPad), 528}, + {"GstQuery", sizeof (GstQuery), 72}, + {"GstRegistryClass", sizeof (GstRegistryClass), 184}, + {"GstRegistry", sizeof (GstRegistry), 96}, + {"GstSegment", sizeof (GstSegment), 120}, + {"GstStaticCaps", sizeof (GstStaticCaps), 48}, + {"GstStaticPadTemplate", sizeof (GstStaticPadTemplate), 64}, + {"GstStructure", sizeof (GstStructure), 16}, + {"GstSystemClockClass", sizeof (GstSystemClockClass), 296}, + {"GstSystemClock", sizeof (GstSystemClock), 168}, + {"GstTagList", sizeof (GstTagList), 64,}, {"GstTagSetterInterface", sizeof (GstTagSetterInterface), 16}, - {"GstTaskClass", sizeof (GstTaskClass), 280}, - {"GstTask", sizeof (GstTask), 160}, - {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 304}, - {"GstTaskPool", sizeof (GstTaskPool), 120}, - {"GstTaskThreadCallbacks", sizeof (GstTaskThreadCallbacks), 48}, - {"GstTraceEntry", sizeof (GstTraceEntry), 128}, - {"GstTrace", sizeof (GstTrace), 32}, - {"GstTypeFindFactoryClass", sizeof (GstTypeFindFactoryClass), 304}, - {"GstTypeFindFactory", sizeof (GstTypeFindFactory), 216}, + {"GstTaskClass", sizeof (GstTaskClass), 224}, + {"GstTask", sizeof (GstTask), 200}, + {"GstTaskPoolClass", sizeof (GstTaskPoolClass), 248}, + {"GstTaskPool", sizeof (GstTaskPool), 128}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {"GstTocSetterInterface", sizeof (GstTocSetterInterface), 16}, {"GstTypeFind", sizeof (GstTypeFind), 64}, -#if !defined(GST_DISABLE_DEPRECATED) && !defined(GST_REMOVE_DEPRECATED) - {"GstTypeNameData", sizeof (GstTypeNameData), 16}, -#endif - {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 88}, + {"GstURIHandlerInterface", sizeof (GstURIHandlerInterface), 48}, {"GstValueTable", sizeof (GstValueTable), 64}, {NULL, 0, 0} }; -- 2.7.4