[svn] / trunk / xvidcore / src / utils / ratecontrol.h Repository:
ViewVC logotype

View of /trunk/xvidcore/src/utils/ratecontrol.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64 - (download) (annotate)
Sun Mar 24 05:47:48 2002 UTC (22 years ago) by h
File size: 361 byte(s)
foxer's cbr mode
(hijacks the rc_buffersize variable and uses it as reaction delay - easier than changing xvid.h)
#ifndef _RATECONTROL_H_
#define _RATECONTROL_H_

#include "../encoder.h"
#include "../portab.h"

void RateControlInit(uint32_t target_rate, uint32_t reaction_delay_factor, int framerate,
					 int max_quant, int min_quant);

int RateControlGetQ(int keyframe);

void RateControlUpdate(int16_t quant, int frame_size, int keyframe);

#endif /* _RATECONTROL_H_ */


No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4