diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/CATEGORIES | 1 | ||||
-rw-r--r-- | apps/plugins/SOURCES | 9 | ||||
-rw-r--r-- | apps/plugins/test_scanrate.c | 25 |
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 | |||
80 | test_codec,viewers | 80 | test_codec,viewers |
81 | test_disk,apps | 81 | test_disk,apps |
82 | test_fps,apps | 82 | test_fps,apps |
83 | test_grey,apps | ||
83 | test_sampr,apps | 84 | test_sampr,apps |
84 | test_scanrate,apps | 85 | test_scanrate,apps |
85 | test_viewports,apps | 86 | test_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 | |||
19 | stopwatch.c | 19 | stopwatch.c |
20 | vbrfix.c | 20 | vbrfix.c |
21 | viewer.c | 21 | viewer.c |
22 | test_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 | |||
47 | brickmania.c | 48 | brickmania.c |
48 | maze.c | 49 | maze.c |
49 | mazezam.c | 50 | mazezam.c |
51 | greyscale.c | ||
52 | test_fps.c | ||
53 | test_scanrate.c | ||
50 | text_editor.c | 54 | text_editor.c |
51 | wavview.c | 55 | wavview.c |
52 | robotfindskitten.c | 56 | robotfindskitten.c |
@@ -57,6 +61,10 @@ jpeg.c | |||
57 | mandelbrot.c | 61 | mandelbrot.c |
58 | plasma.c | 62 | plasma.c |
59 | 63 | ||
64 | #if LCD_DEPTH < 4 | ||
65 | test_grey.c | ||
66 | #endif | ||
67 | |||
60 | blackjack.c | 68 | blackjack.c |
61 | bounce.c | 69 | bounce.c |
62 | bubbles.c | 70 | bubbles.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 */ |
118 | mp3_encoder.c | 126 | mp3_encoder.c |
127 | test_codec.c | ||
119 | wav2wv.c | 128 | wav2wv.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) |