FFmpeg
Loading...
Searching...
No Matches
jpeg2000dwt.c File Reference
#include <inttypes.h>
#include <stdio.h>
#include "libavutil/common.h"
#include "libavcodec/jpeg2000dwt.c"
#include "libavutil/lfg.h"

Go to the source code of this file.

Macros

#define MAX_W   256
 

Functions

static int test_dwt (int *array, int *ref, int border[2][2], int decomp_levels, int type, int max_diff)
 
static int test_dwtf (float *array, float *ref, int border[2][2], int decomp_levels, float max_diff)
 
int main (void)
 

Variables

static int array [MAX_W *MAX_W]
 
static int ref [MAX_W *MAX_W]
 
static float arrayf [MAX_W *MAX_W]
 
static float reff [MAX_W *MAX_W]
 

Macro Definition Documentation

◆ MAX_W

#define MAX_W   256

Definition at line 32 of file jpeg2000dwt.c.

Referenced by main(), test_dwt(), and test_dwtf().

Function Documentation

◆ test_dwt()

static int test_dwt ( int * array,
int * ref,
int border[2][2],
int decomp_levels,
int type,
int max_diff )
static

Definition at line 34 of file jpeg2000dwt.c.

Referenced by main().

◆ test_dwtf()

static int test_dwtf ( float * array,
float * ref,
int border[2][2],
int decomp_levels,
float max_diff )
static

Definition at line 78 of file jpeg2000dwt.c.

Referenced by main().

◆ main()

int main ( void )

Definition at line 121 of file jpeg2000dwt.c.

Variable Documentation

◆ array

int array[MAX_W *MAX_W]