public class PrebuiltMBlockMapper extends Object implements Mapper
Constructor and Description |
---|
PrebuiltMBlockMapper(MBToSliceGroupMap map,
int firstMBInSlice,
int picWidthInMbs) |
Modifier and Type | Method and Description |
---|---|
int |
getAddress(int mbIndex) |
int |
getMbX(int index) |
int |
getMbY(int index) |
boolean |
leftAvailable(int mbIndex) |
boolean |
topAvailable(int mbIndex) |
boolean |
topLeftAvailable(int mbIndex) |
boolean |
topRightAvailable(int mbIndex) |
public PrebuiltMBlockMapper(MBToSliceGroupMap map, int firstMBInSlice, int picWidthInMbs)
public int getAddress(int mbIndex)
getAddress
in interface Mapper
public boolean leftAvailable(int mbIndex)
leftAvailable
in interface Mapper
public boolean topAvailable(int mbIndex)
topAvailable
in interface Mapper
public boolean topRightAvailable(int mbIndex)
topRightAvailable
in interface Mapper
public boolean topLeftAvailable(int mbIndex)
topLeftAvailable
in interface Mapper
Copyright © 2019. All rights reserved.