diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-17 12:16:38 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-21 23:25:36 +0100 |
commit | 86c909558ce3e7505d5a63647c27cd0a4314a603 (patch) | |
tree | 05296e13d5d68a282271d8e5c950a86db5be015f /libavcodec/internal.h | |
parent | 495de744fa949eb789441349736bedc2301d0b61 (diff) |
avcodec/internal: Move FF_SIGNBIT and ff_log2_run to mathops.h
It is a more fitting place for them.
Also move the definition of ff_log2_run to mathtables.c.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 854c969395..351c057d01 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -44,8 +44,6 @@ #define FF_SANE_NB_CHANNELS 512U -#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1) - #if HAVE_SIMD_ALIGN_64 # define STRIDE_ALIGN 64 /* AVX-512 */ #elif HAVE_SIMD_ALIGN_32 @@ -159,8 +157,6 @@ typedef struct AVCodecInternal { AVChannelLayout initial_ch_layout; } AVCodecInternal; -extern const uint8_t ff_log2_run[41]; - /** * Return the index into tab at which {a,b} match elements {[0],[1]} of tab. * If there is no such matching pair then size is returned. |