VideoCodec/Modules/RateControl/RateControl.h
#ifndef RATECONTROL_H_
#define RATECONTROL_H_
#include "../../Data/PictureInfo.h"
#include "../Module.h"
namespace VideoCodec
{
class RateControl : public VideoCodec::Module
{
public:
RateControl();
virtual ~RateControl();
ConfigurationStatus Configure(ConfigurationElement* configuration);
bool ShouldEncodeI(PictureInfo* residual);
bool IsEnabled();
private:
unsigned int threshold;
bool isEnabled;
};
}
#endif /*RATECONTROL_H_*/