org.jcodec.codecs.h264.decode.aso
Class PrebuiltMBlockMapper

java.lang.Object
  extended by 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

Constructor Summary
PrebuiltMBlockMapper(MBToSliceGroupMap map, int firstMBInSlice, int picWidthInMbs)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrebuiltMBlockMapper

public PrebuiltMBlockMapper(MBToSliceGroupMap map,
                            int firstMBInSlice,
                            int picWidthInMbs)
Method Detail

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.