From 8d5fa39dd9b1f7f4016841e69b9e9b9e3772b2f5 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 20 May 2013 19:15:20 +0200 Subject: docs --- src/gdisp/fonts.c | 1 + src/gdisp/image.c | 3 +++ src/gdisp/image_bmp.c | 3 +++ src/gdisp/image_gif.c | 5 ++++- src/gdisp/image_native.c | 3 +++ src/gdisp/image_png.c | 5 ++++- 6 files changed, 18 insertions(+), 2 deletions(-) (limited to 'src/gdisp') diff --git a/src/gdisp/fonts.c b/src/gdisp/fonts.c index f0d9f8fd..3d29e50c 100644 --- a/src/gdisp/fonts.c +++ b/src/gdisp/fonts.c @@ -10,6 +10,7 @@ * @brief GDISP Font Handling. * * @addtogroup GDISP + * * @{ */ diff --git a/src/gdisp/image.c b/src/gdisp/image.c index ce4e1250..2a648e59 100644 --- a/src/gdisp/image.c +++ b/src/gdisp/image.c @@ -8,6 +8,9 @@ /** * @file src/gdisp/image.c * @brief GDISP generic image code. + * + * @defgroup Image Image + * @ingroup GDISP */ #include "ch.h" #include "hal.h" diff --git a/src/gdisp/image_bmp.c b/src/gdisp/image_bmp.c index be97eb39..830ee327 100644 --- a/src/gdisp/image_bmp.c +++ b/src/gdisp/image_bmp.c @@ -8,6 +8,9 @@ /** * @file src/gdisp/image_bmp.c * @brief GDISP native image code. + * + * @defgroup Image Image + * @ingroup GDISP */ #include "ch.h" #include "hal.h" diff --git a/src/gdisp/image_gif.c b/src/gdisp/image_gif.c index 084e2fb7..2cf4c743 100644 --- a/src/gdisp/image_gif.c +++ b/src/gdisp/image_gif.c @@ -8,7 +8,10 @@ /** * @file src/gdisp/image_gif.c * @brief GDISP native image code. - */ + * + * @defgroup Image Image + * @ingroup GDISP +*/ #include "ch.h" #include "hal.h" #include "gfx.h" diff --git a/src/gdisp/image_native.c b/src/gdisp/image_native.c index 43a342cc..6da4e862 100644 --- a/src/gdisp/image_native.c +++ b/src/gdisp/image_native.c @@ -8,6 +8,9 @@ /** * @file src/gdisp/image_native.c * @brief GDISP native image code. + * + * @defgroup Image Image + * @ingroup GDISP */ #include "ch.h" #include "hal.h" diff --git a/src/gdisp/image_png.c b/src/gdisp/image_png.c index 2ea59f8b..1cfba97f 100644 --- a/src/gdisp/image_png.c +++ b/src/gdisp/image_png.c @@ -8,7 +8,10 @@ /** * @file src/gdisp/image_png.c * @brief GDISP native image code. - */ + * + * @defgroup Image Image + * @ingroup GDISP +*/ #include "ch.h" #include "hal.h" #include "gfx.h" -- cgit v1.2.3 From 4e7c1b00caecba9e2dca16aab3ec5c16973dd93c Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 21 May 2013 14:00:17 +0700 Subject: Fix GIF rendering issue Uninitialized cache values causes stability issues in systems Cache initialized to 0 fixes it. --- src/gdisp/image_gif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gdisp') diff --git a/src/gdisp/image_gif.c b/src/gdisp/image_gif.c index 2cf4c743..6c61219a 100644 --- a/src/gdisp/image_gif.c +++ b/src/gdisp/image_gif.c @@ -576,6 +576,8 @@ gdispImageError gdispImageOpen_GIF(gdispImage *img) { priv->palsize = 0; priv->palette = 0; priv->frame.flags = 0; + priv->cache = 0; + priv->curcache = 0; /* Process the Screen Descriptor structure */ -- cgit v1.2.3