PandA-2024.02
global.h
Go to the documentation of this file.
1 /*
2 +--------------------------------------------------------------------------+
3 | CHStone : a suite of benchmark programs for C-based High-Level Synthesis |
4 | ======================================================================== |
5 | |
6 | * Collected and Modified : Y. Hara, H. Tomiyama, S. Honda, |
7 | H. Takada and K. Ishii |
8 | Nagoya University, Japan |
9 | |
10 | * Remark : |
11 | 1. This source code is modified to unify the formats of the benchmark |
12 | programs in CHStone. |
13 | 2. Test vectors are added for CHStone. |
14 | 3. If "main_result" is 0 at the end of the program, the program is |
15 | correctly executed. |
16 | 4. Please follow the copyright of each benchmark program. |
17 +--------------------------------------------------------------------------+
18 */
19 /* global.h, global variables */
20 
21 /* Copyright (C) 1996, MPEG Software Simulation Group. All Rights Reserved. */
22 
23 /*
24  * Disclaimer of Warranty
25  *
26  * These software programs are available to the user without any license fee or
27  * royalty on an "as is" basis. The MPEG Software Simulation Group disclaims
28  * any and all warranties, whether express, implied, or statuary, including any
29  * implied warranties or merchantability or of fitness for a particular
30  * purpose. In no event shall the copyright-holder be liable for any
31  * incidental, punitive, or consequential damages of any kind whatsoever
32  * arising from the use of these programs.
33  *
34  * This disclaimer of warranty extends to the user of these programs and user's
35  * customers, employees, agents, transferees, successors, and assigns.
36  *
37  * The MPEG Software Simulation Group does not represent or warrant that the
38  * programs furnished hereunder are free of infringement of any third-party
39  * patents.
40  *
41  * Commercial implementations of MPEG-1 and MPEG-2 video, including shareware,
42  * are subject to royalty fees to patent holders. Many of these patents are
43  * general enough such that they are unavoidable regardless of implementation
44  * design.
45  *
46  */
47 
48 #include "mpeg2dec.h"
49 
50 /* choose between declaration (GLOBAL undefined)
51  * and definition (GLOBAL defined)
52  * GLOBAL is defined in exactly one file mpeg2dec.c)
53  */
54 
55 
56 /* Get_Bits.c */
57 void Fill_Buffer _ANSI_ARGS_ ((void));
58 unsigned int Show_Bits _ANSI_ARGS_ ((int n));
59 unsigned int Get_Bits1 _ANSI_ARGS_ ((void));
60 void Flush_Buffer _ANSI_ARGS_ ((int n));
61 unsigned int Get_Bits _ANSI_ARGS_ ((int n));
62 int Get_Byte _ANSI_ARGS_ ((void));
63 
64 /* getvlc.c */
65 int Get_motion_code _ANSI_ARGS_ ((void));
66 int Get_dmvector _ANSI_ARGS_ ((void));
67 int Get_coded_block_pattern _ANSI_ARGS_ ((void));
68 
69 
70 /* motion.c */
71 void motion_vector
72 _ANSI_ARGS_ ((int *PMV, int *dmvector, int h_r_size, int v_r_size, int dmv,
73  int mvscale, int full_pel_vector));
74 
76 
77 unsigned char ld_Rdbfr[2048];
78 unsigned char *ld_Rdptr, *ld_Rdmax;
79 unsigned int ld_Bfr;
void Flush_Buffer(int N)
Definition: getbits.c:136
int Get_motion_code()
Definition: getvlc.c:49
unsigned int Get_Bits(int N)
Definition: getbits.c:190
void Fill_Buffer()
Definition: getbits.c:80
int ld_Incnt
Definition: global.h:80
int System_Stream_Flag
Definition: global.h:75
void Fill_Buffer _ANSI_ARGS_((void))
unsigned char ld_Rdbfr[2048]
Definition: global.h:77
unsigned char * ld_Rdmax
Definition: global.h:78
void motion_vector(int *PMV, int *dmvector, int h_r_size, int v_r_size, int dmv, int mvscale, int full_pel_vector)
Definition: motion.c:95
unsigned int Show_Bits(int N)
Definition: getbits.c:117
int Get_dmvector()
Definition: getvlc.c:83
unsigned char * ld_Rdptr
Definition: global.h:78
unsigned int Get_Bits1()
Definition: getbits.c:127
unsigned int ld_Bfr
Definition: global.h:79

Generated on Mon Feb 12 2024 13:02:49 for PandA-2024.02 by doxygen 1.8.13