Merge commit 'b4e355c89e23664b8dac26936bf3fa7e7bc2110f'

* commit 'b4e355c89e23664b8dac26936bf3fa7e7bc2110f':
  copy_block: K&R formatting cosmetics

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-03-12 21:35:48 +01:00
commit 990f956ce6

View File

@ -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)
{
int i;
for(i=0; i<h; i++)
{
for (i = 0; i < h; i++) {
AV_COPY64U(dst, src);
dst+=dstStride;
src+=srcStride;
dst += dstStride;
src += srcStride;
}
}
@ -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)
{
int i;
for(i=0; i<h; i++)
{
for (i = 0; i < h; i++) {
AV_COPY64U(dst, src);
dst[8]= src[8];
dst+=dstStride;
src+=srcStride;
dst[8] = src[8];
dst += dstStride;
src += srcStride;
}
}
static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
for(i=0; i<h; i++)
{
for (i = 0; i < h; i++) {
AV_COPY128U(dst, src);
dst[16]= src[16];
dst+=dstStride;
src+=srcStride;
dst[16] = src[16];
dst += dstStride;
src += srcStride;
}
}