OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmjpls
libcharls
header.h
1
//
2
// (C) Jan de Vaan 2007-2010, all rights reserved. See the accompanying "License.txt" for licensed use.
3
//
4
5
6
#ifndef CHARLS_HEADER
7
#define CHARLS_HEADER
8
9
#include "dcmtk/ofstd/ofaptr.h"
10
#include "
streams.h
"
11
12
#define JPEG_SOI 0xD8
13
#define JPEG_EOI 0xD9
14
#define JPEG_SOS 0xDA
15
16
#define JPEG_SOF 0xF7
17
#define JPEG_LSE 0xF8
18
#define JPEG_DNL 0xDC
19
#define JPEG_DRI 0xDD
20
#define JPEG_RSTm 0xD0
21
#define JPEG_COM 0xFE
22
#define JPEG_APP0 0xE0 // JFIF
23
#define JPEG_APP7 0xE7 // colorspace
24
#define JPEG_APP8 0xE8 // colorXForm
25
26
27
class
JLSOutputStream
;
28
29
30
template
<
class
STRATEGY>
31
class
JlsCodecFactory
32
{
33
public
:
34
OFauto_ptr<STRATEGY>
GetCodec(
const
JlsParameters
& info,
const
JlsCustomParameters
&);
35
private
:
36
STRATEGY* GetCodecImpl(
const
JlsParameters
& info);
37
};
38
39
JLS_ERROR CheckParameterCoherent(
const
JlsParameters
* pparams);
40
41
42
//
43
// JpegSegment
44
//
45
class
JpegSegment
46
{
47
protected
:
48
JpegSegment
() {}
49
public
:
50
virtual
~
JpegSegment
() {}
51
virtual
void
Write(
JLSOutputStream
* pstream) = 0;
52
};
53
54
#endif
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2