Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
cd107896
Commit
cd107896
authored
18 years ago
by
Måns Rullgård
Browse files
Options
Downloads
Patches
Plain Diff
move more macros to internal.h
Originally committed as revision 7239 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5403f857
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavutil/common.h
+0
-72
0 additions, 72 deletions
libavutil/common.h
libavutil/internal.h
+72
-0
72 additions, 0 deletions
libavutil/internal.h
with
72 additions
and
72 deletions
libavutil/common.h
+
0
−
72
View file @
cd107896
...
@@ -26,10 +26,6 @@
...
@@ -26,10 +26,6 @@
#ifndef COMMON_H
#ifndef COMMON_H
#define COMMON_H
#define COMMON_H
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifdef HAVE_AV_CONFIG_H
#ifdef HAVE_AV_CONFIG_H
/* only include the following when compiling package */
/* only include the following when compiling package */
# include "config.h"
# include "config.h"
...
@@ -57,74 +53,6 @@
...
@@ -57,74 +53,6 @@
# include <inttypes.h>
# include <inttypes.h>
#ifndef PRId64
#define PRId64 "lld"
#endif
#ifndef PRIu64
#define PRIu64 "llu"
#endif
#ifndef PRIx64
#define PRIx64 "llx"
#endif
#ifndef PRIX64
#define PRIX64 "llX"
#endif
#ifndef PRId32
#define PRId32 "d"
#endif
#ifndef PRIdFAST16
#define PRIdFAST16 PRId32
#endif
#ifndef PRIdFAST32
#define PRIdFAST32 PRId32
#endif
#ifndef INT16_MIN
#define INT16_MIN (-0x7fff-1)
#endif
#ifndef INT16_MAX
#define INT16_MAX 0x7fff
#endif
#ifndef INT32_MIN
#define INT32_MIN (-0x7fffffff-1)
#endif
#ifndef INT32_MAX
#define INT32_MAX 0x7fffffff
#endif
#ifndef UINT32_MAX
#define UINT32_MAX 0xffffffff
#endif
#ifndef INT64_MIN
#define INT64_MIN (-0x7fffffffffffffffLL-1)
#endif
#ifndef INT64_MAX
#define INT64_MAX int64_t_C(9223372036854775807)
#endif
#ifndef UINT64_MAX
#define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF)
#endif
#ifndef INT_BIT
# if INT_MAX != 2147483647
# define INT_BIT 64
# else
# define INT_BIT 32
# endif
#endif
#ifndef int64_t_C
#ifndef int64_t_C
#define int64_t_C(c) (c ## LL)
#define int64_t_C(c) (c ## LL)
#define uint64_t_C(c) (c ## ULL)
#define uint64_t_C(c) (c ## ULL)
...
...
This diff is collapsed.
Click to expand it.
libavutil/internal.h
+
72
−
0
View file @
cd107896
...
@@ -50,6 +50,78 @@
...
@@ -50,6 +50,78 @@
#endif
#endif
#endif
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifndef PRId64
#define PRId64 "lld"
#endif
#ifndef PRIu64
#define PRIu64 "llu"
#endif
#ifndef PRIx64
#define PRIx64 "llx"
#endif
#ifndef PRIX64
#define PRIX64 "llX"
#endif
#ifndef PRId32
#define PRId32 "d"
#endif
#ifndef PRIdFAST16
#define PRIdFAST16 PRId32
#endif
#ifndef PRIdFAST32
#define PRIdFAST32 PRId32
#endif
#ifndef INT16_MIN
#define INT16_MIN (-0x7fff-1)
#endif
#ifndef INT16_MAX
#define INT16_MAX 0x7fff
#endif
#ifndef INT32_MIN
#define INT32_MIN (-0x7fffffff-1)
#endif
#ifndef INT32_MAX
#define INT32_MAX 0x7fffffff
#endif
#ifndef UINT32_MAX
#define UINT32_MAX 0xffffffff
#endif
#ifndef INT64_MIN
#define INT64_MIN (-0x7fffffffffffffffLL-1)
#endif
#ifndef INT64_MAX
#define INT64_MAX int64_t_C(9223372036854775807)
#endif
#ifndef UINT64_MAX
#define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF)
#endif
#ifndef INT_BIT
# if INT_MAX != 2147483647
# define INT_BIT 64
# else
# define INT_BIT 32
# endif
#endif
#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
# define PIC
# define PIC
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment