OpenJPEG  2.5.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, OPJ_BOOL irreversible)
 
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...
 
static OPJ_FLOAT64 opj_wallclock (void)
 
int main (int argc, char **argv)
 

Function Documentation

◆ free_tilec()

void free_tilec ( opj_tcd_tilecomp_t l_tilec)

◆ 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,
OPJ_BOOL  irreversible 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ opj_clock()

OPJ_FLOAT64 opj_clock ( void  )

Difference in successive opj_clock() calls tells you the elapsed time.

Returns
Returns time in seconds

Referenced by main(), and opj_wallclock().

◆ opj_wallclock()

static OPJ_FLOAT64 opj_wallclock ( void  )
static

References opj_clock().

Referenced by main().

◆ usage()

void usage ( void  )

Referenced by main().