1. 显存更改:
1024x600x4x5 约需要12M FrameBuffer, 原来BSP中设置为8M,更改image_cfg.h
-
- #define IMAGE_CAMERA_CAPTUREBUFFER_OFFSET (0x04600000) // Old value is 0x04A00000
- #define IMAGE_CAMERA_CAPTUREBUFFER_PA_START (DRAM_BASE_PA_START+IMAGE_CAMERA_CAPTUREBUFFER_OFFSET)
- #define IMAGE_CAMERA_CAPTUREBUFFER_UA_START (DRAM_BASE_UA_START+IMAGE_CAMERA_CAPTUREBUFFER_OFFSET)
- #define IMAGE_CAMERA_CAPTUREBUFFER_SIZE (0x00600000)
-
-
-
-
- #define IMAGE_CMM_BUFFER_OFFSET (0x04C00000) // Old value is 0x05000000
- #define IMAGE_CMM_BUFFER_PA_START (DRAM_BASE_PA_START+IMAGE_CMM_BUFFER_OFFSET)
- #define IMAGE_CMM_BUFFER_UA_START (DRAM_BASE_UA_START+IMAGE_CMM_BUFFER_OFFSET)
- #define IMAGE_CMM_BUFFER_SIZE (0x02000000)
-
-
-
-
-
-
- #define IMAGE_FRAMEBUFFER_OFFSET (0x06C00000) // Old value is 0x07000000
- #define IMAGE_FRAMEBUFFER_PA_START (DRAM_BASE_PA_START+IMAGE_FRAMEBUFFER_OFFSET)
- #define IMAGE_FRAMEBUFFER_UA_START (DRAM_BASE_UA_START+IMAGE_FRAMEBUFFER_OFFSET)
- #define IMAGE_FRAMEBUFFER_SIZE (0x00C00000) // Old value is 0x00C00000
Config.bib
CAMERA_STILL 84600000 00600000 RESERVED ; 2048x1536 pixel(YUV420) Camera (OLD: 84A00000 - 00600000)
CMM 84C00000 02000000 RESERVED ; 32MB for CMM driver (OLD: 85000000 - 02000000)
DISPLAY 86C00000 00C00000 RESERVED ; 1024x600x4x4 + 1024x600x4, OLD: 800x480x4x4 + 800x480x4 (OLD: 87000000 - 00800000)
注册表:
"VidMemBase"=dword:26c00000 ; Old value is 27000000
"VidMemLen"=dword:C00000 ; 12MBytes for FrameBuffer, Old value is 8MBytes
当然,还有显卡驱动:
s5pc100_ldi.c
-
- LDI_INF((_T("[LDI:INF] Output Devce Type [%d] = LDI_(SMRP)LTE480WV_RGB\n\r"), g_ModuleType));
- pDeviceInfo->RGBOutMode = DISP_18BIT_RGB666_P;
- pDeviceInfo->uiWidth = 1024;
- pDeviceInfo->uiHeight = 600;
- pDeviceInfo->VBPD_Value = 4;
- pDeviceInfo->VFPD_Value = 38;
- pDeviceInfo->VSPW_Value = 3;
- pDeviceInfo->HBPD_Value = 45;
- pDeviceInfo->HFPD_Value = 151;
- pDeviceInfo->HSPW_Value = 3;
- pDeviceInfo->VCLK_Polarity = IVCLK_RISE_EDGE;
- pDeviceInfo->HSYNC_Polarity = IHSYNC_LOW_ACTIVE;
- pDeviceInfo->VSYNC_Polarity = IVSYNC_LOW_ACTIVE;
- pDeviceInfo->VDEN_Polarity = IVDEN_HIGH_ACTIVE;
- pDeviceInfo->PNR_Mode = PNRMODE_RGB_P;
- pDeviceInfo->VCLK_Source = CLKSEL_F_LCDCLK;
- pDeviceInfo->VCLK_Direction = CLKDIR_DIVIDED;
- pDeviceInfo->Frame_Rate = 60;
- break;
阅读(2044) | 评论(0) | 转发(0) |