public class SparseIDCT extends Object
Modifier and Type | Field and Description |
---|---|
static int[][] |
COEFF |
static int |
DC_SHIFT |
static int |
PRECISION |
Constructor and Description |
---|
SparseIDCT() |
Modifier and Type | Method and Description |
---|---|
static void |
coeff(int[] block,
int ind,
int level)
Recalculates image based on new DCT coefficient
|
static void |
finish(int[] block)
Finalizes DCT calculation
|
static void |
start(int[] block,
int dc)
Starts DCT reconstruction
Faster then call to 'coeff' with ind = 0
|
public static final int[][] COEFF
public static final int PRECISION
public static final int DC_SHIFT
public static final void start(int[] block, int dc)
block
- dc
- public static final void coeff(int[] block, int ind, int level)
block
- ind
- level
- public static final void finish(int[] block)
block
- Copyright © 2019. All rights reserved.