- /* **************************************************************************************
- * Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
- *
- * File: $Workfile: DVDSCMAP.H $
- *
- * Description:
- * ============
- *
- *
- * Log:
- * ====
- * $Revision: 4 $
- * Last Modified by $Author: Leonh $ at $Modtime: 12/30/03 11:16a $
- ****************************************************************************************
- * Updates:
- ****************************************************************************************
- * $Log: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/DVDSCMAP.H $
- *
- * 4 12/30/03 11:27a Leonh
- * Angieh:Change for DVD AUDIO navigator header.
- *
- * 7 10/23/03 11:33a Leslie
- * for store asv pointer
- *
- * 6 10/20/03 11:46a Leslie
- * check the variable type and change the dvda rtpb schedule way as the
- * same with DVD Video
- *
- * 5 10/14/03 11:19a Leslie
- * add dvd audio support
- *
- * 4 8/20/03 2:56p Leonh
- * Merge dvd audio code with the latest nav_dvd code with reference
- *
- * 3 03-05-08 18:17 Leonh
- *
- * 2 03-04-30 17:27 Leonh
- *
- * 1 03-04-28 11:15 Fwang
- * Initial for DVDA
- *
- * 4 5/21/02 12:38p Leslie
- * Support 5 DVD Bookmarks
- *
- * 3 9/05/02 16:06 Nirm
- * - Added allocation for CGMS Info Table.
- *
- * 2 23/04/02 9:34 Nirm
- * - Added dependency in "Config.h".
- *
- * 1 2/17/02 12:12 Rinata
- *
- * 1 2/17/02 11:38 Rinata
- *
- * 3 9/01/02 16:40 Nirm
- * Corrected Include-Paths.
- *
- * 2 9/01/02 14:51 Atai
- * Code cleaning
- **************************************************************************************** */
- #include "Config.h" // Global Configuration - do not remove!
- #ifndef DVDSCMAP_H
- #define DVDSCMAP_H
- #include "Includesysdefs.h"
- #include "PlaycoreScPadScPadAlloc.h"
- #include "PlaycoreScPadScMgr.h"
- #include "PlaycoreNav_DVDHeadernvgadefs.h"
- #define PCI_A_SCA SC_NAVIGATORS_ADDR
- #define PCI_B_SCA (PCI_A_SCA+CONTAINER_COUNT(PCI_SIZE))
- #define POWER_ON_ATRT_SCA (PCI_B_SCA+CONTAINER_COUNT(PCI_SIZE))
- #define VMG_MENU_ATRT_SCA (POWER_ON_ATRT_SCA+CONTAINER_COUNT(T_ATRT_SIZE))
- #define TITLE_ATRT_SCA (VMG_MENU_ATRT_SCA+CONTAINER_COUNT(M_ATRT_SIZE))
- #define VTS_MENU_ATRT_SCA (TITLE_ATRT_SCA+CONTAINER_COUNT(T_ATRT_SIZE))
- #define DSI_SCA (VTS_MENU_ATRT_SCA+CONTAINER_COUNT(M_ATRT_SIZE))
- #define PGC_GI_SCA (DSI_SCA+CONTAINER_COUNT(DSI_SIZE))
- #define BMARK_GPRM_1_SCA (PGC_GI_SCA+CONTAINER_COUNT(PGC_GI_SIZE))
- #define BMARK_GPRM_2_SCA (BMARK_GPRM_1_SCA+CONTAINER_COUNT(GPRM_SIZE))
- #define BMARK_GPRM_3_SCA (BMARK_GPRM_2_SCA+CONTAINER_COUNT(GPRM_SIZE))
- #define BMARK_GPRM_4_SCA (BMARK_GPRM_3_SCA+CONTAINER_COUNT(GPRM_SIZE))
- #define BMARK_GPRM_5_SCA (BMARK_GPRM_4_SCA+CONTAINER_COUNT(GPRM_SIZE))
- #define BMARK_GPRM_6_SCA (BMARK_GPRM_5_SCA+CONTAINER_COUNT(GPRM_SIZE))
- #define BMARK_GPRM_7_SCA (BMARK_GPRM_6_SCA+CONTAINER_COUNT(GPRM_SIZE))
- #define ANGLE_OFFSET_SCA (BMARK_GPRM_7_SCA+CONTAINER_COUNT(GPRM_SIZE))
- #define RSM_ANGLE_OFFSET_SCA (ANGLE_OFFSET_SCA+CONTAINER_COUNT(ANGLE_OFFSET_SIZE))
- #define NP_INFO_SCA (RSM_ANGLE_OFFSET_SCA+CONTAINER_COUNT(ANGLE_OFFSET_SIZE))
- //<<<Angie_0803_2004:For DVD Audio Use the mamory allocated by DVD Video
- #define ASV_POINTER_SCA SC_NAVIGATORS_ADDR //Use the PCI_A_BUFF Memory
- #define AMG_MENU_ATRT_SCA VMG_MENU_ATRT_SCA //Use the VMG_MENU_ATRT Memory
- #define AOTT_AOB_ATRT_SCA DSI_SCA //Use the DSI Memory 128 bytes
- #define ATS_DMX_TBL_SCA (AOTT_AOB_ATRT_SCA+CONTAINER_COUNT(AOTT_AOB_ATRT_SIZE))//Use the DSI Memory 288 bytes
- //Angie_0803_2004>>>
- #ifdef LANGUAGE_LEARNING_SUPPORT
- #define DSI_GRAMMER_CMD_SCA (NP_INFO_SCA + CONTAINER_COUNT(sizeof(S_NAV_PK_INFO_FIFO)))
- #define SAVED_BMARK_GRAMMER_SCA (DSI_GRAMMER_CMD_SCA + CONTAINER_COUNT(DSI_GRAMMER_CMD_SIZE*MAX_NUMOF_DSI_GRAMMER_CMD))
- #define SAVED_BMARK_0_SCA (SAVED_BMARK_GRAMMER_SCA + CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #else
- #define SAVED_BMARK_0_SCA (NP_INFO_SCA+CONTAINER_COUNT(sizeof(S_NAV_PK_INFO_FIFO)))
- #endif//LANGUAGE_LEARNING_SUPPORT
- #define SAVED_BMARK_1_SCA (SAVED_BMARK_0_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_2_SCA (SAVED_BMARK_1_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_3_SCA (SAVED_BMARK_2_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_4_SCA (SAVED_BMARK_3_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #ifdef SUPPORT_FIVE_DVD_BOOKMARKS
- #define SAVED_BMARK_5_SCA (SAVED_BMARK_4_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_6_SCA (SAVED_BMARK_5_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define PGC_PB_ORDER_SCA (SAVED_BMARK_6_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #elif D_SUPPORT_TWELVE_BOOKMARKS
- #define SAVED_BMARK_5_SCA (SAVED_BMARK_4_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_6_SCA (SAVED_BMARK_5_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_7_SCA (SAVED_BMARK_6_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_8_SCA (SAVED_BMARK_7_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_9_SCA (SAVED_BMARK_8_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_10_SCA (SAVED_BMARK_9_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_11_SCA (SAVED_BMARK_10_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_12_SCA (SAVED_BMARK_11_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define SAVED_BMARK_13_SCA (SAVED_BMARK_12_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #define PGC_PB_ORDER_SCA (SAVED_BMARK_13_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #else
- #define PGC_PB_ORDER_SCA (SAVED_BMARK_4_SCA+CONTAINER_COUNT(sizeof(DVD_BOOKMARK)))
- #endif//SUPPORT_FIVE_DVD_BOOKMARKS
- #define PGC_PB_ORDER_MAX_SIZE 128 // ZORAN BMV0208 made it 128 as max repeat value is 128 //100 /* 100 items can be stored max */
- #define VMG_MENU_STRUCT_LUT_SCA (PGC_PB_ORDER_SCA+CONTAINER_COUNT(PGC_PB_ORDER_MAX_SIZE))
- #define VTS_MENU_STRUCT_LUT_SCA (VMG_MENU_STRUCT_LUT_SCA + CONTAINER_COUNT( 8*sizeof(WORD) ))
- #define VOB_CGMS_INFO_TABLE_SCA (VTS_MENU_STRUCT_LUT_SCA + CONTAINER_COUNT( 8*sizeof(WORD) ))
- #define LAST_SCA (VOB_CGMS_INFO_TABLE_SCA + CONTAINER_COUNT(MAX_CGMS_ENTRIES * sizeof(S_VOB_CGMS_INFO)))
- #endif //DVDSCMAP_H