org.jcodec.codecs.h264.encode
Class ConstantRateControl
java.lang.Object
org.jcodec.codecs.h264.encode.ConstantRateControl
- All Implemented Interfaces:
- RateControl
public class ConstantRateControl
- extends Object
- implements RateControl
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
H.264 rate control policy that would produce frames of exactly equal size
- Author:
- The JCodec project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantRateControl
public ConstantRateControl(int bitsPer256)
getInitQp
public int getInitQp()
- Specified by:
getInitQp in interface RateControl
getQpDelta
public int getQpDelta()
- Specified by:
getQpDelta in interface RateControl
accept
public boolean accept(int bits)
- Specified by:
accept in interface RateControl
reset
public void reset()
- Specified by:
reset in interface RateControl
calcFrameSize
public int calcFrameSize(int nMB)
setRate
public void setRate(int rate)
Copyright © 2013. All Rights Reserved.