mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
Merge commit '85f2f82af66fade2f5af2a03c5011d7de1b6e295'
* commit '85f2f82af66fade2f5af2a03c5011d7de1b6e295': x86: dsputil: cosmetics: Group ff_{avg|put}_pixels16_mmxext() declarations Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
a3030d47e7
@ -70,14 +70,6 @@ void ff_avg_pixels16_l2_mmxext(uint8_t *dst, uint8_t *src1, uint8_t *src2,
|
|||||||
int dstStride, int src1Stride, int h);
|
int dstStride, int src1Stride, int h);
|
||||||
void ff_put_no_rnd_pixels16_l2_mmxext(uint8_t *dst, uint8_t *src1, uint8_t *src2,
|
void ff_put_no_rnd_pixels16_l2_mmxext(uint8_t *dst, uint8_t *src1, uint8_t *src2,
|
||||||
int dstStride, int src1Stride, int h);
|
int dstStride, int src1Stride, int h);
|
||||||
|
|
||||||
static void ff_put_pixels16_mmxext(uint8_t *block, const uint8_t *pixels,
|
|
||||||
ptrdiff_t line_size, int h)
|
|
||||||
{
|
|
||||||
ff_put_pixels8_mmxext(block, pixels, line_size, h);
|
|
||||||
ff_put_pixels8_mmxext(block + 8, pixels + 8, line_size, h);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ff_put_mpeg4_qpel16_h_lowpass_mmxext(uint8_t *dst, uint8_t *src,
|
void ff_put_mpeg4_qpel16_h_lowpass_mmxext(uint8_t *dst, uint8_t *src,
|
||||||
int dstStride, int srcStride, int h);
|
int dstStride, int srcStride, int h);
|
||||||
void ff_avg_mpeg4_qpel16_h_lowpass_mmxext(uint8_t *dst, uint8_t *src,
|
void ff_avg_mpeg4_qpel16_h_lowpass_mmxext(uint8_t *dst, uint8_t *src,
|
||||||
@ -128,26 +120,6 @@ void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext(uint8_t *dst, uint8_t *src,
|
|||||||
#undef PAVGB
|
#undef PAVGB
|
||||||
#undef OP_AVG
|
#undef OP_AVG
|
||||||
|
|
||||||
#endif /* HAVE_INLINE_ASM */
|
|
||||||
|
|
||||||
|
|
||||||
#if HAVE_YASM
|
|
||||||
|
|
||||||
/***********************************/
|
|
||||||
/* MMXEXT specific */
|
|
||||||
|
|
||||||
//FIXME the following could be optimized too ...
|
|
||||||
static void ff_avg_pixels16_mmxext(uint8_t *block, const uint8_t *pixels,
|
|
||||||
int line_size, int h)
|
|
||||||
{
|
|
||||||
ff_avg_pixels8_mmxext(block, pixels, line_size, h);
|
|
||||||
ff_avg_pixels8_mmxext(block + 8, pixels + 8, line_size, h);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* HAVE_YASM */
|
|
||||||
|
|
||||||
|
|
||||||
#if HAVE_INLINE_ASM
|
|
||||||
/***********************************/
|
/***********************************/
|
||||||
/* standard MMX */
|
/* standard MMX */
|
||||||
|
|
||||||
@ -588,6 +560,20 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height,
|
|||||||
|
|
||||||
|
|
||||||
#if HAVE_YASM
|
#if HAVE_YASM
|
||||||
|
static void ff_avg_pixels16_mmxext(uint8_t *block, const uint8_t *pixels,
|
||||||
|
int line_size, int h)
|
||||||
|
{
|
||||||
|
ff_avg_pixels8_mmxext(block, pixels, line_size, h);
|
||||||
|
ff_avg_pixels8_mmxext(block + 8, pixels + 8, line_size, h);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void ff_put_pixels16_mmxext(uint8_t *block, const uint8_t *pixels,
|
||||||
|
ptrdiff_t line_size, int h)
|
||||||
|
{
|
||||||
|
ff_put_pixels8_mmxext(block, pixels, line_size, h);
|
||||||
|
ff_put_pixels8_mmxext(block + 8, pixels + 8, line_size, h);
|
||||||
|
}
|
||||||
|
|
||||||
#define QPEL_OP(OPNAME, ROUNDER, RND, MMX) \
|
#define QPEL_OP(OPNAME, ROUNDER, RND, MMX) \
|
||||||
static void OPNAME ## qpel8_mc00_ ## MMX (uint8_t *dst, uint8_t *src, \
|
static void OPNAME ## qpel8_mc00_ ## MMX (uint8_t *dst, uint8_t *src, \
|
||||||
ptrdiff_t stride) \
|
ptrdiff_t stride) \
|
||||||
|
Loading…
Reference in New Issue
Block a user