diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-05 12:22:37 +0000 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-05-13 10:33:58 +0200 |
commit | e5231e5641beab8cfaf57fa09177155d10fd2f4c (patch) | |
tree | c7ab1cf1db6c234969407a8b4fd94b0ce9c20c44 | |
parent | fe02b1242cae91cd2f76993fb465041d05b40258 (diff) |
[MOVED FROM BAD 22/56] gst/deinterlace2/tvtime/greedyh.asm: Support widths that are not a multiply of 4 when using the assembly optimized gr...
Original commit message from CVS:
* gst/deinterlace2/tvtime/greedyh.asm:
Support widths that are not a multiply of 4 when using the assembly
optimized greedyh implementations.
-rw-r--r-- | gst/deinterlace2/tvtime/greedyh.asm | 5 |
1 files changed, 5 insertions, 0 deletions
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); + } } |