comparison 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
comparison
equal deleted inserted replaced
803:08423289ec57 804:f3a1bc99d4a0
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 {