FFmpeg
|
Discrete wavelet transform. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | DWTContext |
Macros | |
#define | FF_DWT_MAX_DECLVLS 32 |
max number of decomposition levels | |
Enumerations | |
enum | DWTType { FF_DWT97, FF_DWT53, FF_DWT97_INT, FF_DWT_NB } |
Functions | |
int | ff_jpeg2000_dwt_init (DWTContext *s, uint16_t border[2][2], int decomp_levels, int type) |
Initialize DWT. | |
int | ff_dwt_encode (DWTContext *s, void *t) |
int | ff_dwt_decode (DWTContext *s, void *t) |
void | ff_dwt_destroy (DWTContext *s) |
Discrete wavelet transform.
Definition in file jpeg2000dwt.h.
#define FF_DWT_MAX_DECLVLS 32 |
max number of decomposition levels
Definition at line 32 of file jpeg2000dwt.h.
enum DWTType |
Definition at line 34 of file jpeg2000dwt.h.
int ff_jpeg2000_dwt_init | ( | DWTContext * | s, |
uint16_t | border[2][2], | ||
int | decomp_levels, | ||
int | type | ||
) |
Initialize DWT.
s | DWT context |
border | coordinates of transformed region {{x0, x1}, {y0, y1}} |
decomp_levels | number of decomposition levels |
type | 0 for DWT 9/7; 1 for DWT 5/3 |
Definition at line 497 of file jpeg2000dwt.c.
Referenced by ff_jpeg2000_init_component().
int ff_dwt_encode | ( | DWTContext * | s, |
void * | t | ||
) |
Definition at line 541 of file jpeg2000dwt.c.
Referenced by encode_tile().
int ff_dwt_decode | ( | DWTContext * | s, |
void * | t | ||
) |
Definition at line 556 of file jpeg2000dwt.c.
Referenced by jpeg2000_decode_tile().
void ff_dwt_destroy | ( | DWTContext * | s | ) |
Definition at line 574 of file jpeg2000dwt.c.
Referenced by ff_jpeg2000_cleanup().