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
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
17
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
18
19
IMF_EXPORT
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
28
IMF_EXPORT
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
37
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
38
39
#endif
ImfNamespace.h
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Definition:
ImfNamespace.h:83
wav2Decode
IMF_EXPORT void wav2Decode(unsigned short *in, int nx, int ox, int ny, int oy, unsigned short mx)
IMF_EXPORT
#define IMF_EXPORT
Definition:
ImfExport.h:54
wav2Encode
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER IMF_EXPORT void wav2Encode(unsigned short *in, int nx, int ox, int ny, int oy, unsigned short mx)
ny
GLbyte ny
Definition:
glad.h:2247
ImfExport.h
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Definition:
ImfNamespace.h:80
OpenEXR
ImfWav.h
Generated on Sun Nov 17 2024 03:01:37 for HDK by
1.8.6