On Mon, Mar 10, 2014 at 8:11 PM, Luca Barbato <[email protected]> wrote: > On 10/03/14 18:00, Vittorio Giovara wrote: >> They were removed in 9e31729d692f1e721b7ed1a3a0f51b68c064d68f. >> --- >> libavcodec/copy_block.h | 22 ++++++++++++++++++++++ >> 1 file changed, 22 insertions(+) >> >> diff --git a/libavcodec/copy_block.h b/libavcodec/copy_block.h >> index ec465db..7dc5e91 100644 >> --- a/libavcodec/copy_block.h >> +++ b/libavcodec/copy_block.h >> @@ -23,6 +23,17 @@ >> >> #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; >> @@ -46,6 +57,17 @@ 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; >> > > Restore them with a saner formatting, thanks. >
OK amended locally (on top of the other one). Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
