www.pudn.com > rm52f.rar > elements.h
/* *********************************************************************** * 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: elements.h * Function: Header file for elements in AVS streams * ************************************************************************************* */ #ifndef _ELEMENTS_H_ #define _ELEMENTS_H_ /*! * definition of AVS syntaxelements * order of elements follow dependencies for picture reconstruction */ /*! * \brief Assignment of old TYPE partition elements to new * elements * * old element | new elements * ----------------+------------------------------------------------------------------- * TYPE_HEADER | SE_HEADER, SE_PTYPE * TYPE_MBHEADER | SE_MBTYPE, SE_REFFRAME, SE_INTRAPREDMODE * TYPE_MVD | SE_MVD * TYPE_CBP | SE_CBP_INTRA, SE_CBP_INTER * SE_DELTA_QUANT_INTER * SE_DELTA_QUANT_INTRA * TYPE_COEFF_Y | SE_LUM_DC_INTRA, SE_LUM_AC_INTRA, SE_LUM_DC_INTER, SE_LUM_AC_INTER * TYPE_2x2DC | SE_CHR_DC_INTRA, SE_CHR_DC_INTER * TYPE_COEFF_C | SE_CHR_AC_INTRA, SE_CHR_AC_INTER * TYPE_EOS | SE_EOS */ #define SE_HEADER 0 #define SE_PTYPE 1 #define SE_MBTYPE 2 #define SE_REFFRAME 3 #define SE_INTRAPREDMODE 4 #define SE_MVD 5 #define SE_CBP_INTRA 6 #define SE_LUM_DC_INTRA 7 #define SE_CHR_DC_INTRA 8 #define SE_LUM_AC_INTRA 9 #define SE_CHR_AC_INTRA 10 #define SE_CBP_INTER 11 #define SE_LUM_DC_INTER 12 #define SE_CHR_DC_INTER 13 #define SE_LUM_AC_INTER 14 #define SE_CHR_AC_INTER 15 #define SE_DELTA_QUANT_INTER 16 #define SE_DELTA_QUANT_INTRA 17 #define SE_BFRAME 18 #define SE_EOS 19 #define SE_MAX_ELEMENTS 20 #endif