x86: Rename dsputil_rnd_template.c to rnd_template.c

Message ID 1366750232-64109-1-git-send-email-martin@martin.st
State Committed
Headers show

Commit Message

Martin Storsjö April 23, 2013, 8:50 p.m.
This makes it less confusing when this template is shared both by
dsputil and by hpeldsp.
---
 libavcodec/x86/dsputil_mmx.c                       |    2 +-
 libavcodec/x86/hpeldsp_rnd_template.c              |    2 +-
 .../x86/{dsputil_rnd_template.c => rnd_template.c} |    0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename libavcodec/x86/{dsputil_rnd_template.c => rnd_template.c} (100%)

diff --git a/libavcodec/x86/dsputil_rnd_template.c b/libavcodec/x86/rnd_template.c
similarity index 100%
rename from libavcodec/x86/dsputil_rnd_template.c
rename to libavcodec/x86/rnd_template.c

Comments

Luca Barbato April 23, 2013, 9:36 p.m. | #1
On 04/23/2013 10:50 PM, Martin Storsjö wrote:
> This makes it less confusing when this template is shared both by
> dsputil and by hpeldsp.
> ---
>  libavcodec/x86/dsputil_mmx.c                       |    2 +-
>  libavcodec/x86/hpeldsp_rnd_template.c              |    2 +-
>  .../x86/{dsputil_rnd_template.c => rnd_template.c} |    0
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename libavcodec/x86/{dsputil_rnd_template.c => rnd_template.c} (100%)

Ok.

Patch

diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index b095b46..6a2a751 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -118,7 +118,7 @@  void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext(uint8_t *dst, uint8_t *src,
 #define PAVGB(a, b, c, e)               PAVGB_MMX(a, b, c, e)
 #define OP_AVG(a, b, c, e)              PAVGB_MMX(a, b, c, e)
 
-#include "dsputil_rnd_template.c"
+#include "rnd_template.c"
 
 #undef DEF
 #undef SET_RND
diff --git a/libavcodec/x86/hpeldsp_rnd_template.c b/libavcodec/x86/hpeldsp_rnd_template.c
index 78e1449..458311c 100644
--- a/libavcodec/x86/hpeldsp_rnd_template.c
+++ b/libavcodec/x86/hpeldsp_rnd_template.c
@@ -24,7 +24,7 @@ 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dsputil_rnd_template.c"
+#include "rnd_template.c"
 
 // put_pixels
 static void DEF(put, pixels8_x2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)