mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
tests: add PPC64 abi struct sizes
This commit is contained in:
parent
ab79e50510
commit
0d811c73e2
3 changed files with 95 additions and 17 deletions
|
@ -254,6 +254,7 @@ noinst_HEADERS = \
|
|||
libs/struct_i386.h \
|
||||
libs/struct_i386_osx.h \
|
||||
libs/struct_ppc32.h \
|
||||
libs/struct_ppc64.h \
|
||||
libs/struct_x86_64.h
|
||||
|
||||
AM_CFLAGS = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
|
||||
|
|
|
@ -82,24 +82,21 @@
|
|||
# include "struct_i386.h"
|
||||
# define HAVE_ABI_SIZES TRUE
|
||||
# endif
|
||||
#else
|
||||
#ifdef HAVE_CPU_X86_64
|
||||
#include "struct_x86_64.h"
|
||||
#define HAVE_ABI_SIZES TRUE
|
||||
#else
|
||||
#ifdef HAVE_CPU_ARM
|
||||
#include "struct_arm.h"
|
||||
#define HAVE_ABI_SIZES FALSE
|
||||
#else
|
||||
#ifdef __powerpc__
|
||||
#include "struct_ppc32.h"
|
||||
#define HAVE_ABI_SIZES TRUE
|
||||
#elif HAVE_CPU_X86_64
|
||||
# include "struct_x86_64.h"
|
||||
# define HAVE_ABI_SIZES TRUE
|
||||
#elif HAVE_CPU_ARM
|
||||
# include "struct_arm.h"
|
||||
# define HAVE_ABI_SIZES FALSE
|
||||
#elif HAVE_CPU_PPC
|
||||
# include "struct_ppc32.h"
|
||||
# define HAVE_ABI_SIZES TRUE
|
||||
#elif HAVE_CPU_PPC64
|
||||
# include "struct_ppc64.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
|
||||
# include "struct_i386.h"
|
||||
# define HAVE_ABI_SIZES FALSE
|
||||
#endif
|
||||
|
||||
GST_START_TEST (test_ABI)
|
||||
|
|
80
tests/check/libs/struct_ppc64.h
Normal file
80
tests/check/libs/struct_ppc64.h
Normal file
|
@ -0,0 +1,80 @@
|
|||
|
||||
GstCheckABIStruct list[] = {
|
||||
{"GstAppSinkCallbacks", sizeof (GstAppSinkCallbacks), 56},
|
||||
{"GstAppSinkClass", sizeof (GstAppSinkClass), 864},
|
||||
{"GstAppSink", sizeof (GstAppSink), 704},
|
||||
{"GstAppSrcCallbacks", sizeof (GstAppSrcCallbacks), 56},
|
||||
{"GstAppSrcClass", sizeof (GstAppSrcClass), 872},
|
||||
{"GstAppSrc", sizeof (GstAppSrc), 688},
|
||||
{"GstAudioCdSrcClass", sizeof (GstAudioCdSrcClass), 1040},
|
||||
{"GstAudioCdSrc", sizeof (GstAudioCdSrc), 720},
|
||||
{"GstAudioCdSrcTrack", sizeof (GstAudioCdSrcTrack), 48},
|
||||
{"GstAudioClockClass", sizeof (GstAudioClockClass), 328},
|
||||
{"GstAudioClock", sizeof (GstAudioClock), 240},
|
||||
{"GstAudioFilterClass", sizeof (GstAudioFilterClass), 856},
|
||||
{"GstAudioFilter", sizeof (GstAudioFilter), 928},
|
||||
{"GstAudioSinkClass", sizeof (GstAudioSinkClass), 928},
|
||||
{"GstAudioSink", sizeof (GstAudioSink), 792},
|
||||
{"GstAudioSrcClass", sizeof (GstAudioSrcClass), 984},
|
||||
{"GstAudioSrc", sizeof (GstAudioSrc), 800},
|
||||
{"GstAudioBaseSinkClass", sizeof (GstAudioBaseSinkClass), 840},
|
||||
{"GstAudioBaseSink", sizeof (GstAudioBaseSink), 752},
|
||||
{"GstAudioBaseSrcClass", sizeof (GstAudioBaseSrcClass), 896},
|
||||
{"GstAudioBaseSrc", sizeof (GstAudioBaseSrc), 760},
|
||||
{"GstRTPBaseAudioPayloadClass", sizeof (GstRTPBaseAudioPayloadClass), 600},
|
||||
{"GstRTPBaseAudioPayload", sizeof (GstRTPBaseAudioPayload), 600},
|
||||
{"GstRTPBaseDepayloadClass", sizeof (GstRTPBaseDepayloadClass), 552},
|
||||
{"GstRTPBaseDepayload", sizeof (GstRTPBaseDepayload), 456},
|
||||
{"GstRTPBasePayloadClass", sizeof (GstRTPBasePayloadClass), 568},
|
||||
{"GstRTPBasePayload", sizeof (GstRTPBasePayload), 536},
|
||||
{"GstColorBalanceChannelClass", sizeof (GstColorBalanceChannelClass), 176},
|
||||
{"GstColorBalanceChannel", sizeof (GstColorBalanceChannel), 72},
|
||||
{"GstColorBalanceInterface", sizeof (GstColorBalanceInterface), 88},
|
||||
{"GstDiscovererClass", sizeof (GstDiscovererClass), 200},
|
||||
{"GstDiscoverer", sizeof (GstDiscoverer), 64},
|
||||
{"GstFFTF32Complex", sizeof (GstFFTF32Complex), 8},
|
||||
{"GstFFTF64Complex", sizeof (GstFFTF64Complex), 16},
|
||||
{"GstFFTS16Complex", sizeof (GstFFTS16Complex), 4},
|
||||
{"GstFFTS32Complex", sizeof (GstFFTS32Complex), 8},
|
||||
{"GstNavigationInterface", sizeof (GstNavigationInterface), 24},
|
||||
{"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), 312},
|
||||
{"GstAudioRingBuffer", sizeof (GstAudioRingBuffer), 888},
|
||||
{"GstAudioRingBufferSpec", sizeof (GstAudioRingBufferSpec), 400},
|
||||
{"GstRTCPPacket", sizeof (GstRTCPPacket), 40},
|
||||
{"GstRTPPayloadInfo", sizeof (GstRTPPayloadInfo), 80},
|
||||
{"GstRTSPExtensionInterface", sizeof (GstRTSPExtensionInterface), 128},
|
||||
{"GstRTSPMessage", sizeof (GstRTSPMessage), 88},
|
||||
{"GstRTSPRange", sizeof (GstRTSPRange), 8},
|
||||
{"GstRTSPTime", sizeof (GstRTSPTime), 16},
|
||||
{"GstRTSPTimeRange", sizeof (GstRTSPTimeRange), 88},
|
||||
{"GstRTSPTransport", sizeof (GstRTSPTransport), 120},
|
||||
{"GstRTSPUrl", sizeof (GstRTSPUrl), 56},
|
||||
{"GstRTSPWatchFuncs", sizeof (GstRTSPWatchFuncs), 96},
|
||||
{"GstSDPAttribute", sizeof (GstSDPAttribute), 16},
|
||||
{"GstSDPBandwidth", sizeof (GstSDPBandwidth), 16},
|
||||
{"GstSDPConnection", sizeof (GstSDPConnection), 32},
|
||||
{"GstSDPKey", sizeof (GstSDPKey), 16},
|
||||
{"GstSDPMedia", sizeof (GstSDPMedia), 80},
|
||||
{"GstSDPMessage", sizeof (GstSDPMessage), 184},
|
||||
{"GstSDPOrigin", sizeof (GstSDPOrigin), 48},
|
||||
{"GstSDPTime", sizeof (GstSDPTime), 24},
|
||||
{"GstSDPZone", sizeof (GstSDPZone), 16},
|
||||
{"GstStreamVolumeInterface", sizeof (GstStreamVolumeInterface), 16},
|
||||
{"GstTagDemuxClass", sizeof (GstTagDemuxClass), 552},
|
||||
{"GstTagDemux", sizeof (GstTagDemux), 304},
|
||||
{"GstVideoFilterClass", sizeof (GstVideoFilterClass), 872},
|
||||
{"GstVideoFilter", sizeof (GstVideoFilter), 920},
|
||||
{"GstVideoOrientationInterface", sizeof (GstVideoOrientationInterface), 80},
|
||||
{"GstVideoRectangle", sizeof (GstVideoRectangle), 16},
|
||||
{"GstVideoSinkClass", sizeof (GstVideoSinkClass), 832},
|
||||
{"GstVideoSink", sizeof (GstVideoSink), 712},
|
||||
{"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 48},
|
||||
{NULL, 0, 0}
|
||||
};
|
Loading…
Reference in a new issue