org.jcodec.codecs.h264.decode.aso
Class PrebuiltMBlockMapper
java.lang.Object
org.jcodec.codecs.h264.decode.aso.PrebuiltMBlockMapper
- All Implemented Interfaces:
- Mapper
public class PrebuiltMBlockMapper
- extends Object
- implements Mapper
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
A macrboblock to slice group mapper that operates on prebuilt map, passed to
it in the constructor
- Author:
- Jay Codec
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrebuiltMBlockMapper
public PrebuiltMBlockMapper(MBToSliceGroupMap map,
int firstMBInSlice,
int picWidthInMbs)
getAddress
public int getAddress(int mbIndex)
- Specified by:
getAddress in interface Mapper
leftAvailable
public boolean leftAvailable(int mbIndex)
- Specified by:
leftAvailable in interface Mapper
topAvailable
public boolean topAvailable(int mbIndex)
- Specified by:
topAvailable in interface Mapper
getMbX
public int getMbX(int index)
- Specified by:
getMbX in interface Mapper
getMbY
public int getMbY(int index)
- Specified by:
getMbY in interface Mapper
topRightAvailable
public boolean topRightAvailable(int mbIndex)
- Specified by:
topRightAvailable in interface Mapper
topLeftAvailable
public boolean topLeftAvailable(int mbIndex)
- Specified by:
topLeftAvailable in interface Mapper
Copyright © 2013. All Rights Reserved.