Mercurial > libavcodec.hg
changeset 2276:185f3b18ec1f libavcodec
100l (signed vs. unsigend)
author | michael |
---|---|
date | Tue, 28 Sep 2004 05:38:36 +0000 |
parents | c443a6af19a7 |
children | b88e05b9b445 |
files | libpostproc/postprocess_template.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c Tue Sep 28 03:09:49 2004 +0000 +++ b/libpostproc/postprocess_template.c Tue Sep 28 05:38:36 2004 +0000 @@ -2707,12 +2707,14 @@ "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"