utests: replace the nodistriutable picture.
authorZhigang Gong <zhigang.gong@intel.com>
Fri, 31 Oct 2014 02:22:17 +0000 (10:22 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 4 Nov 2014 11:15:23 +0000 (19:15 +0800)
According to https://bugs.debian.org/758442, we should not use
Len(n)a standard test image in our package. I just select a picture
took by myself. Thanks Rebecca for pointing this out.

v2:
forgot to add sample.bmp.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
kernels/compiler_box_blur_float_ref.bmp
kernels/compiler_box_blur_ref.bmp
kernels/lenna128x128.bmp [deleted file]
kernels/sample.bmp [new file with mode: 0644]
utests/compiler_box_blur.cpp
utests/compiler_box_blur_float.cpp
utests/compiler_box_blur_image.cpp

index 149cbba..d5454dd 100644 (file)
Binary files a/kernels/compiler_box_blur_float_ref.bmp and b/kernels/compiler_box_blur_float_ref.bmp differ
index 149cbba..d5454dd 100644 (file)
Binary files a/kernels/compiler_box_blur_ref.bmp and b/kernels/compiler_box_blur_ref.bmp differ
diff --git a/kernels/lenna128x128.bmp b/kernels/lenna128x128.bmp
deleted file mode 100644 (file)
index c3d9c46..0000000
Binary files a/kernels/lenna128x128.bmp and /dev/null differ
diff --git a/kernels/sample.bmp b/kernels/sample.bmp
new file mode 100644 (file)
index 0000000..4e54bae
Binary files /dev/null and b/kernels/sample.bmp differ
index e4e053e..84445cf 100644 (file)
@@ -12,7 +12,7 @@ static void compiler_box_blur()
   OCL_CREATE_KERNEL("compiler_box_blur");
 
   /* Load the picture */
-  src = cl_read_bmp("lenna128x128.bmp", &w, &h);
+  src = cl_read_bmp("sample.bmp", &w, &h);
   sz = w * h * sizeof(int);
 
   /* Run the kernel */
index a3c97bc..8a75a25 100644 (file)
@@ -13,7 +13,7 @@ static void compiler_box_blur_float()
   OCL_CREATE_KERNEL("compiler_box_blur_float");
 
   /* Load the picture */
-  tmp = cl_read_bmp("lenna128x128.bmp", &w, &h);
+  tmp = cl_read_bmp("sample.bmp", &w, &h);
   sz = w * h * sizeof(float[4]);
   src = (float4*)malloc(sz);
 
index 711f2b3..49423d6 100644 (file)
@@ -12,7 +12,7 @@ static void compiler_box_blur_image()
   OCL_CREATE_KERNEL("compiler_box_blur_image");
 
   /* Load the picture */
-  src = cl_read_bmp("lenna128x128.bmp", &w, &h);
+  src = cl_read_bmp("sample.bmp", &w, &h);
 
   format.image_channel_order = CL_RGBA;
   format.image_channel_data_type = CL_UNSIGNED_INT8;