www.pudn.com > dv981-hd.rar > UOP.H


/**********************************************************************/ 
/***************    MTK CONFIDENTIAL & COPYRIGHTED     ****************/ 
/***************                                       ****************/ 
/***************  $Modtime:: 03/10/27 10:19a   $       ****************/ 
/***************  $Revision: 5.0 $       ****************/ 
/***************                                       ****************/ 
/***************   Description : Define generic UOP ID ****************/ 
/***************                                       ****************/ 
/***************                                       ****************/ 
/***************       Company : MediaTek Inc.         ****************/ 
/***************    Programmer : Sung-Ching Lin        ****************/ 
/**********************************************************************/ 
 
#ifndef _UOP_H_ 
#define _UOP_H_ 
 
#define UOP_NONE              0x00 
 
#define UOP_DIGITAL_BTN       0x01 
#define UOP_ARROW_BTN         0x02 
 
#define UOP_PLAYBACK_START    0x03 
 
/* normal playback */ 
#define UOP_PLAY              0x03 
#define UOP_PAUSE             0x04 
#define UOP_STOP              0x05 
#define UOP_NEXT              0x06 
#define UOP_PREVIOUS          0x07 
#define UOP_REPEAT            0x08 
 
/* trick mode control */ 
#define UOP_FORWARD           0x09 
#define UOP_REVERSE           0x0a 
#define UOP_STEP              0x0b 
#define UOP_STEP_BACK         0x0c 
#define UOP_A_TO_B            0x0d 
#define UOP_FREEZE            0x0e 
 
/* PBC control */ 
#define UOP_MENU_CALL         0x0f 
#define UOP_RETURN            0x10 
#define UOP_CHANGE_ASTN       0x11 
#define UOP_CHANGE_SPSTN      0x12 
#define UOP_CHANGE_AGL        0x13 
#define UOP_RESUME_PLAY       0x14 
#define UOP_RESUME            0x15 
#define UOP_DEFAULT           0x16 
#define UOP_TOP               0x17 
#define UOP_GOUP              0x18 
#define UOP_STILL_OFF         0x19 
#define UOP_MEMORY_PLAY       0x1a 
 
  /* non-PBC control */ 
#define UOP_PBC_SWITCH        0x1b 
#define UOP_DIGEST            0x1c 
#define UOP_SCAN              0x1d 
#define UOP_PROGRAM           0x1e 
#define UOP_RANDOM            0x1f 
#define UOP_SHUFFLE           0x20 
#define UOP_MEMORY            0x21 
#define UOP_BOOKMARK          0x22 
 
  /* item play */ 
#define UOP_TIME_PLAY         0x23 
#define UOP_TITLE_PLAY        0x24 
#define UOP_SCENE_PLAY        0x24 // VCD only 
#define UOP_PTT_PLAY          0x25 
#define UOP_PTT_TIME_PLAY     0x26 
#define UOP_TRACK_PLAY        0x27 
#define UOP_FILE_PLAY         0x28 
#define UOP_FILE_DONE         0x29 
 
  /* DVD AUDIO specific UOP */ 
#define UOP_NEXT_DLIST        0x2a 
#define UOP_PREV_DLIST        0x2b 
#define UOP_HOME_DLIST        0x2c 
 
#define UOP_GROUP_PLAY        0x2d 
 
#define UOP_PLAYBACK_MAX      0x2d 
 
#define UOP_SYSTEM_START      0x2e 
 
/* video control */ 
#define UOP_ZOOM_IN           0x2e 
#define UOP_ZOOM_OUT          0x2f 
#define UOP_SHOW_LOGO         0x30 
#define UOP_CAPTURE           0x31 
 
/* audio control */ 
#define UOP_AUDIO_CLIP        0x32 
#define UOP_VOCAL_ASSIST      0x33 
 
/* system control */ 
#define UOP_POWER             0x34 
#define UOP_OPEN_CLOSE        0x35 
#define UOP_SCR_SAVE          0x36 
#ifdef NEW_RISC 
#define UOP_CHG_DEV           0x37 
#define UOP_SYSTEM_MAX        0x37 
#else 
#define UOP_SYSTEM_MAX        0x36 
#endif 
#define UOP_LAST_GENERIC_UOP  UOP_SYSTEM_MAX 
 
// the following UOP will be removed 
#ifdef NEW_RISC 
#define UOP_NEXT_AGL          0x38 
#define UOP_NEXT_SPSTN        0x39 
#define UOP_SP_SWITCH         0x3a 
#define UOP_NEXT_SPSTN_NOSP   0x3b 
#define UOP_NEXT_ASTN         0x3c 
#define UOP_ROOT_MENU         0x3d 
#define UOP_TITLE_MENU        0x3e 
#define UOP_PLAY_PAUSE        0x3f 
#define UOP_LAST_RISC_UOP     0x40 
#else 
#define UOP_NEXT_AGL          0x37 
#define UOP_NEXT_SPSTN        0x38 
#define UOP_SP_SWITCH         0x39 
#define UOP_NEXT_SPSTN_NOSP   0x3a 
#define UOP_NEXT_ASTN         0x3b 
#define UOP_ROOT_MENU         0x3c 
#define UOP_TITLE_MENU        0x3d 
#define UOP_PLAY_PAUSE        0x3e 
#define UOP_LAST_RISC_UOP     0x3f 
#endif 
 
#if defined(PC_EMULATION) 
# if (UOP_LAST_RISC_UOP > 255) 
# error "UOP ID space is not enough" 
# endif 
#endif 
 
#endif