diff options
Diffstat (limited to 'firmware/target/arm/tatung/tpj1022/lcd-tpj1022.c')
-rw-r--r-- | firmware/target/arm/tatung/tpj1022/lcd-tpj1022.c | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/firmware/target/arm/tatung/tpj1022/lcd-tpj1022.c b/firmware/target/arm/tatung/tpj1022/lcd-tpj1022.c deleted file mode 100644 index bf29ba092e..0000000000 --- a/firmware/target/arm/tatung/tpj1022/lcd-tpj1022.c +++ /dev/null | |||
@@ -1,85 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 by Barry Wardell | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | #include "config.h" | ||
22 | #include "cpu.h" | ||
23 | #include "lcd.h" | ||
24 | #include "kernel.h" | ||
25 | #include "system.h" | ||
26 | |||
27 | /*** hardware configuration ***/ | ||
28 | |||
29 | void lcd_set_contrast(int val) | ||
30 | { | ||
31 | /* TODO: Implement lcd_set_contrast() */ | ||
32 | (void)val; | ||
33 | } | ||
34 | |||
35 | void lcd_set_invert_display(bool yesno) | ||
36 | { | ||
37 | /* TODO: Implement lcd_set_invert_display() */ | ||
38 | (void)yesno; | ||
39 | } | ||
40 | |||
41 | /* turn the display upside down (call lcd_update() afterwards) */ | ||
42 | void lcd_set_flip(bool yesno) | ||
43 | { | ||
44 | /* TODO: Implement lcd_set_flip() */ | ||
45 | (void)yesno; | ||
46 | } | ||
47 | |||
48 | /* LCD init */ | ||
49 | void lcd_init_device(void) | ||
50 | { | ||
51 | |||
52 | } | ||
53 | |||
54 | /*** update functions ***/ | ||
55 | |||
56 | /* Performance function to blit a YUV bitmap directly to the LCD */ | ||
57 | void lcd_blit_yuv(unsigned char * const src[3], | ||
58 | int src_x, int src_y, int stride, | ||
59 | int x, int y, int width, int height) | ||
60 | { | ||
61 | (void)src; | ||
62 | (void)src_x; | ||
63 | (void)src_y; | ||
64 | (void)stride; | ||
65 | (void)x; | ||
66 | (void)y; | ||
67 | (void)width; | ||
68 | (void)height; | ||
69 | } | ||
70 | |||
71 | /* Update a fraction of the display. */ | ||
72 | void lcd_update_rect(int x0, int y0, int width, int height) | ||
73 | { | ||
74 | (void)x0; | ||
75 | (void)y0; | ||
76 | (void)width; | ||
77 | (void)height; | ||
78 | } | ||
79 | |||
80 | /* Update the display. | ||
81 | This must be called after all other LCD functions that change the display. */ | ||
82 | void lcd_update(void) | ||
83 | { | ||
84 | lcd_update_rect(0, 0, LCD_WIDTH, LCD_HEIGHT); | ||
85 | } | ||