mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
checkasm/vp9dsp: use declare_func_emms in check_loopfilter
Fixes checkasm failures on mmxext functions Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
461073e809
commit
54a0a52be1
@ -448,7 +448,7 @@ static void check_loopfilter(void)
|
|||||||
static const char *const dir_name[2] = { "h", "v" };
|
static const char *const dir_name[2] = { "h", "v" };
|
||||||
static const int E[2] = { 20, 28 }, I[2] = { 10, 16 };
|
static const int E[2] = { 20, 28 }, I[2] = { 10, 16 };
|
||||||
static const int H[2] = { 7, 11 }, F[2] = { 1, 1 };
|
static const int H[2] = { 7, 11 }, F[2] = { 1, 1 };
|
||||||
declare_func(void, uint8_t *dst, ptrdiff_t stride, int E, int I, int H);
|
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t stride, int E, int I, int H);
|
||||||
|
|
||||||
for (bit_depth = 8; bit_depth <= 12; bit_depth += 2) {
|
for (bit_depth = 8; bit_depth <= 12; bit_depth += 2) {
|
||||||
ff_vp9dsp_init(&dsp, bit_depth, 0);
|
ff_vp9dsp_init(&dsp, bit_depth, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user