mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 03:13:18 +00:00
Fix libpostproc compilation on x86_32 with disable-optimizations.
This commit is contained in:
parent
b46a8f055e
commit
7a259a5fcd
@ -1089,7 +1089,7 @@ static inline void RENAME(doVertDefFilter)(uint8_t src[], int stride, PPContext
|
|||||||
#if !TEMPLATE_PP_ALTIVEC
|
#if !TEMPLATE_PP_ALTIVEC
|
||||||
static inline void RENAME(dering)(uint8_t src[], int stride, PPContext *c)
|
static inline void RENAME(dering)(uint8_t src[], int stride, PPContext *c)
|
||||||
{
|
{
|
||||||
#if TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW
|
#if HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW)
|
||||||
DECLARE_ALIGNED(8, uint64_t, tmp)[3];
|
DECLARE_ALIGNED(8, uint64_t, tmp)[3];
|
||||||
__asm__ volatile(
|
__asm__ volatile(
|
||||||
"pxor %%mm6, %%mm6 \n\t"
|
"pxor %%mm6, %%mm6 \n\t"
|
||||||
@ -1315,7 +1315,7 @@ DERING_CORE((%0, %1, 8) ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1,
|
|||||||
: : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp)
|
: : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp)
|
||||||
: "%"REG_a, "%"REG_d
|
: "%"REG_a, "%"REG_d
|
||||||
);
|
);
|
||||||
#else //TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW
|
#else // HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW)
|
||||||
int y;
|
int y;
|
||||||
int min=255;
|
int min=255;
|
||||||
int max=0;
|
int max=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user