www.pudn.com > 6027_HD65.rar > lastmem.h


/**********************************************************************/ 
/***************    MTK CONFIDENTIAL & COPYRIGHTED     ****************/ 
/***************                                       ****************/ 
/***************  $Modtime:: 04/04/19 3:01p    $       ****************/ 
/***************  $Revision:: 1                $       ****************/ 
/***************                                       ****************/ 
/***************   Description : DVD Shared Data Item  ****************/ 
/***************                                       ****************/ 
/***************                                       ****************/ 
/***************       Company : MediaTek Inc.         ****************/ 
/***************    Programmer : Sung-Ching Lin        ****************/ 
/**********************************************************************/ 
#ifndef _LASTMEM_H_ 
#define _LASTMEM_H_ 
 
// total slot number, included seperate and shared 
#define SV_MEM_SLOT_NO_MAX_NS     32 
 
#define LASTMEM_NULL_SLOT_NO      (0xff) 
 
// 4-byte alignment 
#define SV_MEM_SLOT_MAX_SZ        60 //021028: 56->60 
 
#define SV_MEM_SLOT_IDX_OFST      0 
#define SV_MEM_SLOT_TYPE_OFST     1 
#define SV_MEM_SLOT_DATA_OFST     2 
 
#define SV_MEM_SLOT_TYPE_MASK     0x07 
 
#define SV_MEM_SLOT_NONE          0 
#define SV_MEM_SLOT_DVD           1 
#define SV_MEM_SLOT_VCD           2 
#define SV_MEM_SLOT_CDDA          3 
#define SV_MEM_SLOT_DDISC         4 
#define SV_MEM_SLOT_TYPE_MAX      5 
 
#define DVD_MEM_SLOT_SIZE         60 //021028: 56 -> 60 
#define VCD_MEM_SLOT_SIZE         24 
#define CDDA_MEM_SLOT_SIZE        10 
#define DDISC_MEM_SLOT_SIZE       16 
 
#endif /* _LASTMEM_H_ */