... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#ifndef COMPAT_VA_COPY_H |
|
23 |
+#define COMPAT_VA_COPY_H |
|
24 |
+ |
|
22 | 25 |
#include <stdarg.h> |
23 | 26 |
|
24 | 27 |
#if !defined(va_copy) && defined(_MSC_VER) |
... | ... |
@@ -27,3 +30,5 @@ |
27 | 27 |
#if !defined(va_copy) && defined(__GNUC__) && __GNUC__ < 3 |
28 | 28 |
#define va_copy(dst, src) __va_copy(dst, src) |
29 | 29 |
#endif |
30 |
+ |
|
31 |
+#endif /* COMPAT_VA_COPY_H */ |
... | ... |
@@ -16,6 +16,9 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
17 | 17 |
*/ |
18 | 18 |
|
19 |
+#ifndef AVCODEC_DCAMATH_H |
|
20 |
+#define AVCODEC_DCAMATH_H |
|
21 |
+ |
|
19 | 22 |
#include "libavutil/common.h" |
20 | 23 |
|
21 | 24 |
|
... | ... |
@@ -40,3 +43,5 @@ static inline int64_t dca_round(int64_t a, int bits) |
40 | 40 |
else |
41 | 41 |
return a; |
42 | 42 |
} |
43 |
+ |
|
44 |
+#endif /* AVCODEC_DCAMATH_H */ |
... | ... |
@@ -16,6 +16,9 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
17 | 17 |
*/ |
18 | 18 |
|
19 |
+#ifndef AVCODEC_DVAUDIO_H |
|
20 |
+#define AVCODEC_DVAUDIO_H |
|
21 |
+ |
|
19 | 22 |
static inline int dv_get_audio_sample_count(const uint8_t *buffer, int dsf) |
20 | 23 |
{ |
21 | 24 |
int samples = buffer[0] & 0x3f; /* samples in this frame - min samples */ |
... | ... |
@@ -30,3 +33,5 @@ static inline int dv_get_audio_sample_count(const uint8_t *buffer, int dsf) |
30 | 30 |
return samples + (dsf ? 1264 : 1053); |
31 | 31 |
} |
32 | 32 |
} |
33 |
+ |
|
34 |
+#endif /* AVCODEC_DVAUDIO_H */ |
... | ... |
@@ -18,9 +18,13 @@ |
18 | 18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | 19 |
*/ |
20 | 20 |
|
21 |
+#ifndef AVCODEC_FRAME_THREAD_ENCODER_H |
|
22 |
+#define AVCODEC_FRAME_THREAD_ENCODER_H |
|
23 |
+ |
|
21 | 24 |
#include "avcodec.h" |
22 | 25 |
|
23 | 26 |
int ff_frame_thread_encoder_init(AVCodecContext *avctx, AVDictionary *options); |
24 | 27 |
void ff_frame_thread_encoder_free(AVCodecContext *avctx); |
25 | 28 |
int ff_thread_video_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet_ptr); |
26 | 29 |
|
30 |
+#endif /* AVCODEC_FRAME_THREAD_ENCODER_H */ |
... | ... |
@@ -24,6 +24,9 @@ |
24 | 24 |
* X-Face common definitions. |
25 | 25 |
*/ |
26 | 26 |
|
27 |
+#ifndef AVCODEC_XFACE_H |
|
28 |
+#define AVCODEC_XFACE_H |
|
29 |
+ |
|
27 | 30 |
#include <stdint.h> |
28 | 31 |
|
29 | 32 |
/* define the face size - 48x48x1 */ |
... | ... |
@@ -94,3 +97,5 @@ extern const ProbRange ff_xface_probranges_per_level[4][3]; |
94 | 94 |
extern const ProbRange ff_xface_probranges_2x2[16]; |
95 | 95 |
|
96 | 96 |
void ff_xface_generate_face(uint8_t *dst, uint8_t * const src); |
97 |
+ |
|
98 |
+#endif /* AVCODEC_XFACE_H */ |
... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#ifndef AVDEVICE_DECKLINK_COMMON_H |
|
23 |
+#define AVDEVICE_DECKLINK_COMMON_H |
|
24 |
+ |
|
22 | 25 |
#include <DeckLinkAPIVersion.h> |
23 | 26 |
|
24 | 27 |
#include "decklink_common_c.h" |
... | ... |
@@ -103,3 +106,4 @@ int ff_decklink_set_format(AVFormatContext *avctx, decklink_direction_t directio |
103 | 103 |
int ff_decklink_list_devices(AVFormatContext *avctx); |
104 | 104 |
int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction = DIRECTION_OUT); |
105 | 105 |
|
106 |
+#endif /* AVDEVICE_DECKLINK_COMMON_H * |
... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#ifndef AVDEVICE_DECKLINK_COMMON_C_H |
|
23 |
+#define AVDEVICE_DECKLINK_COMMON_C_H |
|
24 |
+ |
|
22 | 25 |
struct decklink_cctx { |
23 | 26 |
const AVClass *cclass; |
24 | 27 |
|
... | ... |
@@ -32,3 +35,4 @@ struct decklink_cctx { |
32 | 32 |
int v210; |
33 | 33 |
}; |
34 | 34 |
|
35 |
+#endif /* AVDEVICE_DECKLINK_COMMON_C_H */ |
... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#ifndef AVDEVICE_DECKLINK_DEC_H |
|
23 |
+#define AVDEVICE_DECKLINK_DEC_H |
|
24 |
+ |
|
22 | 25 |
#ifdef __cplusplus |
23 | 26 |
extern "C" { |
24 | 27 |
#endif |
... | ... |
@@ -30,3 +33,5 @@ int ff_decklink_read_close(AVFormatContext *avctx); |
30 | 30 |
#ifdef __cplusplus |
31 | 31 |
} /* extern "C" */ |
32 | 32 |
#endif |
33 |
+ |
|
34 |
+#endif /* AVDEVICE_DECKLINK_DEC_H */ |
... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#ifndef AVDEVICE_DECKLINK_ENC_H |
|
23 |
+#define AVDEVICE_DECKLINK_ENC_H |
|
24 |
+ |
|
22 | 25 |
#ifdef __cplusplus |
23 | 26 |
extern "C" { |
24 | 27 |
#endif |
... | ... |
@@ -30,3 +33,5 @@ int ff_decklink_write_trailer(AVFormatContext *avctx); |
30 | 30 |
#ifdef __cplusplus |
31 | 31 |
} /* extern "C" */ |
32 | 32 |
#endif |
33 |
+ |
|
34 |
+#endif /* AVDEVICE_DECKLINK_ENC_H */ |
... | ... |
@@ -18,6 +18,9 @@ |
18 | 18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | 19 |
*/ |
20 | 20 |
|
21 |
+#ifndef AVFILTER_BLEND_H |
|
22 |
+#define AVFILTER_BLEND_H |
|
23 |
+ |
|
21 | 24 |
#include "libavutil/eval.h" |
22 | 25 |
#include "avfilter.h" |
23 | 26 |
|
... | ... |
@@ -68,3 +71,5 @@ typedef struct FilterParams { |
68 | 68 |
} FilterParams; |
69 | 69 |
|
70 | 70 |
void ff_blend_init_x86(FilterParams *param, int is_16bit); |
71 |
+ |
|
72 |
+#endif /* AVFILTER_BLEND_H */ |
... | ... |
@@ -16,6 +16,9 @@ |
16 | 16 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
17 | 17 |
*/ |
18 | 18 |
|
19 |
+#ifndef AVFILTER_HERMITE_H |
|
20 |
+#define AVFILTER_HERMITE_H |
|
21 |
+ |
|
19 | 22 |
static inline double hermite_interpolation(double x, double x0, double x1, |
20 | 23 |
double p0, double p1, |
21 | 24 |
double m0, double m1) |
... | ... |
@@ -38,3 +41,5 @@ static inline double hermite_interpolation(double x, double x0, double x1, |
38 | 38 |
|
39 | 39 |
return ct3 * t3 + ct2 * t2 + ct1 * t + ct0; |
40 | 40 |
} |
41 |
+ |
|
42 |
+#endif /* AVFILTER_HERMITE_H */ |
... | ... |
@@ -18,6 +18,9 @@ |
18 | 18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | 19 |
*/ |
20 | 20 |
|
21 |
+#ifndef AVFILTER_MASKEDMERGE_H |
|
22 |
+#define AVFILTER_MASKEDMERGE_H |
|
23 |
+ |
|
21 | 24 |
#include "avfilter.h" |
22 | 25 |
#include "framesync.h" |
23 | 26 |
|
... | ... |
@@ -38,3 +41,5 @@ typedef struct MaskedMergeContext { |
38 | 38 |
} MaskedMergeContext; |
39 | 39 |
|
40 | 40 |
void ff_maskedmerge_init_x86(MaskedMergeContext *s); |
41 |
+ |
|
42 |
+#endif /* AVFILTER_MASKEDMERGE_H */ |
... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#ifndef AVFILTER_REMOVEGRAIN_H |
|
23 |
+#define AVFILTER_REMOVEGRAIN_H |
|
24 |
+ |
|
22 | 25 |
#include "avfilter.h" |
23 | 26 |
|
24 | 27 |
typedef struct RemoveGrainContext { |
... | ... |
@@ -38,3 +41,5 @@ typedef struct RemoveGrainContext { |
38 | 38 |
} RemoveGrainContext; |
39 | 39 |
|
40 | 40 |
void ff_removegrain_init_x86(RemoveGrainContext *rg); |
41 |
+ |
|
42 |
+#endif /* AVFILTER_REMOVEGRAIN_H */ |
... | ... |
@@ -20,6 +20,9 @@ |
20 | 20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21 | 21 |
*/ |
22 | 22 |
|
23 |
+#ifndef AVUTIL_AARCH64_NEONTEST_H |
|
24 |
+#define AVUTIL_AARCH64_NEONTEST_H |
|
25 |
+ |
|
23 | 26 |
#include <inttypes.h> |
24 | 27 |
#include <stdint.h> |
25 | 28 |
#include <stdlib.h> |
... | ... |
@@ -63,3 +66,5 @@ |
63 | 63 |
int __real_ ## func; \ |
64 | 64 |
int __wrap_ ## func; \ |
65 | 65 |
int __wrap_ ## func |
66 |
+ |
|
67 |
+#endif /* AVUTIL_AARCH64_NEONTEST_H */ |
... | ... |
@@ -20,6 +20,9 @@ |
20 | 20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21 | 21 |
*/ |
22 | 22 |
|
23 |
+#ifndef AVUTIL_ARM_NEONTEST_H |
|
24 |
+#define AVUTIL_ARM_NEONTEST_H |
|
25 |
+ |
|
23 | 26 |
#include <inttypes.h> |
24 | 27 |
#include <stdint.h> |
25 | 28 |
#include <stdlib.h> |
... | ... |
@@ -60,3 +63,5 @@ |
60 | 60 |
int __real_ ## func; \ |
61 | 61 |
int __wrap_ ## func; \ |
62 | 62 |
int __wrap_ ## func |
63 |
+ |
|
64 |
+#endif /* AVUTIL_ARM_NEONTEST_H */ |
... | ... |
@@ -20,6 +20,9 @@ |
20 | 20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21 | 21 |
*/ |
22 | 22 |
|
23 |
+#ifndef AVUTIL_OPENCL_INTERNAL_H |
|
24 |
+#define AVUTIL_OPENCL_INTERNAL_H |
|
25 |
+ |
|
23 | 26 |
#include "attributes.h" |
24 | 27 |
#include "opencl.h" |
25 | 28 |
|
... | ... |
@@ -33,3 +36,5 @@ typedef struct { |
33 | 33 |
|
34 | 34 |
av_warn_unused_result |
35 | 35 |
int avpriv_opencl_set_parameter(FFOpenclParam *opencl_param, ...); |
36 |
+ |
|
37 |
+#endif /* AVUTIL_OPENCL_INTERNAL_H */ |
... | ... |
@@ -18,6 +18,9 @@ |
18 | 18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | 19 |
*/ |
20 | 20 |
|
21 |
+#ifndef AVUTIL_QSORT_H |
|
22 |
+#define AVUTIL_QSORT_H |
|
23 |
+ |
|
21 | 24 |
#include "common.h" |
22 | 25 |
|
23 | 26 |
|
... | ... |
@@ -115,3 +118,5 @@ |
115 | 115 |
FFSWAP(type*, p, tmp);\ |
116 | 116 |
}\ |
117 | 117 |
} while (0) |
118 |
+ |
|
119 |
+#endif /* AVUTIL_QSORT_H */ |
... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 | 21 |
|
22 |
+#ifndef AVUTIL_X86_W64XMMTEST_H |
|
23 |
+#define AVUTIL_X86_W64XMMTEST_H |
|
24 |
+ |
|
22 | 25 |
#include <inttypes.h> |
23 | 26 |
#include <stdint.h> |
24 | 27 |
#include <stdlib.h> |
... | ... |
@@ -71,3 +74,5 @@ |
71 | 71 |
int __real_ ## func; \ |
72 | 72 |
int __wrap_ ## func; \ |
73 | 73 |
int __wrap_ ## func |
74 |
+ |
|
75 |
+#endif /* AVUTIL_X86_W64XMMTEST_H */ |