org.jcodec.codecs.h264.encode
Class DumbRateControl

java.lang.Object
  extended by org.jcodec.codecs.h264.encode.DumbRateControl
All Implemented Interfaces:
RateControl

public class DumbRateControl
extends Object
implements RateControl

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Dumb rate control policy, always maintains the same QP for the whole video

Author:
The JCodec project

Constructor Summary
DumbRateControl()
           
 
Method Summary
 boolean accept(int bits)
           
 int getInitQp()
           
 int getQpDelta()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumbRateControl

public DumbRateControl()
Method Detail

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


Copyright © 2013. All Rights Reserved.