diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-09-28 05:38:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-28 05:38:36 +0000 |
commit | a5cd3c48fb5fffd871b21f25347eee17f195772e (patch) | |
tree | be4bb409efd8abbaaa241ea71d1255b6f18db79b /libavcodec/libpostproc | |
parent | d08d7142fd279cf30f35bdef9b982ea47d65c535 (diff) | |
download | ffmpeg-a5cd3c48fb5fffd871b21f25347eee17f195772e.tar.gz |
100l (signed vs. unsigend)
Originally committed as revision 3530 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libpostproc')
-rw-r--r-- | libavcodec/libpostproc/postprocess_template.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/libpostproc/postprocess_template.c b/libavcodec/libpostproc/postprocess_template.c index 316d9f3884..fcfff4b704 100644 --- a/libavcodec/libpostproc/postprocess_template.c +++ b/libavcodec/libpostproc/postprocess_template.c @@ -2707,12 +2707,14 @@ asm volatile( "paddb %%mm2, %%mm0 \n\t" "psubusb %%mm3, %%mm4 \n\t" + "pxor %%mm6, %%mm6 \n\t" "movq %4, %%mm7 \n\t" // QP,..., QP "paddusb %%mm7, %%mm7 \n\t" // 2QP ... 2QP - "pcmpgtb %%mm4, %%mm7 \n\t" // Diff < 2QP -> FF + "psubusb %%mm4, %%mm7 \n\t" // Diff >=2QP -> 0 + "pcmpeqb %%mm6, %%mm7 \n\t" // Diff < 2QP -> 0 + "pcmpeqb %%mm6, %%mm7 \n\t" // Diff < 2QP -> 0 "movq %%mm7, %1 \n\t" - "pxor %%mm6, %%mm6 \n\t" "movq %5, %%mm7 \n\t" "punpcklbw %%mm7, %%mm7 \n\t" "punpcklbw %%mm7, %%mm7 \n\t" |