diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-07-20 19:02:23 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-07-20 19:59:36 +0300 |
commit | d639dcdae022130078c9c84b7b691c5e9694786c (patch) | |
tree | 9eadc97d19f4d2f08775fe49e8177d91cb986eaa /libavcodec/libxvid.h | |
parent | 44972e227df0f7ad5aa9004d971fb54e9dc5c849 (diff) |
ratecontrol: Move Xvid-related functions to the place they are actually used
This will simplify the de-MpegEncContextualization.
Diffstat (limited to 'libavcodec/libxvid.h')
-rw-r--r-- | libavcodec/libxvid.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/libxvid.h b/libavcodec/libxvid.h index 15f908f6f5..4535898530 100644 --- a/libavcodec/libxvid.h +++ b/libavcodec/libxvid.h @@ -28,4 +28,11 @@ int ff_tempfile(const char *prefix, char **filename); +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 */ |