xvid.h   xvid.h 
/************************************************************************** *** /************************************************************************** ***
* *
* XVID MPEG-4 VIDEO CODEC * XVID MPEG-4 VIDEO CODEC
* - Xvid Main header file - * - Xvid Main header file -
* *
* Copyright(C) 2001-2011 Peter Ross <pross@xvid.org> * Copyright(C) 2001-2014 Peter Ross <pross@xvid.org>
* *
* This program is free software ; you can redistribute it and/or modify * This program is free software ; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation ; either version 2 of the License, or * the Free Software Foundation ; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of * but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program ; if not, write to the Free Software * along with this program ; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A
* *
* $Id: xvid.h 1985 2011-05-18 09:02:35Z Isibaar $ * $Id: xvid.h 2082 2014-04-08 20:19:42Z Isibaar $
* *
************************************************************************** **/ ************************************************************************** **/
#ifndef _XVID_H_ #ifndef _XVID_H_
#define _XVID_H_ #define _XVID_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
skipping to change at line 59 skipping to change at line 59
#define XVID_MAKE_VERSION(a,b,c) ((((a)&0xff)<<16) | (((b)&0xff)<<8) | ((c) &0xff)) #define XVID_MAKE_VERSION(a,b,c) ((((a)&0xff)<<16) | (((b)&0xff)<<8) | ((c) &0xff))
#define XVID_VERSION_MAJOR(a) ((char)(((a)>>16) & 0xff)) #define XVID_VERSION_MAJOR(a) ((char)(((a)>>16) & 0xff))
#define XVID_VERSION_MINOR(a) ((char)(((a)>> 8) & 0xff)) #define XVID_VERSION_MINOR(a) ((char)(((a)>> 8) & 0xff))
#define XVID_VERSION_PATCH(a) ((char)(((a)>> 0) & 0xff)) #define XVID_VERSION_PATCH(a) ((char)(((a)>> 0) & 0xff))
#define XVID_MAKE_API(a,b) ((((a)&0xff)<<16) | (((b)&0xff)<<0)) #define XVID_MAKE_API(a,b) ((((a)&0xff)<<16) | (((b)&0xff)<<0))
#define XVID_API_MAJOR(a) (((a)>>16) & 0xff) #define XVID_API_MAJOR(a) (((a)>>16) & 0xff)
#define XVID_API_MINOR(a) (((a)>> 0) & 0xff) #define XVID_API_MINOR(a) (((a)>> 0) & 0xff)
#define XVID_VERSION XVID_MAKE_VERSION(1,3,2) #define XVID_VERSION XVID_MAKE_VERSION(1,3,3)
#define XVID_API XVID_MAKE_API(4, 3) #define XVID_API XVID_MAKE_API(4, 3)
/* Bitstream Version /* Bitstream Version
* this will be writen into the bitstream to allow easy detection of xvid * this will be writen into the bitstream to allow easy detection of xvid
* encoder bugs in the decoder, without this it might not possible to * encoder bugs in the decoder, without this it might not possible to
* automatically distinquish between a file which has been encoded with an * automatically distinquish between a file which has been encoded with an
* old & buggy XVID from a file which has been encoded with a bugfree versi on * old & buggy XVID from a file which has been encoded with a bugfree versi on
* see the infamous interlacing bug ... * see the infamous interlacing bug ...
* *
* this MUST be increased if an encoder bug is fixed, increasing it too oft en * this MUST be increased if an encoder bug is fixed, increasing it too oft en
* doesnt hurt but not increasing it could cause difficulty for decoders in the * doesnt hurt but not increasing it could cause difficulty for decoders in the
* future * future
*/ */
#define XVID_BS_VERSION 64 #define XVID_BS_VERSION 65
/************************************************************************** *** /************************************************************************** ***
* error codes * error codes
************************************************************************** **/ ************************************************************************** **/
/* all functions return values <0 indicate error */ /* all functions return values <0 indicate error */
#define XVID_ERR_FAIL -1 /* general fault */ #define XVID_ERR_FAIL -1 /* general fault */
#define XVID_ERR_MEMORY -2 /* memory allocation error */ #define XVID_ERR_MEMORY -2 /* memory allocation error */
#define XVID_ERR_FORMAT -3 /* file format error */ #define XVID_ERR_FORMAT -3 /* file format error */
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/