OpenJPEG 2.3.0

Functions
bench_dwt.c File Reference
`#include "opj_includes.h"`
`#include <sys/time.h>`
`#include <sys/resource.h>`
`#include <sys/times.h>`

## Functions
OPJ_INT32 | getValue (OPJ_UINT32 i)
void | init_tilec (opj_tcd_tilecomp_t *l_tilec, OPJ_INT32 x0, OPJ_INT32 y0, OPJ_INT32 x1, OPJ_INT32 y1, OPJ_UINT32 numresolutions)
void | free_tilec (opj_tcd_tilecomp_t *l_tilec)
void | usage (void)
OPJ_FLOAT64 | opj_clock (void)
| Difference in successive opj_clock() calls tells you the elapsed time. More...
int | main (int argc, char **argv)

## Function Documentation

## ◆ free_tilec()

void free_tilec | ( | opj_tcd_tilecomp_t * | l_tilec | ) |

References opj_tcd_tilecomp::data, opj_free(), and opj_tcd_tilecomp::resolutions.

Referenced by main().

## ◆ getValue()

OPJ_INT32 getValue | ( | OPJ_UINT32 | i | ) |

Referenced by init_tilec(), and main().

## ◆ init_tilec()

void init_tilec | ( | opj_tcd_tilecomp_t * | l_tilec,
|  | OPJ_INT32 | x0,
|  | OPJ_INT32 | y0,
|  | OPJ_INT32 | x1,
|  | OPJ_INT32 | y1,
|  | OPJ_UINT32 | numresolutions
| ) |  |

References opj_tcd_tilecomp::data, getValue(), opj_tcd_tilecomp::numresolutions, opj_calloc(), opj_int_ceildivpow2(), opj_malloc(), opj_tcd_tilecomp::resolutions, opj_tcd_resolution::x0, opj_tcd_tilecomp::x0, opj_tcd_resolution::x1, opj_tcd_tilecomp::x1, opj_tcd_resolution::y0, opj_tcd_tilecomp::y0, opj_tcd_resolution::y1, and opj_tcd_tilecomp::y1.

Referenced by main().

## ◆ main()

int main | ( | int | argc,
|  | char ** | argv
| ) |  |

References opj_tcd_tile::comps, opj_image::comps, opj_tcd_tilecomp::data, opj_image_comp::dx, opj_image_comp::dy, free_tilec(), getValue(), opj_tcd::image, init_tilec(), opj_tcd_tile::numcomps, opj_image::numcomps, opj_tcd_tilecomp::numresolutions, opj_clock(), opj_dwt_decode(), opj_dwt_encode(), OPJ_FALSE, opj_thread_pool_create(), opj_thread_pool_destroy(), OPJ_TRUE, opj_tcd::tcd_image, opj_tcd::thread_pool, opj_tcd_image::tiles, usage(), opj_tcd::whole_tile_decoding, opj_tcd::win_x0, opj_tcd::win_x1, opj_tcd::win_y0, opj_tcd::win_y1, opj_tcd_tilecomp::x0, opj_tcd_tile::x0, opj_tcd_tilecomp::x1, opj_tcd_tile::x1, opj_tcd_tilecomp::y0, opj_tcd_tile::y0, opj_tcd_tilecomp::y1, and opj_tcd_tile::y1.

## ◆ usage()

void usage | ( | void |  | ) |

Referenced by main().