HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImfWav.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_WAV_H
7 #define INCLUDED_IMF_WAV_H
8 
9 //-----------------------------------------------------------------------------
10 //
11 // 16-bit Haar Wavelet encoding and decoding
12 //
13 //-----------------------------------------------------------------------------
14 #include "ImfExport.h"
15 #include "ImfNamespace.h"
16 
18 
20 void wav2Encode (
21  unsigned short* in, // io: values in[y][x] are transformed in place
22  int nx, // i : x size
23  int ox, // i : x offset
24  int ny, // i : y size
25  int oy, // i : y offset
26  unsigned short mx); // i : maximum in[x][y] value
27 
29 void wav2Decode (
30  unsigned short* in, // io: values in[y][x] are transformed in place
31  int nx, // i : x size
32  int ox, // i : x offset
33  int ny, // i : y size
34  int oy, // i : y offset
35  unsigned short mx); // i : maximum in[x][y] value
36 
38 
39 #endif
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Definition: ImfNamespace.h:83
IMF_EXPORT void wav2Decode(unsigned short *in, int nx, int ox, int ny, int oy, unsigned short mx)
#define IMF_EXPORT
Definition: ImfExport.h:54
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER IMF_EXPORT void wav2Encode(unsigned short *in, int nx, int ox, int ny, int oy, unsigned short mx)
GLbyte ny
Definition: glad.h:2247
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Definition: ImfNamespace.h:80