aboutsummaryrefslogtreecommitdiffstats
path: root/postproc/postprocess_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-10-30 20:50:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-30 20:50:33 +0000
commit4407a3c47a1c39271e563df784616e4c1a0a41ca (patch)
treea1802c2e02e6b68928e30765cbbb532e2c7f9997 /postproc/postprocess_template.c
parent6b72ac6323ec656fd0df6460ef844c83b5e76433 (diff)
downloadffmpeg-4407a3c47a1c39271e563df784616e4c1a0a41ca.tar.gz
change qscale type to int8 and fix qscale ordering
Originally committed as revision 7985 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess_template.c')
-rw-r--r--postproc/postprocess_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/postproc/postprocess_template.c b/postproc/postprocess_template.c
index d9cdb658c0..efaaad7c47 100644
--- a/postproc/postprocess_template.c
+++ b/postproc/postprocess_template.c
@@ -2835,8 +2835,8 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int
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 */