mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-18 08:58:37 +00:00
Merge commit 'b4e355c89e23664b8dac26936bf3fa7e7bc2110f'
* commit 'b4e355c89e23664b8dac26936bf3fa7e7bc2110f': copy_block: K&R formatting cosmetics Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
990f956ce6
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user