GDCM
2.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
MediaStorageAndFileFormat
gdcmJPEG8Codec.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: GDCM (Grassroots DICOM). A DICOM library
4
5
Copyright (c) 2006-2011 Mathieu Malaterre
6
All rights reserved.
7
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
#ifndef GDCMJPEG8CODEC_H
15
#define GDCMJPEG8CODEC_H
16
17
#include "
gdcmJPEGCodec.h
"
18
19
namespace
gdcm
20
{
21
22
class
JPEGInternals;
23
class
ByteValue;
28
class
JPEG8Codec
:
public
JPEGCodec
29
{
30
public
:
31
JPEG8Codec
();
32
~JPEG8Codec
();
33
34
bool
Decode
(std::istream &is, std::ostream &os);
35
bool
InternalCode
(
const
char
*input,
unsigned
long
len, std::ostream &os);
36
37
bool
GetHeaderInfo
(std::istream &is,
TransferSyntax
&ts);
38
39
private
:
40
JPEGInternals *Internals;
41
};
42
43
}
// end namespace gdcm
44
45
#endif //GDCMJPEG8CODEC_H
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1