1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #ifndef _DRV_RESERV_MMAP_6710_H_
- #define _DRV_RESERV_MMAP_6710_H_
- #if defined( CONFIG_MEDIA_ENABLE )
- #define RMEM_START_ADDR RMEM_MPEG_START_ADDR-RMEM_DTV_VBV-RMEM_DTV_VIP-RMEM_BLT-ADD_OSD_COMPRESS_SIZE-RMEM_DTV_OSDLIB-RMEM_DTV_AUDIO
- #else
- #define RMEM_START_ADDR RMEM_MPEG_START_ADDR-RMEM_DTV_VIP-RMEM_BLT-ADD_OSD_COMPRESS_SIZE-RMEM_DTV_OSDLIB-RMEM_DTV_AUDIO
- #endif
- #if (CONFIG_DRAMSIZE == 64 )//6710
- /* please fill reserve memory size here */
- #if defined( CONFIG_MEDIA_ENABLE )
- #define RMEM_MPEG_START_ADDR 0x02200000 //Need 2MB align
- #define RMEM_BLT 0x00270000
- #define RMEM_VIP 0x003c0000
- #else
- #define RMEM_MPEG_START_ADDR 0x03c00000
- #define RMEM_BLT 0x00270000
- #define RMEM_VIP 0x01b00000//0x003c0000
- #endif
- #define RMEM_VBV 0x004a0000
- #define RMEM_MIR 0x00000000
- #define RMEM_MPEG 0x01a96000
- #define RMEM_DEMOD 0x00000000
- #define RMEM_PVR 0x00000000
- #define RMEM_POOL 0x00000000
- #define RMEM_RUNAV 0x00000000
- #define RMEM_DIO 0x00000000
- #define RMEM_RMRTEST 0x00000000
- #ifdef CONFIG_SUPPORT_USB_MCAST
- #define RMEM_NETRUNAV 0x00600000 //reduce to memory pool 6MB
- #endif
- #ifdef CONFIG_AUDIO_16_BIT_MEMORY
- #define RMEM_AUDIO 0x0013e000
- #else
- #define RMEM_AUDIO 0x001a4000 //0x00152000
- #endif
-
- #elif (CONFIG_DRAMSIZE == 128 ) //6710 128MB
- /* please fill reserve memory size here */
- #define RMEM_MPEG_START_ADDR 0x05e00000 //Need 2MB align
- #define RMEM_AUDIO 0x002c4000
- #define RMEM_BLT 0x0068f000
- #define RMEM_VBV 0x00800000
- #define RMEM_MPEG 0x01F40000
- #define RMEM_DEMOD 0x00000000
- #define RMEM_POOL 0x00000000
- #define RMEM_PVR 0x00000000
- #define RMEM_RUNAV 0x00000000
- #define RMEM_DIO 0x00000000
- #define RMEM_RMRTEST 0x00000000
- #define RMEM_MIR 0x00000000
- #ifdef CONFIG_SUPPORT_USB_MCAST
- #define RMEM_NETRUNAV 0x00000000
- #endif
- #if defined(CONFIG_EXTIC_LCDCONVERTER)
- #define RMEM_VIP 0x00cb0000 //eDP panel needs to disable frame lock and needs 3 buffers all the time.
- #elif defined(CONFIG_VIP_COLOR_FORMAT_Y8BIT)
- #define RMEM_VIP 0x00780000 //7.5MB 2015.08.19 If use Y8bit, memory can reserve 1MB.
- #else
- #define RMEM_VIP 0x00880000 //8.5MB, 2014.07.16 jengyun, Y10, C420 and Half-motion are standard procedure of VIP in DTV src, the VIP reserved is 8.5MB instead of 11.75MB. (save 3.25MB)
- #endif
- #endif //CONFIG_DRAMSIZE == 128
- #endif // _DRV_RESERV_MMAP_6710_H_
|