X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Flibxvid.h;h=58bef616608cc33eed1e821add5d8569044c09d2;hb=55eab1733b9e730ceac33edce9aab56c17ea87b2;hp=ef9a5a9c59cfc95e97cb23c58c91352b224d2068;hpb=745a44ee6130358ae185b28e3583ccf573bbb1a2;p=ffmpeg diff --git a/libavcodec/libxvid.h b/libavcodec/libxvid.h index ef9a5a9c59c..58bef616608 100644 --- a/libavcodec/libxvid.h +++ b/libavcodec/libxvid.h @@ -26,4 +26,11 @@ * common functions for use with the Xvid wrappers */ +struct MpegEncContext; + +/* rate control */ +int ff_xvid_rate_control_init(struct MpegEncContext *s); +void ff_xvid_rate_control_uninit(struct MpegEncContext *s); +float ff_xvid_rate_estimate_qscale(struct MpegEncContext *s, int dry_run); + #endif /* AVCODEC_LIBXVID_H */