aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/image_jpg.c
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2013-04-03 13:51:43 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2013-04-03 13:51:43 +1000
commit64971549fd63d131f136a16913deaec3bdbcf2f3 (patch)
treecfd2698ff4ce1f207ba8f776d1c8fff73718c71f /src/gdisp/image_jpg.c
parentb5dceeead44b0b825ee2ef7d2d7943bec8200e30 (diff)
downloaduGFX-64971549fd63d131f136a16913deaec3bdbcf2f3.tar.gz
uGFX-64971549fd63d131f136a16913deaec3bdbcf2f3.tar.bz2
uGFX-64971549fd63d131f136a16913deaec3bdbcf2f3.zip
New GDISP image handling with demo
Images currently support Native and BMP (except RLE4,8 and 16 bit - due to bugs) Supports reading from Memory, BaseFileStream or real files (only on the Win32 simulator). Move gdisp_pictures demo to better refect its purpose. Bug fixes for BMP RLE4,8 & 16 bit to come very soon GIF support very soon.
Diffstat (limited to 'src/gdisp/image_jpg.c')
-rw-r--r--src/gdisp/image_jpg.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/gdisp/image_jpg.c b/src/gdisp/image_jpg.c
new file mode 100644
index 00000000..e8b5eeeb
--- /dev/null
+++ b/src/gdisp/image_jpg.c
@@ -0,0 +1,34 @@
+/*
+ ChibiOS/GFX - Copyright (C) 2012, 2013
+ Joel Bodenmann aka Tectu <joel@unormal.org>
+
+ This file is part of ChibiOS/GFX.
+
+ ChibiOS/GFX is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS/GFX is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file src/gdisp/image_jpg.c
+ * @brief GDISP native image code.
+ */
+#include "ch.h"
+#include "hal.h"
+#include "gfx.h"
+
+#if GFX_USE_GDISP && GDISP_NEED_IMAGE && GDISP_NEED_IMAGE_JPG
+
+#error "JPG support not implemented yet"
+
+#endif /* GFX_USE_GDISP && GDISP_NEED_IMAGE && GDISP_NEED_IMAGE_JPG */
+/** @} */