diff libavcodec/arm/mpegvideo_arm.c @ 2:897f711a7157

rearrange to work with autoconf
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Tue, 25 Sep 2012 15:55:33 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libavcodec/arm/mpegvideo_arm.c	Tue Sep 25 15:55:33 2012 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +/*
     1.5 + * Copyright (c) 2002 Michael Niedermayer
     1.6 + *
     1.7 + * This file is part of FFmpeg.
     1.8 + *
     1.9 + * FFmpeg is free software; you can redistribute it and/or
    1.10 + * modify it under the terms of the GNU Lesser General Public
    1.11 + * License as published by the Free Software Foundation; either
    1.12 + * version 2.1 of the License, or (at your option) any later version.
    1.13 + *
    1.14 + * FFmpeg is distributed in the hope that it will be useful,
    1.15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.17 + * Lesser General Public License for more details.
    1.18 + *
    1.19 + * You should have received a copy of the GNU Lesser General Public
    1.20 + * License along with FFmpeg; if not, write to the Free Software
    1.21 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
    1.22 + */
    1.23 +
    1.24 +#include "libavcodec/avcodec.h"
    1.25 +#include "libavcodec/dsputil.h"
    1.26 +#include "libavcodec/mpegvideo.h"
    1.27 +#include "mpegvideo_arm.h"
    1.28 +
    1.29 +void MPV_common_init_arm(MpegEncContext *s)
    1.30 +{
    1.31 +    /* IWMMXT support is a superset of armv5te, so
    1.32 +     * allow optimized functions for armv5te unless
    1.33 +     * a better iwmmxt function exists
    1.34 +     */
    1.35 +#if HAVE_ARMV5TE
    1.36 +    MPV_common_init_armv5te(s);
    1.37 +#endif
    1.38 +#if HAVE_IWMMXT
    1.39 +    MPV_common_init_iwmmxt(s);
    1.40 +#endif
    1.41 +}