OLD | NEW |
1 /* | 1 /* |
2 * The copyright in this software is being made available under the 2-clauses | 2 * The copyright in this software is being made available under the 2-clauses |
3 * BSD License, included below. This software may be subject to other third | 3 * BSD License, included below. This software may be subject to other third |
4 * party and contributor rights, including patent rights, and no such rights | 4 * party and contributor rights, including patent rights, and no such rights |
5 * are granted under this license. | 5 * are granted under this license. |
6 * | 6 * |
7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium | 7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium |
8 * Copyright (c) 2002-2014, Professor Benoit Macq | 8 * Copyright (c) 2002-2014, Professor Benoit Macq |
9 * Copyright (c) 2001-2003, David Janssens | 9 * Copyright (c) 2001-2003, David Janssens |
10 * Copyright (c) 2002-2003, Yannick Verschueren | 10 * Copyright (c) 2002-2003, Yannick Verschueren |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 */ | 47 */ |
48 | 48 |
49 /** @defgroup DWT DWT - Implementation of a discrete wavelet transform */ | 49 /** @defgroup DWT DWT - Implementation of a discrete wavelet transform */ |
50 /*@{*/ | 50 /*@{*/ |
51 | 51 |
52 | 52 |
53 /** @name Exported functions */ | 53 /** @name Exported functions */ |
54 /*@{*/ | 54 /*@{*/ |
55 /* ----------------------------------------------------------------------- */ | 55 /* ----------------------------------------------------------------------- */ |
56 /** | 56 /** |
57 Forward 5-3 wavelet tranform in 2-D. | 57 Forward 5-3 wavelet transform in 2-D. |
58 Apply a reversible DWT transform to a component of an image. | 58 Apply a reversible DWT transform to a component of an image. |
59 @param tilec Tile component information (current tile) | 59 @param tilec Tile component information (current tile) |
60 */ | 60 */ |
61 OPJ_BOOL opj_dwt_encode(opj_tcd_tilecomp_t * tilec); | 61 OPJ_BOOL opj_dwt_encode(opj_tcd_tilecomp_t * tilec); |
62 | 62 |
63 /** | 63 /** |
64 Inverse 5-3 wavelet tranform in 2-D. | 64 Inverse 5-3 wavelet transform in 2-D. |
65 Apply a reversible inverse DWT transform to a component of an image. | 65 Apply a reversible inverse DWT transform to a component of an image. |
66 @param tilec Tile component information (current tile) | 66 @param tilec Tile component information (current tile) |
67 @param numres Number of resolution levels to decode | 67 @param numres Number of resolution levels to decode |
68 */ | 68 */ |
69 OPJ_BOOL opj_dwt_decode(opj_tcd_tilecomp_t* tilec, OPJ_UINT32 numres); | 69 OPJ_BOOL opj_dwt_decode(opj_tcd_tilecomp_t* tilec, OPJ_UINT32 numres); |
70 | 70 |
71 /** | 71 /** |
72 Get the gain of a subband for the reversible 5-3 DWT. | 72 Get the gain of a subband for the reversible 5-3 DWT. |
73 @param orient Number that identifies the subband (0->LL, 1->HL, 2->LH, 3->HH) | 73 @param orient Number that identifies the subband (0->LL, 1->HL, 2->LH, 3->HH) |
74 @return Returns 0 if orient = 0, returns 1 if orient = 1 or 2, returns 2 otherwi
se | 74 @return Returns 0 if orient = 0, returns 1 if orient = 1 or 2, returns 2 otherwi
se |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 @param tccp Tile-component coding parameters | 113 @param tccp Tile-component coding parameters |
114 @param prec Precint analyzed | 114 @param prec Precint analyzed |
115 */ | 115 */ |
116 void opj_dwt_calc_explicit_stepsizes(opj_tccp_t * tccp, OPJ_UINT32 prec); | 116 void opj_dwt_calc_explicit_stepsizes(opj_tccp_t * tccp, OPJ_UINT32 prec); |
117 /* ----------------------------------------------------------------------- */ | 117 /* ----------------------------------------------------------------------- */ |
118 /*@}*/ | 118 /*@}*/ |
119 | 119 |
120 /*@}*/ | 120 /*@}*/ |
121 | 121 |
122 #endif /* __DWT_H */ | 122 #endif /* __DWT_H */ |
OLD | NEW |