summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2008-10-18 10:30:25 +0000
committerMarcus Meissner <marcus@jet.franken.de>2008-10-18 10:30:25 +0000
commit0156ede93adaaaf739605c694b347cac2a2e7eb6 (patch)
tree7183f0889c1c47c4a8f2de63a3c52e5ef058c3b6
parent19ccfc244567c48dbf6b4933bba2369ab13c6ca5 (diff)
downloadlibgphoto2-0156ede93adaaaf739605c694b347cac2a2e7eb6.tar.gz
added more static
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_4/libgphoto2@11428 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r--libgphoto2/ahd_bayer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgphoto2/ahd_bayer.c b/libgphoto2/ahd_bayer.c
index 2bdcb4d65..aff0f1c91 100644
--- a/libgphoto2/ahd_bayer.c
+++ b/libgphoto2/ahd_bayer.c
@@ -78,6 +78,7 @@ int get_diffs_row2(unsigned char * hom_buffer_h, unsigned char *hom_buffer_v,
* \param i2 location of another pixel
* \param RGB some RGB data.
*/
+static
int dRGB(int i1, int i2, unsigned char *RGB) {
int dR,dG,dB;
dR=RGB[i1+RED]-RGB[i2+RED];
@@ -94,6 +95,7 @@ int dRGB(int i1, int i2, unsigned char *RGB) {
* \param y row number from image which is under construction
* \param pos_code position code related to Bayer tiling in use
*/
+static
int do_rb_ctr_row(unsigned char *image_h, unsigned char *image_v, int w,
int h, int y, int *pos_code)
{
@@ -229,6 +231,7 @@ int do_rb_ctr_row(unsigned char *image_h, unsigned char *image_v, int w,
* \param pos_code position code related to Bayer tiling in use
*/
+static
int do_green_ctr_row(unsigned char *image, unsigned char *image_h,
unsigned char *image_v, int w, int h, int y, int *pos_code)
{
@@ -321,7 +324,7 @@ int do_green_ctr_row(unsigned char *image, unsigned char *image_h,
* \param buffer_v three-row window, scores assigned for pixels in row 2
* \param w pixel width of image and buffers
*/
-
+static
int get_diffs_row2(unsigned char * hom_buffer_h, unsigned char *hom_buffer_v,
unsigned char * buffer_h, unsigned char *buffer_v, int w)
{