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

📄 uoctrl.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 uoctrl.h
 *
 * Defines the API to the User Operation (UO) Controller.
 * The UO Controller receives User Operations and calls appropriate
 * functions of the Playback Control Engine in accordance with the
 * received UO.
 *
 * $Id: uoctrl.h,v 1.9 2006/10/25 23:50:09 rbehe Exp $
 */

#ifndef UOCTRL_H
#define UOCTRL_H

#ifdef __cplusplus
extern "C" {
#endif

#include "vdvd_types.h"

/**
 * UO Controller Status types
 */
typedef  ERR_CODE UOCTRL_STATUS;
#define  UOCTRL_SUCCESS             (ERR_CODE)(0)
#define  UOCTRL_FAILURE             (ERR_CODE)(-1)
#define  UOCTRL_NULL_POINTER        (ERR_CODE)(-2)
#define  UOCTRL_NOT_IMPLEMENTED     (ERR_CODE)(-3)
#define  UOCTRL_PROHIBITED          (ERR_CODE)(1)

/**
 * UO Controller Playback Control Procedures
 */
UOCTRL_STATUS   UOCtrlChapterSearch(uint32 chapter_number);
UOCTRL_STATUS   UOCtrlTimeSearch(uint32 time);
UOCTRL_STATUS   UOCtrlSkipToNextPoint(uint32 *pOutChapterNumber);
UOCTRL_STATUS   UOCtrlSkipToPrevPoint(uint32 *pOutChapterNumber);
UOCTRL_STATUS   UOCtrlRestartPoint(uint32 *pOutChapterNumber);
UOCTRL_STATUS   UOCtrlStop(void);
UOCTRL_STATUS   UOCtrlPauseOn(void);
UOCTRL_STATUS   UOCtrlPauseOff(void);
UOCTRL_STATUS   UOCtrlStillOff(void);
UOCTRL_STATUS   UOCtrlForwardPlay(uint32 speed);
UOCTRL_STATUS   UOCtrlBackwardPlay(uint32 speed);
UOCTRL_STATUS   UOCtrlPrimaryAudioChange(uint32 audio_stream_number);
UOCTRL_STATUS   UOCtrlAngleChange(uint32 angle_number);
UOCTRL_STATUS   UOCtrlPGandSTEnable(BOOLEAN disp_s_flag);
UOCTRL_STATUS   UOCtrlPGandSTChange(uint32 stream_number);
UOCTRL_STATUS   UOCtrlSecondaryVideoEnable(BOOLEAN disp_a_flag);
UOCTRL_STATUS   UOCtrlSecondaryVideoChange(uint32 video_stream_number);
UOCTRL_STATUS   UOCtrlSecondaryAudioEnable(BOOLEAN disp_v_flag);
UOCTRL_STATUS   UOCtrlSecondaryAudioChange(uint32 audio_stream_number);
UOCTRL_STATUS   UOCtrlPIPPGandSTEnable(BOOLEAN disp_s_flag);
UOCTRL_STATUS   UOCtrlPIPPGandSTChange(uint32 stream_number);
UOCTRL_STATUS   UOCtrlTextSubtitleStyleChange(uint8 user_style_number);
UOCTRL_STATUS   UOCtrlRepeat(uint8 repeat_mode);

/**
 * UO Controller Interactive Procedures
 */
UOCTRL_STATUS   UOCtrlMoveUpSelectedButton(void);
UOCTRL_STATUS   UOCtrlMoveDownSelectedButton(void);
UOCTRL_STATUS   UOCtrlMoveLeftSelectedButton(void);
UOCTRL_STATUS   UOCtrlMoveRightSelectedButton(void);
UOCTRL_STATUS   UOCtrlSelectButton(uint32 button_number);
UOCTRL_STATUS   UOCtrlActivateButton(void);
UOCTRL_STATUS   UOCtrlSelectAndActivateButton(uint32 button_number);
UOCTRL_STATUS   UOCtrlPopUpOn(void);
UOCTRL_STATUS   UOCtrlPopUpOff(void);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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