summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/CATEGORIES1
-rw-r--r--apps/plugins/SOURCES9
-rw-r--r--apps/plugins/test_scanrate.c25
3 files changed, 25 insertions, 10 deletions
diff --git a/apps/plugins/CATEGORIES b/apps/plugins/CATEGORIES
index 4b267c162b..c2ad75e0c7 100644
--- a/apps/plugins/CATEGORIES
+++ b/apps/plugins/CATEGORIES
@@ -80,6 +80,7 @@ stopwatch,apps
80test_codec,viewers 80test_codec,viewers
81test_disk,apps 81test_disk,apps
82test_fps,apps 82test_fps,apps
83test_grey,apps
83test_sampr,apps 84test_sampr,apps
84test_scanrate,apps 85test_scanrate,apps
85test_viewports,apps 86test_viewports,apps
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index b6603a44c0..fbfb38047d 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -19,6 +19,7 @@ stats.c
19stopwatch.c 19stopwatch.c
20vbrfix.c 20vbrfix.c
21viewer.c 21viewer.c
22test_disk.c
22 23
23#ifdef OLYMPUS_MROBE_500 24#ifdef OLYMPUS_MROBE_500
24/* remove these once the plugins before it are compileable */ 25/* remove these once the plugins before it are compileable */
@@ -47,6 +48,9 @@ flipit.c
47brickmania.c 48brickmania.c
48maze.c 49maze.c
49mazezam.c 50mazezam.c
51greyscale.c
52test_fps.c
53test_scanrate.c
50text_editor.c 54text_editor.c
51wavview.c 55wavview.c
52robotfindskitten.c 56robotfindskitten.c
@@ -57,6 +61,10 @@ jpeg.c
57mandelbrot.c 61mandelbrot.c
58plasma.c 62plasma.c
59 63
64#if LCD_DEPTH < 4
65test_grey.c
66#endif
67
60blackjack.c 68blackjack.c
61bounce.c 69bounce.c
62bubbles.c 70bubbles.c
@@ -116,6 +124,7 @@ nim.c
116 124
117#if CONFIG_CODEC == SWCODEC /* software codec platforms */ 125#if CONFIG_CODEC == SWCODEC /* software codec platforms */
118mp3_encoder.c 126mp3_encoder.c
127test_codec.c
119wav2wv.c 128wav2wv.c
120#else /* hardware codec platforms */ 129#else /* hardware codec platforms */
121#ifndef HAVE_MMC /* not for Ondio, has no remote control pin */ 130#ifndef HAVE_MMC /* not for Ondio, has no remote control pin */
diff --git a/apps/plugins/test_scanrate.c b/apps/plugins/test_scanrate.c
index 63ab97d89d..aabc623d9f 100644
--- a/apps/plugins/test_scanrate.c
+++ b/apps/plugins/test_scanrate.c
@@ -56,24 +56,29 @@ PLUGIN_HEADER
56#endif 56#endif
57 57
58/* Default refresh rates in 1/10 Hz */ 58/* Default refresh rates in 1/10 Hz */
59#if CONFIG_LCD == LCD_SSD1815 59#if defined ARCHOS_RECORDER || defined ARCHOS_FMRECORDER \
60 || defined ARCHOS_RECORDERV2 || defined ARCHOS_ONDIOFM \
61 || defined ARCHOS_ONDIOSP
60#define DEFAULT_SCAN_RATE 670 62#define DEFAULT_SCAN_RATE 670
61#elif CONFIG_LCD == LCD_S1D15E06 63#elif defined IAUDIO_M3
62#define DEFAULT_SCAN_RATE 700 64#define DEFAULT_SCAN_RATE 1500
63#elif CONFIG_LCD == LCD_IPOD2BPP
64#define DEFAULT_SCAN_RATE 800
65#elif CONFIG_LCD == LCD_IPODMINI
66#define DEFAULT_SCAN_RATE 880
67#elif CONFIG_LCD == LCD_TL0350A
68#define DEFAULT_SCAN_RATE 1480
69#define HORIZ_SCAN /* LCD controller updates the panel sideways */ 65#define HORIZ_SCAN /* LCD controller updates the panel sideways */
70#define NEED_BOOST 66#define NEED_BOOST
67#elif defined IAUDIO_M5
68#define DEFAULT_SCAN_RATE 730
69#elif defined IPOD_1G2G
70#define DEFAULT_SCAN_RATE 960
71#elif defined IPOD_MINI2G || defined IPOD_MINI \
72 || defined IPOD_3G || defined IPOD_4G
73#define DEFAULT_SCAN_RATE 870
74#elif defined IRIVER_H100_SERIES
75#define DEFAULT_SCAN_RATE 700
71#else 76#else
72#define DEFAULT_SCAN_RATE 700 77#define DEFAULT_SCAN_RATE 700
73#warning Generic default scanrate 78#warning Generic default scanrate
74#endif 79#endif
75 80
76#ifdef HORIZ_SCAN 81#ifdef HORIZ_SCAN
77#define TEXT_X 0 82#define TEXT_X 0
78#if LCD_PIXELFORMAT == HORIZONTAL_PACKING 83#if LCD_PIXELFORMAT == HORIZONTAL_PACKING
79#define BUF_WIDTH ((LCD_WIDTH+7)/8) 84#define BUF_WIDTH ((LCD_WIDTH+7)/8)