33 int *left,
int *left_top);
36 int *left,
int *left_top);
39 intptr_t w,
int left);
41 intptr_t w,
int left);
48 #if HAVE_INLINE_ASM && HAVE_7REGS && ARCH_X86_32
49 static void add_hfyu_median_pred_cmov(
uint8_t *dst,
const uint8_t *top,
51 int *left,
int *left_top)
56 int tl = *left_top & 0xff;
61 "movzbl (%3, %4), %2 \n"
74 "add (%6, %4), %b0 \n"
75 "mov %b0, (%5, %4) \n"
78 :
"+&q"(l),
"+&q"(tl),
"=&r"(t),
"=&q"(x),
"+&r"(w2)
79 :
"r"(dst + w),
"r"(diff + w),
"rm"(top + w)
90 #if HAVE_INLINE_ASM && HAVE_7REGS && ARCH_X86_32
#define EXTERNAL_MMX(flags)
void ff_add_hfyu_median_pred_mmxext(uint8_t *dst, const uint8_t *top, const uint8_t *diff, intptr_t w, int *left, int *left_top)
#define AV_CPU_FLAG_CMOV
supports cmov instruction
Macro definitions for various function/variable attributes.
int ff_add_hfyu_left_pred_sse4(uint8_t *dst, const uint8_t *src, intptr_t w, int left)
void(* add_hfyu_median_pred)(uint8_t *dst, const uint8_t *top, const uint8_t *diff, intptr_t w, int *left, int *left_top)
#define EXTERNAL_SSE2(flags)
av_cold void ff_huffyuvdsp_init_x86(HuffYUVDSPContext *c)
int ff_add_hfyu_left_pred_ssse3(uint8_t *dst, const uint8_t *src, intptr_t w, int left)
void(* add_bytes)(uint8_t *dst, uint8_t *src, intptr_t w)
int(* add_hfyu_left_pred)(uint8_t *dst, const uint8_t *src, intptr_t w, int left)
void ff_add_hfyu_left_pred_bgr32_mmx(uint8_t *dst, const uint8_t *src, intptr_t w, uint8_t *left)
void ff_add_bytes_sse2(uint8_t *dst, uint8_t *src, intptr_t w)
#define AV_CPU_FLAG_3DNOW
AMD 3DNOW.
void ff_add_hfyu_left_pred_bgr32_sse2(uint8_t *dst, const uint8_t *src, intptr_t w, uint8_t *left)
void ff_add_bytes_mmx(uint8_t *dst, uint8_t *src, intptr_t w)
#define EXTERNAL_SSSE3(flags)
#define AV_CPU_FLAG_SSE4
Penryn SSE4.1 functions.
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
#define EXTERNAL_MMXEXT(flags)
static av_always_inline int diff(const uint32_t a, const uint32_t b)
void(* add_hfyu_left_pred_bgr32)(uint8_t *dst, const uint8_t *src, intptr_t w, uint8_t *left)
void ff_add_hfyu_median_pred_sse2(uint8_t *dst, const uint8_t *top, const uint8_t *diff, intptr_t w, int *left, int *left_top)