diff options
author | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-25 21:29:18 +0000 |
---|---|---|
committer | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-25 21:29:18 +0000 |
commit | 1d132c16aedacfb00936e3ee2bf85ff23ed16ba3 (patch) | |
tree | 664c0c4e00a240b78b50b1ac4fb2e6dca0dcf542 /libmpcodecs | |
parent | bd368b82f2615e2d61096d2aa6e076c2a06436cd (diff) | |
download | mpv-1d132c16aedacfb00936e3ee2bf85ff23ed16ba3.tar.bz2 mpv-1d132c16aedacfb00936e3ee2bf85ff23ed16ba3.tar.xz |
support downscaling frames for dynamic b frame decission
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17244 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ve_lavc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpcodecs/ve_lavc.c b/libmpcodecs/ve_lavc.c index 3c54159bde..88e2e367e1 100644 --- a/libmpcodecs/ve_lavc.c +++ b/libmpcodecs/ve_lavc.c @@ -156,6 +156,7 @@ static int lavc_param_closed_gop = 0; static int lavc_param_dc_precision = 8; static int lavc_param_threads= 1; static int lavc_param_turbo = 0; +static int lavc_param_brd_scale = 0; char *lavc_param_acodec = "mp2"; @@ -310,6 +311,7 @@ m_option_t lavcopts_conf[]={ {"nssew", &lavc_param_nssew, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL}, {"threads", &lavc_param_threads, CONF_TYPE_INT, CONF_RANGE, 1, 8, NULL}, {"turbo", &lavc_param_turbo, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"brd_scale", &lavc_param_brd_scale, CONF_TYPE_INT, CONF_RANGE, 0, 10, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; #endif @@ -622,6 +624,7 @@ static int config(struct vf_instance_s* vf, lavc_venc_context->intra_dc_precision = lavc_param_dc_precision - 8; #endif lavc_venc_context->prediction_method= lavc_param_prediction_method; + lavc_venc_context->brd_scale = lavc_param_brd_scale; switch(lavc_param_format) { case IMGFMT_YV12: |