nengel@2: /* nengel@2: * Copyright (c) 2002 Michael Niedermayer nengel@2: * nengel@2: * This file is part of FFmpeg. nengel@2: * nengel@2: * FFmpeg is free software; you can redistribute it and/or nengel@2: * modify it under the terms of the GNU Lesser General Public nengel@2: * License as published by the Free Software Foundation; either nengel@2: * version 2.1 of the License, or (at your option) any later version. nengel@2: * nengel@2: * FFmpeg is distributed in the hope that it will be useful, nengel@2: * but WITHOUT ANY WARRANTY; without even the implied warranty of nengel@2: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU nengel@2: * Lesser General Public License for more details. nengel@2: * nengel@2: * You should have received a copy of the GNU Lesser General Public nengel@2: * License along with FFmpeg; if not, write to the Free Software nengel@2: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA nengel@2: */ nengel@2: nengel@2: #include "libavcodec/avcodec.h" nengel@2: #include "libavcodec/dsputil.h" nengel@2: #include "libavcodec/mpegvideo.h" nengel@2: #include "mpegvideo_arm.h" nengel@2: nengel@2: void MPV_common_init_arm(MpegEncContext *s) nengel@2: { nengel@2: /* IWMMXT support is a superset of armv5te, so nengel@2: * allow optimized functions for armv5te unless nengel@2: * a better iwmmxt function exists nengel@2: */ nengel@2: #if HAVE_ARMV5TE nengel@2: MPV_common_init_armv5te(s); nengel@2: #endif nengel@2: #if HAVE_IWMMXT nengel@2: MPV_common_init_iwmmxt(s); nengel@2: #endif nengel@2: }