android4.0 A10开发板,如何实现分屏(多屏幕显示)不同的内容
============问题描述============
设想是如上图所示
目前的情况是,我有A10的开发板,android4.0.4
如果有同行的话,希望能指点一下
目前能单独显示vga,hdmi,lvds三种屏幕
vga 和 hdmi如果同时插入的话总有一个是不能正常显示的,因为我配置的
sys_config1.fex文件里面有单独针对的参数,
只要能让我实现分屏显示不同的内容(不同的屏,显示的不同的内容连接的是同一块板子)就行,连接显示是vga和tv vga和hdmi hdmi和tv三种哪个都行
我手边有开发板,有源码,不知道哪位知道如何解决!
============解决方案1============
;----------------------------------------------------------------------------------
;disp init configuration
;
;disp_mode (0:screen0<screen0,fb0> 1:screen1<screen1,fb0> 2:two_diff_screen_diff_contents<screen0,screen1,fb0,fb1>
; 3:two_same_screen_diff_contets<screen0,screen1,fb0> 4:two_diff_screen_same_contents<screen0,screen1,fb0>)
;screenx_output_type (0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga)
;screenx_output_mode (used for tv/hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60 11:pal 14:ntsc)
;screenx_output_mode (used for vga output, 0:1680*1050 1:1440*900 2:1360*768 3:1280*1024 4:1024*768 5:800*600 6:640*480 10:1920*1080 11:1280*720)
;fbx format (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
;fbx pixel sequence (0:ARGB 1:BGRA 2:ABGR 3:RGBA) --- 0 for linux, 2 for android
;----------------------------------------------------------------------------------
[disp_init]
disp_init_enable = 1
disp_mode = 2
screen0_output_type = 1
screen0_output_mode = 4
screen1_output_type = 4
screen1_output_mode = 11
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
posted on 2014-10-18 22:36 android基础教程 阅读(1487) 评论(0) 编辑 收藏 举报