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

📄 vfw_pb_interface.h

📁 魔兽2Linux版
💻 H
字号:
//==========================================================================////  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR//  PURPOSE.////  Copyright (c) 1999 - 2001  On2 Technologies Inc. All Rights Reserved.////--------------------------------------------------------------------------#ifndef _VFW_PB_INTERFACE_H#define _VFW_PB_INTERFACE_H/******************************************************************************   Module Title :     VFW_PB_INTERFACE.H**   Description  :     Interface to video codec demo decompressor DLL********************************************************************************/#include "codec_common_interface.h"#include "type_aliases.h"typedef struct PB_INSTANCE * xPB_INST;//#include "pbdll.h"// YUV buffer configuration structuretypedef struct{    int     YWidth;    int     YHeight;    int     YStride;    int     UVWidth;    int     UVHeight;    int     UVStride;    unsigned char *  YBuffer;    unsigned char *  UBuffer;    unsigned char *  VBuffer;} YUV_BUFFER_CONFIG;//	Settings Control	typedef enum{	PBC_SET_POSTPROC,	PBC_SET_CPUFREE,    PBC_MAX_PARAM} PB_COMMAND_TYPE;#ifdef __cplusplusextern "C"{#endifextern BOOL CCONV StartDecoder( xPB_INST *pbi, UINT32  ImageWidth, UINT32  ImageHeight );extern void CCONV GetPbParam( xPB_INST, PB_COMMAND_TYPE Command, UINT32 *Parameter );extern void CCONV SetPbParam( xPB_INST, PB_COMMAND_TYPE Command, UINT32 Parameter );extern void CCONV GetYUVConfig( xPB_INST, YUV_BUFFER_CONFIG * YuvConfig );extern const char * CCONV VP31D_GetVersionNumber(void);extern int CCONV DecodeFrameToYUV( xPB_INST, char * VideoBufferPtr, unsigned int ByteCount,                                    UINT32 ImageWidth, UINT32 ImageHeight );extern BOOL CCONV StopDecoder(xPB_INST *pbi);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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