|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcodec.codecs.h264.decode.aso.SliceGroupMapBuilder
public class SliceGroupMapBuilder
This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License A helper class that builds macroblock to slice group maps needed by ASO (Arbitrary Slice Order)
| Constructor Summary | |
|---|---|
SliceGroupMapBuilder()
|
|
| Method Summary | |
|---|---|
static int[] |
buildBoxOutMap(int picWidthInMbs,
int picHeightInMbs,
boolean changeDirection,
int numberOfMbsInBox)
A boxout macroblock to slice group mapping. |
static int[] |
buildDispersedMap(int picWidthInMbs,
int picHeightInMbs,
int numSliceGroups)
A dispersed map. |
static int[] |
buildForegroundMap(int picWidthInMbs,
int picHeightInMbs,
int numSliceGroups,
int[] topLeftAddr,
int[] bottomRightAddr)
A foreground macroblock to slice group map. |
static int[] |
buildInterleavedMap(int picWidthInMbs,
int picHeightInMbs,
int[] runLength)
Interleaved slice group map. |
static int[] |
buildRasterScanMap(int picWidthInMbs,
int picHeightInMbs,
int sizeOfUpperLeftGroup,
boolean changeDirection)
A macroblock to slice group map that fills frame in raster scan. |
static int[] |
buildWipeMap(int picWidthInMbs,
int picHeightInMbs,
int sizeOfUpperLeftGroup,
boolean changeDirection)
A macroblock to slice group map that fills frame column by column |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SliceGroupMapBuilder()
| Method Detail |
|---|
public static int[] buildInterleavedMap(int picWidthInMbs,
int picHeightInMbs,
int[] runLength)
public static int[] buildDispersedMap(int picWidthInMbs,
int picHeightInMbs,
int numSliceGroups)
public static int[] buildForegroundMap(int picWidthInMbs,
int picHeightInMbs,
int numSliceGroups,
int[] topLeftAddr,
int[] bottomRightAddr)
picWidthInMbs - picHeightInMbs - numSliceGroups - Total number of slice groupstopLeftAddr - Addresses of macroblocks that are top-left corners of
respective slice groupsbottomRightAddr - Addresses macroblocks that are bottom-right corners of
respective slice groups
public static int[] buildBoxOutMap(int picWidthInMbs,
int picHeightInMbs,
boolean changeDirection,
int numberOfMbsInBox)
picWidthInMbs - picHeightInMbs - changeDirection - numberOfMbsInBox - number of macroblocks in slice group 0
public static int[] buildRasterScanMap(int picWidthInMbs,
int picHeightInMbs,
int sizeOfUpperLeftGroup,
boolean changeDirection)
picWidthInMbs - picHeightInMbs - sizeOfUpperLeftGroup - changeDirection -
public static int[] buildWipeMap(int picWidthInMbs,
int picHeightInMbs,
int sizeOfUpperLeftGroup,
boolean changeDirection)
picWidthInMbs - picHeightInMbs - sizeOfUpperLeftGroup - changeDirection -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||