Mercurial > libavcodec.hg
comparison libpostproc/postprocess_template.c @ 1196:2e06398e4647 libavcodec
mpeg2 qscale flag
a few bugfixes for the C pp code
minor optimization
| author | michaelni |
|---|---|
| date | Fri, 18 Apr 2003 12:45:34 +0000 |
| parents | 71d890b5c13b |
| children | 854571532c89 |
comparison
equal
deleted
inserted
replaced
| 1195:f7522f310c7e | 1196:2e06398e4647 |
|---|---|
| 2991 #ifdef HAVE_MMX | 2991 #ifdef HAVE_MMX |
| 2992 uint8_t *tempBlock1= c.tempBlocks; | 2992 uint8_t *tempBlock1= c.tempBlocks; |
| 2993 uint8_t *tempBlock2= c.tempBlocks + 8; | 2993 uint8_t *tempBlock2= c.tempBlocks + 8; |
| 2994 #endif | 2994 #endif |
| 2995 int8_t *QPptr= &QPs[(y>>qpVShift)*QPStride]; | 2995 int8_t *QPptr= &QPs[(y>>qpVShift)*QPStride]; |
| 2996 int8_t *nonBQPptr= &c.nonBQPTable[(y>>qpVShift)*mbWidth]; | 2996 int8_t *nonBQPptr= &c.nonBQPTable[(y>>qpVShift)*QPStride]; |
| 2997 int QP=0; | 2997 int QP=0; |
| 2998 /* can we mess with a 8x16 block from srcBlock/dstBlock downwards and 1 line upwards | 2998 /* can we mess with a 8x16 block from srcBlock/dstBlock downwards and 1 line upwards |
| 2999 if not than use a temporary buffer */ | 2999 if not than use a temporary buffer */ |
| 3000 if(y+15 >= height) | 3000 if(y+15 >= height) |
| 3001 { | 3001 { |
