forked from thorfdbg/libjpeg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newheader
executable file
·61 lines (50 loc) · 2.57 KB
/
newheader
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
cat >/tmp/hdr <<EOF
/*************************************************************************
** Copyright (c) 2011-2012 Accusoft **
** This program is free software, licensed under the GPLv3 **
** see README.license for details **
** **
** For obtaining other licenses, contact the author at **
** thor@math.tu-berlin.de **
** **
** Written by Thomas Richter (THOR Software) **
** Sponsored by Accusoft, Tampa, FL and **
** the Computing Center of the University of Stuttgart **
**************************************************************************
This software is a complete implementation of ITU T.81 - ISO/IEC 10918,
also known as JPEG. It implements the standard in all its variations,
including lossless coding, hierarchical coding, arithmetic coding and
DNL, restart markers and 12bpp coding.
In addition, it includes support for new proposed JPEG technologies that
are currently under discussion in the SC29/WG1 standardization group of
the ISO (also known as JPEG). These technologies include lossless coding
of JPEG backwards compatible to the DCT process, and various other
extensions.
The author is a long-term member of the JPEG committee and it is hoped that
this implementation will trigger and facilitate the future development of
the JPEG standard, both for private use, industrial applications and within
the committee itself.
Copyright (C) 2011-2012 Accusoft, Thomas Richter <thor@math.tu-berlin.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*************************************************************************/
EOF
for i in */*.hpp; do
cp /tmp/hdr /tmp/t
cutheader.pl <$i >>/tmp/t
mv /tmp/t $i
done;
for i in */*.cpp; do
cp /tmp/hdr /tmp/t
cutheader.pl <$i >>/tmp/t
mv /tmp/t $i
done;