|
|
|
@ -23,6 +23,16 @@ |
|
|
|
|
|
|
|
|
|
#include "libavutil/intreadwrite.h" |
|
|
|
|
|
|
|
|
|
static inline void copy_block4(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
|
|
|
|
{ |
|
|
|
|
int i; |
|
|
|
|
for (i = 0; i < h; i++) { |
|
|
|
|
AV_COPY32U(dst, src); |
|
|
|
|
dst += dstStride; |
|
|
|
|
src += srcStride; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static inline void copy_block8(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
|
|
|
|
{ |
|
|
|
|
int i; |
|
|
|
@ -44,6 +54,16 @@ static inline void copy_block9(uint8_t *dst, const uint8_t *src, int dstStride, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static inline void copy_block16(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
|
|
|
|
{ |
|
|
|
|
int i; |
|
|
|
|
for (i = 0; i < h; i++) { |
|
|
|
|
AV_COPY128U(dst, src); |
|
|
|
|
dst += dstStride; |
|
|
|
|
src += srcStride; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
|
|
|
|
{ |
|
|
|
|
int i; |
|
|
|
|