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

📄 tmndec.h

📁 H.263的压缩算法
💻 H
字号:
/************************************************************************ * *  tmndec.h, TMN specific defines for tmndecode (H.263 decoder) *  Copyright (C) 1995, 1996  Telenor R&D, Norway * *  Contacts: *  Robert Danielsen                  <Robert.Danielsen@nta.no> * *  Telenor Research and Development  http://www.nta.no/brukere/DVC/ *  P.O.Box 83                        tel.:   +47 63 84 84 00 *  N-2007 Kjeller, Norway            fax.:   +47 63 81 00 76 * *  Copyright (C) 1997  University of BC, Canada *  Modified by: Michael Gallant <mikeg@ee.ubc.ca> *               Guy Cote <guyc@ee.ubc.ca> *               Berna Erol <bernae@ee.ubc.ca> * *  Contacts: *  Michael Gallant                   <mikeg@ee.ubc.ca> * *  UBC Image Processing Laboratory   http://www.ee.ubc.ca/image *  2356 Main Mall                    tel.: +1 604 822 4051 *  Vancouver BC Canada V6T1Z4        fax.: +1 604 822 5949 * ************************************************************************//* Disclaimer of Warranty *  * These software programs are available to the user without any license fee * or royalty on an "as is" basis. The University of British Columbia * disclaims any and all warranties, whether express, implied, or * statuary, including any implied warranties or merchantability or of * fitness for a particular purpose.  In no event shall the * copyright-holder be liable for any incidental, punitive, or * consequential damages of any kind whatsoever arising from the use of * these programs. *  * This disclaimer of warranty extends to the user of these programs and * user's customers, employees, agents, transferees, successors, and * assigns. *  * The University of British Columbia does not represent or warrant that the * programs furnished hereunder are free of infringement of any * third-party patents. *  * Commercial implementations of H.263, including shareware, are subject to * royalty fees to patent holders.  Many of these patents are general * enough such that they are unavoidable regardless of implementation * design. *  *//* based on mpeg2decode, (C) 1994, MPEG Software Simulation Group and * mpeg2play, (C) 1994 Stefan Eckart <stefan@lis.e-technik.tu-muenchen.de> *  *//* default filename for enhancemennt layer reconstructed sequence */#define DEF_ENHANCE_FILENAME_ROOT   "enhance.raw"/* From sim.h */#define PSC        1#define PSC_LENGTH        17#define SE_CODE                         31#define MODE_INTER                      0#define MODE_INTER_Q                    1#define MODE_INTER4V                    2#define MODE_INTRA                      3#define MODE_INTRA_Q                    4#define MODE_INTER4V_Q                  5/* MODB options in normal PB frames mode */#define PBMODE_NORMAL                   0#define PBMODE_MVDB                     1#define PBMODE_CBPB_MVDB                2/* MODB options in improved PB frames mode */#define PBMODE_BIDIR_PRED		            0#define PBMODE_CBPB_BIDIR_PRED		        2#define PBMODE_FRW_PRED		                6#define PBMODE_CBPB_FRW_PRED		        14#define PBMODE_BCKW_PRED		            30#define PBMODE_CBPB_BCKW_PRED		        31#define B_DIRECT_PREDICTION               0#define B_FORWARD_PREDICTION              1#define B_BACKWARD_PREDICTION             2#define B_BIDIRECTIONAL_PREDICTION        3#define B_INTRA_PREDICTION                4#define EP_FORWARD_PREDICTION             0#define EI_EP_UPWARD_PREDICTION           1#define EP_BIDIRECTIONAL_PREDICTION       2#define EI_EP_INTRA_PREDICTION            3#define B_EI_EP_STUFFING                  5#define INVALID_MBTYPE                    255#define FORWARD_PREDICTION                0#define BIDIRECTIONAL_PREDICTION          1#define ESCAPE                          7167#define ESCAPE_INDEX                    102/* picture types */#define PCT_INTRA                       0#define PCT_INTER                       1#define PCT_IPB                         2#define PCT_B                           3#define PCT_EI                          4#define PCT_EP                          5#define PCT_PB                          6/* scalability layers */#define MAX_LAYERS                      2/* pb frame type */#define PB_FRAMES                       1#define IM_PB_FRAMES                    2#define ON                              1#define OFF                             0#define YES                             1#define NO                              0/* source formats */#define SF_SQCIF                        1 /* 001 */#define SF_QCIF                         2 /* 010 */#define SF_CIF                          3 /* 011 */#define SF_4CIF                         4 /* 100 */#define SF_16CIF                        5 /* 101 */#define SF_CUSTOM                       6 /* 110 */#define EXTENDED_PTYPE                  7 /* 111 */#define EXTENDED_PAR                    15  /* 1111 *//* this is necessary for the max resolution 16CIF */#define MBC                             88#define MBR                             72#define NO_VEC                          999/* Intra Mode for Advanced Intra Coding mode */#define INTRA_MODE_DC                   0#define INTRA_MODE_VERT_AC              2#define INTRA_MODE_HORI_AC              3/* Scalability modes */#define SNR_SCALABILITY			            1#define SPATIAL_SCALABILITY_H		        3#define SPATIAL_SCALABILITY_V           5#define SPATIAL_SCALABILITY_HV          7/* Pixel aspect ration for custom source format */#define PAR_0                           0  /* 0000 */#define PAR_SQUARE                      1  /* 0001 */#define PAR_CIF                         2  /* 0010 */#define PAR_525                         3  /* 0011 */#define PAR_CIF_STRETCHED               4  /* 0100 */#define PAR_525_STRETCHED               5  /* 0101 */#define PAR_EXTENDED                    15 /* 1111 */

⌨️ 快捷键说明

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