diff options
author | Roland Scheidegger <rscheidegger_lists@hispeed.ch> | 2012-05-22 10:59:31 +0300 |
---|---|---|
committer | Roland Scheidegger <rscheidegger_lists@hispeed.ch> | 2012-05-22 10:59:31 +0300 |
commit | b30e1d850e133649493e61dc0ea14d39d15559ba (patch) | |
tree | 39f1fdd9f4766dae340d0e20647014fb9de19e91 /src | |
parent | be57baac22eb551046036cd4878bd77ef230cda4 (diff) | |
download | xine-lib-b30e1d850e133649493e61dc0ea14d39d15559ba.tar.gz xine-lib-b30e1d850e133649493e61dc0ea14d39d15559ba.tar.bz2 |
Renamed DeinterlaceGreedy2Frame_SSE() to DeinterlaceGreedy2Frame_MMXEXT()
Diffstat (limited to 'src')
-rw-r--r-- | src/post/deinterlace/plugins/greedy2frame.c | 6 | ||||
-rw-r--r-- | src/post/deinterlace/plugins/greedy2frame_template.c | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/post/deinterlace/plugins/greedy2frame.c b/src/post/deinterlace/plugins/greedy2frame.c index af27d76ee..e74046e0e 100644 --- a/src/post/deinterlace/plugins/greedy2frame.c +++ b/src/post/deinterlace/plugins/greedy2frame.c @@ -47,9 +47,9 @@ static int GreedyTwoFrameThreshold = 4; static int GreedyTwoFrameThreshold2 = 8; -#define IS_SSE 1 +#define IS_MMXEXT 1 #include "greedy2frame_template.c" -#undef IS_SSE +#undef IS_MMXEXT static deinterlace_method_t greedy2framemethod = { @@ -61,7 +61,7 @@ static deinterlace_method_t greedy2framemethod = 0, 0, 0, - DeinterlaceGreedy2Frame_SSE, + DeinterlaceGreedy2Frame_MMXEXT, 1, NULL }; diff --git a/src/post/deinterlace/plugins/greedy2frame_template.c b/src/post/deinterlace/plugins/greedy2frame_template.c index 8fe9ac629..f9395cefd 100644 --- a/src/post/deinterlace/plugins/greedy2frame_template.c +++ b/src/post/deinterlace/plugins/greedy2frame_template.c @@ -91,8 +91,8 @@ static int64_t qwGreedyTwoFrameThreshold; #endif -#if defined(IS_SSE) -static void DeinterlaceGreedy2Frame_SSE(uint8_t *output, int outstride, +#if defined(IS_MMXEXT) +static void DeinterlaceGreedy2Frame_MMXEXT(uint8_t *output, int outstride, deinterlace_frame_data_t *data, int bottom_field, int second_field, int width, int height ) #elif defined(IS_3DNOW) @@ -196,7 +196,7 @@ static void DeinterlaceGreedy2Frame_MMX(uint8_t *output, int outstride, */ "movq %%mm3, %%mm7 \n\t" /* mm7 = B1 */ -#if defined(IS_SSE) +#if defined(IS_MMXEXT) "pavgb %%mm1, %%mm7 \n\t" #elif defined(IS_3DNOW) "pavgusb %%mm1, %%mm7 \n\t" @@ -215,7 +215,7 @@ static void DeinterlaceGreedy2Frame_MMX(uint8_t *output, int outstride, * which should make weave look better when there is small amounts of * movement */ -#if defined(IS_SSE) +#if defined(IS_MMXEXT) "movq %%mm0, %%mm4 \n\t" "movq %%mm2, %%mm5 \n\t" "psubusb %%mm2, %%mm4 \n\t" @@ -281,7 +281,7 @@ static void DeinterlaceGreedy2Frame_MMX(uint8_t *output, int outstride, * and green where we are going to bob */ #ifdef CHECK_BOBWEAVE -#ifdef IS_SSE +#ifdef IS_MMXEXT "movntq %%mm4, %0 \n\t" #else "movq %%mm4, %0 \n\t" @@ -292,7 +292,7 @@ static void DeinterlaceGreedy2Frame_MMX(uint8_t *output, int outstride, "pand %%mm4, %%mm0 \n\t" "pandn %%mm7, %%mm4 \n\t" "por %%mm0, %%mm4 \n\t" -#ifdef IS_SSE +#ifdef IS_MMXEXT "movntq %%mm4, %0 \n\t" #else "movq %%mm4, %0 \n\t" @@ -323,7 +323,7 @@ static void DeinterlaceGreedy2Frame_MMX(uint8_t *output, int outstride, B0 += PitchRest; } -#ifdef IS_SSE +#ifdef IS_MMXEXT asm("sfence\n\t"); #endif |