From: <sl...@ke...> - 2008-07-05 12:22:42
|
CVS Root: /cvs/gstreamer Module: gst-plugins-bad Changes by: slomo Date: Sat Jul 05 2008 12:22:51 UTC Log message: * gst/deinterlace2/tvtime/greedyh.asm: Support widths that are not a multiply of 4 when using the assembly optimized greedyh implementations. Modified files: . : ChangeLog gst/deinterlace2/tvtime: greedyh.asm Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3422&r2=1.3423 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/deinterlace2/tvtime/greedyh.asm.diff?r1=1.3&r2=1.4 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v retrieving revision 1.3422 retrieving revision 1.3423 diff -u -d -r1.3422 -r1.3423 --- ChangeLog 4 Jul 2008 18:54:13 -0000 1.3422 +++ ChangeLog 5 Jul 2008 12:22:35 -0000 1.3423 @@ -1,3 +1,9 @@ +2008-07-05 Sebastian Dröge <seb...@co...> + + * gst/deinterlace2/tvtime/greedyh.asm: + Support widths that are not a multiply of 4 when using the assembly + optimized greedyh implementations. 2008-07-04 Sebastian Dröge <seb...@co...> * gst/deinterlace2/tvtime/greedyh.c: Index: greedyh.asm RCS file: /cvs/gstreamer/gst-plugins-bad/gst/deinterlace2/tvtime/greedyh.asm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- greedyh.asm 28 Jun 2008 17:25:56 -0000 1.3 +++ greedyh.asm 5 Jul 2008 12:22:37 -0000 1.4 @@ -240,4 +240,9 @@ /* FIXME: breaks unless compiling with -mmmx "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7", */ "memory", "cc"); + if (size % 8 != 0) { + int offset = GST_ROUND_DOWN_8 (size); + greedyDScaler_C (L1 + offset, L2 + offset, L3 + offset, L2P + offset, Dest + offset, size % 8); + } } |