Update ChangeLog and fix license for blur and wave filters
[melted] / src / modules / core / filter_boxblur.c
index 543a657..2347426 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * filter_boxblur.c -- blur filter
+ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
  * Author: Leny Grisel <leny.grisel@laposte.net>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -26,7 +27,7 @@
 #include <math.h>
 
 
-void PreCompute(uint8_t *yuv, int32_t *rgb, unsigned int width, unsigned int height)
+static void PreCompute(uint8_t *yuv, int32_t *rgb, unsigned int width, unsigned int height)
 {
        register int x, y, z;
        register int uneven = width % 2;
@@ -94,7 +95,7 @@ void PreCompute(uint8_t *yuv, int32_t *rgb, unsigned int width, unsigned int hei
        }
 }
 
-int32_t GetRGB(int32_t *rgb, unsigned int w, unsigned int h, unsigned int x, int offsetx, unsigned int y, int offsety, unsigned int z)
+static int32_t GetRGB(int32_t *rgb, unsigned int w, unsigned int h, unsigned int x, int offsetx, unsigned int y, int offsety, unsigned int z)
 {
        int xtheo = x * 2 + offsetx;
        int ytheo = y + offsety;
@@ -103,7 +104,7 @@ int32_t GetRGB(int32_t *rgb, unsigned int w, unsigned int h, unsigned int x, int
        return rgb[3*(xtheo+ytheo*w)+z];
 }
 
-int32_t GetRGB2(int32_t *rgb, unsigned int w, unsigned int h, unsigned int x, int offsetx, unsigned int y, int offsety, unsigned int z)
+static int32_t GetRGB2(int32_t *rgb, unsigned int w, unsigned int h, unsigned int x, int offsetx, unsigned int y, int offsety, unsigned int z)
 {
        int xtheo = x * 2 + 1 + offsetx;
        int ytheo = y + offsety;
@@ -112,7 +113,7 @@ int32_t GetRGB2(int32_t *rgb, unsigned int w, unsigned int h, unsigned int x, in
        return rgb[3*(xtheo+ytheo*w)+z];
 }
 
-void DoBoxBlur(uint8_t *yuv, int32_t *rgb, unsigned int width, unsigned int height, unsigned int boxw, unsigned int boxh)
+static void DoBoxBlur(uint8_t *yuv, int32_t *rgb, unsigned int width, unsigned int height, unsigned int boxw, unsigned int boxh)
 {
        register int x, y;
        int32_t r, g, b;