mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
tests: add ABI structs header for 32-bit powerpc
This commit is contained in:
parent
3bc58b6309
commit
c6064e05a1
2 changed files with 85 additions and 1 deletions
|
@ -91,12 +91,16 @@
|
||||||
#include "struct_arm.h"
|
#include "struct_arm.h"
|
||||||
#define HAVE_ABI_SIZES TRUE
|
#define HAVE_ABI_SIZES TRUE
|
||||||
#else
|
#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"
|
#include "struct_i386.h"
|
||||||
#define HAVE_ABI_SIZES FALSE
|
#define HAVE_ABI_SIZES FALSE
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_START_TEST (test_ABI)
|
GST_START_TEST (test_ABI)
|
||||||
{
|
{
|
||||||
|
|
80
tests/check/libs/struct_ppc32.h
Normal file
80
tests/check/libs/struct_ppc32.h
Normal file
|
@ -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}
|
||||||
|
};
|
Loading…
Reference in a new issue