org.jcodec.codecs.h264.decode
Class ChromaPredictionBuilder

java.lang.Object
  extended by org.jcodec.codecs.h264.decode.ChromaPredictionBuilder

public class ChromaPredictionBuilder
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Prediction builder for chroma samples

Author:
Jay Codec

Constructor Summary
ChromaPredictionBuilder()
           
 
Method Summary
static void predictDC(int[] planeData, int mbX, boolean leftAvailable, boolean topAvailable, int[] leftRow, int[] topLine)
           
static void predictDCInside(int[] planeData, int blkX, int blkY, int mbX, boolean leftAvailable, boolean topAvailable, int[] leftRow, int[] topLine)
           
static void predictDCLeftBorder(int[] planeData, int blkX, int blkY, int mbX, boolean leftAvailable, boolean topAvailable, int[] leftRow, int[] topLine)
           
static void predictDCTopBorder(int[] planeData, int blkX, int blkY, int mbX, boolean leftAvailable, boolean topAvailable, int[] leftRow, int[] topLine)
           
static void predictHorizontal(int[] planeData, int mbX, boolean leftAvailable, int[] leftRow)
           
static void predictPlane(int[] planeData, int mbX, boolean leftAvailable, boolean topAvailable, int[] leftRow, int[] topLine, int[] topLeft)
           
static void predictVertical(int[] planeData, int mbX, boolean topAvailable, int[] topLine)
           
static void predictWithMode(int[] planeData, int chromaMode, int mbX, boolean leftAvailable, boolean topAvailable, int[] leftRow, int[] topLine, int[] topLeft)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChromaPredictionBuilder

public ChromaPredictionBuilder()
Method Detail

predictWithMode

public static void predictWithMode(int[] planeData,
                                   int chromaMode,
                                   int mbX,
                                   boolean leftAvailable,
                                   boolean topAvailable,
                                   int[] leftRow,
                                   int[] topLine,
                                   int[] topLeft)

predictDC

public static void predictDC(int[] planeData,
                             int mbX,
                             boolean leftAvailable,
                             boolean topAvailable,
                             int[] leftRow,
                             int[] topLine)

predictVertical

public static void predictVertical(int[] planeData,
                                   int mbX,
                                   boolean topAvailable,
                                   int[] topLine)

predictHorizontal

public static void predictHorizontal(int[] planeData,
                                     int mbX,
                                     boolean leftAvailable,
                                     int[] leftRow)

predictDCInside

public static void predictDCInside(int[] planeData,
                                   int blkX,
                                   int blkY,
                                   int mbX,
                                   boolean leftAvailable,
                                   boolean topAvailable,
                                   int[] leftRow,
                                   int[] topLine)

predictDCTopBorder

public static void predictDCTopBorder(int[] planeData,
                                      int blkX,
                                      int blkY,
                                      int mbX,
                                      boolean leftAvailable,
                                      boolean topAvailable,
                                      int[] leftRow,
                                      int[] topLine)

predictDCLeftBorder

public static void predictDCLeftBorder(int[] planeData,
                                       int blkX,
                                       int blkY,
                                       int mbX,
                                       boolean leftAvailable,
                                       boolean topAvailable,
                                       int[] leftRow,
                                       int[] topLine)

predictPlane

public static void predictPlane(int[] planeData,
                                int mbX,
                                boolean leftAvailable,
                                boolean topAvailable,
                                int[] leftRow,
                                int[] topLine,
                                int[] topLeft)


Copyright © 2013. All Rights Reserved.