# HG changeset patch # User mru # Date 1268015767 0 # Node ID 58c4d851d1c764164653c44a5b5e2f81e35973f5 # Parent 9e7d38743146df6cb70d17fdbd5cf0c8b1f47300 ARM: move mpegvideo prototypes to a header file diff -r 9e7d38743146 -r 58c4d851d1c7 arm/mpegvideo_arm.c --- a/arm/mpegvideo_arm.c Mon Mar 08 02:36:03 2010 +0000 +++ b/arm/mpegvideo_arm.c Mon Mar 08 02:36:07 2010 +0000 @@ -21,9 +21,7 @@ #include "libavcodec/avcodec.h" #include "libavcodec/dsputil.h" #include "libavcodec/mpegvideo.h" - -void MPV_common_init_iwmmxt(MpegEncContext *s); -void MPV_common_init_armv5te(MpegEncContext *s); +#include "mpegvideo_arm.h" void MPV_common_init_arm(MpegEncContext *s) { diff -r 9e7d38743146 -r 58c4d851d1c7 arm/mpegvideo_arm.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arm/mpegvideo_arm.h Mon Mar 08 02:36:07 2010 +0000 @@ -0,0 +1,25 @@ +/* + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * 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 + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVCODEC_ARM_MPEGVIDEO_H +#define AVCODEC_ARM_MPEGVIDEO_H + +void MPV_common_init_iwmmxt(MpegEncContext *s); +void MPV_common_init_armv5te(MpegEncContext *s); + +#endif diff -r 9e7d38743146 -r 58c4d851d1c7 arm/mpegvideo_armv5te.c --- a/arm/mpegvideo_armv5te.c Mon Mar 08 02:36:03 2010 +0000 +++ b/arm/mpegvideo_armv5te.c Mon Mar 08 02:36:07 2010 +0000 @@ -22,6 +22,7 @@ #include "libavcodec/avcodec.h" #include "libavcodec/dsputil.h" #include "libavcodec/mpegvideo.h" +#include "mpegvideo_arm.h" void ff_dct_unquantize_h263_armv5te(DCTELEM *block, int qmul, int qadd, int count); diff -r 9e7d38743146 -r 58c4d851d1c7 arm/mpegvideo_iwmmxt.c --- a/arm/mpegvideo_iwmmxt.c Mon Mar 08 02:36:03 2010 +0000 +++ b/arm/mpegvideo_iwmmxt.c Mon Mar 08 02:36:07 2010 +0000 @@ -21,6 +21,7 @@ #include "libavcodec/avcodec.h" #include "libavcodec/dsputil.h" #include "libavcodec/mpegvideo.h" +#include "mpegvideo_arm.h" static void dct_unquantize_h263_intra_iwmmxt(MpegEncContext *s, DCTELEM *block, int n, int qscale)