My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sw_fb.h
Go to the documentation of this file.
1 /*
2  * OpenVirtualization:
3  * For additional details and support contact developer@sierraware.com.
4  * Additional documentation can be found at www.openvirtualization.org
5  *
6  * Copyright (C) 2010-2014 SierraWare
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  *
22  */
23 /*
24  */
25 
26 #ifndef __INCLUDE_FB_H__
27 #define __INCLUDE_FB_H__
28 
29 #define BPP 1
30 #define SCREEN_WIDTH 2
31 #define SCREEN_HEIGHT 3
32 
40 int get_sw_window_info(int info_num);
41 
45 void sw_fb_init();
46 
50 void sw_fb_exit();
51 
58 void sw_fb_write(int offset, unsigned int color);
59 
68 int init_lcd(int width, int height);
69 
73 void write_media_player_data(void);
74 
78 void sw_flush_cache();
79 
88 void init_pl111( u32 clcd_base,
89  s32int width,
90  s32int height,
91  u32 frame_base );
92 
99 void screen_clear(int width, int height);
100 
101 #endif
int get_sw_window_info(int info_num)
void sw_flush_cache()
flushes the cache
Definition: sw_fb.c:87
void sw_fb_exit()
Definition: sw_fb.c:51
void init_pl111(u32 clcd_base, s32int width, s32int height, u32 frame_base)
Definition: sw_fb.c:97
int init_lcd(int width, int height)
void sw_fb_init()
Definition: sw_fb.c:42
void sw_fb_write(int offset, unsigned int color)
u32 color(s32int col)
Definition: color_manager.c:81
void screen_clear(int width, int height)
Definition: sw_fb.c:184
void write_media_player_data(void)
Definition: sw_fb.c:208