annexb.h

来自「AVS视频编解码器 能实现视频图像的高效率压缩 能在VC上高速运行」· C头文件 代码 · 共 53 行

H
53
字号
/*
***********************************************************************
* COPYRIGHT AND WARRANTY INFORMATION
*
* Copyright 2003, Advanced Audio Video Coding Standard, Part II
*
* DISCLAIMER OF WARRANTY
*
* These software programs are available to the users without any
* license fee or royalty on an "as is" basis. The AVS disclaims
* any and all warranties, whether express, implied, or statutory,
* including any implied warranties of merchantability or of fitness
* for a particular purpose. In no event shall the contributors or 
* the AVS be liable for any incidental, punitive, or consequential
* damages of any kind whatsoever arising from the use of this program.
*
* This disclaimer of warranty extends to the user of this program
* and user's customers, employees, agents, transferees, successors,
* and assigns.
*
* The AVS does not represent or warrant that the program furnished
* hereunder are free of infringement of any third-party patents.
* Commercial implementations of AVS, including shareware, may be
* subject to royalty fees to patent holders. Information regarding
* the AVS patent policy is available from the AVS Web site at
* http://www.avs.org.cn
*
* THIS IS NOT A GRANT OF PATENT RIGHTS - SEE THE AVS PATENT POLICY.
************************************************************************
*/

/*
*************************************************************************************
* File name: annexb.h
* Function: Annex B byte stream buffer handling.
*
*************************************************************************************
*/

#ifndef _ANNEXB_H_
#define _ANNEXB_H_

void OpenBitstreamFile (char *fn);
void CloseBitstreamFile();
int  GetOneUnit (char *buf,int *startcodepos,int *		length);
int get_uv (int LenInBits, char*tracestring);
//int storeheaderBytePosition();
//int storecurrentBytePosition();
int checkstartcode();   //check slice start code    jlzheng  6.30

#endif

⌨️ 快捷键说明

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