From: Tim-Philipp Müller Date: Sun, 7 Oct 2012 12:13:37 +0000 (+0100) Subject: tests: add ABI structs header for 32-bit powerpc X-Git-Tag: 1.19.3~511^2~5860 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6064e05a172e4585551e6171d10880dfa1e8ad3;p=platform%2Fupstream%2Fgstreamer.git tests: add ABI structs header for 32-bit powerpc --- diff --git a/tests/check/libs/libsabi.c b/tests/check/libs/libsabi.c index dfc720a..421f72e 100644 --- a/tests/check/libs/libsabi.c +++ b/tests/check/libs/libsabi.c @@ -91,12 +91,16 @@ #include "struct_arm.h" #define HAVE_ABI_SIZES TRUE #else -/* in case someone wants to generate a new arch */ +#ifdef __powerpc__ +#include "struct_ppc32.h" +#define HAVE_ABI_SIZES TRUE +#else /* in case someone wants to generate a new arch */ #include "struct_i386.h" #define HAVE_ABI_SIZES FALSE #endif #endif #endif +#endif GST_START_TEST (test_ABI) { diff --git a/tests/check/libs/struct_ppc32.h b/tests/check/libs/struct_ppc32.h new file mode 100644 index 0000000..1a67073 --- /dev/null +++ b/tests/check/libs/struct_ppc32.h @@ -0,0 +1,80 @@ + +GstCheckABIStruct list[] = { + {"GstAppSinkCallbacks", sizeof (GstAppSinkCallbacks), 28}, + {"GstAppSinkClass", sizeof (GstAppSinkClass), 436}, + {"GstAppSink", sizeof (GstAppSink), 488}, + {"GstAppSrcCallbacks", sizeof (GstAppSrcCallbacks), 28}, + {"GstAppSrcClass", sizeof (GstAppSrcClass), 440}, + {"GstAppSrc", sizeof (GstAppSrc), 472}, + {"GstAudioCdSrcClass", sizeof (GstAudioCdSrcClass), 524}, + {"GstAudioCdSrc", sizeof (GstAudioCdSrc), 488}, + {"GstAudioCdSrcTrack", sizeof (GstAudioCdSrcTrack), 36}, + {"GstAudioClockClass", sizeof (GstAudioClockClass), 164}, + {"GstAudioClock", sizeof (GstAudioClock), 160}, + {"GstAudioFilterClass", sizeof (GstAudioFilterClass), 436}, + {"GstAudioFilter", sizeof (GstAudioFilter), 704}, + {"GstAudioSinkClass", sizeof (GstAudioSinkClass), 468}, + {"GstAudioSink", sizeof (GstAudioSink), 552}, + {"GstAudioSrcClass", sizeof (GstAudioSrcClass), 496}, + {"GstAudioSrc", sizeof (GstAudioSrc), 544}, + {"GstAudioBaseSinkClass", sizeof (GstAudioBaseSinkClass), 424}, + {"GstAudioBaseSink", sizeof (GstAudioBaseSink), 528}, + {"GstAudioBaseSrcClass", sizeof (GstAudioBaseSrcClass), 452}, + {"GstAudioBaseSrc", sizeof (GstAudioBaseSrc), 520}, + {"GstRTPBaseAudioPayloadClass", sizeof (GstRTPBaseAudioPayloadClass), 304}, + {"GstRTPBaseAudioPayload", sizeof (GstRTPBaseAudioPayload), 456}, + {"GstRTPBaseDepayloadClass", sizeof (GstRTPBaseDepayloadClass), 280}, + {"GstRTPBaseDepayload", sizeof (GstRTPBaseDepayload), 328}, + {"GstRTPBasePayloadClass", sizeof (GstRTPBasePayloadClass), 288}, + {"GstRTPBasePayload", sizeof (GstRTPBasePayload), 408}, + {"GstColorBalanceChannelClass", sizeof (GstColorBalanceChannelClass), 88}, + {"GstColorBalanceChannel", sizeof (GstColorBalanceChannel), 40}, + {"GstColorBalanceInterface", sizeof (GstColorBalanceInterface), 44}, + {"GstDiscovererClass", sizeof (GstDiscovererClass), 100}, + {"GstDiscoverer", sizeof (GstDiscoverer), 32}, + {"GstFFTF32Complex", sizeof (GstFFTF32Complex), 8}, + {"GstFFTF64Complex", sizeof (GstFFTF64Complex), 16}, + {"GstFFTS16Complex", sizeof (GstFFTS16Complex), 4}, + {"GstFFTS32Complex", sizeof (GstFFTS32Complex), 8}, + {"GstNavigationInterface", sizeof (GstNavigationInterface), 12}, + {"gst_riff_acid", sizeof (gst_riff_acid), 24}, + {"gst_riff_dmlh", sizeof (gst_riff_dmlh), 4}, + {"gst_riff_index_entry", sizeof (gst_riff_index_entry), 16}, + {"gst_riff_strf_auds", sizeof (gst_riff_strf_auds), 16}, + {"gst_riff_strf_iavs", sizeof (gst_riff_strf_iavs), 32}, + {"gst_riff_strf_vids", sizeof (gst_riff_strf_vids), 40}, + {"gst_riff_strh", sizeof (gst_riff_strh), 48}, + {"GstAudioRingBufferClass", sizeof (GstAudioRingBufferClass), 156}, + {"GstAudioRingBuffer", sizeof (GstAudioRingBuffer), 768}, + {"GstAudioRingBufferSpec", sizeof (GstAudioRingBufferSpec), 352}, + {"GstRTCPPacket", sizeof (GstRTCPPacket), 36}, + {"GstRTPPayloadInfo", sizeof (GstRTPPayloadInfo), 40}, + {"GstRTSPExtensionInterface", sizeof (GstRTSPExtensionInterface), 64}, + {"GstRTSPMessage", sizeof (GstRTSPMessage), 44}, + {"GstRTSPRange", sizeof (GstRTSPRange), 8}, + {"GstRTSPTime", sizeof (GstRTSPTime), 16}, + {"GstRTSPTimeRange", sizeof (GstRTSPTimeRange), 40}, + {"GstRTSPTransport", sizeof (GstRTSPTransport), 92}, + {"GstRTSPUrl", sizeof (GstRTSPUrl), 32}, + {"GstRTSPWatchFuncs", sizeof (GstRTSPWatchFuncs), 48}, + {"GstSDPAttribute", sizeof (GstSDPAttribute), 8}, + {"GstSDPBandwidth", sizeof (GstSDPBandwidth), 8}, + {"GstSDPConnection", sizeof (GstSDPConnection), 20}, + {"GstSDPKey", sizeof (GstSDPKey), 8}, + {"GstSDPMedia", sizeof (GstSDPMedia), 44}, + {"GstSDPMessage", sizeof (GstSDPMessage), 96}, + {"GstSDPOrigin", sizeof (GstSDPOrigin), 24}, + {"GstSDPTime", sizeof (GstSDPTime), 12}, + {"GstSDPZone", sizeof (GstSDPZone), 8}, + {"GstStreamVolumeInterface", sizeof (GstStreamVolumeInterface), 8}, + {"GstTagDemuxClass", sizeof (GstTagDemuxClass), 284}, + {"GstTagDemux", sizeof (GstTagDemux), 208}, + {"GstVideoFilterClass", sizeof (GstVideoFilterClass), 444}, + {"GstVideoFilter", sizeof (GstVideoFilter), 640}, + {"GstVideoOrientationInterface", sizeof (GstVideoOrientationInterface), 40}, + {"GstVideoRectangle", sizeof (GstVideoRectangle), 16}, + {"GstVideoSinkClass", sizeof (GstVideoSinkClass), 420}, + {"GstVideoSink", sizeof (GstVideoSink), 496}, + {"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 24}, + {NULL, 0, 0} +};