org.jcodec.common.dct
Class SparseIDCT

java.lang.Object
  extended by org.jcodec.common.dct.SparseIDCT

public class SparseIDCT
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Performs IDCT of 8x8 block. See MPEGDecoder for example.

Author:
The JCodec project

Field Summary
static int[][] COEFF
           
static int DC_SHIFT
           
static int PRECISION
           
 
Constructor Summary
SparseIDCT()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COEFF

public static final int[][] COEFF

PRECISION

public static final int PRECISION
See Also:
Constant Field Values

DC_SHIFT

public static final int DC_SHIFT
See Also:
Constant Field Values
Constructor Detail

SparseIDCT

public SparseIDCT()
Method Detail

start

public static final void start(int[] block,
                               int dc)
Starts DCT reconstruction Faster then call to 'coeff' with ind = 0

Parameters:
block -
dc -

coeff

public static final void coeff(int[] block,
                               int ind,
                               int level)
Recalculates image based on new DCT coefficient

Parameters:
block -
ind -
level -

finish

public static final void finish(int[] block)
Finalizes DCT calculation

Parameters:
block -


Copyright © 2013. All Rights Reserved.