Mercurial > mplayer.hg
diff postproc/postprocess_template.c @ 7984:a57c1fc0c2fc
change qscale type to int8 and fix qscale ordering
author | michael |
---|---|
date | Wed, 30 Oct 2002 20:50:33 +0000 |
parents | 0a5d69e6f2a2 |
children | f4f9390651b2 |
line wrap: on
line diff
--- a/postproc/postprocess_template.c Wed Oct 30 19:26:05 2002 +0000 +++ b/postproc/postprocess_template.c Wed Oct 30 20:50:33 2002 +0000 @@ -2835,8 +2835,8 @@ uint8_t *tempBlock1= c.tempBlocks; uint8_t *tempBlock2= c.tempBlocks + 8; #endif - int *QPptr= isColor ? &QPs[(y>>3)*QPStride] :&QPs[(y>>4)*QPStride]; - int *nonBQPptr= isColor ? &c.nonBQPTable[(y>>3)*mbWidth] :&c.nonBQPTable[(y>>4)*mbWidth]; + int8_t *QPptr= isColor ? &QPs[(y>>3)*QPStride] :&QPs[(y>>4)*QPStride]; + int8_t *nonBQPptr= isColor ? &c.nonBQPTable[(y>>3)*mbWidth] :&c.nonBQPTable[(y>>4)*mbWidth]; int QP=0; /* can we mess with a 8x16 block from srcBlock/dstBlock downwards and 1 line upwards if not than use a temporary buffer */