Mercurial > libavcodec.hg
changeset 5970:e1ac22f75cf6 libavcodec
cosmetics, encode_variance -> encode_fast
author | bcoudurier |
---|---|
date | Sun, 02 Dec 2007 19:22:38 +0000 |
parents | c5d11f6f6a3d |
children | 405be936dac4 |
files | dnxhdenc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dnxhdenc.c Sun Dec 02 19:20:46 2007 +0000 +++ b/dnxhdenc.c Sun Dec 02 19:22:38 2007 +0000 @@ -707,7 +707,7 @@ return ((RCCMPEntry *)b)->value - ((RCCMPEntry *)a)->value; } -static int dnxhd_encode_variance(AVCodecContext *avctx, DNXHDEncContext *ctx) +static int dnxhd_encode_fast(AVCodecContext *avctx, DNXHDEncContext *ctx) { int max_bits = 0; int ret, x, y; @@ -789,7 +789,7 @@ if (avctx->mb_decision == FF_MB_DECISION_RD) ret = dnxhd_encode_rdo(avctx, ctx); else - ret = dnxhd_encode_variance(avctx, ctx); + ret = dnxhd_encode_fast(avctx, ctx); if (ret < 0) { av_log(avctx, AV_LOG_ERROR, "picture could not fit ratecontrol constraints\n"); return -1;