Mercurial > libavcodec.hg
diff libpostproc/postprocess_template.c @ 804:f3a1bc99d4a0 libavcodec
change qscale type to int8 and fix qscale ordering
| author | michael |
|---|---|
| date | Wed, 30 Oct 2002 20:50:31 +0000 |
| parents | 8e9faf69110f |
| children | 8c8c3b6ff8c1 |
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c Wed Oct 30 20:41:40 2002 +0000 +++ b/libpostproc/postprocess_template.c Wed Oct 30 20:50:31 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 */
