PandA-2024.02
examples
CHStone
CHStone
jpeg
main.c
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
/*
20
* Copyright (C) 2008
21
* Y. Hara, H. Tomiyama, S. Honda, H. Takada and K. Ishii
22
* Nagoya University, Japan
23
* All rights reserved.
24
*
25
* Disclaimer of Warranty
26
*
27
* These software programs are available to the user without any license fee or
28
* royalty on an "as is" basis. The authors disclaims any and all warranties,
29
* whether express, implied, or statuary, including any implied warranties or
30
* merchantability or of fitness for a particular purpose. In no event shall the
31
* copyright-holder be liable for any incidental, punitive, or consequential damages
32
* of any kind whatsoever arising from the use of these programs. This disclaimer
33
* of warranty extends to the user of these programs and user's customers, employees,
34
* agents, transferees, successors, and assigns.
35
*
36
*/
37
#include <stdio.h>
38
#include <stdlib.h>
39
40
#include "
global.h
"
41
#include "
decode.h
"
42
#include "
init.h
"
43
#include "
marker.c
"
44
#include "
chenidct.c
"
45
#include "
huffman.h
"
46
#include "
decode.c
"
47
#include "
huffman.c
"
48
#include "
jfif_read.c
"
49
#include "
jpeg2bmp.c
"
50
51
int
52
main
()
53
{
54
main_result
= 0;
55
jpeg2bmp_main
();
56
57
printf (
"%d\n"
,
main_result
);
58
59
return
main_result
;
60
}
chenidct.c
decode.c
main_result
int main_result
Definition:
mips.c:38
jfif_read.c
decode.h
huffman.c
global.h
jpeg2bmp.c
main
void main()
Definition:
main.c:670
init.h
marker.c
huffman.h
jpeg2bmp_main
int jpeg2bmp_main()
Definition:
jpeg2bmp.c:50
Generated on Mon Feb 12 2024 13:02:48 for PandA-2024.02 by
1.8.13