1 |
/*===========================================================================* |
2 |
* specifics.h * |
3 |
* * |
4 |
* reading the specifics file * |
5 |
* * |
6 |
*===========================================================================*/ |
7 |
|
8 |
/* |
9 |
* Copyright (c) 1995 The Regents of the University of California. |
10 |
* All rights reserved. |
11 |
* |
12 |
* Permission to use, copy, modify, and distribute this software and its |
13 |
* documentation for any purpose, without fee, and without written agreement is |
14 |
* hereby granted, provided that the above copyright notice and the following |
15 |
* two paragraphs appear in all copies of this software. |
16 |
* |
17 |
* IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR |
18 |
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT |
19 |
* OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF |
20 |
* CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
21 |
* |
22 |
* THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, |
23 |
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
24 |
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS |
25 |
* ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO |
26 |
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
27 |
*/ |
28 |
|
29 |
/* |
30 |
* $Header: /u/smoot/md/mpeg_encode/headers/RCS/specifics.h,v 1.4 1995/04/14 23:11:39 smoot Exp $ |
31 |
* $Log: specifics.h,v $ |
32 |
* Revision 1.4 1995/04/14 23:11:39 smoot |
33 |
* made types smalled |
34 |
* |
35 |
* Revision 1.3 1995/01/19 23:55:23 eyhung |
36 |
* Changed copyrights |
37 |
* |
38 |
* Revision 1.2 1995/01/17 21:53:32 smoot |
39 |
* killed prototypes |
40 |
* |
41 |
* Revision 1.1 1994/11/15 00:40:35 smoot |
42 |
* Initial revision |
43 |
* |
44 |
* |
45 |
*/ |
46 |
|
47 |
|
48 |
/*==============* |
49 |
* HEADER FILES * |
50 |
*==============*/ |
51 |
|
52 |
#include "ansi.h" |
53 |
|
54 |
|
55 |
/*===========* |
56 |
* TYPES * |
57 |
*===========*/ |
58 |
|
59 |
typedef struct bs_def { |
60 |
int num; |
61 |
boolean relative; |
62 |
char qscale; |
63 |
BlockMV *mv; /* defined in mtypes.h */ |
64 |
struct bs_def *next; |
65 |
} Block_Specifics; |
66 |
|
67 |
typedef struct detail_def { |
68 |
int num; |
69 |
char qscale; |
70 |
struct detail_def *next; |
71 |
} Slice_Specifics; |
72 |
|
73 |
typedef struct fsl_def { |
74 |
int framenum; |
75 |
int frametype; |
76 |
char qscale; |
77 |
Slice_Specifics *slc; |
78 |
Block_Specifics *bs; |
79 |
struct fsl_def *next; |
80 |
} FrameSpecList; |
81 |
|
82 |
/*===========* |
83 |
* CONSTANTS * |
84 |
*===========*/ |
85 |
|
86 |
|
87 |
/*==================* |
88 |
* GLOBAL VARIABLES * |
89 |
*==================*/ |