mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
Merge commit 'd37c96213a2a9e1fd8669122d5405f4ce6a99ed8'
* commit 'd37c96213a2a9e1fd8669122d5405f4ce6a99ed8': lavc: restore copy_block{4,16} functions Conflicts: libavcodec/copy_block.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
03e4c2d833
@ -37,11 +37,10 @@ static inline void copy_block2(uint8_t *dst, const uint8_t *src, int dstStride,
|
|||||||
static inline void copy_block4(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
|
static inline void copy_block4(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_COPY32U(dst, src);
|
AV_COPY32U(dst, src);
|
||||||
dst+=dstStride;
|
dst += dstStride;
|
||||||
src+=srcStride;
|
src += srcStride;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -55,17 +54,6 @@ static inline void copy_block8(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_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;
|
||||||
@ -77,6 +65,16 @@ 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)
|
static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user