?? avsdeclib.h
字號:
/*************************************************************************
AVS1-P2視頻解碼器源碼
版權(quán)所有:聯(lián)合信源數(shù)字音視頻技術(shù)(北京)有限公司, (c) 2005-2006
AVS1-P2 Video Decoder Source Code
(c) Copyright, NSCC All Rights Reserved, 2005-2006
*************************************************************************
Distributed under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*************************************************************************/
/*************************************************************************
本代碼為AVS1-P2標(biāo)準(zhǔn)視頻解碼器的源代碼,實現(xiàn)了AVS1-P2標(biāo)準(zhǔn)文本中所規(guī)定的
絕大部分功能,但不包括:
1) 場編碼(field coding)
2) 多Slice結(jié)構(gòu)
3) 加權(quán)預(yù)測
4) 去偽起始碼
*************************************************************************/
/*************************************************************************
Revision History
data Modification Author
2006-3-13 Created jthou
*************************************************************************/
#ifndef _AVSLIB_H_d0808y76666550U887YTH9OH9H
#define _AVSLIB_H_d0808y76666550U887YTH9OH9H
struct SEQ_INFO {
int image_width;
int image_height;
float frame_rate;
};
#define DLLEXPORT __declspec( dllexport )
#ifdef __cplusplus
extern "C" { // only need to export C interface if
// used by C++ source code
#endif
DLLEXPORT int OpenAVSDec(BYTE* pbData, int len, SEQ_INFO* pInfo);
DLLEXPORT int GetOneFrameBitsFromBuffer(unsigned char *pFrameBuf,
int iBufLen,
int *pFrameLen,
int* pNoUseDataLen);
DLLEXPORT int DecOneFrameFromBuffer(unsigned char *pbData,
int iFrameLen,
BYTE** ppOutY,
BYTE** ppOutU,
BYTE** ppOutV);
DLLEXPORT void CloseAVSDec();
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -