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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Sun Mar 24 05:47:23 2002 UTC (22 years ago) by h
Branch: MAIN
CVS Tags: xvidcore
Changes since 1.1: +2 -2 lines
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