PandA-2024.02
examples
hls_study
jpeg
optimized
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
39
#include "
global.h
"
40
#include "
decode.h
"
41
#include "
init.h
"
42
#include "
marker.c
"
43
#include "
chenidct.c
"
44
#include "
huffman.h
"
45
#include "
decode.c
"
46
#include "
huffman.c
"
47
#include "
jfif_read.c
"
48
#include "
jpeg2bmp.c
"
49
50
int
51
main
()
52
{
53
main_result
= 0;
54
jpeg2bmp_main
();
55
56
printf (
"%d\n"
,
main_result
);
57
58
return
main_result
;
59
}
global.h
jfif_read.c
huffman.h
main_result
int main_result
Definition:
mips.c:38
huffman.c
chenidct.c
decode.h
jpeg2bmp.c
main
void main()
Definition:
main.c:670
init.h
decode.c
jpeg2bmp_main
int jpeg2bmp_main()
Definition:
jpeg2bmp.c:50
marker.c
Generated on Mon Feb 12 2024 13:02:48 for PandA-2024.02 by
1.8.13