From c6e754635cc115b5f19295bb8270c0a938a1a133 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 27 Sep 2012 09:44:07 +0200 Subject: [PATCH] tests: enable library abi checks --- tests/check/Makefile.am | 2 - tests/check/libs/libsabi.c | 8 +++- tests/check/libs/struct_arm.h | 55 +++++++++++++-------- tests/check/libs/struct_hppa.h | 58 +++++++++++++--------- tests/check/libs/struct_i386.h | 63 ++++++++++++++---------- tests/check/libs/struct_ppc32.h | 58 +++++++++++++--------- tests/check/libs/struct_ppc64.h | 82 ++++++++++++++------------------ tests/check/libs/struct_sparc.h | 55 +++++++++++++-------- tests/check/libs/struct_x86_64.h | 67 +++++++++++++------------- 9 files changed, 252 insertions(+), 196 deletions(-) diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index b4b0263d3e..b4880fb71f 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -44,9 +44,7 @@ ABI_CHECKS = gst/gstabi endif endif -if FALSE LIBSABI_CHECKS = libs/libsabi -endif if HAVE_CXX CXX_CHECKS = gst/gstcpp libs/gstlibscpp diff --git a/tests/check/libs/libsabi.c b/tests/check/libs/libsabi.c index 586bd349b1..a5455a9b7a 100644 --- a/tests/check/libs/libsabi.c +++ b/tests/check/libs/libsabi.c @@ -1,5 +1,5 @@ /* GStreamer - * Copyright (C) 2005 Wim Taymans + * Copyright (C) 2012 Wim Taymans * * libsabi.c: Unit test for ABI compatibility * @@ -23,6 +23,7 @@ #include #include +#include #include #include #include @@ -32,9 +33,12 @@ #include #include #include -#include #include #include +#include +#include +#include +#include #include #include #include diff --git a/tests/check/libs/struct_arm.h b/tests/check/libs/struct_arm.h index d63c71af46..484298eb13 100644 --- a/tests/check/libs/struct_arm.h +++ b/tests/check/libs/struct_arm.h @@ -1,26 +1,39 @@ GstCheckABIStruct list[] = { - {"GstAdapter", sizeof (GstAdapter), 52}, - {"GstAdapterClass", sizeof (GstAdapterClass), 84}, - {"GstBaseSink", sizeof (GstBaseSink), 408}, - {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 368}, - {"GstBaseSrc", sizeof (GstBaseSrc), 392}, - {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 376}, - {"GstBaseTransform", sizeof (GstBaseTransform), 368}, - {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 376}, - {"GstCollectData", sizeof (GstCollectData), 120}, - {"GstCollectPads", sizeof (GstCollectPads), 92}, - {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 136}, - {"GstPushSrc", sizeof (GstPushSrc), 408}, - {"GstPushSrcClass", sizeof (GstPushSrcClass), 396}, - {"GstTimedValue", sizeof (GstTimedValue), 32}, - {"GstValueArray", sizeof (GstValueArray), 24}, - {"GstController", sizeof (GstController), 40}, - {"GstControllerClass", sizeof (GstControllerClass), 84}, - {"GstNetClientClock", sizeof (GstNetClientClock), 256}, - {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 192}, + {"GstBaseParseClass", sizeof (GstBaseParseClass), 728}, + {"GstBaseParse", sizeof (GstBaseParse), 576}, + {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 792}, + {"GstBaseSink", sizeof (GstBaseSink), 664}, + {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 800}, + {"GstBaseSrc", sizeof (GstBaseSrc), 648}, + {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 816}, + {"GstBaseTransform", sizeof (GstBaseTransform), 576}, + {"GstBitReader", sizeof (GstBitReader), 56}, + {"GstByteReader", sizeof (GstByteReader), 48}, + {"GstByteWriter", sizeof (GstByteWriter), 96}, + {"GstCollectData", sizeof (GstCollectData), 200}, + {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 216}, + {"GstCollectPads", sizeof (GstCollectPads), 152}, + {"GstARGBControlBindingClass", sizeof (GstARGBControlBindingClass), 280}, + {"GstARGBControlBinding", sizeof (GstARGBControlBinding), 248}, + {"GstDirectControlBindingClass", sizeof (GstDirectControlBindingClass), 280}, + {"GstDirectControlBinding", sizeof (GstDirectControlBinding), 248}, + {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 280}, + {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, + {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, + {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, + {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, + {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, + {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, + {"GstTriggerControlSource", sizeof (GstTriggerControlSource), 240}, + {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 328}, + {"GstNetClientClock", sizeof (GstNetClientClock), 208}, {"GstNetTimePacket", sizeof (GstNetTimePacket), 16}, - {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 84}, - {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 120}, + {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 216}, + {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 128}, + {"GstPushSrcClass", sizeof (GstPushSrcClass), 856}, + {"GstPushSrc", sizeof (GstPushSrc), 680}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, {NULL, 0, 0} }; diff --git a/tests/check/libs/struct_hppa.h b/tests/check/libs/struct_hppa.h index 163f8a7c34..484298eb13 100644 --- a/tests/check/libs/struct_hppa.h +++ b/tests/check/libs/struct_hppa.h @@ -1,27 +1,39 @@ -static GstCheckABIStruct list[] = { - {"GstAdapter", sizeof (GstAdapter), 52}, - {"GstAdapterClass", sizeof (GstAdapterClass), 84}, - {"GstBaseSink", sizeof (GstBaseSink), 408}, - {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 368}, - {"GstBaseSrc", sizeof (GstBaseSrc), 392}, - {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 376}, - {"GstBaseTransform", sizeof (GstBaseTransform), 368}, - {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 376}, - {"GstCollectData", sizeof (GstCollectData), 120}, - {"GstCollectPads", sizeof (GstCollectPads), 92}, - {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 136}, - {"GstPushSrc", sizeof (GstPushSrc), 408}, - {"GstPushSrcClass", sizeof (GstPushSrcClass), 396}, - {"GstTimedValue", sizeof (GstTimedValue), 32}, - {"GstValueArray", sizeof (GstValueArray), 24}, - {"GstController", sizeof (GstController), 40}, - {"GstControllerClass", sizeof (GstControllerClass), 84}, - - {"GstNetClientClock", sizeof (GstNetClientClock), 256}, - {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 192}, +GstCheckABIStruct list[] = { + {"GstBaseParseClass", sizeof (GstBaseParseClass), 728}, + {"GstBaseParse", sizeof (GstBaseParse), 576}, + {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 792}, + {"GstBaseSink", sizeof (GstBaseSink), 664}, + {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 800}, + {"GstBaseSrc", sizeof (GstBaseSrc), 648}, + {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 816}, + {"GstBaseTransform", sizeof (GstBaseTransform), 576}, + {"GstBitReader", sizeof (GstBitReader), 56}, + {"GstByteReader", sizeof (GstByteReader), 48}, + {"GstByteWriter", sizeof (GstByteWriter), 96}, + {"GstCollectData", sizeof (GstCollectData), 200}, + {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 216}, + {"GstCollectPads", sizeof (GstCollectPads), 152}, + {"GstARGBControlBindingClass", sizeof (GstARGBControlBindingClass), 280}, + {"GstARGBControlBinding", sizeof (GstARGBControlBinding), 248}, + {"GstDirectControlBindingClass", sizeof (GstDirectControlBindingClass), 280}, + {"GstDirectControlBinding", sizeof (GstDirectControlBinding), 248}, + {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 280}, + {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, + {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, + {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, + {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, + {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, + {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, + {"GstTriggerControlSource", sizeof (GstTriggerControlSource), 240}, + {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 328}, + {"GstNetClientClock", sizeof (GstNetClientClock), 208}, {"GstNetTimePacket", sizeof (GstNetTimePacket), 16}, - {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 84}, - {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 120}, + {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 216}, + {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 128}, + {"GstPushSrcClass", sizeof (GstPushSrcClass), 856}, + {"GstPushSrc", sizeof (GstPushSrc), 680}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, {NULL, 0, 0} }; diff --git a/tests/check/libs/struct_i386.h b/tests/check/libs/struct_i386.h index 7717fdc3da..484298eb13 100644 --- a/tests/check/libs/struct_i386.h +++ b/tests/check/libs/struct_i386.h @@ -1,28 +1,39 @@ -static GstCheckABIStruct list[] = { - {"GstAdapter", sizeof(GstAdapter), 52}, - {"GstAdapterClass", sizeof(GstAdapterClass), 84}, - {"GstBaseSink", sizeof(GstBaseSink), 384}, - {"GstBaseSinkClass", sizeof(GstBaseSinkClass), 368}, - {"GstBaseSrc", sizeof(GstBaseSrc), 376}, - {"GstBaseSrcClass", sizeof(GstBaseSrcClass), 376}, - {"GstBaseTransform", sizeof(GstBaseTransform), 352}, - {"GstBaseTransformClass", sizeof(GstBaseTransformClass), 376}, - {"GstCollectData", sizeof(GstCollectData), 120}, - {"GstCollectPads", sizeof(GstCollectPads), 92}, - {"GstCollectPadsClass", sizeof(GstCollectPadsClass), 136}, - {"GstPushSrc", sizeof(GstPushSrc), 392}, - {"GstPushSrcClass", sizeof(GstPushSrcClass), 396}, - {"GstTimedValue", sizeof(GstTimedValue), 28}, - {"GstValueArray", sizeof(GstValueArray), 20}, - {"GstController", sizeof(GstController), 40}, - {"GstControllerClass", sizeof(GstControllerClass), 84}, - - {"GstNetClientClock", sizeof(GstNetClientClock), 248}, - {"GstNetClientClockClass", sizeof(GstNetClientClockClass), 192}, - {"GstNetTimePacket", sizeof(GstNetTimePacket), 16}, - {"GstNetTimeProvider", sizeof(GstNetTimeProvider), 84}, - {"GstNetTimeProviderClass", sizeof(GstNetTimeProviderClass), 120}, - - {NULL, 0, 0} +GstCheckABIStruct list[] = { + {"GstBaseParseClass", sizeof (GstBaseParseClass), 728}, + {"GstBaseParse", sizeof (GstBaseParse), 576}, + {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 792}, + {"GstBaseSink", sizeof (GstBaseSink), 664}, + {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 800}, + {"GstBaseSrc", sizeof (GstBaseSrc), 648}, + {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 816}, + {"GstBaseTransform", sizeof (GstBaseTransform), 576}, + {"GstBitReader", sizeof (GstBitReader), 56}, + {"GstByteReader", sizeof (GstByteReader), 48}, + {"GstByteWriter", sizeof (GstByteWriter), 96}, + {"GstCollectData", sizeof (GstCollectData), 200}, + {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 216}, + {"GstCollectPads", sizeof (GstCollectPads), 152}, + {"GstARGBControlBindingClass", sizeof (GstARGBControlBindingClass), 280}, + {"GstARGBControlBinding", sizeof (GstARGBControlBinding), 248}, + {"GstDirectControlBindingClass", sizeof (GstDirectControlBindingClass), 280}, + {"GstDirectControlBinding", sizeof (GstDirectControlBinding), 248}, + {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 280}, + {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, + {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, + {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, + {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, + {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, + {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, + {"GstTriggerControlSource", sizeof (GstTriggerControlSource), 240}, + {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 328}, + {"GstNetClientClock", sizeof (GstNetClientClock), 208}, + {"GstNetTimePacket", sizeof (GstNetTimePacket), 16}, + {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 216}, + {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 128}, + {"GstPushSrcClass", sizeof (GstPushSrcClass), 856}, + {"GstPushSrc", sizeof (GstPushSrc), 680}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, + {NULL, 0, 0} }; diff --git a/tests/check/libs/struct_ppc32.h b/tests/check/libs/struct_ppc32.h index abf92dc9ac..484298eb13 100644 --- a/tests/check/libs/struct_ppc32.h +++ b/tests/check/libs/struct_ppc32.h @@ -1,25 +1,39 @@ -static GstCheckABIStruct list[] = { - {"GstAdapter", sizeof (GstAdapter), 52}, - {"GstAdapterClass", sizeof (GstAdapterClass), 84}, - {"GstBaseSink", sizeof (GstBaseSink), 408}, - {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 368}, - {"GstBaseSrc", sizeof (GstBaseSrc), 392}, - {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 376}, - {"GstBaseTransform", sizeof (GstBaseTransform), 368}, - {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 376}, - {"GstCollectData", sizeof (GstCollectData), 120}, - {"GstCollectPads", sizeof (GstCollectPads), 92}, - {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 136}, - {"GstPushSrc", sizeof (GstPushSrc), 408}, - {"GstPushSrcClass", sizeof (GstPushSrcClass), 396}, - {"GstTimedValue", sizeof (GstTimedValue), 32}, - {"GstValueArray", sizeof (GstValueArray), 24}, - {"GstController", sizeof (GstController), 40}, - {"GstControllerClass", sizeof (GstControllerClass), 84}, - {"GstNetClientClock", sizeof (GstNetClientClock), 256}, - {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 192}, + +GstCheckABIStruct list[] = { + {"GstBaseParseClass", sizeof (GstBaseParseClass), 728}, + {"GstBaseParse", sizeof (GstBaseParse), 576}, + {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 792}, + {"GstBaseSink", sizeof (GstBaseSink), 664}, + {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 800}, + {"GstBaseSrc", sizeof (GstBaseSrc), 648}, + {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 816}, + {"GstBaseTransform", sizeof (GstBaseTransform), 576}, + {"GstBitReader", sizeof (GstBitReader), 56}, + {"GstByteReader", sizeof (GstByteReader), 48}, + {"GstByteWriter", sizeof (GstByteWriter), 96}, + {"GstCollectData", sizeof (GstCollectData), 200}, + {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 216}, + {"GstCollectPads", sizeof (GstCollectPads), 152}, + {"GstARGBControlBindingClass", sizeof (GstARGBControlBindingClass), 280}, + {"GstARGBControlBinding", sizeof (GstARGBControlBinding), 248}, + {"GstDirectControlBindingClass", sizeof (GstDirectControlBindingClass), 280}, + {"GstDirectControlBinding", sizeof (GstDirectControlBinding), 248}, + {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 280}, + {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, + {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, + {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, + {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, + {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, + {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, + {"GstTriggerControlSource", sizeof (GstTriggerControlSource), 240}, + {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 328}, + {"GstNetClientClock", sizeof (GstNetClientClock), 208}, {"GstNetTimePacket", sizeof (GstNetTimePacket), 16}, - {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 84}, - {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 120}, + {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 216}, + {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 128}, + {"GstPushSrcClass", sizeof (GstPushSrcClass), 856}, + {"GstPushSrc", sizeof (GstPushSrc), 680}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, {NULL, 0, 0} }; diff --git a/tests/check/libs/struct_ppc64.h b/tests/check/libs/struct_ppc64.h index 21654e82b8..484298eb13 100644 --- a/tests/check/libs/struct_ppc64.h +++ b/tests/check/libs/struct_ppc64.h @@ -1,47 +1,39 @@ -static 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} - , + +GstCheckABIStruct list[] = { + {"GstBaseParseClass", sizeof (GstBaseParseClass), 728}, + {"GstBaseParse", sizeof (GstBaseParse), 576}, + {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 792}, + {"GstBaseSink", sizeof (GstBaseSink), 664}, + {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 800}, + {"GstBaseSrc", sizeof (GstBaseSrc), 648}, + {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 816}, + {"GstBaseTransform", sizeof (GstBaseTransform), 576}, + {"GstBitReader", sizeof (GstBitReader), 56}, + {"GstByteReader", sizeof (GstByteReader), 48}, + {"GstByteWriter", sizeof (GstByteWriter), 96}, + {"GstCollectData", sizeof (GstCollectData), 200}, + {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 216}, + {"GstCollectPads", sizeof (GstCollectPads), 152}, + {"GstARGBControlBindingClass", sizeof (GstARGBControlBindingClass), 280}, + {"GstARGBControlBinding", sizeof (GstARGBControlBinding), 248}, + {"GstDirectControlBindingClass", sizeof (GstDirectControlBindingClass), 280}, + {"GstDirectControlBinding", sizeof (GstDirectControlBinding), 248}, + {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 280}, + {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, + {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, + {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, + {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, + {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, + {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, + {"GstTriggerControlSource", sizeof (GstTriggerControlSource), 240}, + {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 328}, + {"GstNetClientClock", sizeof (GstNetClientClock), 208}, + {"GstNetTimePacket", sizeof (GstNetTimePacket), 16}, + {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 216}, + {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 128}, + {"GstPushSrcClass", sizeof (GstPushSrcClass), 856}, + {"GstPushSrc", sizeof (GstPushSrc), 680}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, {NULL, 0, 0} }; diff --git a/tests/check/libs/struct_sparc.h b/tests/check/libs/struct_sparc.h index d63c71af46..484298eb13 100644 --- a/tests/check/libs/struct_sparc.h +++ b/tests/check/libs/struct_sparc.h @@ -1,26 +1,39 @@ GstCheckABIStruct list[] = { - {"GstAdapter", sizeof (GstAdapter), 52}, - {"GstAdapterClass", sizeof (GstAdapterClass), 84}, - {"GstBaseSink", sizeof (GstBaseSink), 408}, - {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 368}, - {"GstBaseSrc", sizeof (GstBaseSrc), 392}, - {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 376}, - {"GstBaseTransform", sizeof (GstBaseTransform), 368}, - {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 376}, - {"GstCollectData", sizeof (GstCollectData), 120}, - {"GstCollectPads", sizeof (GstCollectPads), 92}, - {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 136}, - {"GstPushSrc", sizeof (GstPushSrc), 408}, - {"GstPushSrcClass", sizeof (GstPushSrcClass), 396}, - {"GstTimedValue", sizeof (GstTimedValue), 32}, - {"GstValueArray", sizeof (GstValueArray), 24}, - {"GstController", sizeof (GstController), 40}, - {"GstControllerClass", sizeof (GstControllerClass), 84}, - {"GstNetClientClock", sizeof (GstNetClientClock), 256}, - {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 192}, + {"GstBaseParseClass", sizeof (GstBaseParseClass), 728}, + {"GstBaseParse", sizeof (GstBaseParse), 576}, + {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 792}, + {"GstBaseSink", sizeof (GstBaseSink), 664}, + {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 800}, + {"GstBaseSrc", sizeof (GstBaseSrc), 648}, + {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 816}, + {"GstBaseTransform", sizeof (GstBaseTransform), 576}, + {"GstBitReader", sizeof (GstBitReader), 56}, + {"GstByteReader", sizeof (GstByteReader), 48}, + {"GstByteWriter", sizeof (GstByteWriter), 96}, + {"GstCollectData", sizeof (GstCollectData), 200}, + {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 216}, + {"GstCollectPads", sizeof (GstCollectPads), 152}, + {"GstARGBControlBindingClass", sizeof (GstARGBControlBindingClass), 280}, + {"GstARGBControlBinding", sizeof (GstARGBControlBinding), 248}, + {"GstDirectControlBindingClass", sizeof (GstDirectControlBindingClass), 280}, + {"GstDirectControlBinding", sizeof (GstDirectControlBinding), 248}, + {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 280}, + {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, + {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, + {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, + {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, + {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, + {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, + {"GstTriggerControlSource", sizeof (GstTriggerControlSource), 240}, + {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 328}, + {"GstNetClientClock", sizeof (GstNetClientClock), 208}, {"GstNetTimePacket", sizeof (GstNetTimePacket), 16}, - {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 84}, - {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 120}, + {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 216}, + {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 128}, + {"GstPushSrcClass", sizeof (GstPushSrcClass), 856}, + {"GstPushSrc", sizeof (GstPushSrc), 680}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, {NULL, 0, 0} }; diff --git a/tests/check/libs/struct_x86_64.h b/tests/check/libs/struct_x86_64.h index 2d17aa4789..484298eb13 100644 --- a/tests/check/libs/struct_x86_64.h +++ b/tests/check/libs/struct_x86_64.h @@ -1,40 +1,39 @@ GstCheckABIStruct list[] = { - {"GstAdapterClass", sizeof (GstAdapterClass), 168}, - {"GstAdapter", sizeof (GstAdapter), 88}, - {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 728}, - {"GstBaseSink", sizeof (GstBaseSink), 600}, - {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 744}, - {"GstBaseSrc", sizeof (GstBaseSrc), 600}, - {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 744}, + {"GstBaseParseClass", sizeof (GstBaseParseClass), 728}, + {"GstBaseParse", sizeof (GstBaseParse), 576}, + {"GstBaseSinkClass", sizeof (GstBaseSinkClass), 792}, + {"GstBaseSink", sizeof (GstBaseSink), 664}, + {"GstBaseSrcClass", sizeof (GstBaseSrcClass), 800}, + {"GstBaseSrc", sizeof (GstBaseSrc), 648}, + {"GstBaseTransformClass", sizeof (GstBaseTransformClass), 816}, {"GstBaseTransform", sizeof (GstBaseTransform), 576}, - {"GstBitReader", sizeof (GstBitReader), 24}, - {"GstByteReader", sizeof (GstByteReader), 16}, - {"GstByteWriter", sizeof (GstByteWriter), 32}, - {"GstCollectData", sizeof (GstCollectData), 168}, - {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 272}, - {"GstCollectPads", sizeof (GstCollectPads), 168}, - {"GstControllerClass", sizeof (GstControllerClass), 168}, - {"GstController", sizeof (GstController), 80}, - {"GstControlSourceClass", sizeof (GstControlSourceClass), 176}, - {"GstControlSource", sizeof (GstControlSource), 80}, - {"GstDataQueueClass", sizeof (GstDataQueueClass), 184}, - {"GstDataQueueItem", sizeof (GstDataQueueItem), 40}, - {"GstDataQueue", sizeof (GstDataQueue), 128}, - {"GstDataQueueSize", sizeof (GstDataQueueSize), 16}, - {"GstDPPacketizer", sizeof (GstDPPacketizer), 64}, - {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 208}, - {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 128}, - {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 208}, - {"GstLFOControlSource", sizeof (GstLFOControlSource), 128}, - {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 384}, - {"GstNetClientClock", sizeof (GstNetClientClock), 368}, + {"GstBitReader", sizeof (GstBitReader), 56}, + {"GstByteReader", sizeof (GstByteReader), 48}, + {"GstByteWriter", sizeof (GstByteWriter), 96}, + {"GstCollectData", sizeof (GstCollectData), 200}, + {"GstCollectPadsClass", sizeof (GstCollectPadsClass), 216}, + {"GstCollectPads", sizeof (GstCollectPads), 152}, + {"GstARGBControlBindingClass", sizeof (GstARGBControlBindingClass), 280}, + {"GstARGBControlBinding", sizeof (GstARGBControlBinding), 248}, + {"GstDirectControlBindingClass", sizeof (GstDirectControlBindingClass), 280}, + {"GstDirectControlBinding", sizeof (GstDirectControlBinding), 248}, + {"GstInterpolationControlSourceClass", sizeof (GstInterpolationControlSourceClass), 280}, + {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, + {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, + {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, + {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, + {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, + {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, + {"GstTriggerControlSource", sizeof (GstTriggerControlSource), 240}, + {"GstNetClientClockClass", sizeof (GstNetClientClockClass), 328}, + {"GstNetClientClock", sizeof (GstNetClientClock), 208}, {"GstNetTimePacket", sizeof (GstNetTimePacket), 16}, - {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 240}, - {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 152}, - {"GstPushSrcClass", sizeof (GstPushSrcClass), 784}, - {"GstPushSrc", sizeof (GstPushSrc), 632}, - {"GstTimedValue", sizeof (GstTimedValue), 32}, - {"GstValueArray", sizeof (GstValueArray), 32}, + {"GstNetTimeProviderClass", sizeof (GstNetTimeProviderClass), 216}, + {"GstNetTimeProvider", sizeof (GstNetTimeProvider), 128}, + {"GstPushSrcClass", sizeof (GstPushSrcClass), 856}, + {"GstPushSrc", sizeof (GstPushSrc), 680}, + {"GstTimedValue", sizeof (GstTimedValue), 16}, {NULL, 0, 0} };