summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-01-28 18:00:33 -0800
committerTimothy Gu <timothygu99@gmail.com>2016-01-28 19:49:48 -0800
commit44304ae3220f553d0b1458644e2a617ea1ad8d22 (patch)
tree90f08e24290d98cce881b05fce33fa9bcecbcea4 /libavfilter
parent6bc610b39efed743a8616104ce59c860f20487ef (diff)
all: Add missing header guards
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/blend.h5
-rw-r--r--libavfilter/hermite.h5
-rw-r--r--libavfilter/maskedmerge.h5
-rw-r--r--libavfilter/removegrain.h5
4 files changed, 20 insertions, 0 deletions
diff --git a/libavfilter/blend.h b/libavfilter/blend.h
index fcedd415b8..ed0738cbdd 100644
--- a/libavfilter/blend.h
+++ b/libavfilter/blend.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFILTER_BLEND_H
+#define AVFILTER_BLEND_H
+
#include "libavutil/eval.h"
#include "avfilter.h"
@@ -68,3 +71,5 @@ typedef struct FilterParams {
} FilterParams;
void ff_blend_init_x86(FilterParams *param, int is_16bit);
+
+#endif /* AVFILTER_BLEND_H */
diff --git a/libavfilter/hermite.h b/libavfilter/hermite.h
index 5a4645fea9..fc1c0c613e 100644
--- a/libavfilter/hermite.h
+++ b/libavfilter/hermite.h
@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFILTER_HERMITE_H
+#define AVFILTER_HERMITE_H
+
static inline double hermite_interpolation(double x, double x0, double x1,
double p0, double p1,
double m0, double m1)
@@ -38,3 +41,5 @@ static inline double hermite_interpolation(double x, double x0, double x1,
return ct3 * t3 + ct2 * t2 + ct1 * t + ct0;
}
+
+#endif /* AVFILTER_HERMITE_H */
diff --git a/libavfilter/maskedmerge.h b/libavfilter/maskedmerge.h
index b47a816c44..a8c7551bad 100644
--- a/libavfilter/maskedmerge.h
+++ b/libavfilter/maskedmerge.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFILTER_MASKEDMERGE_H
+#define AVFILTER_MASKEDMERGE_H
+
#include "avfilter.h"
#include "framesync.h"
@@ -38,3 +41,5 @@ typedef struct MaskedMergeContext {
} MaskedMergeContext;
void ff_maskedmerge_init_x86(MaskedMergeContext *s);
+
+#endif /* AVFILTER_MASKEDMERGE_H */
diff --git a/libavfilter/removegrain.h b/libavfilter/removegrain.h
index 60401fbe43..f3f102889f 100644
--- a/libavfilter/removegrain.h
+++ b/libavfilter/removegrain.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFILTER_REMOVEGRAIN_H
+#define AVFILTER_REMOVEGRAIN_H
+
#include "avfilter.h"
typedef struct RemoveGrainContext {
@@ -38,3 +41,5 @@ typedef struct RemoveGrainContext {
} RemoveGrainContext;
void ff_removegrain_init_x86(RemoveGrainContext *rg);
+
+#endif /* AVFILTER_REMOVEGRAIN_H */