diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-24 09:40:03 +0000 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-05-13 10:33:56 +0200 |
commit | bd35b53558c42b4f3f965f64e223d5a27e5dfec8 (patch) | |
tree | 754ce9c9a52bfc2615626915b062b7fedf4f8724 /gst/deinterlace2/tvtime/vfir.c | |
parent | 1916a3b075ce5a71e69c42982025e252407488d2 (diff) |
[MOVED FROM BAD 10/56] gst/deinterlace2/Makefile.am: Move the assembly includes to noinst_HEADERS where they belong.
Original commit message from CVS:
* gst/deinterlace2/Makefile.am:
Move the assembly includes to noinst_HEADERS where they belong.
* gst/deinterlace2/tvtime/vfir.c: (deinterlace_line_c),
(deinterlace_line_mmx):
Fix C and MMX implementations a bit more.
Diffstat (limited to 'gst/deinterlace2/tvtime/vfir.c')
-rw-r--r-- | gst/deinterlace2/tvtime/vfir.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/deinterlace2/tvtime/vfir.c b/gst/deinterlace2/tvtime/vfir.c index 479ee440..4b7a0c09 100644 --- a/gst/deinterlace2/tvtime/vfir.c +++ b/gst/deinterlace2/tvtime/vfir.c @@ -59,7 +59,7 @@ deinterlace_line_c (uint8_t * dst, uint8_t * lum_m4, { int sum; - for (; size > 0; size--) { + for (; size >= 0; size--) { sum = -lum_m4[0]; sum += lum_m3[0] << 2; sum += lum_m2[0] << 1; @@ -89,8 +89,7 @@ deinterlace_line_mmx (uint8_t * dst, uint8_t * lum_m4, rounder.uw[2] = 4; rounder.uw[3] = 4; pxor_r2r (mm7, mm7); - movd_m2r (rounder, mm6); - punpcklbw_r2r (mm7, mm6); + movq_m2r (rounder, mm6); for (; size > 3; size -= 4) { movd_m2r (*lum_m4, mm0); |