public class SliceGroupMapBuilder extends Object
| Constructor and Description |
|---|
SliceGroupMapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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 groupspublic static int[] buildBoxOutMap(int picWidthInMbs,
int picHeightInMbs,
boolean changeDirection,
int numberOfMbsInBox)
picWidthInMbs - picHeightInMbs - changeDirection - numberOfMbsInBox - number of macroblocks in slice group 0public 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 - Copyright © 2019. All rights reserved.