summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2011-05-02 00:12:48 +0000
committerChunEon Park <hermet@hermet.pe.kr>2011-05-02 00:12:48 +0000
commit0b475a7a46056bc00900db0169a859ecf35a4c6d (patch)
tree0542083dc51f21a6140228f5dc30b25343761782
parentd9d9ca82d1e460ca9c3cdd88777c77465d4c7231 (diff)
expedite / removed warnings.
SVN revision: 59089
-rw-r--r--src/bin/image_data_ycbcr601pl.c7
-rw-r--r--src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c7
-rw-r--r--src/bin/image_data_ycbcr601pl_map_solid_rotate.c7
-rw-r--r--src/bin/image_data_ycbcr601pl_wide_stride.c7
4 files changed, 16 insertions, 12 deletions
diff --git a/src/bin/image_data_ycbcr601pl.c b/src/bin/image_data_ycbcr601pl.c
index 107945a..d3be38f 100644
--- a/src/bin/image_data_ycbcr601pl.c
+++ b/src/bin/image_data_ycbcr601pl.c
@@ -23,6 +23,7 @@ static void _setup(void)
23{ 23{
24 int i, y; 24 int i, y;
25 FILE *f; 25 FILE *f;
26 size_t r;
26 unsigned char **data, **lp; 27 unsigned char **data, **lp;
27 Evas_Object *o; 28 Evas_Object *o;
28 for (i = 0; i < 1; i++) 29 for (i = 0; i < 1; i++)
@@ -42,9 +43,9 @@ static void _setup(void)
42 f = fopen(build_path("tp.yuv"), "rb"); 43 f = fopen(build_path("tp.yuv"), "rb");
43 if (f) 44 if (f)
44 { 45 {
45 fread(yp, 640 * 480, 1, f); 46 r = fread(yp, 640 * 480, 1, f);
46 fread(up, 320 * 240, 1, f); 47 r = fread(up, 320 * 240, 1, f);
47 fread(vp, 320 * 240, 1, f); 48 r = fread(vp, 320 * 240, 1, f);
48 fclose(f); 49 fclose(f);
49 } 50 }
50 data = evas_object_image_data_get(o_images[i], 1); 51 data = evas_object_image_data_get(o_images[i], 1);
diff --git a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
index 6587715..85d9a58 100644
--- a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
+++ b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
@@ -24,6 +24,7 @@ static void _setup(void)
24 int i, y; 24 int i, y;
25 FILE *f; 25 FILE *f;
26 unsigned char **data, **lp; 26 unsigned char **data, **lp;
27 size_t r;
27 Evas_Object *o; 28 Evas_Object *o;
28 for (i = 0; i < 1; i++) 29 for (i = 0; i < 1; i++)
29 { 30 {
@@ -43,9 +44,9 @@ static void _setup(void)
43 f = fopen(build_path("tp.yuv"), "rb"); 44 f = fopen(build_path("tp.yuv"), "rb");
44 if (f) 45 if (f)
45 { 46 {
46 fread(yp, 640 * 480, 1, f); 47 r = fread(yp, 640 * 480, 1, f);
47 fread(up, 320 * 240, 1, f); 48 r = fread(up, 320 * 240, 1, f);
48 fread(vp, 320 * 240, 1, f); 49 r = fread(vp, 320 * 240, 1, f);
49 fclose(f); 50 fclose(f);
50 } 51 }
51 data = evas_object_image_data_get(o_images[i], 1); 52 data = evas_object_image_data_get(o_images[i], 1);
diff --git a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
index 6054946..6c7218f 100644
--- a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
+++ b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
@@ -24,6 +24,7 @@ static void _setup(void)
24 int i, y; 24 int i, y;
25 FILE *f; 25 FILE *f;
26 unsigned char **data, **lp; 26 unsigned char **data, **lp;
27 size_t r;
27 Evas_Object *o; 28 Evas_Object *o;
28 for (i = 0; i < 1; i++) 29 for (i = 0; i < 1; i++)
29 { 30 {
@@ -42,9 +43,9 @@ static void _setup(void)
42 f = fopen(build_path("tp.yuv"), "rb"); 43 f = fopen(build_path("tp.yuv"), "rb");
43 if (f) 44 if (f)
44 { 45 {
45 fread(yp, 640 * 480, 1, f); 46 r = fread(yp, 640 * 480, 1, f);
46 fread(up, 320 * 240, 1, f); 47 r = fread(up, 320 * 240, 1, f);
47 fread(vp, 320 * 240, 1, f); 48 r = fread(vp, 320 * 240, 1, f);
48 fclose(f); 49 fclose(f);
49 } 50 }
50 data = evas_object_image_data_get(o_images[i], 1); 51 data = evas_object_image_data_get(o_images[i], 1);
diff --git a/src/bin/image_data_ycbcr601pl_wide_stride.c b/src/bin/image_data_ycbcr601pl_wide_stride.c
index b27f717..e46e94b 100644
--- a/src/bin/image_data_ycbcr601pl_wide_stride.c
+++ b/src/bin/image_data_ycbcr601pl_wide_stride.c
@@ -23,6 +23,7 @@ static void _setup(void)
23{ 23{
24 int i, y; 24 int i, y;
25 FILE *f; 25 FILE *f;
26 size_t r;
26 unsigned char **data, **lp; 27 unsigned char **data, **lp;
27 Evas_Object *o; 28 Evas_Object *o;
28 for (i = 0; i < 1; i++) 29 for (i = 0; i < 1; i++)
@@ -42,9 +43,9 @@ static void _setup(void)
42 f = fopen(build_path("tp.yuv"), "rb"); 43 f = fopen(build_path("tp.yuv"), "rb");
43 if (f) 44 if (f)
44 { 45 {
45 fread(yp, 640 * 480, 1, f); 46 r = fread(yp, 640 * 480, 1, f);
46 fread(up, 320 * 240, 1, f); 47 r = fread(up, 320 * 240, 1, f);
47 fread(vp, 320 * 240, 1, f); 48 r = fread(vp, 320 * 240, 1, f);
48 fclose(f); 49 fclose(f);
49 } 50 }
50 data = evas_object_image_data_get(o_images[i], 1); 51 data = evas_object_image_data_get(o_images[i], 1);