mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
update to libvpx b46243d from repo https://chromium.googlesource.com/webm/libvpx
This commit is contained in:
@@ -30,24 +30,24 @@
|
||||
/* MinGW uses f{seek,tell}o64 for large files. */
|
||||
#define fseeko fseeko64
|
||||
#define ftello ftello64
|
||||
#endif /* _WIN32 */
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#if CONFIG_OS_SUPPORT
|
||||
#if defined(_MSC_VER)
|
||||
#include <io.h> /* NOLINT */
|
||||
#define isatty _isatty
|
||||
#define fileno _fileno
|
||||
#include <io.h> /* NOLINT */
|
||||
#define isatty _isatty
|
||||
#define fileno _fileno
|
||||
#else
|
||||
#include <unistd.h> /* NOLINT */
|
||||
#endif /* _MSC_VER */
|
||||
#endif /* CONFIG_OS_SUPPORT */
|
||||
#include <unistd.h> /* NOLINT */
|
||||
#endif /* _MSC_VER */
|
||||
#endif /* CONFIG_OS_SUPPORT */
|
||||
|
||||
/* Use 32-bit file operations in WebM file format when building ARM
|
||||
* executables (.axf) with RVCT. */
|
||||
#if !CONFIG_OS_SUPPORT
|
||||
#define fseeko fseek
|
||||
#define ftello ftell
|
||||
#endif /* CONFIG_OS_SUPPORT */
|
||||
#endif /* CONFIG_OS_SUPPORT */
|
||||
|
||||
#define LITERALU64(hi, lo) ((((uint64_t)hi) << 32) | lo)
|
||||
|
||||
@@ -55,14 +55,13 @@
|
||||
#define PATH_MAX 512
|
||||
#endif
|
||||
|
||||
#define IVF_FRAME_HDR_SZ (4 + 8) /* 4 byte size + 8 byte timestamp */
|
||||
#define IVF_FRAME_HDR_SZ (4 + 8) /* 4 byte size + 8 byte timestamp */
|
||||
#define IVF_FILE_HDR_SZ 32
|
||||
|
||||
#define RAW_FRAME_HDR_SZ sizeof(uint32_t)
|
||||
|
||||
#define VP8_FOURCC 0x30385056
|
||||
#define VP9_FOURCC 0x30395056
|
||||
#define VP10_FOURCC 0x303a5056
|
||||
|
||||
enum VideoFileType {
|
||||
FILE_TYPE_RAW,
|
||||
@@ -158,7 +157,7 @@ void vpx_img_truncate_16_to_8(vpx_image_t *dst, vpx_image_t *src);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif // TOOLS_COMMON_H_
|
||||
|
Reference in New Issue
Block a user