Unified · Split
| @@ -30,7 +30,9 @@ · 29 unmodified lines | ||
| 30 | 30 | #include <math.h> |
| 31 | 31 | #include <string.h> |
| 32 | 32 | |
| 33 | +#include "libavutil/error.h" | |
| 33 | 34 | #include "libavutil/mathematics.h" |
| 35 | +#include "libavutil/mem.h" | |
| 34 | 36 | #include "dct.h" |
| 35 | 37 | #include "dct32.h" |
| 36 | 38 | |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include <stdint.h> |
| 29 | 29 | |
| 30 | 30 | #include "libavutil/avassert.h" |
| 31 | +#include "libavutil/libm.h" | |
| 31 | 32 | #include "libavutil/thread.h" |
| 32 | 33 | |
| 33 | 34 | #include "mpegaudiodata.h" |
| @@ -25,6 +25,8 @@ · 24 unmodified lines | ||
| 25 | 25 | * @author Kamil Nowosad |
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | +#include <string.h> | |
| 29 | + | |
| 28 | 30 | #include "libavutil/avassert.h" |
| 29 | 31 | #include "mqc.h" |
| 30 | 32 | |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "config.h" |
| 33 | 33 | #include "libavutil/intreadwrite.h" |
| 34 | 34 | #include "libavutil/avassert.h" |
| 35 | +#include "libavutil/common.h" | |
| 35 | 36 | |
| 36 | 37 | #if ARCH_X86_64 |
| 37 | 38 | // TODO: Benchmark and optionally enable on other 64-bit architectures. |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | #include <stdlib.h> |
| 22 | 22 | #include <math.h> |
| 23 | +#include "libavutil/error.h" | |
| 23 | 24 | #include "libavutil/mathematics.h" |
| 24 | 25 | #include "rdft.h" |
| 25 | 26 | |
| @@ -36,7 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #define AVUTIL_INTERNAL_H |
| 37 | 37 | #define avpriv_request_sample(...) |
| 38 | 38 | #include "tableprint.h" |
| 39 | −#include "get_bits.h" | |
| 39 | +#include "vlc.h" | |
| 40 | 40 | #include "mathtables.c" |
| 41 | 41 | #include "libavutil/reverse.c" |
| 42 | 42 | #include "bitstream.c" |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include <string.h> |
| 39 | 39 | |
| 40 | 40 | #include "libavutil/cpu.h" |
| 41 | +#include "libavutil/error.h" | |
| 41 | 42 | #include "libavutil/lfg.h" |
| 42 | 43 | #include "libavutil/log.h" |
| 43 | 44 | #include "libavutil/mathematics.h" |
| @@ -20,6 +20,8 @@ · 19 unmodified lines | ||
| 20 | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | +#include <string.h> | |
| 24 | + | |
| 23 | 25 | #include "config.h" |
| 24 | 26 | |
| 25 | 27 | #include "libavutil/attributes.h" |
| @@ -18,6 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | +#include "libavutil/common.h" | |
| 21 | 22 | #include "colorspacedsp.h" |
| 22 | 23 | |
| 23 | 24 | /* |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include <math.h> |
| 26 | 26 | #include "libavutil/avassert.h" |
| 27 | +#include "libavutil/common.h" | |
| 27 | 28 | |
| 28 | 29 | enum WindowFunc { WFUNC_RECT, WFUNC_HANNING, WFUNC_HAMMING, WFUNC_BLACKMAN, |
| 29 | 30 | WFUNC_BARTLETT, WFUNC_WELCH, WFUNC_FLATTOP, |
| @@ -28,8 +28,8 @@ · 27 unmodified lines | ||
| 28 | 28 | #define AVUTIL_AVASSERT_H |
| 29 | 29 | |
| 30 | 30 | #include <stdlib.h> |
| 31 | −#include "avutil.h" | |
| 32 | 31 | #include "log.h" |
| 32 | +#include "macros.h" | |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * assert() equivalent, that is always enabled. |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include <stdint.h> |
| 27 | 27 | #include <limits.h> |
| 28 | 28 | |
| 29 | +#include "avutil.h" | |
| 29 | 30 | #include "mathematics.h" |
| 30 | 31 | #include "libavutil/intmath.h" |
| 31 | 32 | #include "libavutil/common.h" |
| @@ -18,6 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | |
| 19 | 19 | #include <stdatomic.h> |
| 20 | 20 | #include "cpu.h" |
| 21 | +#include "internal.h" | |
| 21 | 22 | #include "slicethread.h" |
| 22 | 23 | #include "mem.h" |
| 23 | 24 | #include "thread.h" |
| @@ -16,6 +16,8 @@ · 15 unmodified lines | ||
| 16 | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | +#include <string.h> | |
| 20 | + | |
| 19 | 21 | #include "libavutil/log.h" |
| 20 | 22 | #include "libavutil/mem_internal.h" |
| 21 | 23 | #include "libavutil/aes_ctr.h" |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include <string.h> |
| 23 | 23 | |
| 24 | 24 | #include "libavutil/avassert.h" |
| 25 | +#include "libavutil/mem.h" | |
| 25 | 26 | |
| 26 | 27 | static const AVSubsampleEncryptionInfo test_subsamples[] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}}; |
| 27 | 28 | static const size_t test_subsample_count = sizeof(test_subsamples) / sizeof(test_subsamples[0]); |