diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-05 12:22:37 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-05 12:22:37 +0000 |
commit | 8fccf53fc2d070a4938ceb05b164f4a273388b20 (patch) | |
tree | 4e938189bac92f348165a8a7fc72a7f2dcdbdcb8 /gst | |
parent | fa81d7c15de525c796bea4b1720698d097ea94ee (diff) | |
download | gst-plugins-bad-8fccf53fc2d070a4938ceb05b164f4a273388b20.tar.gz gst-plugins-bad-8fccf53fc2d070a4938ceb05b164f4a273388b20.tar.bz2 gst-plugins-bad-8fccf53fc2d070a4938ceb05b164f4a273388b20.zip |
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.
Diffstat (limited to 'gst')
-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); + } } |