mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
tests/checkasm/sw_yuv2rgb: Don't use declare_func_emms unnecessarily
The last MMX(EXT) convert_unscaled functions have been removed in61e851381f. And anyway, there is no emms_c cleaning up after these functions, so they must not clobber the fpu state; that they did it at the time this checkasm test has been added was a bug introduced bye934194b6aand fixed by the removal of said MMX(EXT) functions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -108,10 +108,9 @@ static void check_yuv2rgb(int src_pix_fmt)
|
|||||||
#define NUM_LINES 4
|
#define NUM_LINES 4
|
||||||
static const int input_sizes[] = {8, 128, 1080, MAX_LINE_SIZE};
|
static const int input_sizes[] = {8, 128, 1080, MAX_LINE_SIZE};
|
||||||
|
|
||||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT,
|
declare_func(int, SwsInternal *c, const uint8_t *const src[],
|
||||||
int, SwsInternal *c, const uint8_t *const src[],
|
const int srcStride[], int srcSliceY, int srcSliceH,
|
||||||
const int srcStride[], int srcSliceY, int srcSliceH,
|
uint8_t *const dst[], const int dstStride[]);
|
||||||
uint8_t *const dst[], const int dstStride[]);
|
|
||||||
|
|
||||||
LOCAL_ALIGNED_8(uint8_t, src_y, [(MAX_LINE_SIZE + SRC_STRIDE_PAD) * NUM_LINES]);
|
LOCAL_ALIGNED_8(uint8_t, src_y, [(MAX_LINE_SIZE + SRC_STRIDE_PAD) * NUM_LINES]);
|
||||||
LOCAL_ALIGNED_8(uint8_t, src_u, [(MAX_LINE_SIZE + SRC_STRIDE_PAD) * NUM_LINES]);
|
LOCAL_ALIGNED_8(uint8_t, src_u, [(MAX_LINE_SIZE + SRC_STRIDE_PAD) * NUM_LINES]);
|
||||||
|
|||||||
Reference in New Issue
Block a user