mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-24 00:30:57 +08:00
pp: add support for SSE2.
This commit is contained in:
@@ -64,6 +64,16 @@
|
||||
# define TEMPLATE_PP_3DNOW 0
|
||||
#endif
|
||||
|
||||
#ifdef TEMPLATE_PP_SSE2
|
||||
# undef TEMPLATE_PP_MMX
|
||||
# define TEMPLATE_PP_MMX 1
|
||||
# undef TEMPLATE_PP_MMXEXT
|
||||
# define TEMPLATE_PP_MMXEXT 1
|
||||
# define RENAME(a) a ## _SSE2
|
||||
#else
|
||||
# define TEMPLATE_PP_SSE2 0
|
||||
#endif
|
||||
|
||||
#undef REAL_PAVGB
|
||||
#undef PAVGB
|
||||
#undef PMINUB
|
||||
@@ -3675,3 +3685,4 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[
|
||||
#undef TEMPLATE_PP_MMX
|
||||
#undef TEMPLATE_PP_MMXEXT
|
||||
#undef TEMPLATE_PP_3DNOW
|
||||
#undef TEMPLATE_PP_SSE2
|
||||
|
||||
Reference in New Issue
Block a user