Debian Codegraph @

core/libs/dngwriter/extra/dng_sdk/dng_lossless_jpeg.cpp

raw
1 /*****************************************************************************/
2 // Copyright 2006-2020 Adobe Systems Incorporated
3 // All Rights Reserved.
4 //
5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
6 // accordance with the terms of the Adobe license agreement accompanying it.
7 /*****************************************************************************/
8
9 #include "dng_bottlenecks.h"
10 #include "dng_lossless_jpeg.h"
11 #include "dng_lossless_jpeg_shared.cpp"
12
13 /*****************************************************************************/
14
15 #if qDNGIntelCompiler || defined(__clang__)
16
17 template EncodeLosslessJPEGProc EncodeLosslessJPEG<Scalar>;
18 template DecodeLosslessJPEGProc DecodeLosslessJPEG<Scalar>;
19
20 #else
21
22 template
23 void DecodeLosslessJPEG<Scalar> (dng_stream &stream,
24 dng_spooler &spooler,
25 uint32 minDecodedSize,
26 uint32 maxDecodedSize,
27 bool bug16,
28 uint64 endOfData);
29
30 template
31 void EncodeLosslessJPEG<Scalar> (const uint16 *srcData,
32 uint32 srcRows,
33 uint32 srcCols,
34 uint32 srcChannels,
35 uint32 srcBitDepth,
36 int32 srcRowStep,
37 int32 srcColStep,
38 dng_stream &stream);
39
40 #endif
41
42 /*****************************************************************************/