X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fdsputil_template.c;h=8ca6d3e4147dba16239d5d313c2b68576e585fc6;hb=5f0bb0baefd506d684adfa1ad4259c65973b455e;hp=f69c4671f900f5dbcafd86c8c80958bfe5419b35;hpb=87ce8b495f0e73625bc583e01c07bcd3e67b95ab;p=ffmpeg diff --git a/libavcodec/dsputil_template.c b/libavcodec/dsputil_template.c index f69c4671f90..8ca6d3e4147 100644 --- a/libavcodec/dsputil_template.c +++ b/libavcodec/dsputil_template.c @@ -27,25 +27,55 @@ * DSP utils */ -#include "dsputil.h" +#include "high_bit_depth.h" -#define BIT_DEPTH 8 +static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) +{ + int i; + for(i=0; i