2011-01-06 16:25:43 +01:00
|
|
|
// Copyright 2010 Google Inc.
|
|
|
|
//
|
|
|
|
// This code is licensed under the same terms as WebM:
|
|
|
|
// Software License Agreement: http://www.webmproject.org/license/software/
|
|
|
|
// Additional IP Rights Grant: http://www.webmproject.org/license/additional/
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Common types
|
|
|
|
//
|
|
|
|
// Author: Skal (pascal.massimino@gmail.com)
|
|
|
|
|
2011-02-01 07:00:33 +01:00
|
|
|
#ifndef WEBP_WEBP_TYPES_H_
|
|
|
|
#define WEBP_WEBP_TYPES_H_
|
2011-01-06 16:25:43 +01:00
|
|
|
|
|
|
|
#ifndef _MSC_VER
|
|
|
|
#include <inttypes.h>
|
2011-03-24 01:42:48 +01:00
|
|
|
#ifdef ANSI
|
|
|
|
#define inline
|
|
|
|
#endif /* ANSI */
|
2011-01-06 16:25:43 +01:00
|
|
|
#else
|
|
|
|
typedef signed char int8_t;
|
|
|
|
typedef unsigned char uint8_t;
|
|
|
|
typedef signed short int16_t;
|
|
|
|
typedef unsigned short uint16_t;
|
|
|
|
typedef signed int int32_t;
|
|
|
|
typedef unsigned int uint32_t;
|
|
|
|
typedef unsigned long long int uint64_t;
|
2011-02-16 23:33:16 +01:00
|
|
|
typedef long long int int64_t;
|
2011-01-06 16:25:43 +01:00
|
|
|
#define inline __forceinline
|
|
|
|
#endif /* _MSC_VER */
|
|
|
|
|
2011-02-01 07:00:33 +01:00
|
|
|
#endif /* WEBP_WEBP_TYPES_H_ */
|