OpenJPEG 1.5.2
fix.h File Reference

Implementation of operations of specific multiplication (FIX) More...

Go to the source code of this file.

Macros

#define int64   long long
 

Functions

static INLINE int fix_mul (int a, int b)
 Multiply two fixed-precision rational numbers.
 

Detailed Description

Implementation of operations of specific multiplication (FIX)

The functions in FIX.H have for goal to realize specific multiplication.

Macro Definition Documentation

◆ int64

#define int64   long long

Referenced by fix_mul().

Function Documentation

◆ fix_mul()

static INLINE int fix_mul ( int a,
int b )
static

Multiply two fixed-precision rational numbers.

Parameters
a
b
Returns
Returns a * b

References int64.

Referenced by dwt_encode_1_real(), mct_encode_real(), and t1_encode_cblks().