From: Laurent Aimar Date: Tue, 17 Aug 2004 20:03:46 +0000 (+0000) Subject: * encoder/encoder.c: kb/s with k=1000 (more consistant). Patch by Loren X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72eced43c35ecce69b422c2da228ae044430c038;p=libx264 * encoder/encoder.c: kb/s with k=1000 (more consistant). Patch by Loren Merritt git-svn-id: svn://svn.videolan.org/x264/trunk@33 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/encoder/encoder.c b/encoder/encoder.c index dc0250ab..89691309 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -1326,7 +1326,7 @@ void x264_encoder_close ( x264_t *h ) x264_psnr( h->stat.i_sqe_global[SLICE_TYPE_I] + h->stat.i_sqe_global[SLICE_TYPE_P]+ h->stat.i_sqe_global[SLICE_TYPE_B], i_count * i_yuv_size ), - fps * 8*(h->stat.i_slice_size[SLICE_TYPE_I]+h->stat.i_slice_size[SLICE_TYPE_P]+h->stat.i_slice_size[SLICE_TYPE_B]) / i_count / 1024, + fps * 8*(h->stat.i_slice_size[SLICE_TYPE_I]+h->stat.i_slice_size[SLICE_TYPE_P]+h->stat.i_slice_size[SLICE_TYPE_B]) / i_count / 1000, (double)1000000.0 * (double)i_count / (double)i_mtime_encode_frame ); } #endif