textst_presctrl.h

来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 60 行

H
60
字号
/*****************************************************************************
******************************************************************************
**                                                                          **
**  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 textst_presctrl.h
 *
 * $Revision: 1.3 $ 
 *
 * Defines the API to the Text Subtitle Presentation Controller.
 * This is a private API that is intented to be used only by
 * modules internal to the TextST Module.
 *
 */

#ifndef TEXTST_PRESCTRL_H
#define TEXTST_PRESCTRL_H

#ifdef __cplusplus
extern "C" {
#endif

#include "vdvd_types.h"
#include "textst_api.h"
#include "textst_types.h"

/** 
 * Text Subtitle Presentation Controller function definitions
 */
TEXTST_STATUS   TextSTPresCtrlCreate(TEXTST_INFO *hTextST);
TEXTST_STATUS   TextSTPresCtrlDelete(void);
TEXTST_STATUS   TextSTPresCtrlAddDPS(TEXTST_COMPOSITION_INFO *pCompInfo);
TEXTST_STATUS   TextSTPresCtrlAddBmpObj(TEXTST_BITMAP_OBJECT *pBitmapObj);
TEXTST_STATUS   TextSTPresCtrlPresentNextDPS(void);
TEXTST_STATUS   TextSTPresCtrlErase(void);
TEXTST_STATUS   TextSTPresCtrlLoadPalette(TEXTST_PALETTE *pal, IDirectFBPalette *dfb_palette);
TEXTST_STATUS   TextSTPresCtrlSetPalette(IDirectFBPalette *dfb_palette);
TEXTST_STATUS   TextSTPresCtrlFlip(void);
TEXTST_STATUS   TextSTPresCtrlFlushCompQ(void);
TEXTST_STATUS   TextSTPresCtrlFlushBmpQ(void);
TEXTST_STATUS   TextSTPresCtrlSuspend(void);
TEXTST_STATUS   TextSTPresCtrlResume(void);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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