SOURCES_X264 += $(SOURCES_X86) ;
ASFLAGS = -f elf ;
+ if $(OS) != BEOS
+ {
+ DEFINES += HAVE_STDINT_H ;
+ }
+
# Don't ask
NOARUPDATE = false ;
}
if $(OSPLAT) = PPC
{
+ DEFINES += HAVE_STDINT_H ;
SOURCES_X264 += $(SOURCES_ALTIVEC) ;
OPTIM += -falign-loops=16 ;
Library libx264 : $(SOURCES_X264) ;
# x264
-LINKLIBS += -lm ;
+if $(OS) != BEOS
+{
+ LINKLIBS += -lm ;
+}
LinkLibraries x264 : libx264.a ;
Main x264 : x264.c ;
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
+
#include <stdlib.h>
#include <string.h>
-#include <stdint.h>
#include <stdio.h>
#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#ifndef _COMMON_H
#define _COMMON_H 1
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
#include "../x264.h"
#include "bs.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
#include <stdlib.h>
#include <string.h>
-#include <stdint.h>
#include "../x264.h"
#include "cpu.h"
#include <stdlib.h>
#include <stdio.h>
-#include <stdint.h>
#include <string.h>
#include "common.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
-#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
+#include <stdlib.h>
#include "x264.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "common.h"
#include "macroblock.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
-#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
+#include <stdlib.h>
#include "x264.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "x264.h" /* DECLARE_ALIGNED */
#include "../mc.h"
/* XXX predict4x4 are inspired from ffmpeg h264 decoder
*/
-#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
+#include <stdlib.h>
#include "x264.h" /* for keyword inline */
#include "../predict.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "common.h"
#include "macroblock.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "../x264.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
-#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
+#include <stdlib.h>
#if !(defined(_MSC_VER) || defined(__MINGW32__))
#include <sys/time.h>
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
#include <stdlib.h>
#include <string.h>
-#include <stdint.h>
#include "../x264.h"
#include "pixel.h"
/* XXX predict4x4 are inspired from ffmpeg h264 decoder
*/
-#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
+#include <stdlib.h>
#include "x264.h"
#include "predict.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include <math.h>
#include "../core/common.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "../core/common.h"
#include "macroblock.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "../core/common.h"
#include "../core/vlc.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "../core/common.h"
#include "macroblock.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "../core/common.h"
#include "me.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "../core/common.h"
#include "ratecontrol.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include "../x264.h"
#include "../core/bs.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <stdint.h>
#include <math.h>
#include <fcntl.h> /* _O_BINARY */
#endif
-#include "x264.h"
#include "core/common.h"
+#include "x264.h"
#define DATA_MAX 3000000
uint8_t data[DATA_MAX];