⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pbc_engine.h

📁 这是DVD中伺服部分的核心代码
💻 H
字号:
/*****************************************************************************
******************************************************************************
**                                                                          **
**  Copyright (c) 2005-2006 Videon Central, Inc.                            **
**  All rights reserved.                                                    **
**                                                                          **
**  The computer program contained herein contains proprietary information  **
**  which is the property of Videon Central, Inc.  The program may be used  **
**  and/or copied only with the written permission of Videon Central, Inc.  **
**  or in accordance with the terms and conditions stipulated in the        **
**  agreement/contract under which the programs have been supplied.         **
**                                                                          **
******************************************************************************
*****************************************************************************/
/**
 * @file pbc_engine.h
 *
 * Defines the API to the Playback Control Engine core module.
 * This module contains the playback control engine task.
 * This API is intended to be private and used by other Playback
 * Control Engine modules only.
 *
 * $Id: pbc_engine.h,v 1.19 2006/10/25 23:50:09 rbehe Exp $
 */

#ifndef PBC_ENGINE_H
#define PBC_ENGINE_H

#ifdef __cplusplus
extern "C" {
#endif

#include "vdvd_types.h"
#include "playctrl.h"
#include "pbc_types.h"

/**
 * Playback control engine commands
 */
typedef enum tagPLAYCTRL_COMMAND
{
    PLAYCTRL_PLAYPLPLAYITEM = 0,
    PLAYCTRL_LINKPI,
    PLAYCTRL_PLAYPLMARK,
    PLAYCTRL_LINKMARK,
    PLAYCTRL_PLAYPLTIME,
    PLAYCTRL_LINKTIME,
    PLAYCTRL_SUSPEND,
    PLAYCTRL_RESUME,
    PLAYCTRL_SKIPTONEXTPOINT,
    PLAYCTRL_SKIPTOPREVPOINT,
    PLAYCTRL_RESTARTPOINT,
    PLAYCTRL_REPEAT,
    PLAYCTRL_PLAY,
    PLAYCTRL_STOP,
    PLAYCTRL_PAUSEON,
    PLAYCTRL_PAUSEOFF,
    PLAYCTRL_STILLON,
    PLAYCTRL_STILLOFF,
    PLAYCTRL_FORWARDPLAY,
    PLAYCTRL_BACKWARDPLAY,
    PLAYCTRL_AUDIOCHANGE,
    PLAYCTRL_SECONDARYAUDIOCHANGE,
    PLAYCTRL_SUBTITLECHANGE,
    PLAYCTRL_SUBTITLEDISPLAY,
    PLAYCTRL_ANGLECHANGE,
    PLAYCTRL_IGCHANGE,
    PLAYCTRL_TEXTSUBTITLESTYLECHANGE,
    PLAYCTRL_GETNUMTEXTSUBTITLESTYLES,
    PLAYCTRL_SELECTBUTTONPAGE,
    PLAYCTRL_POPUPON,
    PLAYCTRL_POPUPOFF,
    PLAYCTRL_ENABLEBUTTON,
    PLAYCTRL_DISABLEBUTTON,
    PLAYCTRL_MOVEUPSELECTEDBUTTON,
    PLAYCTRL_MOVEDOWNSELECTEDBUTTON,
    PLAYCTRL_MOVELEFTSELECTEDBUTTON,
    PLAYCTRL_MOVERIGHTSELECTEDBUTTON,
    PLAYCTRL_SELECTBUTTON,
    PLAYCTRL_ACTIVATEBUTTON,
    PLAYCTRL_SELECTANDACTIVATEBUTTON,
    PLAYCTRL_ACTIVATEBUTTON_COMPLETE,
    PLAYCTRL_RESET_USER_TIMEOUT,

    /* All new types above */
    PLAYCTRL_INVALID_COMMAND
} PLAYCTRL_COMMAND;

/**
 * PBC Engine procedures
 */
PLAYCTRL_STATUS PbcEngineCreate(PBC_HANDLE *hPBC);
PLAYCTRL_STATUS PbcEngineDelete(PBC_HANDLE *hPBC);
PLAYCTRL_STATUS PbcEngineProcessCmd(PBC_HANDLE *hPBC, PLAYCTRL_COMMAND tCmd, ULONG data1, ULONG data2, ULONG data3, BOOLEAN fSynch);
PLAYCTRL_STATUS PbcEngineClearCmdQueue(PBC_HANDLE *hPBC);

PLAYCTRL_STATUS pbcEngineSendMessage(PBCENGINE_MSGTYPE tMsgType, PBC_HANDLE *hPBC, ULONG ulData0,
                          ULONG ulData1, ULONG ulData2, ULONG ulData3, ULONG ulSemID, ULONG* pulRetVal);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -