mirror of https://github.com/FFmpeg/FFmpeg.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
22 years ago
|
/*
|
||
|
* Copyright (c) 2002 Michael Niedermayer
|
||
|
*
|
||
18 years ago
|
* This file is part of FFmpeg.
|
||
|
*
|
||
|
* FFmpeg is free software; you can redistribute it and/or
|
||
22 years ago
|
* modify it under the terms of the GNU Lesser General Public
|
||
|
* License as published by the Free Software Foundation; either
|
||
18 years ago
|
* version 2.1 of the License, or (at your option) any later version.
|
||
22 years ago
|
*
|
||
18 years ago
|
* FFmpeg is distributed in the hope that it will be useful,
|
||
22 years ago
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
* Lesser General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Lesser General Public
|
||
18 years ago
|
* License along with FFmpeg; if not, write to the Free Software
|
||
19 years ago
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||
22 years ago
|
*/
|
||
|
|
||
17 years ago
|
#include "libavcodec/avcodec.h"
|
||
|
#include "libavcodec/dsputil.h"
|
||
|
#include "libavcodec/mpegvideo.h"
|
||
22 years ago
|
|
||
16 years ago
|
void MPV_common_init_iwmmxt(MpegEncContext *s);
|
||
|
void MPV_common_init_armv5te(MpegEncContext *s);
|
||
20 years ago
|
|
||
16 years ago
|
void MPV_common_init_arm(MpegEncContext *s)
|
||
22 years ago
|
{
|
||
18 years ago
|
/* IWMMXT support is a superset of armv5te, so
|
||
17 years ago
|
* allow optimized functions for armv5te unless
|
||
18 years ago
|
* a better iwmmxt function exists
|
||
|
*/
|
||
|
#ifdef HAVE_ARMV5TE
|
||
|
MPV_common_init_armv5te(s);
|
||
|
#endif
|
||
20 years ago
|
#ifdef HAVE_IWMMXT
|
||
|
MPV_common_init_iwmmxt(s);
|
||
|
#endif
|
||
22 years ago
|
}
|