Mercurial > libavcodec.hg
changeset 230:ba9cd6fb6f0e libavcodec
PATCH by Rik Snel <rsnel@cube.dyndns.org>
this includes the range for quantized dct coefficients in dct_quantize() (-1023...1023)
author | arpi_esp |
---|---|
date | Sat, 09 Feb 2002 01:25:06 +0000 |
parents | f418b5c5ff67 |
children | 840cd25bf259 |
files | i386/mpegvideo_mmx_template.c mpegvideo.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/mpegvideo_mmx_template.c Sat Feb 09 01:23:41 2002 +0000 +++ b/i386/mpegvideo_mmx_template.c Sat Feb 09 01:25:06 2002 +0000 @@ -48,6 +48,10 @@ /* mpeg1 */ minLevel= -255; maxLevel= 255; + }else if(s->out_format==FMT_MJPEG){ + /* (m)jpeg */ + minLevel= -1023; + maxLevel= 1023; }else{ /* h263 / msmpeg4 */ minLevel= -128;