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

java.lang.Object
  extended by org.jcodec.codecs.h264.decode.aso.FlatMBlockMapper
All Implemented Interfaces:
Mapper

public class FlatMBlockMapper
extends Object
implements Mapper

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License A block map that that maps macroblocks sequentially in scan order

Author:
Jay Codec

Constructor Summary
FlatMBlockMapper(int frameWidthInMbs, int firstMBAddr)
           
 
Method Summary
 int getAddress(int index)
           
 int getMbX(int index)
           
 int getMbY(int index)
           
 boolean leftAvailable(int index)
           
 boolean topAvailable(int index)
           
 boolean topLeftAvailable(int index)
           
 boolean topRightAvailable(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatMBlockMapper

public FlatMBlockMapper(int frameWidthInMbs,
                        int firstMBAddr)
Method Detail

leftAvailable

public boolean leftAvailable(int index)
Specified by:
leftAvailable in interface Mapper

topAvailable

public boolean topAvailable(int index)
Specified by:
topAvailable in interface Mapper

getAddress

public int getAddress(int index)
Specified by:
getAddress 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 index)
Specified by:
topRightAvailable in interface Mapper

topLeftAvailable

public boolean topLeftAvailable(int index)
Specified by:
topLeftAvailable in interface Mapper


Copyright © 2013. All Rights Reserved.