summaryrefslogtreecommitdiffstats
path: root/baseline/source/cjpeg_wrbmp
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2019-10-07 19:13:39 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2019-10-07 19:13:39 -0400
commit386b7d3366f1359a265da207a9cafa3edf553b64 (patch)
treec76120c2c138faed822e4ae386be6ef22a738a78 /baseline/source/cjpeg_wrbmp
parent54a3f7091a2146b29c73a6fdc4b62a5c4ad7a3d8 (diff)
Reorganize and commit all the modified TACLeBench code and run scripts
Diffstat (limited to 'baseline/source/cjpeg_wrbmp')
-rw-r--r--baseline/source/cjpeg_wrbmp/ChangeLog.txt104
-rw-r--r--baseline/source/cjpeg_wrbmp/README383
-rw-r--r--baseline/source/cjpeg_wrbmp/cderror.h140
-rw-r--r--baseline/source/cjpeg_wrbmp/cdjpeg.h105
-rw-r--r--baseline/source/cjpeg_wrbmp/cjpeg_wrbmp.c225
-rw-r--r--baseline/source/cjpeg_wrbmp/input.c79
-rw-r--r--baseline/source/cjpeg_wrbmp/jconfig.h65
-rw-r--r--baseline/source/cjpeg_wrbmp/jerror.h203
-rw-r--r--baseline/source/cjpeg_wrbmp/jmorecfg.h95
-rw-r--r--baseline/source/cjpeg_wrbmp/jpeglib.h869
10 files changed, 2268 insertions, 0 deletions
diff --git a/baseline/source/cjpeg_wrbmp/ChangeLog.txt b/baseline/source/cjpeg_wrbmp/ChangeLog.txt
new file mode 100644
index 0000000..df21770
--- /dev/null
+++ b/baseline/source/cjpeg_wrbmp/ChangeLog.txt
@@ -0,0 +1,104 @@
1File: cjpeg_jpeg6b_wrbmp.c
2Original provenience:
3
42017-04-18:
5- Annotated cjpeg_wrbmp_main as entry-point for timing analysis
6
72015-10-14:
8- Remove comment on line 1
9- Added generic TACLeBench header to line 1
10- Changed struct name to cjpeg_jpeg6b_wrbmp_name
11- Changed the global variable from {name} to cjpeg_jpeg6b_wrbmp_{name}
12- Changed the functions from {name} to cjpeg_jpeg6b_wrbmp_{name}
13- Removed code in comment
14- Added cjpeg_jpeg6b_wrbmp_main()
15- Added cjpeg_jpeg6b_wrbmp_return()
16- Added cjpeg_jpeg6b_wrbmp_init()
17- Added forward declaration of the functions
18- Removed unused variables: test_image[] and color_map[]
19- Applied Code Style
20
21File: input.c
22Original provenience:
23
242015-10-12:
25- Remove comment on line 1
26- Added generic TACLeBench header to line 1
27- Removed _jpeg6b_ from the prefix
28- Changed the global variable from colormap to cjpeg_jpeg6b_wrbmp_colormap
29- Removed unused variables: test_image[] and color_map[]
30- Moved initialization of cjpeg_jpeg6b_wrbmp_colormap to function. This function is called from cjpeg_jpeg6b_wrbmp_init function
31- Applied Code Style
32
33File: cderror.h
34Original provenience:
35
362015-10-12:
37- Remove comment on line 1
38- Added generic TACLeBench header to line 1
39- Removed _jpeg6b_ from the prefix
40- Changed JMESSAGE to CJPEG_JPEG6B_WRBMP_JMESSAGE
41- Changed JMAKE_ENUM_LIST to CJPEG_JPEG6B_WRBMP_JMAKE_ENUM_LIST
42- Applied Code Style
43
44
45File: cdjpeg.h
46Original provenience:
47
482015-10-12:
49- Remove comment on line 1
50- Added generic TACLeBench header to line 1
51- Rename structs and typedef to cjpeg_jpeg6b_wrbmp_{name}
52- Removed unused defines
53
54File: jconfig.h
55Original provenience:
56
572015-10-12:
58- Remove comment on line 1
59- Added generic TACLeBench header to line 1
60- Change defines to CJPEG_JPEG6B_WRBMP_{NAME}
61- Removed _jpeg6b_ from the prefix
62- Applied Code Style
63
64
65File: jerror.h
66Original provenience:
67
682015-10-12:
69- Remove comment on line 1
70- Added generic TACLeBench header to line 1
71- Removed error and warning defines
72- Removed _jpeg6b_ from the prefix
73- Applied Code Style
74
75
76File: jmorecfg.h
77Original provenience:
78
792015-10-12:
80- Remove comment on line 1
81- Added generic TACLeBench header to line 1
82- Removed unused comments
83- Removed _jpeg6b_ from the prefix
84- Removed unused defines
85- Removed unused typedefs
86- Applied Code Style
87
88
89File: jpeglib.h
90Original provenience:
91
922015-10-12:
93- Remove comment on line 1
94- Used define value directly
95- Remove unused typedefs, defines
96- Removed _jpeg6b_ from the prefix
97- Changed struct name to cjpeg_jpeg6b_wrbmp_{name}
98- Changed define {name} to cjpeg_jpeg6b_wrbmp_{name}
99- Added generic TACLeBench header to line 1
100- Applied Code Style
101
102
103
104
diff --git a/baseline/source/cjpeg_wrbmp/README b/baseline/source/cjpeg_wrbmp/README
new file mode 100644
index 0000000..fa69a18
--- /dev/null
+++ b/baseline/source/cjpeg_wrbmp/README
@@ -0,0 +1,383 @@
1The Independent JPEG Group's JPEG software
2==========================================
3
4README for release 6a of 7-Feb-96
5=================================
6
7This distribution contains the sixth public release of the Independent JPEG
8Group's free JPEG software. You are welcome to redistribute this software and
9to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
10
11Serious users of this software (particularly those incorporating it into
12larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to
13our electronic mailing list. Mailing list members are notified of updates
14and have a chance to participate in technical discussions, etc.
15
16This software is the work of Tom Lane, Philip Gladstone, Luis Ortiz, Jim
17Boucher, Lee Crocker, Julian Minguillon, George Phillips, Davide Rossi,
18Ge' Weijers, and other members of the Independent JPEG Group.
19
20IJG is not affiliated with the official ISO JPEG standards committee.
21
22
23DOCUMENTATION ROADMAP
24=====================
25
26This file contains the following sections:
27
28OVERVIEW General description of JPEG and the IJG software.
29LEGAL ISSUES Copyright, lack of warranty, terms of distribution.
30REFERENCES Where to learn more about JPEG.
31ARCHIVE LOCATIONS Where to find newer versions of this software.
32RELATED SOFTWARE Other stuff you should get.
33FILE FORMAT WARS Software *not* to get.
34TO DO Plans for future IJG releases.
35
36Other documentation files in the distribution are:
37
38User documentation:
39 install.doc How to configure and install the IJG software.
40 usage.doc Usage instructions for cjpeg, djpeg, jpegtran,
41 rdjpgcom, and wrjpgcom.
42 *.1 Unix-style man pages for programs (same info as usage.doc).
43 wizard.doc Advanced usage instructions for JPEG wizards only.
44 change.log Version-to-version change highlights.
45Programmer and internal documentation:
46 libjpeg.doc How to use the JPEG library in your own programs.
47 example.c Sample code for calling the JPEG library.
48 structure.doc Overview of the JPEG library's internal structure.
49 filelist.doc Road map of IJG files.
50 coderules.doc Coding style rules --- please read if you contribute code.
51
52Please read at least the files install.doc and usage.doc. Useful information
53can also be found in the JPEG FAQ (Frequently Asked Questions) article. See
54ARCHIVE LOCATIONS below to find out where to obtain the FAQ article.
55
56If you want to understand how the JPEG code works, we suggest reading one or
57more of the REFERENCES, then looking at the documentation files (in roughly
58the order listed) before diving into the code.
59
60
61OVERVIEW
62========
63
64This package contains C software to implement JPEG image compression and
65decompression. JPEG (pronounced "jay-peg") is a standardized compression
66method for full-color and gray-scale images. JPEG is intended for compressing
67"real-world" scenes; line drawings, cartoons and other non-realistic images
68are not its strong suit. JPEG is lossy, meaning that the output image is not
69exactly identical to the input image. Hence you must not use JPEG if you
70have to have identical output bits. However, on typical photographic images,
71very good compression levels can be obtained with no visible change, and
72remarkably high compression levels are possible if you can tolerate a
73low-quality image. For more details, see the references, or just experiment