Changeset 124


Ignore:
Timestamp:
Apr 15, 2011, 11:29:13 AM (6 years ago)
Author:
voyteckst
Message:

Marc's memory changes for camera

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kern_oII/arch/arm/plat-s3c64xx/include/plat/reserved_mem.h

    r36 r124  
    1111 
    1212 
     13//W/copybit ( 1953): stretch_copybit::run_render fail 
     14//W/libs3c2drender( 1953): int S3c2DRender::JustdoG2D(s3c_img*, s3c_rect*, s3c_img*, s3c_rect*)::FrameSize(1463040) is too bigger than //m_pmem_render_partition_size(1048576) 
    1315 
    14 #define RESERVED_MEM_CMM                (3 * 1024 * 1024) 
    15 #define RESERVED_MEM_MFC                (6 * 1024 * 1024) 
    16 #define RESERVED_PMEM_PICTURE           (6 * 1024 * 1024)       /* PMEM_PIC and MFC use share area */ 
    17 #define RESERVED_PMEM_JPEG              (3 * 1024 * 1024) // 
    18 #define RESERVED_PMEM_PREVIEW           (2 * 1024 * 1024) //2  
    19 #define RESERVED_PMEM_RENDER            (6 * 1024 * 1024) //4  
    20 #define RESERVED_PMEM_STREAM            (6 * 1024 * 1024) //4 
     16 
     17#define RESERVED_MEM_CMM                (3 * 1024 * 1024) //original 3 
     18#define RESERVED_MEM_MFC                (4 * 1024 * 1024) //was 6,maybe decrease to 4 in the future?, latest working 9 
     19#define RESERVED_PMEM_PICTURE           (4 * 1024 * 1024)       /* PMEM_PIC and MFC use share area */ 
     20#define RESERVED_PMEM_JPEG              (2 * 1024 * 1024) // could be done -1, maybe merge with preview in the future? 
     21#define RESERVED_PMEM_PREVIEW           (2 * 1024 * 1024) //2, 1 gives errors --> but they dont matter, could be 1 again 
     22#define RESERVED_PMEM_RENDER            (3 * 1024 * 1024) //4  
     23#define RESERVED_PMEM_STREAM            (4 * 1024 * 1024) //4 
    2124#define RESERVED_G3D                    (32 * 1024 * 1024)      /* G3D is shared with uppper memory areas */ //34 
    2225#define RESERVED_PMEM_GPU1              (0) //0 
    23 #define RESERVED_PMEM                   (12 * 1024 * 1024)//12 working well, i9000 16mb --> if we move to 16M then 16mb *FIX* 
     26#define RESERVED_PMEM                   (16 * 1024 * 1024)//12 working well, i9000 16mb --> if we move to 16M then 16mb *FIX* 
    2427#define RESERVED_PMEM_SKIA              (0)//0 
    2528 
    26 #define RESERVED_G3D_UI                 (10 * 1024 * 1024) 
     29#define RESERVED_G3D_UI                 (6 * 1024 * 1024)//was 4 
    2730//3+6+6+3+2+6=28M 
    28 #define RESERVED_G3D_SHARED             (RESERVED_MEM_CMM + RESERVED_MEM_MFC + RESERVED_PMEM_STREAM + RESERVED_PMEM_JPEG + RESERVED_PMEM_PREVIEW + RESERVED_PMEM_RENDER) //22 
    29 #define RESERVED_G3D_APP                (RESERVED_G3D /*- RESERVED_G3D_UI*/ - RESERVED_G3D_SHARED) //32-26=6m 
     31#define RESERVED_G3D_SHARED             (RESERVED_MEM_CMM + RESERVED_MEM_MFC + RESERVED_PMEM_STREAM + RESERVED_PMEM_JPEG + RESERVED_PMEM_PREVIEW + RESERVED_PMEM_RENDER) //22 --> 18? 
     32#define RESERVED_G3D_APP                (RESERVED_G3D - RESERVED_G3D_UI - RESERVED_G3D_SHARED) 
    3033 
    3134//#if defined(CONFIG_RESERVED_MEM_CMM_JPEG_MFC_POST_CAMERA) 
Note: See TracChangeset for help on using the changeset viewer.