00001 /* tmndec.h, TMN specific defines */ 00002 00003 /* 00004 * Copyright (c) 1996 00005 * Multimedia Communications and Networking Lab, Texas A&M University 00006 * (Hereafter referred to as MCNL, Texas A&M) 00007 * All rights reserved. 00008 * 00009 * Disclaimer of Warranty 00010 * 00011 * These software programs are available to the user without any license 00012 * fee or royalty on an "as is" basis. The MCNL, Texas A&M disclaims 00013 * any and all warranties, whether express, implied, or statuary, including 00014 * any implied warranties or merchantability or of fitness for a particular 00015 * purpose. In no event shall the copyright-holder be liable for any 00016 * incidental, punitive, or consequential damages of any kind whatsoever 00017 * arising from the use of these programs. 00018 * 00019 * This disclaimer of warranty extends to the user of these programs and 00020 * user's customers, employees, agents, transferees, successors, and assigns. 00021 * 00022 * MCNL, Texas A&M does not represent or warrant that the programs 00023 * furnished hereunder are free of infringement of any third-party 00024 * patents. 00025 * 00026 */ 00027 00028 /* 00029 * tmndecode 00030 * Copyright (C) 1995 Telenor R&D 00031 * Karl Olav Lillevold <kol@nta.no> 00032 * 00033 * based on mpeg2decode, (C) 1994, MPEG Software Simulation Group 00034 * and mpeg2play, (C) 1994 Stefan Eckart 00035 * <stefan@lis.e-technik.tu-muenchen.de> 00036 * 00037 */ 00038 00039 00040 #define HERROR (-1) 00041 00042 00043 /* From sim.h */ 00044 #define PSC 1 00045 #define PSC_LENGTH 17 00046 #define SEC 31 00047 00048 #define MODE_INTER 0 00049 #define MODE_INTER_Q 1 00050 #define MODE_INTER4V 2 00051 #define MODE_INTRA 3 00052 #define MODE_INTRA_Q 4 00053 00054 #define PBMODE_NORMAL 0 00055 #define PBMODE_MVDB 1 00056 #define PBMODE_CBPB_MVDB 2 00057 00058 #define ESCAPE 7167 00059 #define ESCAPE_INDEX 102 00060 00061 #define PCT_INTER 1 00062 #define PCT_INTRA 0 00063 #define ON 1 00064 #define OFF 0 00065 00066 #define SF_SQCIF 1 /* 001 */ 00067 #define SF_QCIF 2 /* 010 */ 00068 #define SF_CIF 3 /* 011 */ 00069 #define SF_4CIF 4 /* 100 */ 00070 #define SF_16CIF 5 /* 101 */ 00071 00072 // Corresponds to CIF 00073 #define MBC_MAX 22 00074 #define MBR_MAX 18 00075 00076 00077 #define NO_VEC 999 00078