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

📄 prvideo.h

📁 MiniWinOuterSM MiniWinOuterSM
💻 H
字号:
/*
	PrVideo.h
	Copyright (C) 2004-2005 CLife. All rights reserved.
*/

#ifndef _PR_VIDEO_H_
#define _PR_VIDEO_H_

#include "PrTypes.h"

PR_BEGIN_EXTERN_C

typedef enum
{
	PR_VIDEO_ASPECT_RATIO_4_3 = 0x01, //屏幕高宽比为4:3
	PR_VIDEO_ASPECT_RATIO_16_9 = 0x02 //屏幕高宽比为16:9
} PRVideoAspectRatio;

typedef enum
{
	PR_STILL_PES = 0x01, //PES静态图片
	PR_STILL_ES = 0x02 //ES静态图片
} PRStillInputFormat;

typedef enum
{
    PR_STILL_PICTURE_LAYER = 0x01, //静态图片层
    PR_STILL_VIDEO_LAYER = 0x02 //视频层
} PRStillDisplayLayer;

PRStatus PrVideoInit(void);
PRStatus PrVideoTerm(void);

PRStatus PrVideoSetPid(UINT16 streamPid);
PRStatus PrVideoSetOutputAspectRatio(PRVideoAspectRatio ratio);
PRStatus PrVideoSetInputWindow(INT32 x, INT32 y, UINT32 width, UINT32 height);
PRStatus PrVideoSetOutputWindow(INT32 x, INT32 y, UINT32 width, UINT32 height, PRBool boolAutoMode);
PRStatus PrVideoStart(void);
PRStatus PrVideoStop(void);
PRStatus PrVideoMute(void);
PRStatus PrVideoUnMute(void);
PRStatus PrVideoPause(void);
PRStatus PrVideoResume(void);
PRStatus PrStillPictureDisplay(UINT8*base, UINT32 size, PRStillInputFormat format,
									   INT32 x, INT32 y, UINT32 width, UINT32 height,
									   PRStillDisplayLayer layer);
PRStatus PrPCRSetPid(UINT16 streamPid);

PR_END_EXTERN_C

#endif	/* _PR_VIDEO_H_ */

⌨️ 快捷键说明

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