Commit 990f956c authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b4e355c8'

* commit 'b4e355c8':
  copy_block: K&R formatting cosmetics
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents aa175983 b4e355c8
...@@ -48,11 +48,10 @@ static inline void copy_block4(uint8_t *dst, const uint8_t *src, int dstStride, ...@@ -48,11 +48,10 @@ static inline void copy_block4(uint8_t *dst, const uint8_t *src, int dstStride,
static inline void copy_block8(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) static inline void copy_block8(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{ {
int i; int i;
for(i=0; i<h; i++) for (i = 0; i < h; i++) {
{
AV_COPY64U(dst, src); AV_COPY64U(dst, src);
dst+=dstStride; dst += dstStride;
src+=srcStride; src += srcStride;
} }
} }
...@@ -70,24 +69,22 @@ static inline void copy_block16(uint8_t *dst, const uint8_t *src, int dstStride, ...@@ -70,24 +69,22 @@ static inline void copy_block16(uint8_t *dst, const uint8_t *src, int dstStride,
static inline void copy_block9(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) static inline void copy_block9(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{ {
int i; int i;
for(i=0; i<h; i++) for (i = 0; i < h; i++) {
{
AV_COPY64U(dst, src); AV_COPY64U(dst, src);
dst[8]= src[8]; dst[8] = src[8];
dst+=dstStride; dst += dstStride;
src+=srcStride; src += srcStride;
} }
} }
static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{ {
int i; int i;
for(i=0; i<h; i++) for (i = 0; i < h; i++) {
{
AV_COPY128U(dst, src); AV_COPY128U(dst, src);
dst[16]= src[16]; dst[16] = src[16];
dst+=dstStride; dst += dstStride;
src+=srcStride; src += srcStride;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment