diff options
author | wm4 <wm4@nowhere> | 2014-06-01 04:35:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-01 04:35:24 +0200 |
commit | 014837c4a138ae37addeaf72f90c131fcb3ea1fc (patch) | |
tree | b412bd6076b34c2b03f31f126998f8fb5a792e3f /libass/ass_bitmap.c | |
parent | 18f02cba283171d5010815a7021ecd76d006d4c8 (diff) | |
download | libass-014837c4a138ae37addeaf72f90c131fcb3ea1fc.tar.bz2 libass-014837c4a138ae37addeaf72f90c131fcb3ea1fc.tar.xz |
Remove bitmap restriding
It turns out we don't need this.
Diffstat (limited to 'libass/ass_bitmap.c')
-rw-r--r-- | libass/ass_bitmap.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c index f6e2022..a2dc293 100644 --- a/libass/ass_bitmap.c +++ b/libass/ass_bitmap.c @@ -630,18 +630,6 @@ void sub_bitmaps_c(uint8_t *dst, intptr_t dst_stride, } } -void restride_bitmap_c(uint8_t *dst, intptr_t dst_stride, - uint8_t *src, intptr_t src_stride, - intptr_t width, intptr_t height) -{ - uint8_t* end = dst + dst_stride * height; - while (dst < end) { - memcpy(dst, src, width); - dst += dst_stride; - src += src_stride; - } -} - void mul_bitmaps_c(uint8_t *dst, intptr_t dst_stride, uint8_t *src1, intptr_t src1_stride, uint8_t *src2, intptr_t src2_stride, |