Package gov.nih.mipav.model.file
Class jxlatte.HFCoefficients
java.lang.Object
gov.nih.mipav.model.file.jxlatte.HFCoefficients
- Enclosing class:
jxlatte
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal jxlatte.Point[]private final int[]private final int[]float[][][]final jxlatte.Framefinal intfinal jxlatte.Pointprivate final jxlatte.HFBlockContextfinal intfinal jxlatte.LFGroupint[][][]final jxlatte.EntropyStream -
Constructor Summary
ConstructorsConstructorDescriptionHFCoefficients(jxlatte.Bitreader reader, jxlatte.Frame frame, int pass, int group) -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidprivate voidprivate voidprivate intgetBlockContext(int c, int orderID, int hfMult, int lfIndex) private intgetCoefficientContext(int k, int nonZeroes, int numBlocks, int prev) private intgetNonZeroContext(int predicted, int ctx) private intgetPredictedNonZeroes(int[][][] nonZeroes, int c, int y, int x)
-
Field Details
-
coeffFreqCtx
private final int[] coeffFreqCtx -
coeffNumNonzeroCtx
private final int[] coeffNumNonzeroCtx -
hfPreset
public final int hfPreset -
hfctx
-
lfg
-
groupID
public final int groupID -
dequantHFCoeff
public float[][][] dequantHFCoeff -
quantizedCoeffs
public int[][][] quantizedCoeffs -
stream
-
frame
-
blocks
-
groupPos
-
-
Constructor Details
-
HFCoefficients
public HFCoefficients(jxlatte.Bitreader reader, jxlatte.Frame frame, int pass, int group) throws IOException - Throws:
IOException
-
-
Method Details
-
bakeDequantizedCoeffs
public void bakeDequantizedCoeffs() -
chromaFromLuma
private void chromaFromLuma() -
finalizeLLF
private void finalizeLLF() -
getBlockContext
private int getBlockContext(int c, int orderID, int hfMult, int lfIndex) -
getNonZeroContext
private int getNonZeroContext(int predicted, int ctx) -
getCoefficientContext
private int getCoefficientContext(int k, int nonZeroes, int numBlocks, int prev) -
getPredictedNonZeroes
private int getPredictedNonZeroes(int[][][] nonZeroes, int c, int y, int x) -
dequantizeHFCoefficients
private void dequantizeHFCoefficients()
-