diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/deinterlace2/tvtime/greedyh.asm | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk> + + * 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 <sebastian.droege@collabora.co.uk> * gst/deinterlace2/tvtime/greedyh.c: diff --git a/gst/deinterlace2/tvtime/greedyh.asm b/gst/deinterlace2/tvtime/greedyh.asm index fcd3a647..5deaedad 100644 --- a/gst/deinterlace2/tvtime/greedyh.asm +++ b/gst/deinterlace2/tvtime/greedyh.asm @@ -240,4 +240,9 @@ FUNCT_NAME (uint8_t * L1, uint8_t * L2, uint8_t * L3, uint8_t * L2P, /* 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); + } } |