HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ImfCompression.h
Go to the documentation of this file.
1
//
2
// SPDX-License-Identifier: BSD-3-Clause
3
// Copyright (c) Contributors to the OpenEXR Project.
4
//
5
6
#ifndef INCLUDED_IMF_COMPRESSION_H
7
#define INCLUDED_IMF_COMPRESSION_H
8
9
//-----------------------------------------------------------------------------
10
//
11
// enum Compression
12
//
13
//-----------------------------------------------------------------------------
14
#include "
ImfExport.h
"
15
#include "
ImfNamespace.h
"
16
17
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
18
19
enum
IMF_EXPORT_ENUM
Compression
20
{
21
NO_COMPRESSION
= 0,
// no compression
22
23
RLE_COMPRESSION
= 1,
// run length encoding
24
25
ZIPS_COMPRESSION
= 2,
// zlib compression, one scan line at a time
26
27
ZIP_COMPRESSION
= 3,
// zlib compression, in blocks of 16 scan lines
28
29
PIZ_COMPRESSION
= 4,
// piz-based wavelet compression
30
31
PXR24_COMPRESSION
= 5,
// lossy 24-bit float compression
32
33
B44_COMPRESSION
= 6,
// lossy 4-by-4 pixel block compression,
34
// fixed compression rate
35
36
B44A_COMPRESSION
= 7,
// lossy 4-by-4 pixel block compression,
37
// flat fields are compressed more
38
39
DWAA_COMPRESSION
= 8,
// lossy DCT based compression, in blocks
40
// of 32 scanlines. More efficient for partial
41
// buffer access.
42
43
DWAB_COMPRESSION
= 9,
// lossy DCT based compression, in blocks
44
// of 256 scanlines. More efficient space
45
// wise and faster to decode full frames
46
// than DWAA_COMPRESSION.
47
48
NUM_COMPRESSION_METHODS
// number of different compression methods
49
};
50
51
/// Controls the default zip compression level used. Zip is used for
52
/// the 2 zip levels as well as some modes of the DWAA/B compression.
53
IMF_EXPORT
void
setDefaultZipCompressionLevel
(
int
level
);
54
55
/// Controls the default quality level for the DWA lossy compression
56
IMF_EXPORT
void
setDefaultDwaCompressionLevel
(
float
level
);
57
58
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
59
60
#endif
IMF_EXPORT_ENUM
#define IMF_EXPORT_ENUM
Definition:
ImfExport.h:56
ImfNamespace.h
ZIP_COMPRESSION
ZIP_COMPRESSION
Definition:
ImfCompression.h:27
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Definition:
ImfNamespace.h:83
Compression
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM Compression
Definition:
ImfCompression.h:19
level
GLint level
Definition:
glcorearb.h:108
B44_COMPRESSION
B44_COMPRESSION
Definition:
ImfCompression.h:33
PXR24_COMPRESSION
PXR24_COMPRESSION
Definition:
ImfCompression.h:31
setDefaultDwaCompressionLevel
IMF_EXPORT void setDefaultDwaCompressionLevel(float level)
Controls the default quality level for the DWA lossy compression.
NO_COMPRESSION
NO_COMPRESSION
Definition:
ImfCompression.h:21
DWAB_COMPRESSION
DWAB_COMPRESSION
Definition:
ImfCompression.h:43
PIZ_COMPRESSION
PIZ_COMPRESSION
Definition:
ImfCompression.h:29
DWAA_COMPRESSION
DWAA_COMPRESSION
Definition:
ImfCompression.h:39
ZIPS_COMPRESSION
ZIPS_COMPRESSION
Definition:
ImfCompression.h:25
IMF_EXPORT
#define IMF_EXPORT
Definition:
ImfExport.h:54
B44A_COMPRESSION
B44A_COMPRESSION
Definition:
ImfCompression.h:36
ImfExport.h
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Definition:
ImfNamespace.h:80
setDefaultZipCompressionLevel
IMF_EXPORT void setDefaultZipCompressionLevel(int level)
RLE_COMPRESSION
RLE_COMPRESSION
Definition:
ImfCompression.h:23
OpenEXR
ImfCompression.h
Generated on Sat Dec 21 2024 02:47:03 for HDK by
1.8.6