comparison 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
comparison
equal deleted inserted replaced
7983:8344414c59cf 7984:a57c1fc0c2fc
2833 uint8_t *dstBlock= &(dst[y*dstStride]); 2833 uint8_t *dstBlock= &(dst[y*dstStride]);
2834 #ifdef HAVE_MMX 2834 #ifdef HAVE_MMX
2835 uint8_t *tempBlock1= c.tempBlocks; 2835 uint8_t *tempBlock1= c.tempBlocks;
2836 uint8_t *tempBlock2= c.tempBlocks + 8; 2836 uint8_t *tempBlock2= c.tempBlocks + 8;
2837 #endif 2837 #endif
2838 int *QPptr= isColor ? &QPs[(y>>3)*QPStride] :&QPs[(y>>4)*QPStride]; 2838 int8_t *QPptr= isColor ? &QPs[(y>>3)*QPStride] :&QPs[(y>>4)*QPStride];
2839 int *nonBQPptr= isColor ? &c.nonBQPTable[(y>>3)*mbWidth] :&c.nonBQPTable[(y>>4)*mbWidth]; 2839 int8_t *nonBQPptr= isColor ? &c.nonBQPTable[(y>>3)*mbWidth] :&c.nonBQPTable[(y>>4)*mbWidth];
2840 int QP=0; 2840 int QP=0;
2841 /* can we mess with a 8x16 block from srcBlock/dstBlock downwards and 1 line upwards 2841 /* can we mess with a 8x16 block from srcBlock/dstBlock downwards and 1 line upwards
2842 if not than use a temporary buffer */ 2842 if not than use a temporary buffer */
2843 if(y+15 >= height) 2843 if(y+15 >= height)
2844 { 2844 {