mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
Fix a couple of MMX issues.
Original commit message from CVS: Fix a couple of MMX issues.
This commit is contained in:
parent
448600ebe4
commit
3d4107e67b
2 changed files with 4 additions and 19 deletions
|
@ -162,9 +162,9 @@ void gst_getbits_init(gst_getbits_t *gb, GstGetbitsCallback callback, void *data
|
||||||
|
|
||||||
#ifdef HAVE_LIBMMX
|
#ifdef HAVE_LIBMMX
|
||||||
if (1) {
|
if (1) {
|
||||||
gb->getbits = getbits_mmx;
|
gb->getbits = _gst_getbits_mmx;
|
||||||
// gb->backbits = getbits_back_mmx;
|
// gb->backbits = _gst_getbits_back_mmx;
|
||||||
// gb->backbytes = getbits_byteback_mmx;
|
// gb->backbytes = _gst_getbits_byteback_mmx;
|
||||||
} else
|
} else
|
||||||
#endif /* HAVE_LIBMMX */
|
#endif /* HAVE_LIBMMX */
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,11 +3,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <config.h>
|
#include <gst/gst.h>
|
||||||
// FIXME - remove this HAVE_LIBMMX - let configure set it.
|
|
||||||
#undef HAVE_LIBMMX
|
|
||||||
|
|
||||||
//#include <byteswap.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBMMX
|
#ifdef HAVE_LIBMMX
|
||||||
#include <mmx.h>
|
#include <mmx.h>
|
||||||
|
@ -16,17 +12,6 @@
|
||||||
#include <sse.h>
|
#include <sse.h>
|
||||||
#endif /* HAVE_LIBSSE */
|
#endif /* HAVE_LIBSSE */
|
||||||
|
|
||||||
// FIXME - let configure set DEBUG_ENABLED.
|
|
||||||
/* debugging */
|
|
||||||
#ifndef DEBUG
|
|
||||||
#ifdef DEBUG_ENABLED
|
|
||||||
#define DEBUG(format, args...) g_print("DEBUG:(%d) " format, getpid() , ##args)
|
|
||||||
#else
|
|
||||||
#define DEBUG(format, args...)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
# define swab32(x) (x)
|
# define swab32(x) (x)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue